Skip to content
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

bug fixes for TabBar refactor #1106

Merged
merged 6 commits into from
Jan 3, 2021
Merged

bug fixes for TabBar refactor #1106

merged 6 commits into from
Jan 3, 2021

Conversation

Inbal-Tish
Copy link
Collaborator

Description

Fix refactor bugs.

Changelog

TabBar - fix refactor bugs

Copy link
Collaborator

@ethanshar ethanshar left a comment

Choose a reason for hiding this comment

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

I noticed you don't push changes in generateTypes.
Make sure to always run npm run build:dev. It verifies there are no TS errors and also create the updated generatedTypes

containerView?: JSX.Element,
containerView?: object,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is that right?
Shouldn't containerView be an element?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No. Since we're not passing <TabletView/>, we're passing TabletView.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Still it's not a object.
I think there's a dedicate type for it..

Try searching for the right prop.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I couldn't find it, the 'object' type is the only one that doesn't error...

@Inbal-Tish
Copy link
Collaborator Author

I noticed you don't push changes in generateTypes.
Make sure to always run npm run build:dev. It verifies there are no TS errors and also create the updated generatedTypes

Done

@Inbal-Tish Inbal-Tish added the Important for Next Release PR that must be included in the release version label Dec 30, 2020
@ethanshar ethanshar merged commit 4b0c22f into master Jan 3, 2021
M-i-k-e-l added a commit that referenced this pull request Jan 3, 2021
…-logic

* master:
  Fix lint error
  cleanup eslintrc file
  Infra/useDidUpdate (#1112)
  Support UI presets for Incubator.TextField and set a 'default' preset (#1111)
  Fix lint issues
  fix radioButton lint errors and generate types
  Fix/imageSource deprecation (#1115)
  Typescript/tab controller move to function component (#1098)
  Feat/radio button customize styling (#1092)
  bug fixes for TabBar refactor (#1106)
  Update ios target to 11
  prettify file
  Fix icon size in badges example screen (#1104)
  icon prop - fix type to be both number and object. (#1086)
  enable eslint on both ts and js files (#1101)
  fix eslint (#1107)

# Conflicts:
#	demo/src/screens/componentScreens/FaderScreen.tsx
#	src/components/fader/index.tsx
#	src/components/tabController/FadedScrollView.tsx
#	src/components/tabController/TabBar.tsx
@Inbal-Tish Inbal-Tish deleted the fix/TabBar_refactor_fix branch January 12, 2021 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Important for Next Release PR that must be included in the release version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants