@finema/finework-layer 0.2.116 → 0.2.118

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.118](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.117...0.2.118) (2026-01-29)
4
+
5
+ ### Bug Fixes
6
+
7
+ * add TODO_TASK link handling and reorder Requests app in dailyApps ([c0caa37](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/c0caa3736d8dee17bedc160cbbcd91bc3e4a3ea3))
8
+ * update link handling for TODO_TASK to TODO in notifications ([52c9672](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/52c9672713320b375b4ea579a9d1b1d1b8a3fc3c))
9
+
10
+ ## [0.2.117](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.116...0.2.117) (2026-01-29)
11
+
12
+ ### Bug Fixes
13
+
14
+ * add image handling for TODO, EVALUATION, and COSTSHEET notification types ([175f929](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/175f929981b6bda7ac9c4c4b5fd0dc79bedfb476))
15
+
3
16
  ## [0.2.116](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.115...0.2.116) (2026-01-28)
4
17
 
5
18
  ## [0.2.115](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.114...0.2.115) (2026-01-27)
@@ -109,6 +109,8 @@ 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') {
113
+ return `/todo/cards/${item.data?.todo_slug}`
112
114
  }
113
115
 
114
116
  return '#'
@@ -125,6 +127,12 @@ const getImage = (item: INotificationItem): string | null => {
125
127
  return `/admin/setting-logo.png`
126
128
  } else if (item.source_type?.startsWith('NEWSLETTER')) {
127
129
  return `/admin/newsletter.png`
130
+ } else if (item.source_type?.startsWith('TODO')) {
131
+ return `/admin/todo.png`
132
+ } else if (item.source_type?.startsWith('EVALUATION')) {
133
+ return `/admin/evaluation.png`
134
+ } else if (item.source_type?.startsWith('COSTSHEET')) {
135
+ return `/admin/cost-sheet.png`
128
136
  }
129
137
 
130
138
  return null
@@ -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.116",
4
+ "version": "0.2.118",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",