Commit Graph

91 Commits

Author SHA1 Message Date
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
Abizrh
83b1c2cad3 feat (rehab): add rehab feature pages and menu items 2025-08-19 17:13:45 +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
e8fa690ba3 ⚙️ chore (index): update page metadata and roles 2025-08-15 17:09:32 +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
bb12d363c4 📖 docs (readme): add code conventions and important note 2025-08-13 16:57:53 +07:00
Abizrh
46826ce421 📖 docs (readme): add page creation guidelines 2025-08-13 16:44:01 +07:00
Abizrh
67ccb21b49 🐛 fix (rbac): use userStore to determine user roles 2025-08-13 16:37:32 +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
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
Abizarah | 比周
d5c453450f Merge pull request #4 from dikstub-rssa/feat/patient
Feat/patient: add summary card analytics
2025-08-13 10:48:16 +07:00
Khafid Prayoga
b51f4c248d Merge remote-tracking branch 'origin/dev' into feat/patient 2025-08-13 10:24:49 +07:00
Abizrh
ccb249cbe8 🐛 fix (error): conditionally render error page based on authentication 2025-08-13 10:17:34 +07:00
Abizrh
db9a87d825 feat (patient): add error page for patient add page permission 2025-08-13 10:12:12 +07:00
Abizrh
6e5d5863ab feat (sidebar): add active class to sidebar links 2025-08-12 18:17:13 +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
cc26415486 refactor(flow/patient): use Summary Card and loading state ♻️
- Replace inline cards with `PubBaseSummaryCard`
- Add `isLoading.summary` and mock `getPatientSummary()` 
- Render skeleton while loading; show data when ready 
- Update icons and remove `cn` 🧹
- Call `getPatientSummary()` and `getPatientList()` on mount 🚀
2025-08-12 14:38:40 +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
adf189dab9 🐛 fix (sidebar): fix sidebar user info when user is not logged in 2025-08-12 14:03:07 +07:00
Abizrh
dc5e7d48da feat (error-pages): add custom error pages 2025-08-12 13:16:07 +07:00
Abizrh
125d7857ce feat (rbac): implement role-based access control 2025-08-12 11:32:36 +07:00