NullOperator404 / Developer-Diary

Just a blog where I echo thoughts on projects, bugs, etc.
0 stars 0 forks source link

MINOR ISSUE: Checkout can be opened, even if user hasn't inputted quantities on Quote Screen. #39

Open NullOperator404 opened 1 week ago

NullOperator404 commented 1 week ago

When the Quote panel is opened, the User can omit inputting any quantities and click "Checkout," which opens the next screen. A warning modal needs to be implemented similar to the one used if the user tries to get a quote without adding artwork to the design space.

NullOperator404 commented 17 hours ago

UPDATE 10/10/2024

A modal has been implemented with a message, but a few minor issues exist:

  1. The modal appears behind the Quote panel (which lies on Z-index 1), and moving the modal to Z-index 1 causes the Quote panel to be pushed back one layer, revealing the design space artwork. I need to figure out a simple solution to this, as I'd rather not have to sift through 3500 lines of code moving every element back 1 index.

  2. Both error messages (No artwork, no quantities) utitlize the same modal, but when the user clicks "Close," the design lab needs to remain inactive if the Quote panel is open. A simple if-else statement checking to see if the Quote panel is open should resolve this.