feat(companies): move add/edit from dialog to dedicated pages #49
No reviewers
Labels
No labels
bug
claude-failed
claude-pr
claude-queue
claude-working
feature
interactive
portal
triaged
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: shad0w/pelagia-portal#49
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/company-form-pages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What & why
The company add/edit form outgrew the modal once the branding (logo / stamp) section landed (PR #48). This moves add/edit onto their own routes so the form has room to breathe.
Changes
/admin/companies/newand/admin/companies/[id]/edit(auth-gated,manage_vessels_accounts).company-form.tsxis now a full-pageCompanyForm(details card + a separate Branding card); theAdminDialogversions are removed.createCompanyreturns the newid; the create flow redirects to the new company's edit page so the logo/stamp can be uploaded immediately.Verification
pnpm type-checkclean,pnpm testgreen (174 passed)./new(200, "Create the company first" until saved), and/[id]/edit(200, fields prefilled, Logo + Stamp uploaders present).Note
Stacked on top of PR #48 (branding), which is already merged to master — this PR is just the dialog→page refactor (6 files).
🤖 Generated with Claude Code