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
Jaanus Sellin
51f87bdfd9
feat: search now also returns segments used ( #5429 )
2023-11-28 21:34:57 +02:00
Jaanus Sellin
abf57d1c70
feat: tag operators for search api ( #5425 )
...
Added new operators INCLUDE, DO NOT INCLUDE, INCLUDE ALL OF, INCLUDE ANY
OF, EXCLUDE IF ANY OF, and EXCLUDE ALL and now support filtering by
tags.
2023-11-27 15:48:41 +02:00
Jaanus Sellin
b0c05111c6
feat: allow filtering projects with operators ( #5400 )
...
This is first iteration. When we add more fields to be filterable with
operators, we can have more reusable components for this.
2023-11-24 10:45:44 +02:00
Fredrik Strand Oseberg
a8ea8d3fbe
Fix/clean last seen environments ( #5402 )
...
This PR addresses some cleanup related to removing the
useLastSeenRefactor flag:
* Added fallback last seen to the feature table last_seen_at column
* Remove foreign key on environment since we can not guarantee that we
will get valid data in this field
* Add environments to cleanup function
* Add test for cleanup environments
2023-11-23 12:12:58 +01:00
Jaanus Sellin
432aed3034
feat: support multiple terms in search, remove tag support in search ( #5395 )
...
1. Removing tag support in search
2. Adding multi keyword support for search
2023-11-22 15:06:07 +02:00
Jaanus Sellin
68558fc774
feat: able to search by description ( #5392 )
2023-11-22 14:08:52 +02:00
Jaanus Sellin
1429b54957
feat: sorting by last seen, environments now working properly ( #5376 )
...
Now calculates final ranks also, if there are some ranks missing from
duplicates.
2023-11-21 15:19:06 +02:00
Jaanus Sellin
62dbf8d12f
fix: last seen is now using last seen values from new table ( #5380 )
...
In short the issue is that after our last seen improvements, we did not
update where we are getting last_seen field. It was still using features
table, which is not the source of last seen anymore.
2023-11-21 14:44:41 +02:00
Jaanus Sellin
e79e30de96
fix: total number should be correct now in search ( #5355 )
...
The issue was that we all features were created exactly in same time,
and our feature counter waas expecting time to be unique to feature,
which was not the case.
2023-11-21 09:08:20 +01:00
Jaanus Sellin
f3df3a31bf
feat: fix paging in sql by using common table expressions ( #5343 )
...
Optimizations:
1. Removed extra round trip to database to count environments
2. Removed extra round trip to database to count features
Fixes:
Currently, we were using a very optimistic query to set correct limit
and offset. This breaks as soon we we join tags.
` query = query
.select(selectColumns)
.limit(limit * environmentCount)
.offset(offset * environmentCount);`
The solution was to use common table expressions, so we could count and
rank features.
2023-11-16 10:34:44 +02:00
Jaanus Sellin
4e1040c849
feat: connect sort table to backend ( #5338 )
...
Now FE sorting is done in backend.
2023-11-15 16:01:02 +02:00
Tymoteusz Czech
fd3a7f12cb
chore: remove featureSwitchRefactor flag ( #5329 )
...
Cleanup. This change has been rolled out to significant number of
customers already, and we have another parallel version behind a flag.
2023-11-14 13:03:23 +01:00
Jaanus Sellin
5d762dcb39
feat: sort favorites on the backend ( #5326 )
...
Now favorites will be always on first page, if pinned.
2023-11-14 09:22:35 +02:00
Jaanus Sellin
5782efa6c0
chore: move sort order validation closer to store due to possible SQL injection ( #5322 )
2023-11-13 12:43:12 +02:00
Jaanus Sellin
00327c359d
chore: optimize sql query to not concatenate ( #5321 )
2023-11-13 08:42:19 +02:00
Jaanus Sellin
8c2a052a68
fix: project overview and search returning just single tag ( #5305 )
2023-11-09 10:58:34 +02:00
Jaanus Sellin
a5288ae0b1
feat: also allow searching partial tags ( #5299 )
2023-11-08 16:05:22 +02:00
Jaanus Sellin
4bacd3e055
feat: introduce offset based search instead of cursor ( #5274 )
2023-11-08 11:12:42 +02:00
Mateusz Kwasniewski
43298e16e2
feat: Server side sort by ( #5250 )
2023-11-03 13:15:12 +01:00
Mateusz Kwasniewski
bc66fb649f
feat: infinite scroll API trigger ( #5242 )
2023-11-01 15:56:06 +01:00
Mateusz Kwasniewski
74bbc7799e
feat: total count in search results ( #5235 )
2023-11-01 09:19:42 +01:00
Mateusz Kwasniewski
e5bbe5829f
feat: Cursor based hateoas ( #5230 )
2023-10-31 14:10:31 +01:00
Fredrik Strand Oseberg
28c72ec957
fix: ft overview last seen at ( #5212 )
...
Fixes an issue where the query in the feature toggle overview would
return excess rows
2023-10-30 13:09:27 +01:00
Mateusz Kwasniewski
6d17c3b320
feat: cursor based pagination in search ( #5174 )
2023-10-27 14:16:29 +02:00
Mateusz Kwasniewski
1c8fab63e2
feat: filter by environment status ( #5165 )
2023-10-27 08:54:03 +02:00
Mateusz Kwasniewski
46d7cb236d
feat: filter by tags ( #5163 )
2023-10-26 17:20:57 +02:00
Mateusz Kwasniewski
0c8d0704f3
feat: filter features by type ( #5160 )
2023-10-26 15:29:30 +02:00
Fredrik Strand Oseberg
87fd924be3
refactor: optimize queries ( #5158 )
...
This commit will change the join to only get results for either archived
or non-archived features based on the query
2023-10-26 13:38:22 +02:00
Mateusz Kwasniewski
065e588e64
Search by tag ( #5156 )
...
add tag search for feature search API
2023-10-26 12:50:02 +02:00
Fredrik Strand Oseberg
898c1b4bc7
fix: only get rows for toggles in project ( #5141 )
2023-10-24 17:26:18 +02:00
Tymoteusz Czech
6fab6633c9
feat: add hasStrategies and hasEnabledStrategies on feature environments ( #5012 )
2023-10-20 10:50:57 +02:00
Fredrik Strand Oseberg
bc96216daa
Refactor/move features to feature oriented architecture ( #4994 )
...
This PR gathers feature related files in the same folder.
2023-10-11 09:38:57 +02:00