Conversation
…e related functions
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11857 +/- ##
=========================================
Coverage 20.69% 20.70%
Complexity 9197 9197
=========================================
Files 265 265
Lines 35234 35222 -12
Branches 458 456 -2
=========================================
- Hits 7293 7292 -1
+ Misses 27487 27478 -9
+ Partials 454 452 -2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Contributor
JManion32
reviewed
Jul 14, 2025
Contributor
JManion32
left a comment
There was a problem hiding this comment.
Functionality and code looks good. The right margin of the status icon is now apparent and looks much better.
Just change the name of toasts.vue to Toasts.vue and I will approve.
JManion32
approved these changes
Jul 14, 2025
Contributor
JManion32
left a comment
There was a problem hiding this comment.
Functionality and Code looks good
Member
|
@lavalleeale Please fix merge conflicts |
martig7
approved these changes
Jul 15, 2025
Contributor
martig7
left a comment
There was a problem hiding this comment.
This refactor looks good, the toast is formatted correctly now.
williamschen23
pushed a commit
that referenced
this pull request
Jul 18, 2025
### Why is this Change Important & Necessary? <!-- Include any GitHub issue that is fixed/closed using "Fixes #<number>" or "Closes #<number>" syntax. Alternately write "Partially addresses #<number>" or "Related to #<number>" as appropriate. --> As we are moving to vue this is a good early component since there are many places on the site that make toasts manually which seem to have drifted to cause certain toasts to have different html. ### What is the New Behavior? <!-- Include before & after screenshots/videos if the user interface has changed. --> All toasts are created in vue. ### What steps should a reviewer take to reproduce or test the bug or new feature? 1. Go to main 2. Look at toasts (login/logout/submission) 3. Switch to branch 4. Look at toasts (login/logout/submission) 5. Functionality should be unchanged ### Automated Testing & Documentation <!-- Is this feature sufficiently tested by unit tests and end-to-end tests? If this PR does not add/update the necessary automated tests, write a new GitHub issue and link it below. Is this feature sufficiently documented on submitty.org? Link related PRs or new GitHub issue to update documentation. --> ### Other information <!-- Is this a breaking change? Does this PR include migrations to update existing installations? Are there security concerns with this PR? -->
bmcutler
pushed a commit
that referenced
this pull request
Aug 18, 2025
### Why is this Change Important & Necessary? <!-- Include any GitHub issue that is fixed/closed using "Fixes #<number>" or "Closes #<number>" syntax. Alternately write "Partially addresses #<number>" or "Related to #<number>" as appropriate. --> #11857, we replace all the toasts with vue. however, there was still some places where jquery calls `#messages` which could desync the vue files content. This causes a very weird error, ``` TypeError: Cannot read properties of null (reading 'insertBefore') at insert (vue.runtime.global.prod.js?v=1755186796:6:53704) at O (vue.runtime.global.prod.js?v=1755186796:6:10185) at R (vue.runtime.global.prod.js?v=1755186796:6:9733) at C (vue.runtime.global.prod.js?v=1755186796:6:9199) at Y (vue.runtime.global.prod.js?v=1755186796:6:18714) at G (vue.runtime.global.prod.js?v=1755186796:6:17988) at U (vue.runtime.global.prod.js?v=1755186796:6:12056) at C (vue.runtime.global.prod.js?v=1755186796:6:9160) at F (vue.runtime.global.prod.js?v=1755186796:6:11493) at D (vue.runtime.global.prod.js?v=1755186796:6:10902) ``` which does not really make sense. This is because of the desync between js and vue. ### What is the New Behavior? <!-- Include before & after screenshots/videos if the user interface has changed. --> This removes allof the references to `#messages`, which causes the bulk upload page to have the notifications. ### What steps should a reviewer take to reproduce or test the bug or new feature? Make an error on the page, like entering a page count that is too large, and click bulk upload. Nothing should show up, but there should be notifications after viewing this PR ### Automated Testing & Documentation <!-- Is this feature sufficiently tested by unit tests and end-to-end tests? If this PR does not add/update the necessary automated tests, write a new GitHub issue and link it below. Is this feature sufficiently documented on submitty.org? Link related PRs or new GitHub issue to update documentation. --> ### Other information <!-- Is this a breaking change? Does this PR include migrations to update existing installations? Are there security concerns with this PR? -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Why is this Change Important & Necessary?
As we are moving to vue this is a good early component since there are many places on the site that make toasts manually which seem to have drifted to cause certain toasts to have different html.
What is the New Behavior?
All toasts are created in vue.
What steps should a reviewer take to reproduce or test the bug or new feature?
Automated Testing & Documentation
Other information