Skip to content

Typescript/wizard move to typescript #1390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 13, 2021

Conversation

M-i-k-e-l
Copy link
Collaborator

Description

Wizard - move to typescript

Changelog

Wizard - move to typescript

Copy link
Contributor

@lidord-wix lidord-wix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
I left two small questions :)
Oh and please merge master, there are some lint errors from the color picker :)

@@ -88,7 +93,7 @@ export default class WizardScreen extends Component {
}
};

renderNextButton = disabled => {
renderNextButton = (disabled = false) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you set it to false?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't really matter (same result), but I've changed to disabled?: boolean.

Comment on lines +17 to +19
index: number;
maxWidth: number;
onPress: WizardProps['onActiveIndexChanged'];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are all required?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are "private" props that are received from the Wizard, this was on-purpose.

@M-i-k-e-l M-i-k-e-l requested a review from lidord-wix July 6, 2021 08:03
@M-i-k-e-l M-i-k-e-l merged commit b05929d into master Jul 13, 2021
M-i-k-e-l added a commit that referenced this pull request Jul 13, 2021
* master:
  Upgrade eslint-plugin-uilib to version 2.0.09
  Typescript/wizard move to typescript (#1390)
  Feat/hint add props (#1399)
  Separate radioGroup and radioButton to fix their packages (#1388)
  Typescript/connection status bar (#1384)
  Fix typescript migration bug, code should enter here to calcylate tip position also when width is undefined (casting to 0) (#1396)
  Fix an exception with hard coded color rule (#1394)
  Add onChange to dependency array (#1391)
  fix colorPicker ts error
  Update stale.yml
  Typescript/general missing typings (#1389)
  fix hint animation (#1363)
  using renderInput instead renderExpandableInput was left out (#1386)
  DateTimePicker - Implement theme variant prop (#1357)
  Infra/Migrate Incubator.WheelPicker to reanimated 2 (#1379)
  Remove old typings that were migrated to generatedTypes
  Fix Hint export in generatedType/index
  Update react-native-gesture-handler to version 1.10.3
  Fix export of AvatarHelper in src/index.ts (#1376)
  ExampleScreenPresenter - fix typo (#1374)
@M-i-k-e-l M-i-k-e-l deleted the typescript/wizard-move-to-typescript branch October 4, 2021 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants