Commit Graph

12393 Commits

Author SHA1 Message Date
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
renovate[bot] 4c524dd1a0
chore(deps): update actions/setup-go digest to 4dc6199 (#1853)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-22 12:11:17 +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
renovate[bot] aea4cb83d4
chore(deps): update actions/checkout action to v6 (#1854)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-22 01:19:54 +01:00
renovate[bot] 1b79c67256
chore(deps): update golangci/golangci-lint-action digest to e7fa5ac (#1860)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-22 01:16:35 +01:00
renovate[bot] 56dc049e31
fix(deps): update module github.com/coreos/go-oidc/v3 to v3.17.0 (#1859)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-21 15:43:06 +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
renovate[bot] b78ab5d45a
chore(deps): update mariadb:12 docker digest to e1bcd6f (#1856)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-21 15:08:11 +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] 82c7ca42f9
fix(deps): update module golang.org/x/crypto to v0.45.0 (#1851)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-19 20:59:37 +00:00
renovate[bot] 23e8808df3
fix(deps): update module github.com/redis/go-redis/v9 to v9.17.0 (#1850)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-19 20:58:30 +00:00
renovate[bot] b78c92b139
chore(deps): update postgres:18 docker digest to 5ec39c1 (#1842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-19 21:51:15 +01:00
Copilot 9d0633268a
fix: prevent panic in webhook listener when fetching project (#1848)
This fixes a panic that occurred when handling webhooks. The code was
incorrectly using webhook.CreatedByID (user ID) to fetch a project,
when it should use webhook.ProjectID. This could cause GetProjectSimpleByID
to return nil if no project exists with that ID.

Additionally, added a nil check before calling project.ReadOne() to prevent
a nil pointer dereference panic when accessing p.ID.

---------

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-19 14:43:08 +00:00
Frederick [Bot] 79aaa2a906 chore(i18n): update translations via Crowdin 2025-11-19 00:56:08 +00:00
renovate[bot] 572140f744
chore(deps): update actions/checkout digest to 93cb6ef (#1838)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-17 23:23:13 +00: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
Copilot 5f795bb531
fix: self-assignment notification to use "themselves" instead of repeating username (#1836)
When a user assigns a task to themselves, notifications to other users now
correctly say "User A assigned Task #123 to themselves" instead of
"User A assigned Task #123 to User A"

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 23:07:48 +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
renovate[bot] b5e2ad92e4
chore(deps): update postgres:18 docker digest to 41bfa2e (#1824)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-18 00:01:30 +01:00
renovate[bot] 25a7cea3ed
fix(deps): update module github.com/getsentry/sentry-go/echo to v0.38.0 (#1835)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-18 00:01:07 +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