zulip
zulip copied to clipboard
settings: `change email and password` dialog responsive on narrow screens
-
Added a width for the
Change Email and Password
dialog atsm_min (576px)
andml_min (425px)
to make it more responsive on narrow screens.
Fixes: #24339 CZO: Thread
Screenshots and screen captures:
Change Email:
-
Before:
-
New Change:
Change Password:
-
Before:
-
New Change:
Self-review checklist
- [x] Self-reviewed the changes for clarity and maintainability (variable names, code reuse, readability, etc.).
Communicate decisions, questions, and potential concerns.
- [x] Explains differences from previous plans (e.g., issue description).
- [x] Highlights technical choices and bugs encountered.
- [x] Calls out remaining decisions and concerns.
- [ ] Automated tests verify logic where appropriate.
Individual commits are ready for review (see commit discipline).
- [x] Each commit is a coherent idea.
- [x] Commit message(s) explain reasoning and motivation for changes.
Completed manual review and testing of the following:
- [x] Visual appearance of the changes.
- [x] Responsiveness and internationalization.
- [x] Strings and tooltips.
- [x] End-to-end functionality of buttons, interactions and flows.
- [x] Corner cases, error conditions, and easily imagined bugs.
Hello @zulip/server-settings members, this pull request was labeled with the "area: settings (user)" label, so you may want to check it out!
Hey @alya @amanagr , I have made the changes as discussed on CZO, could you please review the PR, Thanks.
LGTM
Works for me in manual testing. @palashb01 While we're here, could you add a commit to change "Forgotten it?" -> "Forgot it?"; I think that'll be better.
@alya , I have made the changes, could you please review the PR, thanks.
Thanks! The screenshot looks good, though I think we'll want a different prefix on the commit message for the commit you added.
@timabbott , this PR has been reviewed by @amanagr and me -- please take a look.
Thanks! The screenshot looks good, though I think we'll want a different prefix on the commit message for the commit you added.
@timabbott , this PR has been reviewed by @amanagr and me -- please take a look.
Changed the commit message.
@palashb01 - For that second commit, you only need to change the string in the template file. The translations will be updated as part of the translation process; see https://zulip.readthedocs.io/en/latest/translating/internationalization.html.
@alya - Also, would we also want to change/update the forgot password text in the modal for getting the user's API key? If so, we'd also need to update this documentation: https://zulip.com/api/api-keys.
API key modal
@alya - Also, would we also want to change/update the forgot password text in the modal for getting the user's API key? If so, we'd also need to update this documentation: zulip.com/api/api-keys.
Good idea! Let me write that up as a separate issue, though -- I don't think it's important to do it at the same time.
@palashb01 please post for @laurynmm 's review when you've updated the second commit.
@laurynmm please mark this PR for integration review when it looks good to you.
@alya - Also, would we also want to change/update the forgot password text in the modal for getting the user's API key? If so, we'd also need to update this documentation: zulip.com/api/api-keys.
Good idea! Let me write that up as a separate issue, though -- I don't think it's important to do it at the same time.
Filed #24506 -- let me know if you have suggestions. It's a pretty hidden corner of the UI, so I don't think it's worth starting a #design thread.
Hey @laurynmm , thank you for the reference. I didn't know about the translation process and thought all the files had to be changed. However, I have made the suggested changes. Could you please review the PR again? Thanks.
@laurynmm please mark this PR for integration review when it looks good to you.
Looks good and added the integration review label.
The second commit removed a stray line of whitespace in the first commit; I fixed this and marked this to merge once CI passes.
(In the future, please be careful to check that each commit is correct whenever you update a PR).