Commit Graph

78 Commits

Author SHA1 Message Date
riefive 56389263ae refactor(tools): add modal form 2025-09-08 13:48:24 +07:00
riefive 9cb8dd9caf refactor(equipment): add modal form to component list 2025-09-08 13:09:55 +07:00
riefive 354ed82df1 fix: solve conflict at material entry 2025-09-08 10:30:26 +07:00
Munawwirul Jamal 2b41d5f163 Merge pull request #34 from dikstub-rssa/30-fe---item-itemprice
Feat Item, Item Price and Rename flow > content
2025-09-08 08:53:15 +07:00
Munawwirul Jamal 8e52689726 Merge pull request #32 from dikstub-rssa/feat/equipment-device
Feat Equipment Device
2025-09-08 08:51:52 +07:00
Munawwirul Jamal bc8c6b8033 Merge pull request #20 from dikstub-rssa/feat/org-src
feat/org src implement entry form for division, unit, and installation
2025-09-08 08:48:43 +07:00
Abizrh 263f9dbc7f ⚠️ refactor (components): rename flow components to content 2025-09-07 22:58:18 +07:00
Abizrh cdebdb8995 feat (item): add item and item price modules 2025-09-07 22:50:15 +07:00
Abizrh e640a6d44c feat (medicine-method): implement medicine method fetching 2025-09-07 20:43:14 +07:00
Abizrh c3c9154d0e ⚠️ refactor (medicine-method): simplify entry form and list configuration 2025-09-07 20:37:24 +07:00
Abizrh eb9c918141 ⚠️ refactor (medicine-group): simplify entry form and list configuration 2025-09-07 20:34:22 +07:00
Abizrh 302bcb3e2a feat (medicine): implement medicine entry form and list 2025-09-07 20:09:31 +07:00
riefive ffa4a7d191 refactor(material): modify validation uom and item 2025-09-04 16:21:10 +07:00
Khafid Prayoga d9a675be05 refactor(composables): extract pagination logic into usePaginatedList composable
- Remove duplicate schema.query.ts files from unit, division, and installation components
- Create new usePaginatedList composable to centralize pagination logic
- Update list.vue components to use the new composable
- Maintain same functionality while reducing code duplication
2025-09-04 16:19:51 +07:00
riefive 21d087e496 refactor(material): add zod validation for stock field as number and display error message after submit in 2025-09-04 15:55:32 +07:00
Khafid Prayoga 39d96e7b24 feat(unit): implement unit management flow with list and form components
- Add schema validation and default query params for unit management
- Create list view with pagination, search, and delete functionality
- Implement form entry with validation for creating/editing units
- Replace placeholder content with functional unit list component
- Remove unused unit add page and update page titles
2025-09-04 13:17:06 +07:00
Abizrh 38e40416d3 feat (medicine): add medicine management modules 2025-09-03 20:33:19 +07:00
Khafid Prayoga 4c0312e487 feat(installation): implement installation list with pagination and search
refactor(installation): move form schema and configuration to separate files
fix(installation): update page title and content display
2025-09-03 17:00:49 +07:00
Khafid Prayoga 646c7b6d73 fix(flow): prevent outside click on division form dialog
Add prevent-outside prop to Dialog component to avoid accidental closure
2025-09-03 16:07:39 +07:00
riefive 0435371e1c feat (device): update entry form of device 2025-09-03 15:47:07 +07:00
riefive 3c74a123ac feat (material): update validation of attribute stock 2025-09-03 15:39:06 +07:00
riefive 06a26c8b07 feat: add RBAC role-based access control and permission checks to device index page 2025-09-03 15:34:59 +07:00
Khafid Prayoga a9c286bd0a feat(division): impl division list+entry
feat(form): add accessibility improvements to form components

- Add labelFor prop to Label component for better form element association
- Enhance Combobox with ARIA attributes for better screen reader support
- Update form fields with proper IDs and label associations

feat(pagination): adjust button width based on page number length

Add dynamic button sizing for pagination items to accommodate different digit lengths (1-99, 100-999, 1000+). This improves visual consistency when displaying varying page numbers.

feat(modal): add reusable dialog component and refactor division form

- Create new Dialog.vue component with configurable size and outside click prevention
- Replace inline dialog implementation in division list with new Dialog component
- Fix formatting in entry-form.vue

feat(data-table): add click handling for action cells

Implement handleActionCellClick function to manage click events on action cells, triggering dropdown buttons when clicked outside interactive elements. Add cursor-pointer class and click handler to action cells for better UX.

refactor(custom-ui): centralize action event strings in types

Replace hardcoded action event strings with constants from types.ts to improve maintainability and reduce potential typos

feat(confirmation): add reusable confirmation modal components

- Implement base confirmation.vue component with customizable props
- Create record-specific record-confirmation.vue for data operations
- Add comprehensive README.md documentation for usage
- Integrate confirmation flow in division list component

refactor(components): move dialog component to base directory and update imports

The dialog component was moved from custom-ui/modal to base/modal to better reflect its shared usage across the application. All import paths referencing the old location have been updated accordingly.

refactor(select): reorganize imports and adjust conditional formatting

- Reorder imports in Select.vue for better organization
- Adjust logical operator formatting in SelectContent.vue for consistency
2025-09-03 15:13:44 +07:00
riefive 6afa968b7b feat (material): update logic validate 2025-09-03 12:50:41 +07:00
Khafid Prayoga b6d30eb154 refactor(division): extract entry form to separate component and improve form handling
- Move form logic from list component to dedicated entry-form component
- Implement proper form submission and cancellation handlers
- Add type safety with DivisionFormData interface
- Improve form validation using vee-validate
- Refresh data after successful form submission
2025-09-02 16:49:19 +07:00
Khafid Prayoga 664849e15b feat(division): add form dialog for creating new division
- Implement dialog form with validation schema for division creation
- Add combobox component for parent division selection
- Include form submission handling with reset and error states
- a11y
2025-09-02 16:14:40 +07:00
mrifai-cata 7e4444a427 feat (material): add form material 2025-09-02 14:04:33 +07:00
mrifai-cata f29c9abad8 feat (material): add list material 2025-09-02 13:58:10 +07:00
Khafid Prayoga 132068fcde feat(division): implement division list with pagination and search
- Add schema validation for query parameters
- Create pagination component with type definitions
- Implement division list view with search functionality
- Add data table configuration for division listing
- Handle pagination state and URL synchronization
2025-09-01 15:08:55 +07:00
Khafid Prayoga 529b8ef7df feat(installation): add installation entry form and pages
- Create new installation entry form component with validation
- Add installation list and add pages with basic routing
- Implement custom select component for encounter class selection
- Update SelectTrigger styling for better icon positioning
2025-08-29 16:33:20 +07:00
Khafid Prayoga 5e1775d057 feat(unit): add unit management pages and form components
- Create new unit list and add pages under org-src feature
- Implement unit entry form with validation using zod
- Update error types to support readonly path property
- Refactor field component to use shared error type
2025-08-29 13:39:59 +07:00
Khafid Prayoga d6b288404f feat(division): add division management pages and form validation
- Create new division list and add pages
- Implement form validation using zod and error handling
- Add useFormErrors composable for form error management
- Update division entry form with validation support
- Add error styling in main.css
2025-08-29 10:42:07 +07:00
Khafid Prayoga 2a74c0a2c7 feat(division): add entry form and view components for division management 2025-08-28 15:29:48 +07:00
Khafid Prayoga c773edce8c Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/org-src 2025-08-28 13:37:44 +07:00
Khafid Prayoga 71dfd6545c feat: add new components for unit, division and installation
Add list and entry-form components for unit, division and installation modules
2025-08-28 12:25:05 +07:00
Abizrh 00d4419bc7 Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into feat/user 2025-08-28 12:01:55 +07:00
Abizrh a48ac7cc68 feat (user): implement user entry form with status and type selection 2025-08-28 02:03:32 +07:00
Abizrh 1824427b62 ⚠️ refactor (form): remove unused components and logic from entry forms 2025-08-28 01:24:48 +07:00
Abizrh 35e2c663f5 feat (user): implement user management feature 2025-08-28 01:18:55 +07:00
Abizrh a7a77cb497 feat (dev): add dev page with user list 2025-08-27 23:59:07 +07:00
Khafid Prayoga 6ad99d45f2 Fix/linter (#10)
* fix(style): formatting inconsistencies across codebase

- Remove trailing semicolons from TypeScript imports
- Fix Vue template indentation and line breaks
- Standardize component attribute formatting
- Remove unnecessary empty lines
- Reorder import statements for consistency

* chore: update import path and add editorconfig

Update SidebarNavLink import path to match new component structure and add standard editorconfig for consistent code formatting
2025-08-27 13:06:40 +07:00
Khafid Prayoga 04b87733d5 build: add vscode launch config and tailwind config
Add launch configuration for Chrome debugging in VSCode and set up TailwindCSS configuration with animations and theme customization
2025-08-26 17:05:08 +07:00
Khafid Prayoga e21e5f1e7a refactor(ui): improve layout consistency and table styling
- Add container borders and padding for better visual hierarchy
- Standardize table cell borders across components
- Reset query params to defaults when changing resource type
- Clear data on fetch error to prevent stale data display
- Translate "No data available" to Indonesian
2025-08-26 15:15:14 +07:00
Khafid Prayoga 5685b31c48 feat(satusehat): implement query schema and improve data table
- Add schema.query.ts for query validation with zod
- Move constants to const.ts for better organization
- Refactor list.vue to use new query schema and constants
- Add empty state handling to data-table.vue
2025-08-26 13:10:09 +07:00
Khafid Prayoga de7a833ddc Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/satusehat 2025-08-25 14:58:45 +07:00
Khafid Prayoga 31084be5ce feat(loading-state): add loading indicators and skeleton UI for data tables
- Implement loading state management across patient, doctor and satusehat lists
- Add skeleton loading UI for data tables during data fetching
- Refactor loading state variable naming for consistency
- Make search nav optional in header component
- Update icon sizing in header for better responsiveness
- Implement url search params query state at satusehat
2025-08-25 13:33:28 +07:00
Abizrh f7815da6fc Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into fix/structure 2025-08-25 10:07:24 +07:00
Abizrh 61b71f7e76 ⚠️ refactor (components): restructure components to custom-ui 2025-08-25 09:59:44 +07:00
Khafid Prayoga ae0acf84d0 refactor(ui): update import paths from @/lib/utils to ~/lib/utils
Standardize import paths across UI components to use ~/lib/utils alias instead of @/lib/utils for better consistency and maintainability.
2025-08-22 11:18:06 +07:00
Khafid Prayoga a5f9e3fc68 feat(satusehat-mock): implement API Mock integration with filtering and pagination
- Add new API endpoint for fetching SatuSehat data with filtering capabilities
- Implement client-side data fetching with status, resource type, date range and search filters
- Add pagination support with server-side pagination handling
- Improve UI with loading states and pagination controls
2025-08-21 16:28:01 +07:00