vikunja/frontend/src/helpers
kolaente c8837aeaeb
fix(filters): support project filter in parentheses (#1647)
The filter regex pattern was not matching values inside parentheses correctly.
The lookahead pattern only allowed `&&`, `||`, or end-of-string after filter
values, but when filters are wrapped in parentheses like `( project = Filtertest )`,
the closing `)` appears after the value.

Fixed by adding `\)` to the lookahead pattern so it correctly handles closing
parentheses. This allows the project filter (and other filters) to work
properly when nested in parentheses.

- Added tests for project filters in parentheses (both frontend and backend)
- Backend tests confirm the backend already handled this correctly
- Frontend regex pattern now matches the backend behavior

Fixes #1645
2025-10-13 11:10:22 +02:00
..
color feat(gantt): rebuild the gantt chart (#1001) 2025-08-12 16:33:50 +02:00
time fix(date parsing): 12pm/12am edge case 2025-10-08 18:35:11 +02:00
attachments.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
auth.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
calculateItemPosition.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
calculateTaskPosition.test.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
case.ts feat: switch to change-case lib 2024-06-18 06:30:39 +00:00
checkAndSetApiUrl.ts feat(dev): use proxy server in dev mode (#3069) 2025-03-09 13:40:57 +00:00
checklistFromText.test.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
checklistFromText.ts feat: consistent sorting 2025-06-02 22:27:03 +02:00
closeWhenClickedOutside.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
createAsyncComponent.ts chore: fix indentation 2025-06-19 10:53:35 +02:00
downloadBlob.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
editorContentEmpty.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
fetcher.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
filters.test.ts fix(filters): support project filter in parentheses (#1647) 2025-10-13 11:10:22 +02:00
filters.ts fix(filters): support project filter in parentheses (#1647) 2025-10-13 11:10:22 +02:00
getBlobFromBlurHash.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
getFullBaseUrl.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
getHumanSize.ts chore: fix indentation 2025-06-19 10:53:35 +02:00
getInheritedBackgroundColor.ts chore: fix indentation 2025-06-19 10:53:35 +02:00
getProjectTitle.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
hourToDaytime.test.ts chore: add missing eof newlines (#969) 2025-06-17 09:11:32 +00:00
hourToDaytime.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
inputPrompt.ts fix: prevent keyboard events during IME composition (#1535) 2025-10-06 18:17:52 +02:00
isAppleDevice.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
isEmail.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
isValidHttpUrl.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
parseDateOrNull.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
parseSubtasksViaIndention.test.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
parseSubtasksViaIndention.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
playPop.ts feat: simplify playPopSound setting check 2024-07-05 14:24:53 +02:00
projectView.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
randomId.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
redirectToProvider.ts feat: assign users to teams via OIDC claims (#1393) 2024-03-02 08:47:10 +00:00
replaceAll.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
saveCollapsedBucketState.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
saveLastVisited.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
scrollIntoView.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
setTitle.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
useFlatpickrLanguage.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
utils.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
validatePasswort.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00