@finema/finework-layer 0.2.129 → 0.2.131

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,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.131](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.130...0.2.131) (2026-02-06)
4
+
5
+ ### Bug Fixes
6
+
7
+ * expand TODO action types in getLink function for improved routing ([ffb6bac](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/ffb6bac6707943de06afee61cd6e9cc827d92354))
8
+
9
+ ## [0.2.130](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.129...0.2.130) (2026-02-06)
10
+
11
+ ### Bug Fixes
12
+
13
+ * always include 'Todo' app in dailyApps regardless of navbar state ([3c0eb47](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/3c0eb47977dfde78a3852abec195e217e090b920))
14
+
3
15
  ## [0.2.129](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.128...0.2.129) (2026-02-06)
4
16
 
5
17
  ### Bug Fixes
@@ -109,7 +109,7 @@ 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') {
112
+ } else if (item.source_type === 'TODO' && (item.action_type === 'TODO_ASSIGN_CARD' || item.action_type === 'TODO_COMMENT_ADD' || item.action_type === 'TODO_DUE_DATE_CHANGE' || item.action_type === 'TODO_STATUS_CHANGE')) {
113
113
  return `/todo/boards/${item.data?.todo_board_slug}/cards/${item.data?.todo_slug}`
114
114
  } else if (item.source_type === 'TODO' && (item.action_type === 'TODO_REMOVE_CARD' || item.action_type === 'TODO_ASSIGN_BOARD')) {
115
115
  return `/todo/boards/${item.data?.todo_board_slug}`
@@ -296,18 +296,14 @@ const dailyApps = computed(() => [
296
296
  to: routes.timesheet.home.to,
297
297
  status: StatusPortal.ACTIVE,
298
298
  },
299
- ...(props.isNavbar
300
- ? [
301
- {
302
- name: 'todo',
303
- logo: '/admin/todo.png',
304
- label: 'Todo',
305
- description: 'ระบบจัดการงาน',
306
- to: routes.todo.dashboard.to,
307
- status: StatusPortal.ACTIVE,
308
- },
309
- ]
310
- : []),
299
+ {
300
+ name: 'todo',
301
+ logo: '/admin/todo.png',
302
+ label: 'Todo',
303
+ description: 'ระบบจัดการงาน',
304
+ to: routes.todo.dashboard.to,
305
+ status: StatusPortal.ACTIVE,
306
+ },
311
307
  {
312
308
  name: 'Requests',
313
309
  logo: '/admin/request.png',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "0.2.129",
4
+ "version": "0.2.131",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",