-
Notifications
You must be signed in to change notification settings - Fork 987
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: update use of setting-item component to match new api #17244
Conversation
@@ -62,7 +62,8 @@ | |||
(case tag | |||
:positive [status-tags/status-tag | |||
{:status {:type :positive} | |||
:label (i18n/label :t/positive) | |||
:label (:label tag-props) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
status tags use a custom label not just positive/ negative 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@J-Son89 there is context tags, or is this something different?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This text should be dynamic - that's how they are using it across the screens.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I see, thanks!
Jenkins BuildsClick to see older builds (16)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏻
65% of end-end tests have passed
Failed tests (15)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityOneDeviceMerged:
Class TestActivityMultipleDevicePRTwo:
Class TestCommunityMultipleDeviceMerged:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Passed tests (28)Click to expandClass TestActivityCenterContactRequestMultipleDevicePR:
Class TestActivityMultipleDevicePR:
Class TestCommunityOneDeviceMerged:
Class TestCommunityMultipleDeviceMerged:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
|
ab5084b
to
dc10500
Compare
84% of end-end tests have passed
Failed tests (7)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMerged:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestCommunityOneDeviceMerged:
Passed tests (36)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityMultipleDevicePR:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestActivityMultipleDevicePRTwo:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestCommunityOneDeviceMerged:
|
@J-Son89 thanks for your work! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's the review :)
Just a comment about icon alignment
I commented on the figma, there is a note about this in the description 👍 |
@Francesca-G - the component aligns correctly once the text is added. I added this issue for the backend implementation to be added so this "Next back up in ..." text can be added and everything sits right 👍 Going to merge this pr if that's okay? additionally another option would be to put an empty string in for the subtext i.e I will put " " there, this will mean the icon will align correctly but there. will be a gap between the tag and title then. |
dc10500
to
366a5ab
Compare
23abffc
to
59448e5
Compare
59448e5
to
2d09263
Compare
✔️ status-mobile/prs/ios/PR-17244#6 🔹 ~7 min 2 sec 🔹 2d09263 🔹 📦 ios package |
follow up to: #17179
The setting-item component had some recent refactors to its api but the use of this component was not adjusted on the syncing page.
This fixes that.
To test, check the settings-item component and its uses on the syncing page.
Before:
After:
Note!
Unfortunately the designs for the syncing page include the text "Next backup in ...". Without this text the component will not sit right as in the designs. This text is not available and there are considerations of whether we actually want to retrieve this data (cc @cammellos)
So at the moment the component will not sit right unless we have that secondary text being used in the component.
e.g it would look like this: