Item edit form: remaining gaps after #254

Open
#260 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
Python
Stars
0
Forks
2
Avg merge
8h 26m
Merged PRs (30d)
47

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TechTraverse/stac-higher

All issues in TechTraverse/stac-higher

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.