Skip to content

Add actor generation form - #74

Merged
sij411 merged 7 commits into
mainfrom
feat/actor-page
Sep 15, 2026
Merged

sij411 merged 7 commits into
mainfrom
feat/actor-page

Conversation

@sij411

@sij411 sij411 commented Sep 8, 2026 •

Copy link
Copy Markdown
Member
  • Add an actor-generation form with validation and loading/error feedback.
  • Submit the selected instance global ID through Relay.

Closes #41

AI assistance

Used Codex (gpt-5.6-sol) to review the Relay/Formisch/Kobalte integration and make focused corrections to numeric input binding, an import suffix, a typo, and lint issues. I reviewed and retained the design and implementation decisions.

@sij411
sij411 marked this pull request as draft September 8, 2026 15:11
@sij411

sij411 commented Sep 8, 2026

Copy link
Copy Markdown
Member Author

Testing in progress

@sij411

sij411 commented Sep 9, 2026 •

Copy link
Copy Markdown
Member Author

Currently, after creating actor, it stays on the actor creating page. Should i add some post actions?

image

@sij411
sij411 marked this pull request as ready for review September 9, 2026 05:06
dodok8
dodok8 previously approved these changes Sep 9, 2026
@dodok8

dodok8 commented Sep 9, 2026

Copy link
Copy Markdown
Member

How about add 'useNavigate'?

@sij411

sij411 commented Sep 10, 2026

Copy link
Copy Markdown
Member Author

@dodok8 navigate to instance detail page?

@dodok8

dodok8 commented Sep 10, 2026

Copy link
Copy Markdown
Member

Yes.

Comment thread packages/web/src/routes/workspace/create/[instance_id]/actors.tsx Outdated
@2chanhaeng
2chanhaeng requested a review from dodok8 September 12, 2026 11:53
Comment thread packages/web/src/routes/workspace/create/[instance_id]/actors.tsx
Comment thread packages/web/src/routes/workspace/create/[instance_id]/actors.tsx
Comment thread packages/web/package.json
Comment thread packages/web/src/routes/workspace/create/[instance_id]/actors.tsx
Comment thread packages/web/src/routes/workspace/create/[instance_id]/actors.tsx
Comment thread packages/web/src/routes/workspace/create/[instance_id]/actors.tsx
@sij411

sij411 commented Sep 15, 2026

Copy link
Copy Markdown
Member Author

local actors list and the success toast after redirected to instance detail page from creating actor form page.

image

I implemented the actor-generation route with Formisch and Valibot validation, Kobalte controls, Relay global-ID mutation input, loading state, and distinct GraphQL, domain, and network error handling. Codex reviewed and explained the Relay and generated-type behavior, then made focused edits to route Kobalte numeric values into Formisch, correct a generated import suffix and typo, and resolve lint findings. I retained the design and implementation decisions.

Codex ran the full repository check successfully. I will manually verify the UI before submitting the pull request.

Assisted-by: Codex:gpt-5.6-sol
I pinned Seroval 1.5.4 in the web package so Solid Relay uses the same OpaqueReference implementation as Solid SSR, preventing serialization failures when entering preloaded dynamic routes. Codex diagnosed the upstream peer-version mismatch and applied the dependency and lockfile changes. I confirmed the fix in the development environment by entering the instance route and observing its GraphQL query execute normally.

Codex ran mise run check, mise run build, mise run test, and an SSR request to the affected dynamic route successfully.

Assisted-by: Codex:gpt-5.6-sol
Navigate to the selected instance by slug after actor creation and refresh
its cached actor list. Add a persistent Kobalte toast region with a
dismissible success notification. Use the number field rawValue prop so
clearing the actor count leaves the input editable.

Codex generated these changes at my request. I verified that the toast
worked and reported the empty-input NaN bug, which guided
the subsequent input fix. The input fix has not been browser-verified.
Validation: mise run check and mise run test (including the build) passed;
lint reports a callback statement-count warning.

Assisted-by: Codex:gpt-6-astra
Load the instance detail page afresh after creating actors and carry the
success toast through session storage so it appears on the destination
once. Normalize empty actor-count input to keep the size field editable.

Codex generated these changes at my request after I reported stale instance
details and an uneditable size field. I requested a full page refresh and
verified that the resulting changes worked in the browser.

Assisted-by: Codex:gpt-6-astra
Add status-specific toast colors and preserve the message and status
across full-page navigation. Parse and validate saved notifications with
a single Valibot pipeline, and pass success explicitly after actor creation.

Codex updated the toast related helpers and the caller with success and
failure varaints. I added Valibot and css.
I verified the resulting changes in the browser.

Assisted-by: Codex:gpt-6-astra
@sij411
sij411 merged commit 7325171 into main Sep 15, 2026
11 checks passed
@sij411
sij411 deleted the feat/actor-page branch September 15, 2026 07:29
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.

Add creating actor page for each instance

4 participants