Jaanus Sellin
095a82569c
feat: search endpoint should return archived at date ( #8592 )
...
Include archived at to search response payload.
2024-10-30 12:35:47 +02:00
Jaanus Sellin
28e062b5cf
feat: archived features can be searched now ( #8568 )
...
Archived features can be searched now.
This is the backend and small parts of frontend preparing to add
filters, buttons etc in next PR.
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-10-29 13:19:13 +02:00
Jaanus Sellin
3d22f6e909
fix: support search for tags that has colon inside ( #7998 )
...
Previously we expected the tag to look like `type:value`. Now we allow
everything after first colon, as the value and not break query
`type:this:still:is:value`.
2024-08-28 11:33:51 +03:00
Jaanus Sellin
df73c65073
feat: filter projectless events for normal users ( #7914 )
...
Now events that do not have project ( for example user creation, segment
creation etc), will not be displayed to non root admins.
2024-08-21 13:59:24 +03:00
Mateusz Kwasniewski
b65e593c23
chore: remove featureLifecycle and featureLifecycleMetrics flags ( #7808 )
2024-08-08 13:45:23 +02:00
Jaanus Sellin
0118f88964
fix: feature type is now validated ( #7769 )
...
Previously people were able to send random data to feature type. Now it
is validated.
Fixes https://github.com/Unleash/unleash/issues/7751
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-08-06 12:27:20 +03:00
Jaanus Sellin
57a8b9da79
feat: event search on new endpoint, first test ( #7739 )
...
Changed the url of event search to search/events to align with
search/features. With that created a search controller to keep all
searches under there.
Added first test.
2024-08-02 15:07:21 +03:00
Jaanus Sellin
bcb7a803d0
feat: new event search ( #7708 )
...
This introduces the new event search API, with paging.
2024-08-02 10:56:42 +03:00
Jaanus Sellin
ed7f917df6
fix: make search selects explicit ( #7445 )
...
Now we are not returning * columns, but all tables that we join later,
will need to select columns one by one.
2024-06-25 13:56:40 +03:00
Mateusz Kwasniewski
70c7e3f978
feat: Anonimize demo users list flag view ( #7432 )
2024-06-24 13:48:08 +02:00
Jaanus Sellin
708183ce26
feat: optimize search store by removing inline EXISTS ( #7394 )
...
Instead of running exists on every row, we are joining the exists, which
runs the query only once.
This decreased load time on my huge dataset from 2000ms to 200ms.
Also added tests that values still come through as expected.
2024-06-14 10:26:12 +03:00
Jaanus Sellin
1191f162e5
fix: fix unstable search ( #7391 )
...
Reverting
https://github.com/Unleash/unleash/pull/7387
https://github.com/Unleash/unleash/pull/7385
2024-06-13 15:37:31 +03:00
Jaanus Sellin
906940948b
feat: optimize search ( #7387 )
...
I am moving the strategies join to later part of query, because it is
not used for filtering, only need it for data.
2024-06-13 13:46:06 +03:00
Jaanus Sellin
b9f43f5ba0
feat: optimize search store by removing inline EXISTS ( #7385 )
...
Instead of running exists on every row, we are joining the exists, which
runs the query only once.
This decreased load time on my huge dataset from 2000ms to 200ms.
Also added tests that values still come through as expected.
2024-06-13 13:11:47 +03:00
Mateusz Kwasniewski
a91b77a7ce
feat: filter by created by ( #7306 )
2024-06-06 12:59:11 +02:00
Mateusz Kwasniewski
2cc4b5faab
feat: display created by user in search ( #7292 )
2024-06-06 11:51:54 +02:00
Mateusz Kwasniewski
1a6197660f
feat: add created by in search results ( #7285 )
2024-06-05 13:54:24 +02:00
Mateusz Kwasniewski
2069af427a
feat: more powerful feature search by type ( #7267 )
2024-06-04 15:13:11 +02:00
Christopher Kolstad
0db5bc193f
task: upgraded semver dependency (and biome) ( #7272 )
...
Sorry for the extra noise here, but this seems to be the biome upgrade
altering formatting slightly.
2024-06-04 15:01:43 +02:00
Mateusz Kwasniewski
dfc065500d
feat: kept and discarded read model ( #7045 )
2024-05-13 14:24:31 +02:00
Mateusz Kwasniewski
97d702afeb
feat: expose lifecycle stage in project overview search ( #7017 )
2024-05-09 10:50:51 +02:00
Mateusz Kwasniewski
8d04772256
fix: duplicate column name in search query ( #6989 )
2024-05-06 19:26:23 +02:00
Jaanus Sellin
2c05f1a0ce
feat: search order by final ( #6976 )
...
Final rank has always been ordering correctly by default. But after 5.12
I see some issues that sometimes it is not ordered. Just to be extra
sure, I am for ordering it.
2024-05-03 13:30:12 +03:00
Jaanus Sellin
e0ec5ed4b0
fix: now metrics in search will be aggregated across applications ( #6915 )
2024-04-24 12:10:39 +03:00
Jaanus Sellin
283a8f4d8b
feat: dependant flag on feature search ( #6684 )
2024-03-25 15:45:18 +02:00
Jaanus Sellin
a2a9a84974
feat: search includes feature last seen data last hour ( #6677 )
2024-03-25 10:32:19 +02:00
Christopher Kolstad
53354224fc
chore: Bump biome and configure husky ( #6589 )
...
Upgrades biome to 1.6.1, and updates husky pre-commit hook.
Most changes here are making type imports explicit.
2024-03-18 13:58:05 +01:00
Jaanus Sellin
fb63f21d8a
feat: project applications paging backend ( #6312 )
2024-02-22 15:35:16 +02:00
Jaanus Sellin
3d77825493
feat: project applications server side paging and sorting and filtering ( #6236 )
...
Uses exactly same pattern as search-store. Nothing too crazy here.
Most code is in tests.
2024-02-14 13:03:44 +02:00
Jaanus Sellin
d7eb950f3a
chore: remove featureSearchAPI flag ( #6081 )
2024-01-31 10:01:31 +02:00
Daniel Brooks
1392b10727
fix(import): making all imports relative and removing baseUrl ( #5847 )
...
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2024-01-17 15:33:03 +02:00
Nuno Góis
b496990f79
chore: add no unused imports biome rule ( #5855 )
...
Adds a Biome rule for "no unused imports", which is something we
sometimes have trouble catching.
We're adding this as a warning for now. It is safely and easily fixable
with `yarn lint:fix`.


2024-01-11 12:44:05 +00:00
David Leek
9ac1070f43
feat: implement createdByUserId for all features ( #5725 )
...
## About the changes
Implements setting values on the created_by_user_id column on the
features table in the db
2023-12-22 14:33:16 +01:00
Jaanus Sellin
d0facc7101
fix: adjust page limit normalization ( #5672 )
2023-12-18 14:33:45 +02:00
Jaanus Sellin
3b635132f9
feat: enable sorting by project ( #5671 )
2023-12-18 14:33:38 +02:00
Jaanus Sellin
4af0abc6c2
fix: increase page size in backend to 100 ( #5669 )
2023-12-18 14:18:05 +02:00
Jaanus Sellin
f4268347da
fix: last seen now sorts nulls last ( #5664 )
...
Two changes were needed to sort better
1. Since we are still using `last seen` from `features` table for
backwards compatibility, we needed to add it to sort condition.
2. Nulls break the order, so now sorting nulls as last.
2023-12-18 10:36:50 +02:00
Jaanus Sellin
dafec2e672
fix: reducing of features will not break order anymore ( #5654 )
2023-12-15 14:46:40 +02:00
Mateusz Kwasniewski
8283edfc0a
feat: Sort by stale ( #5653 )
2023-12-15 11:56:06 +00:00
Jaanus Sellin
fa087fb473
refactor: move search implementation out of strategies store ( #5642 )
...
This is first step of refactoring. Next steps follow with possibly a
query builder, or atleast using some reusable methods.
2023-12-14 15:45:36 +02:00
Jaanus Sellin
e8f19e6341
fix: added stronger tag validations ( #5585 )
...
Now it is impossible to filter based on invalid tag syntax.
2023-12-11 13:34:51 +02:00
Jaanus Sellin
166432bcb0
feat: support localization in date filter ( #5572 )
2023-12-08 13:20:39 +02:00
Jaanus Sellin
1173b664da
feat: add created date filter component ( #5569 )
2023-12-08 10:07:57 +02:00
Jaanus Sellin
d9648de08d
chore: rename is not any of to is none of ( #5544 )
2023-12-06 12:53:51 +02:00
Jaanus Sellin
6f497e6708
feat: add openapi validation for search ( #5541 )
2023-12-05 11:25:56 +02:00
Jaanus Sellin
d1984b2447
feat: validate date filter and add more tests ( #5525 )
2023-12-04 15:41:05 +02:00
Jaanus Sellin
feae69643c
feat: created date operators for search ( #5513 )
...
1. Added operators for created date
2. Added better descriptions for searchable fields
2023-11-30 12:00:39 +02:00
Jaanus Sellin
a743ca0df6
feat: add operators for state filtering ( #5497 )
...
No changes in store needed, already utilizing reusable logic.
2023-11-29 15:22:42 +02:00
Jaanus Sellin
d73a2937a7
feat: search now also returns project ( #5488 )
2023-11-29 12:13:41 +02:00
Jaanus Sellin
5fd1c16def
feat: operators for segments ( #5485 )
...
1. Added way to filter segments
2. Refactored some code, so tags and segments use same SQL methods.
2023-11-29 10:40:25 +02:00