Commit Graph

258 Commits

Author SHA1 Message Date
Abizrh
03697f9cea feat (encounter): add small entry form for sep 2025-09-23 21:15:59 +07:00
Abizrh
4a480548df feat (nav-header): implement filter component with search and date range 2025-09-23 19:42:08 +07:00
Abizrh
4acc8cf3f4 enhance (public): adjust path 2025-09-23 19:41:48 +07:00
Abizrh
688e79680f feat (encounter): add entry 2025-09-23 19:41:14 +07:00
Abizrh
18e6824611 enhance (lib): adjust libs 2025-09-23 19:40:19 +07:00
Munawwirul Jamal
806eace4ef Merge pull request #62 from dikstub-rssa/fe-refactor-division-40
feat(division): add tree-select component for recursive division parent-child relations
2025-09-19 07:50:44 +07:00
Munawwirul Jamal
d792893545 Merge pull request #66 from dikstub-rssa/fe-public-features-46
Feat(public): Implement Dark Mode + Adjustment Padding Frame
2025-09-19 07:49:33 +07:00
Munawwirul Jamal
3ff5d5dfaa Merge pull request #64 from dikstub-rssa/fix/header-panel
nav(header): add breadcrumb
2025-09-18 12:03:31 +07:00
Khafid Prayoga
ed56c4201f feat(breadcrumb): add breadcrumb component and update header integration
- Implement new breadcrumb component with proper routing handling
- Update header to use new breadcrumb component
- Optimize nuxt config for SPA with router and rendering settings
2025-09-17 15:57:21 +07:00
riefive
be218e2087 feat(public): add padding dynamic in main frame 2025-09-17 13:20:03 +07:00
Khafid Prayoga
f0c7d678cd Merge remote-tracking branch 'origin/dev' into fe-refactor-division-40 2025-09-17 11:09:39 +07:00
Munawwirul Jamal
9ce5038e62 Merge pull request #47 from dikstub-rssa/fe-specialist-intern-35
Fe specialist intern 35
2025-09-17 10:22:41 +07:00
Munawwirul Jamal
f94dac1444 Merge pull request #45 from dikstub-rssa/fe-specialist-subspecialist-39
feat(specialist&sub-specialist): impl list and form entry
2025-09-17 10:22:19 +07:00
Munawwirul Jamal
cd22e15261 Merge pull request #44 from dikstub-rssa/fe-sep-38
Feat: SEP List and Form
2025-09-17 10:21:52 +07:00
Abizrh
19c0966dee feat (specialist-intern): add specialist intern feature 2025-09-17 00:52:01 +07:00
Khafid Prayoga
0ae1923f27 refactor(division): move entry logic to shared config file
Extract division form configuration and tree logic from entry.vue component into a shared entry.ts file. This improves code organization and reusability while maintaining the same functionality.
2025-09-16 16:00:16 +07:00
Khafid Prayoga
c5ec8ccd32 fix(select-tree): adjust tree node indentation and alignment logic
- Add level prop to track node hierarchy
- Fix indentation calculation for leaves and nodes
- Simplify alignment logic based on node level
2025-09-16 15:14:37 +07:00
riefive
e5fe4d1c96 feat(public): frame padding for dashboard 2025-09-16 12:59:11 +07:00
riefive
01057b9138 feat(public): implement dark mode 2025-09-16 12:51:36 +07:00
riefive
e02360aea5 feat(public): add setting dark or light mode 2025-09-16 12:34:37 +07:00
Khafid Prayoga
b106b1d23e Merge remote-tracking branch 'origin/dev' into fe-refactor-division-40 2025-09-16 11:23:06 +07:00
Abizrh
64f52c1262 Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into fe-specialist-intern-35 2025-09-15 19:18:26 +07:00
Abizrh
746e16ebe8 🐛 fix (auth): redirect unauthenticated users to login page 2025-09-15 19:10:35 +07:00
Khafid Prayoga
a63c364170 Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into fe-specialist-subspecialist-39 2025-09-15 14:43:03 +07:00
Khafid Prayoga
56056c3fdb fix(pagination): format record numbers with locale for indonesia
Apply toLocaleString('id-ID') to startRecord and endRecord to display numbers in Indonesian format
2025-09-15 14:42:36 +07:00
Khafid Prayoga
06caccf3cd feat(subspecialist): add subspecialist management components and pages
- Implement list view with pagination and search functionality
- Create form for adding subspecialist entries
- Add configuration for subspecialist data validation and dropdown options
2025-09-15 14:21:15 +07:00
Khafid Prayoga
566627239b feat(pagination): add reusable pagination component and update list views
- Create new PaginationView component to standardize pagination display
- Update multiple list components to use the new PaginationView
- Make paginationMeta prop required in list components
2025-09-15 11:01:18 +07:00
792dbd7392 dev: missing merge conflict 2025-09-15 10:18:24 +07:00
Khafid Prayoga
790c76be56 style(form/select): improve select component styling and focus state
- Add focus outline and ring styles to SelectTrigger
- Conditionally apply text color based on modelValue
- Simplify SelectItem template structure
2025-09-12 15:26:23 +07:00
riefive
d0ce15730d feat(sep): add dialog for confirm delete 2025-09-12 14:53:06 +07:00
Khafid Prayoga
87c36b94ea feat(specialist): add installation-unit relationship to specialist form
- Implement installation-unit mapping and filtering logic
- Update entry form to handle installation selection and unit filtering
- Add installation and unit dropdowns with combobox components
2025-09-12 14:42:05 +07:00
Khafid Prayoga
41d87623e2 feat(combobox): add disabled prop and improve styling
- Add disabled prop to combobox component to support disabled state
- Update styling to include better focus states and border color
2025-09-12 14:39:52 +07:00
riefive
96ee2c78d2 feat(sep): add table history sep 2025-09-12 14:26:13 +07:00
riefive
fdbfcb29ff feat(sep): change button export to dropdown 2025-09-12 14:13:33 +07:00
riefive
bfb6cc39bf feat(sep): remove not used variables 2025-09-11 14:55:03 +07:00
riefive
42d39bd08b feat(sep): create filter on sep list 2025-09-11 14:53:25 +07:00
Khafid Prayoga
865bbbdce9 init specialist feature 2025-09-11 14:46:50 +07:00
riefive
3e3aa670ae feat(sep): update grid column 2025-09-11 13:36:27 +07:00
riefive
9638f208f1 feat(sep): update filter function 2025-09-11 13:33:26 +07:00
Khafid Prayoga
26b0cf12e3 refactor(api): consolidate query param transformation into utility function
Move URL parameter construction logic from multiple list components to a shared transform function in usePaginatedList. This improves code reuse and maintainability while keeping the same functionality.

Standardize query parameter names to match backend expectations ('page-number' and 'page-size' instead of 'page' and 'pageSize'). Update related schema and default params accordingly.
2025-09-11 13:28:07 +07:00
riefive
bbb0ac03d4 feat(sep): create filter patient + sep 2025-09-11 13:26:32 +07:00
riefive
5b5f821848 fix: resolve conflict after merge dev 2025-09-11 12:00:38 +07:00
Munawwirul Jamal
17a15d0e96 Merge pull request #43 from dikstub-rssa/feat/user
Feat/user
2025-09-11 11:02:57 +07:00
Khafid Prayoga
140bfa0420 init specialist feature 2025-09-11 10:13:40 +07:00
Khafid Prayoga
ba6485a3e7 feat(division): wip tree select component
feat(division): update division list components and add mock api

- Replace patient API endpoint with division mock endpoint
- Simplify table columns and headers for division list
- Add mock API endpoint for division list with tree/flat format

feat(select-tree): add collapsible tree select component with lazy loading

Implement a tree select component with collapsible sections and lazy loading of child items. Includes:
- Collapsible component wrappers for Vue
- Command component wrappers for combobox functionality
- Tree select item component with loading states
- Example implementation in dev page

todo:
- scroll on overflow
- long text truncate possibly with tooltip
- more than > 5 depth of child
- mutate the children lazy
- integration backend for search based text and return  keys

feat(select-tree): add command-item component for tree selection

adjust hover bg-accent (remove state on-highlighted at styling) to avoid conflict on global component

refactor(select-tree): extract TreeItem interface to shared type file

Move TreeItem interface to a dedicated type file for better code organization and reusability. Update components to import the interface and add styling improvements to the tree-select component.

adjust text size for tree to sm

refactor(select-tree): rename tree-select-item to leaf and improve component

- Rename component to better reflect its purpose as a leaf node
- Improve UI with better spacing and hover states
- Simplify toggle logic using v-model
- Add checkmark icon for selected items

checkpoint

wip
2025-09-11 09:50:18 +07:00
Abizrh
a68f6b9eb0 🐛 fix (employee): fix user entry component on employee add page 2025-09-11 01:00:16 +07:00
Abizrh
8762424e2e feat (app): add person form 2025-09-11 00:59:54 +07:00
Abizrh
053a540638 enhance (pub): adjust form label 2025-09-11 00:57:12 +07:00
Abizrh
64d432f75a enhance (lib): adjust libs 2025-09-11 00:56:36 +07:00
riefive
9d58eae1bf feat(sep): change to update value from datepicker 2025-09-10 15:48:48 +07:00