-
Notifications
You must be signed in to change notification settings - Fork 0
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
[283] Eval Form: Cancelation modal #315
Conversation
…-form-cancelation-modal * 'dev' of github.com:GSA/Challenge_platform: (52 commits) [275-FIX] Fix for max input values for scale types (#288) Update app/views/evaluator_submission_assignments/_unassigned_submission_row.html.erb Update .codeclimate.yml rubocop name Disable rubocop check on flash before render quick syntax fix 179 | Adjust sorting scope and evaluation status quick syntax fix update status colors 179 | Adjust sorting scope and evaluation status Rename stat summary for evaluation submission assignments 179 | Add tests, update statuses, and colors 179 | Update flash, closing date, and error status 179 | Update tests for display scores 179 | Remove unused argument in display_score 179 | Update tests wip 179 | Update ordered by status query 179 | Update the display score to check for assignment completion 179 | Update js to use assignment 179 | Update route for evaluation submission assignments 77 | Update recused conditional ...
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.
I like the reusability of this for any other modals that just do confirmation with a redirect, but I think for consistency it should be stimulus. Let me know if that doesn't make sense here or you disagree.
…-form-cancelation-modal * 'dev' of github.com:GSA/Challenge_platform: Bump rubocop from 1.68.0 to 1.69.1 Bump selenium-webdriver from 4.26.0 to 4.27.0 [304] Collapsible Column Layout (#310)
…lenge_platform into 283/eval-form-cancelation-modal * '283/eval-form-cancelation-modal' of github.com:GSA/Challenge_platform:
Codeclimate failure for "similar" code blocks in the javascript. Should we suppress this warning? |
data-modal-confirm-redirect="<%= defined?(confirm_redirect) ? confirm_redirect : '' %>" | ||
data-modal-cancel-redirect="<%= defined?(cancel_redirect) ? cancel_redirect : '' %>" | ||
data-modal-confirm-action="<%= defined?(confirm_action) ? confirm_action : '' %>" | ||
data-modal-cancel-action="<%= defined?(cancel_action) ? cancel_action : '' %>" |
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.
nice!
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.
very 🆒 😎
#283
Adds a new modal for confirming redirects/actions