1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-23 20:07:40 +02:00
Commit Graph

9586 Commits

Author SHA1 Message Date
Thomas Heartman
77890bf88a docs: add notes about users having to add strats to enable envs. 2021-11-12 08:33:55 +01:00
Thomas Heartman
854f2d5d65 docs: add paragraph to intro: things will still work (default env) 2021-11-12 08:26:19 +01:00
Thomas Heartman
b776984187 docs: simplify language + pre-configure -> preconfigure 2021-11-12 08:25:55 +01:00
Martin Lehmann
064599c942
fix: refactor client-metrics list and ttl-list to TypeScript (#1080)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-11-11 20:29:40 +01:00
Ivar Conradi Østhus
f0895cf653
fix: prevent deadlock for batchinserting usage metrics (#1100)
* fix: prevent deadlock for batchinserting usage metrics

In client metrics v2 we utilize postgres to count the usage
across a few dimentions (featureName, app_name, environment).

It turns out that if the UPDATE values are not executed in a predictable
order we can end up in a deadlock scenario with postgresql.

In this fix we thus sort the metrics on the feature_name, app_name and
envrionment, to make sure they always are executed in a predictabel
order, and thus avoiding independent inserts colliding in to a deadlock
waiting for eachother.

* fix: tests cannot assume order
2021-11-11 16:05:29 +01:00
Thomas Heartman
257497153c Use absolute URL for intra-doc link.
I don't know how this works in docusaurus 🤷
2021-11-11 15:41:54 +01:00
Thomas Heartman
8a41799731 docs: Polish text on environments.
There's a number of small text adjustments and typo fixes in here with
the goal of clarifying how environments and the migration process work.
2021-11-11 15:36:41 +01:00
renovate[bot]
f2b3325d42
chore(deps): update dependency eslint-config-airbnb-base to v15 (#1098)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 14:04:45 +01:00
Nikolay Shebanov
e1df5696cd
Wrap the client into an event listener in the quickstart doc (#1079) 2021-11-11 13:20:19 +01:00
Renovate Bot
d22b8503fd chore(deps): update dependency eslint-plugin-import to v2.25.3 2021-11-10 10:49:42 +00:00
Youssef
cd38c5a01d add e2e splash test 2021-11-10 11:24:44 +01:00
Youssef
db9722dccc add splash e2e + api tests 2021-11-10 11:24:01 +01:00
Youssef
c4da3e89c5 fix: styling 2021-11-09 20:55:23 +01:00
Youssef
96f2514fc5 send splash data in the user object 2021-11-09 20:39:13 +01:00
Ivar Conradi Østhus
c4035353a0
docs: add syntax highlighting to react-sdk 2021-11-09 14:21:07 +01:00
Youssef
cc516618a1 add splash-controller and cascade migration 2021-11-09 14:16:34 +01:00
Fredrik Oseberg
d73293c576 fix: add migration 2021-11-09 11:52:02 +01:00
Renovate Bot
0b3c4fd613 fix(deps): update dependency knex to v0.95.14 2021-11-09 01:59:03 +00:00
Renovate Bot
abca75cb86 chore(deps): update dependency @types/node to v14.17.33 2021-11-09 00:54:16 +00:00
renovate[bot]
6b30670ccb
chore(deps): update dependency eslint-config-airbnb-typescript to v15 (#1091)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 22:58:28 +01:00
Thomas Heartman
106c9cebde
docs: Clarify that the proxy does not expose disabled flags (#1094)
* docs: fix typo 'preformat' -> 'performant'

* docs: clarify that proxy returns _only_ enabled toggles

This is based on feedback we got that said:

> Right now biggest disappointment is that docs doesn't match an exact
> JS proxy libraries and their usage. For example, we couldn't make
> feature flag return enabled: false, instead it just hides/not return
> the flag at all.
2021-11-08 22:58:02 +01:00
Renovate Bot
ec5b854ec5 chore(deps): update typescript-eslint monorepo to v5.3.1 2021-11-08 21:25:25 +00:00
Renovate Bot
77d145f967 chore(deps): pin dependencies 2021-11-08 16:25:42 +00:00
Youssef
875fb7734c create splash migration store and service file 2021-11-08 16:31:38 +01:00
Ivar Conradi Østhus
803e99c1db fix: support new event format with diff will be done in the UI (#496)
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2021-11-08 16:01:27 +01:00
Youssef Khedher
df170e6b1f Merge pull request #495 from Unleash/fix/revive-archived-feature
Fix/revive archived feature
2021-11-08 15:19:13 +01:00
Youssef
8d38b5cd7f fix: rename isProjectDeleted to projectExists and add PermissionIconButton 2021-11-08 10:22:37 +01:00
Renovate Bot
09eb689355 chore(deps): update dependency eslint to v8.2.0 2021-11-06 03:07:13 +00:00
Youssef
64481e9c51 update snapshots 2021-11-05 23:35:44 +01:00
Youssef
9cc1e56f13 fix: disable revive feature when project is deleted 2021-11-05 23:21:21 +01:00
Renovate Bot
b5848a0f3a chore(deps): update dependency eslint-config-airbnb-typescript to v14.0.2 2021-11-05 11:45:42 +00:00
Youssef
1e47975dc8 use useProjects to check if project deleted or not 2021-11-05 10:14:52 +01:00
Youssef
e5ff80a9d5 fix: add correct path for create first toggle button 2021-11-05 09:22:01 +01:00
Youssef
7d2ea9407c fix: remove typo from UI 2021-11-05 09:19:07 +01:00
Ivar Conradi Østhus
3027a8916f
4.2.2 2021-11-04 22:17:01 +01:00
Ivar Conradi Østhus
645a8bce05
fix: convert iso-strings from db to date object 2021-11-04 22:16:48 +01:00
Ivar Conradi Østhus
60cadaf01c
4.2.1 2021-11-04 21:26:55 +01:00
Ivar Conradi Østhus
053956b45e
fix/projectId cannot change for strategy configs (#1084) 2021-11-04 21:24:55 +01:00
Fredrik Strand Oseberg
ec60f4485c
fix: disable projects (#1085) 2021-11-04 21:09:52 +01:00
Renovate Bot
ce16c5a77b fix(deps): update dependency unleash-frontend to v4.2.12 2021-11-04 19:58:04 +00:00
Fredrik Oseberg
e2414216da 4.2.12 2021-11-04 15:40:54 +01:00
Fredrik Oseberg
21211320c8 chore: update changelog 2021-11-04 15:38:02 +01:00
Fredrik Oseberg
b6b97e3c0f fix: toast text 2021-11-04 15:36:29 +01:00
Youssef Khedher
e839155f48 Fix/strategy sidepanel (#479)
* make addButton color white when hover on strategy card

* fix: change arrow in side panel

* make sidepanel button responsive

* add ellipse to icons in sidepanel

* remove important property from css

* remove ellipse from disabled icons

* fix navigation with tab for features list in project view

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2021-11-04 14:40:09 +01:00
Fredrik Strand Oseberg
d5c0ec2628 fix: guard for disabling envs (#492)
* fix: guard for disabling envs

* fix: remove local function

* fix: remove local type
2021-11-04 14:24:36 +01:00
Youssef Khedher
2cb9c130b7 fix: handle undefined project with default (#486)
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2021-11-04 10:02:17 +01:00
Renovate Bot
f4d8d523c1 chore(deps): update dependency css-loader to v6.5.1 2021-11-03 22:49:15 +00:00
Renovate Bot
251991a607 chore(deps): update dependency @types/react-dom to v17.0.11 2021-11-03 13:02:08 +00:00
Renovate Bot
80c1318300 chore(deps): update dependency @types/react to v17.0.34 2021-11-03 10:50:42 +00:00
Youssef Khedher
855c1ccaf8 Merge pull request #483 from Unleash/fix/add-highlight-row
add highlight to table rows for features
2021-11-03 09:52:04 +01:00