Commit Graph

23 Commits

Author SHA1 Message Date
7c8426651d feat: add favorite thing items to pokemon detail
Fetch favorite thing items associated with a pokemon in backend
Display items with category tabs in PokemonDetail view
2026-04-30 19:33:01 +08:00
09ed83dc7e fix(ui): prevent text overflow in appearance list and adjust layout
Add text truncation to appearance names to prevent layout breakage.
Use clamp() for appearance list grid columns and update habitat detail spacing.
2026-04-30 17:56:22 +08:00
5b6b141602 feat(ui): support single selection in TagsSelect
Render single value instead of tags when multiple is false
Update inline-row CSS selectors to use direct child combinator
2026-04-30 17:41:52 +08:00
5e2d918b37 feat(ui): add SwitchGroup component and revamp habitat appearance form
Introduce SwitchGroup component for multiple choice toggles
Replace TagsSelect with SwitchGroup for time and weather in HabitatEdit
Restructure appearance row layout for better responsiveness
2026-04-30 17:27:26 +08:00
45e0276158 feat: add noRecipe flag to items and revamp recipe list
Add noRecipe toggle to item editor to prevent recipe creation
Change RecipeList to display items and their recipe status
Show recipe details and related recipes directly in ItemDetail
2026-04-30 16:52:59 +08:00
a7086823ff feat: add skill item drops configuration for pokemon
Add `has_item_drop` flag to skills and `pokemon_skill_item_drops` table
Enable configuring item drops for specific pokemon skills in editor
Show skill item drops on pokemon and item detail pages
2026-04-30 16:02:43 +08:00
02f6dd47c3 refactor(skills): remove subcategory field from skills
Drop subcategory column from database schema and update constraints
Remove subcategory handling from backend queries and API endpoints
Clean up frontend components and admin views to reflect the change
2026-04-30 15:24:19 +08:00
3e8265e0c8 feat(ui): extract entity forms into dedicated edit views
Move entity creation and editing from AdminView to separate pages.
Simplify AdminView to focus on system configuration and record deletion.
Add action buttons to list/detail views and protect routes via meta tags.
2026-04-30 15:12:32 +08:00
47b9b25032 feat(ui): separate items and recipes into distinct views
Extract recipe list from ItemsList into a dedicated RecipeList view
Update navigation menu and routing for the new recipes page
2026-04-30 14:31:25 +08:00
0e8b7bc7af docs(agents): require reading DesignGuidelines.html for UI tasks
Update the agent workflow to include reading DesignGuidelines.html
Add a new section detailing rules for component reuse and UI modifications
2026-04-30 14:24:16 +08:00
dabbf0ec70 feat(ui): replace text loading states with skeleton loaders
Add skeleton CSS classes to main.css for consistent loading UI
Apply skeleton loading states to Admin, Habitat, Item, Pokemon, Recipe, and Auth views
Improve perceived performance and accessibility during data fetching
2026-04-30 14:20:57 +08:00
ba5aae7136 feat(ui): add skeleton loaders and category tabs
Add Skeleton component for improved loading states in ItemsList
Extract Tabs component and support recipe category filtering
2026-04-30 14:09:11 +08:00
b39e37ca28 feat(ui): overhaul frontend design system and layout
Introduce reusable UI components (AppShell, EntityCard, PageHeader)
Implement Pokemon-themed CSS variables and responsive grids
Refactor all views to adopt the new component structure
2026-04-30 13:52:44 +08:00
0f5ff7be15 feat: implement community editing with audit logs and user attribution
Add created/updated tracking and edit logs to all wiki tables
Restrict create/update/delete operations to verified users
Display edit metadata on frontend detail and list views
2026-04-30 11:53:29 +08:00
9af8c98401 feat(auth): implement user authentication and email verification
Add registration, login, and logout flows with session management
Integrate Resend for email verification tokens
Create frontend auth views and update topbar state
2026-04-30 11:32:46 +08:00
193b4e3fd5 feat(ui): add single selection and keyboard navigation to TagsSelect
Add `multiple` prop to support single-value selection
Implement keyboard navigation (Up/Down/Enter) for dropdown options
Replace native select elements with TagsSelect across views
2026-04-30 11:07:28 +08:00
b94450d3ba refactor(schema): invert relationship between items and recipes
Move item_id to recipes table and drop recipe_id from items
Update backend queries and admin UI to reflect the new domain model
2026-04-30 09:50:11 +08:00
be6902333d feat(ui): support inline creation of new options in TagsSelect
Add allowCreate prop and create event to TagsSelect component
Integrate inline creation for tags, skills, and methods in admin forms
2026-04-30 07:37:15 +08:00
8570c7d04c feat(ui): aggregate appearance data in detail views
Group appearances by entity ID and rarity to reduce list clutter
Display aggregated times, weathers, and maps in a structured layout
2026-04-30 07:23:24 +08:00
98e258d45f feat(ui): introduce searchable TagsSelect component for multi-selects
Replace native multiple selects across admin and list views
Improve UX with searchable dropdowns and tag-based selections
2026-04-30 07:07:17 +08:00
7f36d6a916 feat: enhance habitat appearances and item relations
Replace item tags with favorite things to unify entity tagging
Allow multiple maps, times, and weathers per habitat appearance
Make item usage optional and translate API error messages to Chinese
Add .dockerignore files for backend and frontend
2026-04-30 06:34:23 +08:00
f6a40097c1 feat(admin): implement management UI and CRUD APIs for all entities
Add full CRUD operations for Pokemon, Habitats, Items, Recipes, and Configs
Switch package manager from npm to pnpm across the project
Remove static seed data in favor of UI-driven data management
2026-04-29 18:01:46 +08:00
b428595769 initial commit 2026-04-29 17:46:58 +08:00