Skip to content

Stop using AnimatableManager in Hint #1125

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 1 commit into from
Jan 14, 2021
Merged

Conversation

ethanshar
Copy link
Collaborator

Description

  • Remove usage of AniamtableManger from our Hint component
  • Use Colors.primary instead of Colors.blue30

Changelog

  • Replace usage of react-native-animatable from our Hint component with our own implementation

animation={shownUp ? AnimatableManager.animations.hintAppearUp : AnimatableManager.animations.hintAppearDown}
duration={200}
<View
animated
Copy link
Collaborator

Choose a reason for hiding this comment

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

how do you control the type of animation to apply on the View?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

What do you mean?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Got it. getHintAnimatedStyle

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The default one.
Users won't be able to configure it now.
I don't thing people were aware of that and I think it's pretty redundant..
Of course if someone will request we can reconsider it

@Inbal-Tish Inbal-Tish merged commit 438b1d1 into master Jan 14, 2021
M-i-k-e-l added a commit that referenced this pull request Jan 14, 2021
* master: (41 commits)
  Remove animatable from FloatingButton component (#1134)
  Stop using AnimatableManager in Hint (#1125)
  Change setTimeout's time from 50 to 100
  Update generated types
  push expo stuff
  Update wiki links
  Fix/dialog swiping does not trigger on dialog dismissed (#1093)
  remove github token
  Create colors.md
  CardsScreen - fix backgrounds and remove obsolete examples (#1124)
  trigger build
  Add missing functionality for Incubator.TextField (#1121)
  Update all app icons sizes for iOS project
  Adding 'defaultSource' for image source in case of an error (#1116)
  DateTimePicker - adding 'headerStyle' prop to adjust iOS dialog header style (#1117)
  add prepush script
  Infra/use did update (#1119)
  SettingsScreen - rename to UNSAFE (#1118)
  Create a middleware TextField migrator to migrate people to the new TextField implementation (#1113)
  Fix lint error
  ...
M-i-k-e-l added a commit that referenced this pull request Jan 14, 2021
* master: (41 commits)
  Remove animatable from FloatingButton component (#1134)
  Stop using AnimatableManager in Hint (#1125)
  Change setTimeout's time from 50 to 100
  Update generated types
  push expo stuff
  Update wiki links
  Fix/dialog swiping does not trigger on dialog dismissed (#1093)
  remove github token
  Create colors.md
  CardsScreen - fix backgrounds and remove obsolete examples (#1124)
  trigger build
  Add missing functionality for Incubator.TextField (#1121)
  Update all app icons sizes for iOS project
  Adding 'defaultSource' for image source in case of an error (#1116)
  DateTimePicker - adding 'headerStyle' prop to adjust iOS dialog header style (#1117)
  add prepush script
  Infra/use did update (#1119)
  SettingsScreen - rename to UNSAFE (#1118)
  Create a middleware TextField migrator to migrate people to the new TextField implementation (#1113)
  Fix lint error
  ...
M-i-k-e-l added a commit that referenced this pull request Jan 18, 2021
…-logic

* master:
  update uilib-docs to v1.0.6
  Read site metadata from gatsby-config gile
  Remove animatable from FloatingButton component (#1134)
  Stop using AnimatableManager in Hint (#1125)
  Change setTimeout's time from 50 to 100
  Update generated types
  push expo stuff
  Update wiki links
  Fix/dialog swiping does not trigger on dialog dismissed (#1093)
  remove github token
  Create colors.md
  CardsScreen - fix backgrounds and remove obsolete examples (#1124)
  trigger build
@ethanshar ethanshar deleted the infra/hint/removeAnimatable branch July 26, 2021 09:08
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