ramp4-pcar4 / storylines-editor

An editor for RAMP Storylines
5 stars 13 forks source link

Implement metadata editor redesign #403

Open gordlin opened 2 months ago

gordlin commented 2 months ago

Related Item(s)

Issues:

374

399

Changes

Notes

NOTE: The new product details form is not implemented in this PR, so the old one is still here. It has a separate issue: #400. Should only be done after this PR is merged, or should at least base its branch on this one.

Old 'Edit Existing' page:

image

New 'Edit Existing' page (before UID & load):

image

New 'Edit Existing' page (after UID & load; black box hidden on actual page): image

Old 'Create New' page:

image

New 'Create New' page (black box hidden on actual page): image

Testing

Steps:

  1. Select any language, click onto 'Edit Existing'. Enter any existing product ID, click enter OR press the load button. Notice the very large spinner, and the info-text about loading times. Once loading's done, view the result.
  2. If there's history, you'll see some text confirming it and a button to open up the history results table. If not, the text will indicate it, and the button will be hidden. The form should show the correct metadata information.
  3. Go back to the New Storylines page. Try creating a new storyline with the form; it should still work.

This change is Reviewable

github-actions[bot] commented 2 months ago

Your demo site is ready! 🚀 Visit it here: https://ramp4-pcar4.github.io/storylines-editor/redesign-metadata-editor