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

Adds support for toggling approval notifications on orgs and wfjts #7803

Merged

Conversation

mabashian
Copy link
Member

@mabashian mabashian commented Aug 3, 2020

SUMMARY

resolves #6425

Here it is in action:

Screen Shot 2020-08-03 at 3 29 38 PM

Screen Shot 2020-08-03 at 3 29 53 PM

I needed to add the methods to the org/wfjt api models directly because not every model that consumes that mixin will have an approvals endpoint.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME
  • UI

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

Copy link
Contributor

@dsesami dsesami left a comment

Choose a reason for hiding this comment

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

This has an issue that @jakemcdermott experienced with a similar list of toggles. Basically, if you toggle one item, it disables ALL the toggles and flashes them (even if there are 10 different, unrelated notifications on the page). This can be jarring visually to the user. Jake's approach was to make sure that only the row involving that particular notification was disabled during the animation.

@mabashian mabashian force-pushed the 6425-approval-notif branch from 5f919ae to 681b765 Compare August 20, 2020 17:39
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@dsesami
Copy link
Contributor

dsesami commented Aug 20, 2020

@mabashian will merge this after tests pass.

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 5458411 into ansible:devel Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for approval notification toggle on WFJT notifications
4 participants