Commit Graph

40 Commits

Author SHA1 Message Date
Thanh Quy - wolf dae381d182 Enhance Atoms and Layout Documentation
- Updated ATOMS.md to include new LoginInput and ErrorMessageLogin components with detailed usage examples and props descriptions.
- Adjusted the status and created date in ATOMS.md.
- Refined the layout and styling descriptions in LAYOUTS.md for Header and Footer components, including responsive behavior and accessibility improvements.
- Added new sections for WiFi card and social links in the Footer documentation.
- Improved code formatting and consistency across various components in the codebase.
2026-04-18 11:13:53 +07:00
Thanh Quy - wolf 4892099eaa fix: Address UI/UX accessibility and usability issues from test report
- Add aria-label to search input, category/status dropdowns in ProductsTab
- Add aria-label with item name to Edit/Delete icon buttons
- Add title tooltip to truncated product descriptions
- Add price validation in ProductModal (min=1, reject 0 with inline error)
- Add focus-visible ring to all sidebar nav buttons and links
- Improve StatusBadge contrast: text-amber-700 to text-amber-800 (WCAG AA)
- Add unit annotation (tr = trieu dong VND) to revenue chart subtitles

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 10:54:52 +07:00
Thanh Quy - wolf 9772a8f639 feat: Add image upload functionality to ProductModal; implement image preview and removal features 2026-04-17 20:14:49 +07:00
Thanh Quy - wolf d88b067c5c feat: Implement cash and QR payment modals; enhance payment summary card functionality
refactor: Update PaymentSummaryCard to handle new payment methods and improve state management
fix: Add clearCart function to cart context for better cart management
chore: Update package dependencies and improve documentation
2026-04-17 20:09:16 +07:00
Thanh Quy - wolf e85fa90879 fix: Add title attribute to icon button in TextInput for better accessibility 2026-04-17 18:41:31 +07:00
Thanh Quy - wolf 2875d39f2c Refactor README and component documentation for clarity and consistency; update layout and formatting across various components; enhance analytics charts and payment summary card functionality; improve login form imports and structure; optimize product card button implementation; ensure consistent styling and spacing in manager products tab. 2026-04-17 18:31:33 +07:00
Thanh Quy- wolf c99323ff9e Fix review modal 2026-04-17 10:53:29 +07:00
Thanh Quy - wolf cb639704dd fix: Add className prop to Button component for better styling flexibility
Release package / release (pull_request) Successful in 1m25s
2026-04-16 00:21:13 +07:00
Thanh Quy - wolf 6d7dc0b43f feat: Enhance accessibility and improve UI components
- Updated header and navigation components with aria-labels for better accessibility.
- Modified SearchBar and SearchInput components to include aria-labels and titles for clearer user interaction.
- Changed category sidebar button to include aria-label for improved screen reader support.
- Adjusted payment page table headers to include scope attributes for better semantic structure.
- Enhanced search functionality in Home component to reset category when search query is updated.
- Added accessibility features to buttons in ProductCard and other components for improved usability.
- Introduced a new skill for frontend atomic design methodology with Tailwind CSS.
- Created new skills for prompt optimization, UI/UX testing, and website creation automation.
2026-04-16 00:16:31 +07:00
Thanh Quy - wolf 93552cb9d1 Enhance formatting and readability of the Register Shift feature documentation by adjusting line breaks and indentation for better clarity. Update descriptions for roles, functionalities, and UI elements to ensure consistency and improve user understanding. 2026-04-15 23:47:16 +07:00
gitea-actions b9c0e6a59f chore: release [ci skip] 2026-04-14 03:05:52 +00:00
TaNguyenThanhQuy 5307205977 develop (#29)
Release package / release (push) Failing after 2m31s
Co-authored-by: Thanh Quy - wolf <524H0124@student.tdtu.edu.vn>
Co-authored-by: Thanh Quy- wolf <524H0124@student.tdtu.edu.vn>
Co-authored-by: TakahashiNg <83152264+TakahashiNguyen@users.noreply.github.com>
Reviewed-on: #29
Co-authored-by: TaNguyenThanhQuy <tanguyenthanhquy@noreply.localhost>
Co-committed-by: TaNguyenThanhQuy <tanguyenthanhquy@noreply.localhost>
2026-04-13 15:19:41 +00:00
Thanh Quy - wolf e326e11bb4 Fix conflits
Release package / release (pull_request) Failing after 12s
2026-04-13 20:33:01 +07:00
Thanh Quy - wolf 127cb32b16 acp IconButton 2026-04-10 22:45:08 +07:00
Thanh Quy - wolf 4ddce518ac feat: Implement mobile dropdown navigation and enhance weekly schedule component 2026-04-10 22:37:52 +07:00
Thanh Quy - wolf 95d9435694 feat: Update styling and improve accessibility in shift schedule components 2026-04-10 21:52:52 +07:00
Thanh Quy - wolf 32d40b1dbe Create staff page 2026-04-10 21:38:30 +07:00
Thanh Quy- wolf ace60e424b feat: Enhance Button component with className prop and update PaymentSummaryCard usage
- Added className prop to Button for custom styling
- Updated PaymentSummaryCard to utilize the new Button implementation
- Added nextjs dependency to package.json and package-lock.json
2026-04-09 16:13:34 +07:00
gitea-actions 78f3d6bbe9 chore: release [ci skip] 2026-04-06 15:19:02 +00:00
TaNguyenThanhQuy fd57a35820 feat: Manage & analytics pages (#28)
Release package / release (push) Successful in 1h12m42s
Co-authored-by: Thanh Quy - wolf <524H0124@student.tdtu.edu.vn>
Reviewed-on: #28
Reviewed-by: TakahashiNguyen <takahashi.ng@icloud.com>
Co-authored-by: TaNguyenThanhQuy <tanguyenthanhquy@noreply.localhost>
Co-committed-by: TaNguyenThanhQuy <tanguyenthanhquy@noreply.localhost>
2026-04-06 14:09:45 +00:00
Thanh Quy - wolf 949badaeeb Delete IconButton 2026-04-06 13:08:49 +07:00
Thanh Quy - wolf c68ea1f26f Atomic for login page and register page 2026-04-05 16:16:48 +07:00
Thanh Quy - wolf 240155d1f6 Đóng gói code ở payment page 2026-04-04 02:02:23 +07:00
Thanh Quy - wolf ff133edfda Tái cấu trúc manager page 2026-04-03 20:24:36 +07:00
Thanh Quy - wolf 50473d799d Tái cấu trúc code 2026-04-03 20:09:05 +07:00
Thanh Quy - wolf eca619b79a feat: Implement Atomic Design Phase 1 - Atoms Foundation
 Created complete atoms library (21 components):
- Buttons: Button, IconButton with variants (primary, secondary, danger, ghost)
- Inputs: TextInput, SearchInput, Textarea with validation support
- Typography: Heading (h1-h6), Text (variants), Caption
- Badges: Badge (5 variants), PriceBadge (formatted pricing)
- Dividers: Horizontal/vertical separators

🎯 Updated existing components to use atoms:
- CartProduct: Now uses Button, Text, Caption atoms
- ReviewModal: Now uses Button, Textarea, Heading, Text atoms

📚 Added comprehensive documentation:
- components/atoms/ATOMS.md: Complete atoms reference guide
- Usage examples, theming, import patterns, accessibility

🏗️ Architecture improvements:
- Foundation for molecules/organisms
- Type-safe components with full TypeScript support
- Consistent theming via CSS variables
- Barrel exports for clean imports

 Verified:
- npm run build: Success (✓ Compiled successfully)
- npm run format: All files formatted
- npm run lint: No new errors in atoms

Next: Phase 2 - Create molecules (ProductCard, FormField, SearchBar, etc.)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 19:40:07 +07:00
gitea-actions 68930cfd9c chore: release [ci skip] 2026-03-31 12:32:56 +00:00
Thanh Quy - wolf aa83f7488b Fix conflict develop
Release package / release (pull_request) Successful in 12m42s
2026-03-31 17:37:35 +07:00
Thanh Quy - wolf bae229bdf9 Add feauture review with only user is customer 2026-03-30 12:32:29 +07:00
gitea-actions 55ff138100 chore: release [ci skip] 2026-03-30 01:24:59 +00:00
Thanh Quy - wolf 184635caf9 resolve conflict 2026-03-29 22:29:44 +07:00
Thanh Quy - wolf 284183098e docs: update and create comprehensive markdown documentation
- Updated README.md with current features (Auth, Cart, Feed pages)
- Updated COMPONENTS.md with CartFab and all context providers (Auth, Cart, Menu)
- Created APP.md: detailed documentation of all routes and pages
- Created LIB.md: documentation of types, constants, and contexts
- Created LAYOUTS.md: header and footer component documentation
- Updated TODO.md: reflects completed implementations and future work

This provides agents with comprehensive documentation to understand the project structure and implementation details.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-29 20:17:55 +07:00
gitea-actions 6a6afc4436 chore: release [ci skip] 2026-03-25 03:07:52 +00:00
Thanh Quy - wolf 354e89c8d1 Payment app 2026-03-24 07:51:53 +07:00
Blackbox Agent 9c5b586030 feat(payment): add cart FAB, payment page, qty updates, invoice sidebar 2026-03-23 03:12:19 +00:00
Thanh Quy - wolf 49fe572483 Fix some error 2026-03-23 08:55:02 +07:00
Thanh Quy - wolf 441e33a89a Sticky cho thanh menu 2026-03-22 18:19:01 +07:00
Thanh Quy - wolf b980c12afd Update sidebar 2026-03-22 17:16:08 +07:00
Thanh Quy - wolf 4cc1e76dd7 Fix some error 2026-03-22 15:47:10 +07:00
Thanh Quy - wolf 9da99c6495 Created Page User 2026-03-22 15:10:44 +07:00