Skip to content

Hint at IGDB and the website on the game form, pre-select org types - #255

Open
engleek wants to merge 1 commit into
mainfrom
feat/form-hints
Open

engleek wants to merge 1 commit into
mainfrom
feat/form-hints

Conversation

@engleek

@engleek engleek commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Ports YoruNoHikage's #86 ("Detailed forms") to Chakra v3 and the current navigation.

  • Game form: under the IGDB field, a link to an IGDB search for the name typed so far (URL-encoded, opens in a new tab). Under the site field: The game's official website, or else its Steam or itch.io page.
  • Org type: the per-list "add" buttons that Detailed forms #86 changed no longer exist. Their job moved to the + menu, so "Add organisation" there pre-selects Studio on /studios and Association on /associations. /orgs/create?type=… accepts only those two values.

Fixed in passing, in the same files:

  • The IGDB field used the name field's error state and message.
  • "Add game" linked to the relative games/create, so from /game/:id it went to /game/games/create.

Tests

  • e2e: the IGDB link appears once a name is typed, encoded (Héros & Co → H%C3%A9ros%20%26%20Co). The org type is pre-selected from both lists.
  • build ✅, vitest 137/137 ✅, Playwright 75/75 ✅

🤖 Generated with Claude Code

Ports #86 to Chakra v3:
- The IGDB field links to an IGDB search for the name typed so far
  (URL-encoded, new tab), and the site field says which site to give.
- "Add organisation" in the + menu pre-selects Studio on /studios and
  Association on /associations; /orgs/create reads ?type=.

Also fixes the IGDB field showing the name's error state and message,
and "Add game" linking to a relative games/create (from /game/:id it
went to /game/games/create).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@engleek engleek mentioned this pull request Oct 4, 2026

This branch has not been deployed

No deployments
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