vikunja/frontend/src/helpers
kolaente da66eb7314
fix(filters): do not match partial labels
This change fixes a bug where an input query like "labels in test || labels in l" would be replaced with something like "undefinedabels in test || labels in l" or "3abels in test || labels in l" when there was a label starting with "l" - when it should not have touched that.
The matching was changed so that only exact label matches are taken into account when searching for labels.

Now, the above string would be replaced by "labels in 1 || labels in l" (when the label "test" has the id 1).

Maybe resolves https://community.vikunja.io/t/filtering-by-label-ux-issues/2393/8
2024-06-19 17:28:16 +02:00
..
color chore: move frontend files 2024-02-07 14:56:56 +01:00
time fix(vue): toValue instead of unref 2024-06-10 13:53:13 +00:00
attachments.ts feat: improve types (#2368) 2024-06-12 10:04:26 +00:00
auth.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
calculateItemPosition.ts chore: move frontend files 2024-02-07 14:56:56 +01: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 chore: move frontend files 2024-02-07 14:56:56 +01:00
checklistFromText.test.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
checklistFromText.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
closeWhenClickedOutside.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
createAsyncComponent.ts feat(components): align component name casing Loading 2024-06-17 13:09:34 +02:00
downloadBlob.ts chore: move frontend files 2024-02-07 14:56:56 +01: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): do not match partial labels 2024-06-19 17:28:16 +02:00
filters.ts feat: switch to change-case lib 2024-06-18 06:30:39 +00:00
flatpickrLanguage.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
getBlobFromBlurHash.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
getFullBaseUrl.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
getHumanSize.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
getInheritedBackgroundColor.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
getProjectTitle.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
hourToDaytime.test.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
hourToDaytime.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
inputPrompt.ts chore: move frontend files 2024-02-07 14:56:56 +01: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 chore: move frontend files 2024-02-07 14:56:56 +01:00
projectView.ts fix(favorites): make favorites work with configurable views 2024-04-14 17:12:16 +02:00
randomId.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
redirectToProvider.ts feat: assign users to teams via OIDC claims (#1393) 2024-03-02 08:47:10 +00:00
replaceAll.ts chore: move frontend files 2024-02-07 14:56:56 +01: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 chore: move frontend files 2024-02-07 14:56:56 +01:00
setTitle.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
utils.ts chore: move frontend files 2024-02-07 14:56:56 +01:00