1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/src/lib
Christopher Kolstad 791384ddb1
Fix/variants ordering (#1187)
* fix: sort variants on output

We found that for existing variants, the sorting by name wasn't applied, so the index in the patches were wrong. This PR adds the sort also when we're getting variants as part of the getFeature call, not just when we're getting the variants. This should make the UX consistent, and prevent our patches from hitting the wrong index in the variants array.

Co-authored-by: Youssef Khedher <khedher.youssef@hotmail.fr>
2021-12-15 14:20:32 +01:00
..
__snapshots__ feat: remove old metrics service 2021-12-10 09:31:54 +01:00
addons feat: clean up events (#1089) 2021-11-12 13:15:51 +01:00
db Fix/variants ordering (#1187) 2021-12-15 14:20:32 +01:00
error task: Ban changes to variants through feature (#1130) 2021-11-25 14:53:58 +01:00
middleware feat: remove old metrics service 2021-12-10 09:31:54 +01:00
routes fix: rename services 2021-12-10 09:31:54 +01:00
schema task: Ban changes to variants through feature (#1130) 2021-11-25 14:53:58 +01:00
services fix: uintroduce call to update last_seen on client-instance 2021-12-10 09:31:54 +01:00
types fix: uintroduce call to update last_seen on client-instance 2021-12-10 09:31:54 +01:00
util fix: be explicit when specifying time & replace moment with date-fns (#1072) 2021-11-02 15:13:46 +01:00
app.test.ts fix: convert files to typescript 2021-09-14 19:30:11 +02:00
app.ts feat: remove old metrics service 2021-12-10 09:31:54 +01:00
create-config.test.ts Fix/enable standard environments (#1134) 2021-11-26 15:31:36 +01:00
create-config.ts feat: remove old metrics service 2021-12-10 09:31:54 +01:00
default-custom-auth-deny-all.ts fix: default custom auth hook now denies all requests to api endpoints (#811) 2021-04-29 15:18:58 +02:00
event-hook.test.ts fix: convert event-hook.test.js to typescript 2021-09-14 19:34:35 +02:00
event-hook.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
logger.test.ts fix: convert more tests to typescript 2021-09-14 20:30:37 +02:00
logger.ts feat: add option for LOG_LEVEL (#803) 2021-04-23 15:31:12 +02:00
metric-events.ts fix: refactor event types 2021-04-29 10:21:29 +02:00
metrics.test.ts feat: remove old metrics service 2021-12-10 09:31:54 +01:00
metrics.ts feat: remove old metrics service 2021-12-10 09:31:54 +01:00
server-impl.test.ts fix: convert more tests to typescript 2021-09-14 20:30:37 +02:00
server-impl.ts feat: remove old metrics service 2021-12-10 09:31:54 +01:00