Skip to content

Rework the extension submission form's Publisher/License/select fields - #308

Merged
admdly merged 1 commit into
mainfrom
license-spdx-picker
Aug 8, 2026
Merged

Rework the extension submission form's Publisher/License/select fields#308
admdly merged 1 commit into
mainfrom
license-spdx-picker

Conversation

@admdly

@admdly admdly commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Several small UX passes on the "Submit an Extension" form (src/components/ExtensionForm.astro), plus one catalogue filter fix.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 8, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
extensions e8cfd7e Commit Preview URL

Branch Preview URL
Aug 08 2026, 06:03 PM

@admdly admdly self-assigned this Aug 8, 2026
@admdly
admdly force-pushed the license-spdx-picker branch from 1c4617a to c35ab98 Compare August 8, 2026 17:23
@admdly

admdly commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

@cubic review

@cubic-dev-ai

cubic-dev-ai Bot commented Aug 8, 2026

Copy link
Copy Markdown

@cubic review

@admdly I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 11 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread src/components/ExtensionForm.astro
Comment thread src/components/ExtensionForm.astro
@admdly
admdly force-pushed the license-spdx-picker branch from c35ab98 to 013f7dc Compare August 8, 2026 17:46
@admdly

admdly commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

@cubic review

@cubic-dev-ai

cubic-dev-ai Bot commented Aug 8, 2026

Copy link
Copy Markdown

@cubic review

@admdly I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 12 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread src/components/ExtensionForm.astro Outdated
Several small UX passes on the "Submit an Extension" form
(src/components/ExtensionForm.astro), plus one catalogue filter fix:

- Publisher: replace the "Edit Developer Profile" text link (which was
  missing a space after the sentence) with an icon-only button, fixing
  the underlying cause too — the row was using `flex`+`gap` on a `<p>`
  mixing text and an inline element, which was quietly eating normal
  word-spacing across the whole sentence, not just before the link.
- Extension ID is now suggested live from Name (slugified to the
  server's `[a-z0-9]+(-[a-z0-9]+)*` pattern) and reordered above it,
  same override-once-edited pattern used throughout; Name/ID/Type
  reordered so naming happens before the id is suggested.
- Fixed two `<select>` fields (Type, Repository Host) missing `w-full`,
  and one on the homepage catalogue filter that had the wrong
  component class entirely (`input` instead of `select`, silently
  falling back to unstyled native rendering).
- License: replaced the free-text License Name input with a
  basecoat-css combobox searching the full current SPDX license list
  (spdx-license-ids), grouped into "Popular Licenses" (a presentational
  shortlist only — every id still comes from the same package, nothing
  is excluded from search) and "All Licenses (A-Z)", plus an
  "Other / Proprietary" option that reveals a custom-name field.
  Picking a recognized license auto-suggests its canonical
  https://spdx.org/licenses/<id>.html as the License URL. Submits
  through the existing license_spdx_id hidden input; extension-form.ts
  resolves the final license.name/spdx_id server-side so it's correct
  without JS too. Needed adding `basecoat-css/combobox` to the
  behavior modules this app imports (src/layouts/Base.astro) — it
  was never loaded before, unlike tabs/toast.
- Regenerated the extensions-v2 API client against the api repo's new
  license.spdx_id field (see the api repo's matching branch).

Also adds .claude/launch.json so the `run` skill can start this app's
dev server directly.
@admdly
admdly force-pushed the license-spdx-picker branch from 013f7dc to e8cfd7e Compare August 8, 2026 18:03
@admdly

admdly commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

@cubic reviw

@cubic-dev-ai

cubic-dev-ai Bot commented Aug 8, 2026

Copy link
Copy Markdown

@cubic reviw

@admdly I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 12 files

Auto-approved: UX improvement to license field: SPDX combobox with custom option, adds missing name field, validated by tests including edge cases.

Re-trigger cubic

@admdly
admdly merged commit 168856f into main Aug 8, 2026
9 checks passed
@admdly
admdly deleted the license-spdx-picker branch August 8, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant