Item edit form: remaining gaps after #254

Aperta
#260 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start by reviewing #254 and the item edit form and its save path, then trace how extension schemas, asset renames, duplicate extensions, defaults, and preview data are handled. Add mounted form tests for removing and re-adding an extension and for a late-loading registry. The issue lists several independent gaps, and the timezone convention needs a product decision before that item is actionable.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Left open on purpose when #254 was reviewed. None loses data on an untouched save; each is a limit on what can be edited through the form.

  • An extension whose schema wraps its fields in a full item shape (type / nested properties): edits made in its panel are silently not saved.
  • Renaming an asset drops asset fields the form does not know about.
  • Two versions of the same extension on one item: the later panel's value overrides the earlier one.
  • The JSON preview in edit mode is not the document that is actually sent (the save merges onto the latest stored item).
  • A value equal to the schema's default, or a fixed (const) value, cannot be saved through a panel for a field the item never stored.
  • The item form shows browser-local time while the collection form (#250) shows UTC. Needs a product decision on one convention.
  • Tests: no test drives removing and re-adding an extension, or the late-loading extension registry, through the mounted form.

Related: #258 (collection form copies stray panel fields), #259 (login-proxy fields saved into items).

🤖 Generated with Claude Code

Lingua principale
Python
Stelle
0
Fork
2
Merge medio
8h 26m
PR unite (30g)
47

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TechTraverse/stac-higher

Tutte le issue di TechTraverse/stac-higher

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.