Skip to content

[IMPROVE] Add All tab in Reactions List#4409

Merged
diegolmello merged 26 commits into
developfrom
improve.reactions-list
Sep 29, 2022
Merged

[IMPROVE] Add All tab in Reactions List#4409
diegolmello merged 26 commits into
developfrom
improve.reactions-list

Conversation

@try-catch-stack

@try-catch-stack try-catch-stack commented Aug 4, 2022

Copy link
Copy Markdown
Contributor

Proposed changes

  • Added an All tab in Reactions list where we can view all the reactions together

Issue(s)

How to test or reproduce

Screenshots

image

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves a current function)
  • New feature (non-breaking change which adds functionality)
  • Documentation update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have added necessary documentation (if applicable)
  • Any dependent changes have been merged and published in downstream modules

Further comments

NATIVE-108

@try-catch-stack try-catch-stack force-pushed the improve.reactions-list branch from 8e443cd to 40ff141 Compare August 9, 2022 16:22
Comment thread app/containers/ReactionsList.tsx Outdated
Comment thread app/containers/ReactionsList.tsx Outdated
Comment thread app/containers/ReactionsList.tsx Outdated
@try-catch-stack try-catch-stack force-pushed the improve.reactions-list branch 2 times, most recently from c55b391 to 62ac5bb Compare August 22, 2022 14:07
@diegolmello diegolmello force-pushed the improve.reactions-list branch from 1ac8e0d to 90aaca4 Compare August 25, 2022 14:25

@diegolmello diegolmello left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I've fixed most bugs there.
There are two left:

  • You're not respecting useRealName on all tab
  • The tab bar item calculation is not considering the actual size when in landscape, causing items to be very big

Comment thread app/containers/ReactionsList/ReactionsTabBar.tsx Outdated
@diegolmello diegolmello force-pushed the improve.reactions-list branch from 4c2e024 to fbd5cf4 Compare September 1, 2022 14:00
Comment thread app/containers/ReactionsList/AllTab.tsx Outdated

const AllReactionsListItem = ({ item, baseUrl, getCustomEmoji, username }: IAllReactionsListItemProps) => {
const { colors } = useTheme();
const useRealName = useSelector((state: IApplicationState) => state.settings.UI_Use_Real_Name);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

After I react, it doesn't apply use real name anymore

Simulator.Screen.Recording.-.iPhone.11.Pro.-.2022-09-01.at.12.54.43.mp4

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I could reproduce this on web app as well so probably an issue with the API.

Comment thread app/containers/ReactionsList/AllTab.tsx
@diegolmello diegolmello merged commit 2f03ca5 into develop Sep 29, 2022
@diegolmello diegolmello deleted the improve.reactions-list branch September 29, 2022 19:42
diegolmello added a commit that referenced this pull request Oct 17, 2022
Co-authored-by: Diego Mello <diegolmello@gmail.com>
ivnxyz pushed a commit to NextiaDev/Rocket.Chat.ReactNative that referenced this pull request May 26, 2023
Co-authored-by: Diego Mello <diegolmello@gmail.com>
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