Commit Graph

40 Commits

Author SHA1 Message Date
riefive
ffa4a7d191 refactor(material): modify validation uom and item 2025-09-04 16:21:10 +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
4cb2e92235 enhance (pub): adjust component 2025-08-28 02:03:27 +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
153c171a3b refactor(ui): migrate button and pagination components to radix-vue
- Replace reka-ui imports with radix-vue in Button component
- Update pagination components to use direct radix-vue icons
- Simplify button variants styling and adjust size variants
- Remove unused data-slot attribute from Button component
2025-08-26 16:57:11 +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
92d6e2af10 Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/satusehat 2025-08-22 11:34:40 +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
6fe1bd2c48 feat(satusehat): add search component, card summary and date picker
- Implement search component with lucide-vue-next icon
- Create card summary component for displaying summary data
- Add date picker component with range selection functionality
- Update list configuration and styling
- Reorganize package.json structure
2025-08-21 14:43:42 +07:00
Khafid Prayoga
d913724d62 feat(satusehat): add patient list components and integration
- Implement badge components for patient and status display
- Create list component with configurable table columns
- Add entry form for new patient registration
- Integrate with existing SatuSehat service flow
2025-08-20 14:50:17 +07:00
Khafid Prayoga
ff67dd5146 Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/satusehat 2025-08-20 09:38:49 +07:00
Abizrh
5e4184d45a feat (doctor): implement doctor entry form and navigation 2025-08-19 17:57:32 +07:00
Khafid Prayoga
341c27679c refactor(data-table): improve type safety and rendering logic
- Replace ambiguous `object` types with more specific type definitions
- Separate HTML rendering from plain text interpolation for better security
- Simplify template logic by removing nested ternary operations
2025-08-19 16:51:21 +07:00
Khafid Prayoga
3e6e773313 style: add loader state on acquiring token 2025-08-19 15:50:17 +07:00
Khafid Prayoga
066a884bf0 Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/satusehat 2025-08-19 11:05:03 +07:00
Khafid Prayoga
b1cb24cae3 feat(satusehat): add integration pages and components
Add new SatuSehat integration feature including:
- Page components for list, add, edit, and detail views
- Service status component and type definitions
- Summary card component updates for string metrics
- RBAC permissions configuration for SatuSehat routes
2025-08-19 11:01:28 +07:00
Abizrh
fe46db6bc6 feat (dashboard): implement dashboard page with summary cards and quick actions 2025-08-15 16:30:48 +07:00
Abizrh
878211bc7f ⚠️ refactor (form): refactor label component for improved styling and responsiveness 2025-08-14 16:33:19 +07:00
Abizrh
922820f1b0 feat (base): introduce base data table component 2025-08-13 17:04:54 +07:00
Abizrh
929758fe00 🎨 enhance (layout): improve default layout styling 2025-08-13 13:24:56 +07:00
Abizrh
d8d7d61fca enhance (auth): clear store on 401 and redirect to /401 2025-08-13 13:17:21 +07:00
Khafid Prayoga
b51f4c248d Merge remote-tracking branch 'origin/dev' into feat/patient 2025-08-13 10:24:49 +07:00
Abizrh
db9a87d825 feat (patient): add error page for patient add page permission 2025-08-13 10:12:12 +07:00
Abizrh
d0e55217ed feat (pub/nav): add dropdown action components 2025-08-12 17:07:10 +07:00
Abizrh
7ae9a9adfe feat (patient): implement patient list and entry form 2025-08-12 17:01:50 +07:00
Khafid Prayoga
949aa718b6 add condition if zero trends , hide the timeframe 2025-08-12 14:58:29 +07:00
Khafid Prayoga
7f7dfe0a02 feat(pub/base): add reusable Summary Card + Summary type
- Add `summary-card.vue` with skeleton state 
- Add `summary-card.type.ts` with `Summary` interface and timeframe mapping 📅
2025-08-12 14:38:20 +07:00
Abizrh
500cdb6a21 🐛 fix (input): correct input border color and search input border 2025-08-12 14:18:20 +07:00
Abizrh
125d7857ce feat (rbac): implement role-based access control 2025-08-12 11:32:36 +07:00
Abizrh
59db7a8479 feat (form): add form components 2025-08-11 09:41:09 +07:00
Abizrh
659a320439 feat (header): add button click functionality 2025-08-10 17:08:09 +07:00
Abizrh
376af79449 feat (patient): add edit page 2025-08-08 20:38:16 +07:00
Abizrh
992c54fcd5 feat (styles): introduce main.css for base styles and css variables 2025-08-08 14:46:04 +07:00
Abizrh
2e01715df4 ⚙️ chore (config): add tailwind css and components config 2025-08-08 11:30:48 +07:00
Abizrh
645383e5cb feat (ui): add radix vue components library 2025-08-07 14:45:37 +07:00