Skip to content
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

[#2245] Registration notifications redesign #1065

Merged
merged 3 commits into from
Apr 11, 2024

Conversation

jiromaykin
Copy link
Contributor

@jiromaykin jiromaykin commented Feb 29, 2024

@jiromaykin jiromaykin added the wip Work in progress label Feb 29, 2024
@jiromaykin jiromaykin force-pushed the feature/2145-register-subscribe-design branch from 27135bc to 8a8f783 Compare February 29, 2024 18:17
@jiromaykin jiromaykin added on hold Pause working for now, continued after decisions and removed wip Work in progress labels Mar 4, 2024
@jiromaykin jiromaykin force-pushed the feature/2145-register-subscribe-design branch 3 times, most recently from 2502bd3 to b9d57be Compare March 14, 2024 15:12
@jiromaykin jiromaykin removed the on hold Pause working for now, continued after decisions label Mar 21, 2024
@jiromaykin jiromaykin force-pushed the feature/2145-register-subscribe-design branch 4 times, most recently from e41eab2 to f92a748 Compare March 24, 2024 18:51
@codecov-commenter
Copy link

codecov-commenter commented Mar 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.05%. Comparing base (7c4066f) to head (6dc74fd).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1065      +/-   ##
===========================================
- Coverage    95.06%   95.05%   -0.01%     
===========================================
  Files          940      940              
  Lines        33155    33155              
===========================================
- Hits         31518    31516       -2     
- Misses        1637     1639       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jiromaykin jiromaykin marked this pull request as ready for review March 25, 2024 08:32
@jiromaykin jiromaykin changed the title [#2145] Registration notifications redesign [#2245] Registration notifications redesign Mar 25, 2024
Copy link
Contributor

@pi-sigma pi-sigma left a comment

Choose a reason for hiding this comment

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

When I deselect one of the options, the text becomes underlined. It stays that way when I re-select the option and only disappears when clicking outside the card.

Screenshot from 2024-03-25 12-35-01

Is this intended?

Also, wouldn't it make sense to use the same design for changing notification prefs in the profile?

src/open_inwoner/js/components/form/ChoiceListMultiple.js Outdated Show resolved Hide resolved
@jiromaykin jiromaykin force-pushed the feature/2145-register-subscribe-design branch 2 times, most recently from 43ee7a0 to da5b430 Compare March 25, 2024 15:26
@jiromaykin
Copy link
Contributor Author

...When I deselect one of the options, the text becomes underlined. It stays that way when I re-select the option and only disappears when clicking outside the card.

This is very intentional → currently this is the only Focus accessibility styling that we have for tabbing on Labels. Clicking on (or tabbing to) the input-label sets the focus - which is not supposed to disappear unless you click/focus on something else.
The sadness here is that the focus style just looks a lot more intrusive visually here, because we now have a large surrounding label that needs to be focusable completely.
Changing accessibility styles may happen in the next sprint.

➕ I did now implement this styling in the other page as well in the new commit.

@jiromaykin jiromaykin force-pushed the feature/2145-register-subscribe-design branch from ba5dac4 to 5b1adad Compare March 25, 2024 17:18
pi-sigma
pi-sigma previously approved these changes Mar 26, 2024
@jiromaykin
Copy link
Contributor Author

Attentie @alextreme : This one has been approved, but... here i assumed that checkboxes have to wrap both the Label and the info text - and we may not want that (?) because of the future checkbox designs.

@alextreme alextreme requested a review from pi-sigma March 28, 2024 18:36
@alextreme
Copy link
Member

Attentie @alextreme : This one has been approved, but... here i assumed that checkboxes have to wrap both the Label and the info text - and we may not want that (?) because of the future checkbox designs.

If you want to revisit this feel free to do so, I've removed Paul's approval

@jiromaykin jiromaykin marked this pull request as draft April 2, 2024 07:37
@jiromaykin jiromaykin force-pushed the feature/2145-register-subscribe-design branch 2 times, most recently from 30eb95b to 0ed82ef Compare April 4, 2024 12:49
@jiromaykin jiromaykin marked this pull request as ready for review April 4, 2024 12:49
@jiromaykin
Copy link
Contributor Author

jiromaykin commented Apr 4, 2024

@Bartvaderkin @pi-sigma
I've removed the ...p {{ help_extra_cls }} class from the Checkbox template
since I think it's superfluous.
➕ not sure if we need {% if form.invite %}..... in the src/open_inwoner/templates/pages/profile/notifications.html template.

@alextreme alextreme dismissed pi-sigma’s stale review April 4, 2024 18:40

Needs re-checking just in case

@jiromaykin jiromaykin force-pushed the feature/2145-register-subscribe-design branch from 0ed82ef to 93aab29 Compare April 8, 2024 14:45
@jiromaykin
Copy link
Contributor Author

@pi-sigma This one is now fully ready for review.

Copy link
Contributor

@pi-sigma pi-sigma left a comment

Choose a reason for hiding this comment

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

Why is the siteimprove commit part of this PR? Otherwise looking good.

@pi-sigma pi-sigma self-requested a review April 9, 2024 10:38
@jiromaykin
Copy link
Contributor Author

Why is the siteimprove commit part of this PR? Otherwise looking good.

Just a little explanation for future questions: The Siteimprove tracker has to track extremely specific elements in the site. Like, for example, the second checkbox inside a list of 3. So if the structure/class of the tracked element changes, I will also have to update the tracker code... It's going to be a 'challenge' to not forget to do this with future changes.

@alextreme alextreme merged commit f36f589 into develop Apr 11, 2024
15 checks passed
@alextreme alextreme deleted the feature/2145-register-subscribe-design branch April 11, 2024 12:52
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.

4 participants