csmith1188 / OnlyPogs

A catalogue of Pogs in the York Tech
0 stars 9 forks source link

Admins can Edit Pogs #103

Closed csmith1188 closed 8 months ago

csmith1188 commented 11 months ago

If logged in as an Admin, you may click an "edit" button. This will allow you to change the details of the pog, including if it is visible to all students...

If logged in as an Admin on the main pog list, you can click to add a default pog that is invisible and can be edited.

Currently Implementing: Save Button

Previous assignments: Create a page to view the Pogs List and fix all known errors Add Edit and Cancel buttons Finish Edit and Cancel buttons

Known issues: FillerPog gets reset after selecting a different color stringifying the data does not yield any data, resulting in undefined

Resolved Issues: "Uncaught ReferenceError: Edit is not defined" "Uncaught SyntaxError: expected expression, got '<'" "Uncaught SyntaxError: expected expression, got '&'" pog.name is undefined cannot find FillerPog 'unknown()' is called upon loading the page

csmith1188 commented 9 months ago

Finished Goal: