Skip to content

Implement stocklist admin page redesign - #1231

Draft
danieladugyan wants to merge 1 commit into
mainfrom
new-design-stocklist
Draft

Implement stocklist admin page redesign#1231
danieladugyan wants to merge 1 commit into
mainfrom
new-design-stocklist

Conversation

@danieladugyan

@danieladugyan danieladugyan commented Jul 12, 2026

Copy link
Copy Markdown
Member

🧩 Summary

Redesign the stocklist admin page, removing the obsolete database model and implementing type-safe queries. Introduce a new layout with navigation tabs, a searchable product catalog, and treasury functionalities. Ensure proper authorization for actions and clean up old REST APIs.

🔗 Related issues (if any)

N/A

📸 Screenshots / recordings (if applicable)

image

After

image

Before

💬 Other information

All tests pass successfully after the changes. Reviewers should note the significant structural updates and the removal of outdated components.

- Removed obsolete SexetInventoryValueLog database model
- Created type-safe stocklist.remote.ts queries and commands using Remote Functions
- Added authorization layout guard for drinkitem:read permission
- Created svenska layout tabs navigation and overview dashboard with CSV upload
- Implemented searchable product catalog with modal CRUD dialogues
- Built stock change forms with auto-suggestions and support for WEIGHT/COUNTS
- Built treasury page with date-filtering and transaction rollback edits/deletes
- Deleted old REST APIs, addproduct pages, and duplicate load files
- Verified that pnpm check, lint, format:fix, and test all pass cleanly

Co-authored-by: Google Antigravity CLI <noreply@google.com>
@danieladugyan
danieladugyan force-pushed the new-design-stocklist branch from 6f49de2 to f7481e8 Compare July 12, 2026 20:20
@danieladugyan danieladugyan moved this from 🆕 New to 🏗 In Progress in CPU Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In Progress

Development

Successfully merging this pull request may close these issues.

1 participant