Skip to content

Comments

Erratic loads#564

Open
RueHaile wants to merge 8 commits intodevelopmentfrom
erraticLoads
Open

Erratic loads#564
RueHaile wants to merge 8 commits intodevelopmentfrom
erraticLoads

Conversation

@RueHaile
Copy link
Contributor

@RueHaile RueHaile commented Feb 2, 2026

Fixes issue #534

Changes:
The erratic nature of the display for the overlode pending forms and pending release forms. One of the main bugs was the use of preloaded data in the pop-up module when displaying a new request. After a buffer time, the modal would be repopulated with the new request. The other problem was the lack of padding due to the HTML code layering, which required the user to press directly on the text to grant access.

Testing:

  • Navigate to pending forms under admin
  • Pick either pending forms or pending release forms
  • Attempt to click either manage or view notes following the action button.
image

@Meatchema
Copy link
Contributor

  • The first time I tested by just going to overload opening and pressing manage. When I did this the modal showed up and processed well.
  • The second time, after sorting by "created" and then clicking manage the page whited out (went blank).
image
  • After reloading the blank page, it went back to "normal", but it did not bring up the modal and was no longer sorted by "created".
image
  • Next, I tried sorting and then choosing "notes" (it took two presses of the notes button to work each time I tested it). The model came up and submitted properly but then it refreshed the page and undid the sorting.
  • Specifically for the pending release tab, the manage button needs to be clicked twice as well and suffers from gradual lag (this is when the screen gets darker but doesn'tm show modal). The page also resets and undo's the sorting.
image

Overall: The modal seems to use the right student information and always seems to show up even after multiple clicks. But it still has the buffer time issue. Also is this "The other problem was the lack of padding due to the HTML code layering, which required the user to press directly on the text to grant access." talking about the functionality of the buttons for manage and notes or something else?

@RueHaile
Copy link
Contributor Author

  • The first time I tested by just going to overload opening and pressing manage. When I did this the modal showed up and processed well.
  • The second time, after sorting by "created" and then clicking manage the page whited out (went blank).
image * After reloading the blank page, it went back to "normal", but it did not bring up the modal and was no longer sorted by "created". image * Next, I tried sorting and then choosing "notes" (it took two presses of the notes button to work each time I tested it). The model came up and submitted properly but then it refreshed the page and undid the sorting. * Specifically for the pending release tab, the manage button needs to be clicked twice as well and suffers from gradual lag (this is when the screen gets darker but doesn'tm show modal). The page also resets and undo's the sorting. image Overall: The modal seems to use the right student information and always seems to show up even after multiple clicks. But it still has the buffer time issue. Also is this "The other problem was the lack of padding due to the HTML code layering, which required the user to press directly on the text to grant access." talking about the functionality of the buttons for manage and notes or something else?

Done!

@RueHaile RueHaile requested a review from MImran2002 February 10, 2026 23:15
@Meatchema
Copy link
Contributor

image

The modals both in manage and notes now show up with ease and no longer refresh the page which is good. I did notice however that the modal wouldn't open up at all for the notes that has zero notes. This logically makes sense, but I was wondering if it would be a good idea for the option to disappear if there is less than 1 note available? Because it seems a little odd to still be able to click it, but nothing happens, meaning that the user won't get the signal that the button tried to work.

image

@RueHaile
Copy link
Contributor Author

RueHaile commented Feb 12, 2026

Thanks for the review. It looks like it is also a way to enter notes, not just to view them, and this seems intentional. I will talk to Brian and see if it is a bug or a feature.

@RueHaile
Copy link
Contributor Author

Thanks for the review. It looks like it is also a way to enter notes, not just to view them, and this seems intentional. I will talk to Brian and see if it is a bug or a feature.

I have spoken to Brian, and he said it is also used as an input space, so a more generic wording is appropriate. I have done that. It is no longer "view notes" but merely "notes". There is a question of whether people really use this feature, but we can't just remove it. It will be addressed in future pr's.

Copy link
Contributor

@MImran2002 MImran2002 left a comment

Choose a reason for hiding this comment

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

Fix 1: The db_test.py should be uncommitted even though it fixes the Tracy issue I remember talking with Brian about this and not moving forward with those changes.

Fix 2: Update the comment on this function app>static>js>allPendingForms.js>loadOverloadModal because there is no AJAX call and one of the parameter is not in use.

Fix 3: Remove unused parameters or variables like laborStatusFormID in loadReleaseModal.

Fix 4: in allPendingForms.html around line 209 and line 218, calls the loadoverloadModal but the second parameter is never used in the js function so having the parameter inputted in the html side is in valid cause the parameter is never used.

@RueHaile RueHaile requested a review from MImran2002 February 17, 2026 21:56
@RueHaile
Copy link
Contributor Author

Fix 1: The db_test.py should be uncommitted even though it fixes the Tracy issue I remember talking with Brian about this and not moving forward with those changes.

Fix 2: Update the comment on this function app>static>js>allPendingForms.js>loadOverloadModal because there is no AJAX call and one of the parameter is not in use.

Fix 3: Remove unused parameters or variables like laborStatusFormID in loadReleaseModal.

Fix 4: in allPendingForms.html around line 209 and line 218, calls the loadoverloadModal but the second parameter is never used in the js function so having the parameter inputted in the html side is in valid cause the parameter is never used.

done

@Meatchema
Copy link
Contributor

Both buttons seem to work as intended.
image
However, the filters seem to still be resetting after reloading which makes sense, but I am not sure if that is a concern. Is the concern mainly the buttons functionality, the smoothness in which they function, or how it effects filters?

My answers:

  • Both buttons show up and work properly. The correct information shows and I don't have to click directly on the letters to make it work.
  • They both have increase in smoothness of usage (they don't require multiple clicks anymore, though there is still a little bit of a load buffer)
  • If you use a filter and then make a note or click and use manage the page will reset making it harder to go find the persons information you just edited to see your changes.

Note:
Is there something specific I should be looking for in my review?

Copy link
Contributor

@Meatchema Meatchema left a comment

Choose a reason for hiding this comment

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

Reposting this comment since the other didn't seem to be flagged as my review:
Both buttons seem to work as intended.
image
However, the filters seem to still be resetting after reloading which makes sense, but I am not sure if that is a concern. Is the concern mainly the buttons functionality, the smoothness in which they function, or how it effects filters?

My answers:

Both buttons show up and work properly. The correct information shows and I don't have to click directly on the letters to make it work.
They both have increase in smoothness of usage (they don't require multiple clicks anymore, though there is still a little bit of a load buffer)
If you use a filter and then make a note or click and use manage the page will reset making it harder to go find the persons information you just edited to see your changes.
Note:
Is there something specific I should be looking for in my review?

@RueHaile
Copy link
Contributor Author

Reposting this comment since the other didn't seem to be flagged as my review: Both buttons seem to work as intended. image However, the filters seem to still be resetting after reloading which makes sense, but I am not sure if that is a concern. Is the concern mainly the buttons functionality, the smoothness in which they function, or how it effects filters?

My answers:

Both buttons show up and work properly. The correct information shows and I don't have to click directly on the letters to make it work. They both have increase in smoothness of usage (they don't require multiple clicks anymore, though there is still a little bit of a load buffer) If you use a filter and then make a note or click and use manage the page will reset making it harder to go find the persons information you just edited to see your changes. Note: Is there something specific I should be looking for in my review?

I had spoken to brian and the revert when the page reloads is not a bug. I appreciate your comment. No, that is all thanks.

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.

3 participants