Commit Graph

82 Commits

Author SHA1 Message Date
Khafid Prayoga
2a74c0a2c7 feat(division): add entry form and view components for division management 2025-08-28 15:29:48 +07:00
Khafid Prayoga
89710d9768 feat(combobox): add reusable combobox component with search and selection
Implement a combobox component with search functionality and item selection. The component supports displaying item labels with optional codes, maintains selected item state, and provides customizable placeholders. Items are sorted with selected items first followed by alphabetical order.
2025-08-28 15:24:14 +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
4cb2e92235 enhance (pub): adjust component 2025-08-28 02:03:27 +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
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
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
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
e4b634e76a Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/satusehat 2025-08-21 10:02:38 +07:00
Abizrh
746d39ea14 feat (rehab): implement sep prosedur registration flow 2025-08-21 06:31:17 +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
bd98bb815a refactor: update type casting and clean up imports
- Add type casting for route.meta.title in index.vue
- Update tailwind css path in components.json
- Remove unused imports and simplify dashboard component
2025-08-20 14:49:59 +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
8fc097d92f feat(patient): add status badge component for patient list
Implement a new status badge component to visually indicate patient status (active/inactive) in the patient list. The badge uses different colors based on status code and is integrated into the list configuration.
2025-08-19 17:04:49 +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
1b84ce3c62 feat(doctor): add status badge component for doctor list
Replace hardcoded status text with a reusable status badge component to improve consistency and maintainability. Remove console.log statement and adjust column widths in the list configuration.
2025-08-19 16:40:53 +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
Abizarah | 比周
ec5339d563 Merge pull request #5 from dikstub-rssa/feat/doctor
feat(doctor): implement list and create form resource
2025-08-19 07:55:50 +07:00
Abizrh
fe46db6bc6 feat (dashboard): implement dashboard page with summary cards and quick actions 2025-08-15 16:30:48 +07:00
Khafid Prayoga
cbb38c0275 impl data table list of doctor 2025-08-15 13:54:54 +07:00
Khafid Prayoga
025fc821fc Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/doctor 2025-08-14 16:57:09 +07:00
Abizrh
878211bc7f ⚠️ refactor (form): refactor label component for improved styling and responsiveness 2025-08-14 16:33:19 +07:00
Khafid Prayoga
4f2782a934 init form add doctor 2025-08-14 14:59:47 +07:00
Khafid Prayoga
b22d606a17 Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/doctor 2025-08-14 11:05:20 +07:00
Khafid Prayoga
616c843260 init doctor page 2025-08-14 10:55:25 +07:00
Abizrh
0b59f48fdb feat (patient): set dynamic title for patient pages 2025-08-14 10:43:00 +07:00
Khafid Prayoga
bcfbc3af67 Merge remote-tracking branch 'origin/dev' into feat/doctor 2025-08-14 10:32:16 +07:00
Abizrh
922820f1b0 feat (base): introduce base data table component 2025-08-13 17:04:54 +07:00
Abizrh
f89cd09646 feat (appsidebar): load menu from json file 2025-08-13 15:19:03 +07:00
Khafid Prayoga
1b6c161448 init doctor base feature 2025-08-13 14:45:28 +07:00
Abizrh
a6558e312b feat (appsidebar): add outpatient menu and pages 2025-08-13 14:38:31 +07:00
Abizrh
89eaa7cdab feat (app): add toaster component for global notifications 2025-08-13 13:59:05 +07:00