Commit Graph

16 Commits

Author SHA1 Message Date
Khafid Prayoga b106b1d23e Merge remote-tracking branch 'origin/dev' into fe-refactor-division-40 2025-09-16 11:23:06 +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 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
sharedmaxchat 1f87d6f6a4 Merge pull request #42 from dikstub-rssa/fe-alat-kesehatan-26
Feat Equipment Tools: Update Form
2025-09-10 10:52:46 +07:00
Abizrh 938278a7a2 Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into feat/user 2025-09-09 15:08:20 +07:00
Abizrh a208bbad9c Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into feat/user 2025-09-08 15:23:51 +07:00
riefive 0ae612af72 fix: solve conflict 2025-09-08 14:41:26 +07:00
riefive d936529c4a fix: solve conflict 2025-09-08 14:40:28 +07:00
riefive 875fc92f53 refactor(tools): remove entry flow 2025-09-08 13:55:27 +07:00
riefive 56389263ae refactor(tools): add modal form 2025-09-08 13:48:24 +07:00
Khafid Prayoga b436737f62 Merge branch 'dev' into refactor/mv-flow-to-content 2025-09-08 13:41:33 +07:00
riefive 9cb8dd9caf refactor(equipment): add modal form to component list 2025-09-08 13:09:55 +07:00
Khafid Prayoga cae8ca73fd refactor(tools-equipment): replace flow components with content components
- Update device and material pages to use Content prefixed components instead of Flow
- Add new content components for device and material list/entry functionality
- Maintain same functionality while improving component naming consistency
2025-09-08 11:17:47 +07:00
Khafid Prayoga b0938a2eb6 feat(org-src): replace flow components with content components and add list views
Add new content components for unit, division, and installation with list views, entry forms, and validation schemas. Replace Flow*List components with Content*List components in org-src pages. Includes pagination, search functionality, and CRUD operations for each entity type.
2025-09-08 11:09:35 +07:00
Abizrh 263f9dbc7f ⚠️ refactor (components): rename flow components to content 2025-09-07 22:58:18 +07:00