Commit Graph

30 Commits

Author SHA1 Message Date
riefive
51ddb9d8b5 fix: resolve conflict 2025-10-06 09:40:22 +07:00
2da4e616ba dev: hotfix refactor
+ merged pub/custom-ui and pub/base into my-ui
- droped pub/custom-ui
2025-10-05 09:45:17 +07:00
riefive
42a54bbb3b fix: solve conflict after pull 2025-10-04 09:07:03 +07:00
riefive
a7cbbeeda9 feat(division): fixing logic treeview 2025-10-04 09:05:28 +07:00
riefive
71e0615ee1 feat(division): restructure division parent 2025-10-04 08:49:38 +07:00
riefive
2e8667a780 feat(division): parent id to default null 2025-10-04 08:30:18 +07:00
riefive
e65e562690 feat(division): change form attribute 2025-10-04 08:30:18 +07:00
riefive
c5ba07a226 feat(division): create tree item converter for division 2025-10-04 08:30:18 +07:00
riefive
8e7ce771b0 test: call division position 2025-10-04 08:30:18 +07:00
riefive
7edab33427 fix: handler reset state 2025-10-04 08:30:18 +07:00
riefive
39d2869ffb fix: list with params error 2025-10-04 08:30:17 +07:00
riefive
3c046a4d82 fix: list integration 2025-10-04 08:30:17 +07:00
riefive
4908f16770 fix: search on list file 2025-10-04 08:30:16 +07:00
riefive
2d8c751788 feat(division): parent id to default null 2025-10-03 14:47:02 +07:00
riefive
f374f9ef5b feat(division): change form attribute 2025-10-03 12:45:05 +07:00
riefive
539a1cefb0 feat(division): create tree item converter for division 2025-10-03 10:54:35 +07:00
riefive
757b8c0444 test: call division position 2025-10-02 15:31:27 +07:00
riefive
378e6773b8 fix: handler reset state 2025-10-02 14:49:55 +07:00
riefive
d544d031c3 fix: list with params error 2025-10-02 14:34:19 +07:00
riefive
693d8225bf fix: list integration 2025-10-02 14:12:10 +07:00
riefive
54a5aaa78f fix: search on list file 2025-10-01 14:56:11 +07:00
riefive
2f6528e12a feat(specialist): integrate specialist 2025-09-30 14:24:39 +07:00
riefive
f58c9f537b feat: restructure list 2025-09-30 12:39:48 +07:00
riefive
9e4133b976 feat(division): fix schemas 2025-09-30 11:37:44 +07:00
Andrian Roshandy
829bd73034 feat/tidy-up:
- mengurangi elm yg tidak diperlukan
- menyesuaikan font-size sesuai breakpoint
2025-09-29 07:46:13 +07:00
Khafid Prayoga
f0c7d678cd Merge remote-tracking branch 'origin/dev' into fe-refactor-division-40 2025-09-17 11:09:39 +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
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
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
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