@finema/finework-layer 0.2.117 → 0.2.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.119](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.118...0.2.119) (2026-01-29)
4
+
5
+ ### Bug Fixes
6
+
7
+ * enhance TODO link handling for various action types in notifications ([b0a79e8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/b0a79e8cd1f71a7e45ebbfe4f1d2a986f5343970))
8
+
9
+ ## [0.2.118](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.117...0.2.118) (2026-01-29)
10
+
11
+ ### Bug Fixes
12
+
13
+ * add TODO_TASK link handling and reorder Requests app in dailyApps ([c0caa37](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/c0caa3736d8dee17bedc160cbbcd91bc3e4a3ea3))
14
+ * update link handling for TODO_TASK to TODO in notifications ([52c9672](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/52c9672713320b375b4ea579a9d1b1d1b8a3fc3c))
15
+
3
16
  ## [0.2.117](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.116...0.2.117) (2026-01-29)
4
17
 
5
18
  ### Bug Fixes
@@ -109,8 +109,15 @@ const getLink = (item: INotificationItem) => {
109
109
  return `/pmo/projects/${item.source_id}`
110
110
  } else if (item.source_type === 'NEWSLETTER') {
111
111
  return `/announcement/${item.source_id}`
112
+ } else if (item.source_type === 'TODO' && item.action_type === 'TODO_ASSIGN_CARD') {
113
+ return `/todo/boards/${item.data?.todo_board_slug}/cards/${item.data?.todo_slug}`
114
+ } else if (item.source_type === 'TODO' && item.action_type === 'TODO_ASSIGN_BOARD') {
115
+ return `/todo/boards/${item.data?.todo_board_slug}`
116
+ } else if (item.source_type === 'TODO' && (item.action_type === 'TODO_REMOVE_CARD' || item.action_type === 'TODO_REMOVE_BOARD')) {
117
+ return `/todo/cards`
112
118
  }
113
119
 
120
+ // todo/boards/MEE/cards/MEE-1
114
121
  return '#'
115
122
  }
116
123
 
@@ -296,14 +296,6 @@ const dailyApps = computed(() => [
296
296
  to: routes.timesheet.home.to,
297
297
  status: StatusPortal.ACTIVE,
298
298
  },
299
- {
300
- name: 'Requests',
301
- logo: '/admin/request.png',
302
- label: 'Requests',
303
- description: 'ระบบขอ ลา เบิก อนุมัติรายการต่างๆ',
304
- to: '/',
305
- status: StatusPortal.DEVELOPING,
306
- },
307
299
  ...(props.isNavbar
308
300
  ? [
309
301
  {
@@ -316,6 +308,14 @@ const dailyApps = computed(() => [
316
308
  },
317
309
  ]
318
310
  : []),
311
+ {
312
+ name: 'Requests',
313
+ logo: '/admin/request.png',
314
+ label: 'Requests',
315
+ description: 'ระบบขอ ลา เบิก อนุมัติรายการต่างๆ',
316
+ to: '/',
317
+ status: StatusPortal.DEVELOPING,
318
+ },
319
319
  ])
320
320
 
321
321
  const managementApps = computed(() => [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "0.2.117",
4
+ "version": "0.2.119",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",