Just like on web, we want to make sure the last remaining admin in a community cannot remove themselves from the role until someone else is assigned the Admins role
Depends on D8160
Paths
| Differential D8161 Authored by rohan on Jun 9 2023, 11:45 AM.
Details Summary Just like on web, we want to make sure the last remaining admin in a community cannot remove themselves from the role until someone else is assigned the Admins role Depends on D8160 Test Plan Please see the video below that demonstrates this
Diff Detail
Event TimelineHerald added subscribers: tomek, ashoat. · View Herald TranscriptJun 9 2023, 11:45 AM2023-06-09 11:45:15 (UTC-7) rohan edited the test plan for this revision. (Show Details)Jun 9 2023, 11:47 AM2023-06-09 11:47:26 (UTC-7) rohan attached a referenced file: F580304: Simulator Screen Recording - iPhone 14 Pro - 2023-06-09 at 14.45.44.mp4. (Show Details) Harbormaster completed remote builds in B20140: Diff 27590.Jun 9 2023, 12:02 PM2023-06-09 12:02:23 (UTC-7) Harbormaster failed remote builds in B20177: Diff 27642!Jun 12 2023, 5:35 AM2023-06-12 05:35:12 (UTC-7) Harbormaster completed remote builds in B20199: Diff 27669.Jun 12 2023, 2:22 PM2023-06-12 14:22:42 (UTC-7) Comment Actions Refactor the way we indicate a role change cannot be possible to be similar to web (block the user from getting into an invalid state all together) Harbormaster completed remote builds in B20230: Diff 27708.Jun 13 2023, 6:50 PM2023-06-13 18:50:33 (UTC-7) atul added inline comments. This revision is now accepted and ready to land.Jun 14 2023, 10:17 AM2023-06-14 10:17:00 (UTC-7)
Harbormaster completed remote builds in B20257: Diff 27768.Jun 14 2023, 10:49 AM2023-06-14 10:49:54 (UTC-7) This revision was landed with ongoing or failed builds.Jun 21 2023, 8:42 AM2023-06-21 08:42:13 (UTC-7) Closed by commit rCOMMbf2371062015: [native] Prevent the only admin role from being changed (authored by rohan). · Explain Why This revision was automatically updated to reflect the committed changes. Harbormaster completed remote builds in B20397: Diff 27951.Jun 21 2023, 9:41 AM2023-06-21 09:41:53 (UTC-7)
Revision Contents
Diff 27969 native/roles/change-roles-header-right-button.react.js
native/roles/change-roles-screen.react.js
|
Do we really need one-offs here? Why can't we find an existing color family that works with our designs?
We need to push the team (@tedchang in particular) to use existing families (and update them as necessary) instead of hacking around inconsistencies like this. When we take this sort of approach of picking colors on a per-screen basis, we fail to maintain stylistic / design consistency throughout the app