feat(assets): AssetNew form + Related Tickets sub-table links (PMC-66) #35

Closed
David wants to merge 0 commits from feat/pmc-66-assets-ui into main
Owner

Summary

Closes PMC-66 (Assets UI). PMC-68/69/70 closed in audit; PMC-67 and PMC-71 land here.

  • PMC-71: Related Tickets sub-table on AssetDetailPage now linkifies TKT-#### cells to TicketDetail instead of rendering them as blue-styled spans.
  • PMC-67: AssetNewPage scaffolded with name / type / company / serial / location / warranty / notes. Submit stubbed (1s + navigate) until the assets module ships.

Test plan

  • cargo check --features web clean
  • On /assets/:id the Related Tickets rows navigate to /tickets/:id
  • /assets/new renders the form; submit shows loading then navigates to /assets

🤖 Generated with Claude Code

## Summary Closes PMC-66 (Assets UI). PMC-68/69/70 closed in audit; PMC-67 and PMC-71 land here. - PMC-71: Related Tickets sub-table on AssetDetailPage now linkifies TKT-#### cells to TicketDetail instead of rendering them as blue-styled spans. - PMC-67: AssetNewPage scaffolded with name / type / company / serial / location / warranty / notes. Submit stubbed (1s + navigate) until the assets module ships. ## Test plan - [ ] `cargo check --features web` clean - [ ] On /assets/:id the Related Tickets rows navigate to /tickets/:id - [ ] /assets/new renders the form; submit shows loading then navigates to /assets 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The Related Tickets sub-table on /assets/:id rendered TKT-#### codes as blue-styled spans - clickable-looking but dead. Wrap them in Link components targeting TicketDetail so the affordance matches.

Hardcoded ids (1234 / 1150) match the existing demo seed data; live joins replace these once the assets module ships a real /api/v1/assets/:id/tickets fan-out.

#PMC-71 State Done
feat(assets): implement AssetNewPage form (PMC-67)
Some checks failed
Check / clippy + fmt + tests (pull_request) Failing after 7s
Create release / Create release from merged PR (pull_request) Has been skipped
9e2594a59e
AssetNewPage was a placeholder shell with literal "Asset creation form would go here." text. Add a real form with name / type / company / serial / location / warranty / notes - matching the field set the server's assets module will need.

Submit rides the stubbed-form pattern (1s timeout + navigate to list) until the server assets module ships its POST endpoint.

#PMC-67 State Done
vas2000-work closed this pull request 2026-05-21 01:21:57 +02:00
Some checks failed
Check / clippy + fmt + tests (pull_request) Failing after 7s
Required
Details
Create release / Create release from merged PR (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-apps!35
No description provided.