-
Notifications
You must be signed in to change notification settings - Fork 79
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
fix: Optimize ContactsView & MembersTabPanel settings pages #16979
base: master
Are you sure you want to change the base?
Conversation
Jenkins BuildsClick to see older builds (62)
|
d0e8549
to
dd6550f
Compare
dd6550f
to
7a700b7
Compare
- fixup margins and padding according to latest Figma designs - make a difference between a disabled and inactive tab by using opacity - provide smooth color transitions - add a dedicated StoryBook page
285991f
to
03f9af4
Compare
03f9af4
to
55747bf
Compare
@caybro i will fix the tests, looking into that now. Just one question: was the second checkbox changed to be not a checkbox on purpose? |
Oh definitely not and I have no idea what happened here, will check |
- fix a bug where the Switch would start animating if it'd been checked on creation - add the same property `leftSide` to StatusSwitch (just like StatusCheckBox), and use `LayoutMirroring` to perform the visual inversion - fixup margins and padding, removing hardcoded values, according to latest Figma designs - make a difference between a disabled and inactive button by using opacity - provide smooth color transitions - add dedicated StoryBook pages
55747bf
to
2052cd3
Compare
And fixed :) |
- removed nested ListViews inside StackLayouts, in order to reduce the memory footprint and improve performance, and also to be able to better manage the scrolling - no more unrolled multiple listviews, which again hurt the performance; now the views instantiate the delegates dynamically on the fly - the tab bar and the search fields now stick to the top of the page, with the users list view scrolling independently - both views now uniformly use the common `ContactListItemDelegate` - the received/sent CRs are now combined into one `pendingContacts` model - factored out common search/filter criteria into a new, separate SFPM `UserFilterContainer` component - fix an issue where StatusContactVerificationIcons wasn't properly displaying the "blocked" state/icon - fix documentation comments, removed relative imports, and updated some Fixes #16612 Fixes #16958
2052cd3
to
77975e9
Compare
fe50257
to
6c476aa
Compare
6c476aa
to
3393297
Compare
Tip
Best review commit by commit; the first 2 contain UI components updates. Also, a lot of the new stuff is Storybook pages :)
What does the PR do
ContactListItemDelegate
pendingContacts
modelUserFilterContainer
componentFixes #16612
Fixes #16958
Affected areas
Settings/Contacts; Community/Settings/Members
Architecture compliance
My PR is consistent with this document: Status Desktop Architecture Guide
Screenshot of functionality (including design for comparison)
Contacts:
Community members: