Commit Graph

2009 Commits

Author SHA1 Message Date
kolaente 278eae387c fix(components): add type guards and assertions in TipTap.vue
- Add HTMLImageElement instanceof check before accessing src property
- Add type assertions for getBlobUrl return value and cache access
2025-11-22 17:23:03 +01:00
kolaente 1275cb7fc5 fix(components): correct FontAwesome icon format in TipTap.vue
- Change icon format from ['fa', 'fa-bold'] to ['fas', 'bold']
- Fix 6 icon type errors by using correct IconPrefix and IconName format
2025-11-22 17:23:03 +01:00
kolaente ab8b93e9ab fix(components): suppress complex union type error in Button.vue
- Remove BaseButtonProps extension to avoid complex union type
- Use @ts-expect-error to suppress TS2590 error caused by IconProp
- Add computed properties for variant, shadow, and wrap with proper defaults
2025-11-22 17:23:03 +01:00
kolaente d96cecec09 fix(components): use undefined instead of empty object in ImportHint
- Replace empty object with undefined to use default parameter in TaskService.getAll
2025-11-22 17:23:03 +01:00
kolaente a615afa934 fix(components): add undefined checks in GanttChartPrimitive
- Add undefined check for first row before accessing cellsByRow
- Add nullish coalescing for focusedRow.value in emit calls
2025-11-22 17:23:03 +01:00
kolaente 59fedb6757 fix(components): add type guards and null checks in Multiselect
- Add null check for multiselectRoot before passing to closeWhenClickedOutside
- Add early return for null object in select function
- Add type guards for string vs object in setSelectedObject
- Add type guards for focus method in preSelect function
- Remove invalid length check on Element type
2025-11-22 17:23:03 +01:00
kolaente 81f85a3849 fix(components): add generic constraints and null checks in AutocompleteDropdown
- Add 'extends string' constraint to generic type T
- Add null check for model.value with nullish coalescing
- Add null check for scroller before accessing properties
- Add instanceof check for HTMLElement before accessing offsetTop
2025-11-22 17:23:03 +01:00
kolaente a575159424 fix(components): handle null values in DatepickerWithValues
- Add null to date ref type to match props.modelValue type
- Convert Date to string before passing to parseDateOrString
- Add null coalescing for flatpickrDate assignment
2025-11-22 17:23:03 +01:00
kolaente 8e089f5789 chore: add TYPECHECK_ISSUES.md to .gitignore 2025-11-22 17:23:03 +01:00
kolaente 658946b029 fix: resolve readonly project type issue in AppHeader.vue
Create mutable copy of currentProject from Pinia store to satisfy type
requirements. The readonly deep object from the store has readonly tasks
array which is incompatible with IProject type.

Fixes TypeScript errors on lines 25 and 40 where readonly project was
passed to getProjectTitle() and ProjectSettingsDropdown component.

Related to issue #29 from TYPECHECK_ISSUES.md
2025-11-22 17:23:03 +01:00
kolaente f67af55204 fix: resolve readonly array type issue in Navigation.vue
Cast readonly project arrays from Pinia store to mutable IProject[] type.
The arrays are not actually mutated by the component, so the cast is safe.

Fixes TypeScript errors on lines 86, 97, 105 where readonly arrays were
incompatible with ProjectsNavigation component props.

Related to issue #28 from TYPECHECK_ISSUES.md
2025-11-22 17:23:03 +01:00
kolaente 4cd53c204d fix: add proper type definitions for CommandItem in CommandsList.vue 2025-11-22 17:23:03 +01:00
kolaente 83191eb24d fix: add null/undefined handling in GanttChart.vue 2025-11-22 17:23:03 +01:00
kolaente 618c85a0a7 fix: handle readonly arrays and type conversions in DatepickerWithRange.vue 2025-11-22 17:23:03 +01:00
kolaente cc76b87b89 fix: use proper FontAwesome icon types in EditorToolbar.vue 2025-11-22 17:23:03 +01:00
kolaente 508f91a97b fix: initialize date ref with null instead of undefined in Datepicker.vue 2025-11-22 17:23:03 +01:00
kolaente 3742234540 fix: add comprehensive null/undefined checks in Reactions.vue 2025-11-22 17:23:03 +01:00
kolaente 575cf149b0 fix: add undefined checks and null coalescing in Datepicker.vue 2025-11-22 17:23:03 +01:00
kolaente aadf0e4c17 fix: add null/undefined checks for maxPermission in AppHeader.vue 2025-11-22 17:23:03 +01:00
kolaente cdb39c945c fix: add null checks for project.maxPermission in ProjectsNavigationItem.vue 2025-11-22 17:23:03 +01:00
kolaente 8f062f21d8 fix: add null checks and type assertion in ProjectsNavigation.vue 2025-11-22 17:23:03 +01:00
kolaente 75dafd18e3 fix: return undefined instead of null in ContentLinkShare getProjectRoute() 2025-11-22 17:23:03 +01:00
kolaente 4a2f961a77 fix: ContentAuth types 2025-11-22 17:23:03 +01:00
kolaente a89855a9d1 fix: default language in App.vue types 2025-11-22 17:23:03 +01:00
kolaente 7543b3b5cd fix: types for Multiselect 2025-11-22 17:23:03 +01:00
kolaente db531ab1c4 fix: types for DatepickerInline 2025-11-22 17:23:03 +01:00
kolaente 3fadacbb76 fix: event type 2025-11-22 17:23:03 +01:00
kolaente 5b38a825e3 fix: service worker types 2025-11-22 17:23:03 +01:00
kolaente a6d31dad08 fix: type issues with expandable 2025-11-22 17:23:03 +01:00
kolaente 21d9724572 fix: add pagination type 2025-11-22 17:23:03 +01:00
kolaente 6831f3c347 fix: tycheck issues in Story 2025-11-22 17:23:03 +01:00
kolaente 2bc2311212
feat: show task card preview when hovering over task title in list and table view (#1863) 2025-11-22 12:10:58 +01:00
renovate[bot] 953623c132
chore(deps): update cypress/browsers:latest docker digest to 7331c59 (#1852)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-22 01:20:13 +01:00
Weijie Zhao cfab3ff922
fix: update mention format to use custom HTML element with usernames (#1843) 2025-11-21 15:29:15 +01:00
Weijie Zhao b3b420121d
fix(editor): prevent image insertion from triggering save (#1846)
Ensure inserting an image only updates editor content without firing implicit save or switching out of edit mode. This keeps user in edit flow and avoids unintended save events.
2025-11-21 15:22:46 +01:00
kolaente e3ca310c05
fix: remove empty style block from Label.vue
Fixes a regression introduced in 3c75e0a9b6
2025-11-20 15:10:17 +01:00
rudd6617 b6dcde7f6c
chore(i18n): add Traditional Chinese locale and translations (#1839) 2025-11-20 13:42:31 +01:00
kolaente 3c75e0a9b6
fix(table): label spacing when wrapping 2025-11-19 22:51:02 +01:00
kolaente a76ff31dbc
fix: don't hide filter icon on hover 2025-11-19 22:37:52 +01:00
renovate[bot] 39ba18a04a
chore(deps): update dev-dependencies (#1832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-17 23:17:58 +00:00
kolaente d5a46310a7
chore: delete frontend/package-lock.json
Since we're using pnpm and not npm, this feels pretty useless.
2025-11-18 00:02:53 +01:00
Copilot 6b0a05b5ca
Use Cmd+K for quick actions on macOS instead of Ctrl+K (#1837)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kolaente <13721712+kolaente@users.noreply.github.com>
2025-11-17 22:56:54 +00:00
Frederick [Bot] 0b0928e273 chore(i18n): update translations via Crowdin 2025-11-17 00:57:26 +00:00
kolaente 067cc5674b
fix(filters): handle multiple projects correctly in parsing, fixing autocomplete
Resolves https://github.com/go-vikunja/vikunja/issues/1395
2025-11-16 15:53:40 +01:00
kolaente 675a550247
fix(filter): restore cursor position when making changes
Related https://github.com/go-vikunja/vikunja/issues/1395
2025-11-16 15:38:24 +01:00
kolaente 2e3b2cb770
fix: ensure project filters are retained correctly across views (#1643) 2025-11-16 14:29:50 +00:00
kolaente 85fc8fffd4 feat: restrict attachment drop to files
Resolves https://github.com/go-vikunja/vikunja/issues/1663
2025-11-16 12:22:30 +01:00
kolaente abbf2ce183 chore: copy useDropZone from vueuse 2025-11-16 12:22:30 +01:00
kolaente 3f1f92c410 fix: always allow dropping files 2025-11-16 12:22:30 +01:00
renovate[bot] 374730056d
chore(deps): update dev-dependencies (#1830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-16 00:14:51 +00:00