1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

2082 Commits

Author SHA1 Message Date
andreas-unleash
c0796f3c21 Create/edit constraint adjustments 2022-07-21 14:12:30 +03:00
andreas-unleash
7f0a0afb84 Constrain card adjustments 2022-07-20 15:42:13 +03:00
andreas-unleash
e33ed6b8e7 Make accordion expand dependent on text width 2022-07-20 13:01:25 +03:00
andreas-unleash
ffc0c0a229 Make accordion expand dependent on text width 2022-07-20 10:17:26 +03:00
Christopher Kolstad
4c5eb20e09 Task/filter addon by project and environment (#1133)
* feat: add project and environments filters for addons

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2022-07-14 12:55:37 +02:00
Fredrik Oseberg
235bf428fe 4.14.0-beta.1 2022-07-14 09:47:39 +02:00
sellinjaanus
625cc43ef9 Fixed naming (#1134) 2022-07-14 07:07:25 +00:00
Tymoteusz Czech
9d74fd976d Refine playground form (#1136)
* integrate results table with playground form

* fix playground api integration

* fix: playground loading state from api
2022-07-13 14:35:43 +00:00
andreas-unleash
8f4f1f6f5f Fix PR commments 2022-07-13 09:47:22 +03:00
andreas-unleash
e8a77d4928 Fix PR commments 2022-07-13 09:40:39 +03:00
andreas-unleash
672d948d24 Playground results light 2022-07-12 18:13:18 +03:00
Tymoteusz Czech
2e94cd660c Playground form (#1129)
* playground form

* playground context fields

* playground interactive json form

* add playground route

* remove memo from select options generation

* add toast when playground context parsing fails

* add error handling when adding a fiedl to playground context

* remove playground context options memo
2022-07-08 09:35:32 +02:00
andreas-unleash
69f4b73b16 Merge branch 'main' into meta/add-stalebot 2022-07-07 13:27:41 +03:00
Thomas Heartman
8db75dd923 meta: add stale bot config (reference unleash/.github)
This change adds a stale bot configuration with a reference to the [org-wide Unleash configuration](https://github.com/Unleash/.github/blob/main/.github/stale.yml).

## About the change

We're adding stale bot as a way to help us manage issues that don't see any activity. When that happens, it's usually because we don't have further resources to work on something or because we're missing information. These issues often go forgotten and end up lying around open. This is an attempt to get around that.

The config file contains the details for how long the bot waits before touching an issue and then how much longer before it closes it if no further activity occurs. (Currently set to 30 and 10 days respectively.)

## Keeping issues open

If there are long-standing issues that should _not_ be closed or marked as stale, you can label it with one of the `exemptLabels` in the stale config file (for instance: `pinned`). That'll keep stale bot from touching the issue at all.

## For maintainers

We know there are differing views on whether stale bots are healthy or not, and we would not want to impose a bot on a repo that we do not control. So if you're not sure this is a good idea (or if you're sure that it _isn't_), let us know, and we'll have a discussion. If we come to the conclusion that it's not the right decision (for whatever reason), then we're happy to leave the bot out.

Further, if you're happy to accept the stale bot, but don't like the org-wide configuration, then we can also override parts or all of the config to make it fit better with this repo.
2022-07-05 09:51:53 +02:00
renovate[bot]
7d1c23717f chore(deps): update dependency vitest to v0.16.0 2022-06-28 19:53:44 +00:00
renovate[bot]
75b3107808 chore(deps): update dependency vite-plugin-svgr to v2.2.0 2022-06-28 16:30:49 +00:00
Christopher Kolstad
dd2e04990f 4.14.0-beta.0 2022-06-28 14:21:52 +02:00
Tymoteusz Czech
c0b52fa672 Fix: UI improvements (#1114)
* fix: segments table author column width

* fix: update feature form ui

* fix: strategies breadcrumbs

* fix: api token page title

* fix: deprecated strategy label color

* fix: project access remove user toast

* fix: addon enable toast message

* fix: ces from ui

* fix: ui improvements with dialog typography

* fix: revert ces

* fix: change password error type
2022-06-28 12:58:10 +02:00
olav
566d0613a4 refactor: improve password error handling (#1118)
* refactor: improve password error handling

* Update src/component/user/common/ResetPasswordForm/PasswordChecker/PasswordChecker.tsx

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-06-28 09:47:22 +02:00
Nuno Góis
38cfc549f2 fix: copy feature double validation popup (#1117)
* fix: copy feature double validation popup

* fix: add aria-required, validate on submit

* refactor: rename variable to be more consistent with codebase
2022-06-28 07:54:31 +01:00
renovate[bot]
853d763194 chore(deps): update dependency sass to v1.53.0 2022-06-28 04:38:12 +00:00
renovate[bot]
4a5676293d chore(deps): update dependency @testing-library/dom to v8.14.0 2022-06-28 01:24:27 +00:00
renovate[bot]
d22dd96304 chore(deps): update material-ui monorepo 2022-06-27 22:56:12 +00:00
renovate[bot]
89545611ae chore(deps): update dependency vite to v2.9.13 2022-06-27 20:03:55 +00:00
renovate[bot]
e36ae52162 chore(deps): update dependency msw to v0.42.3 2022-06-27 16:48:59 +00:00
renovate[bot]
afd36a6cf1 chore(deps): update dependency jsdom to v20 (#1106)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-27 12:53:07 +00:00
olav
685e94bab7 fix: wrap long words in toast text (#1119) 2022-06-27 13:39:50 +02:00
olav
68bfde58f7 fix: use correct docs API URL for feature strategy create/update (#1116)
* fix: use correct URL for update feature strategy

* fix: use correct URL for create feature strategy
2022-06-23 12:05:06 +02:00
olav
625a92ca74 refactor: fix instance status modal close button (#1115)
* refactor: fix instance status modal close button

* refactor: only close the modal on button click
2022-06-23 10:29:17 +02:00
Nuno Góis
9ca2b6fc46 feat: add stripe integration (#1109)
* feat: add stripe integration

* add start:demo yarn script
2022-06-23 07:54:08 +01:00
olav
7a6321746c refactor: improve segment warning texts 2022-06-22 14:58:36 +02:00
olav
b21ae4164d refactor: remove outdated root role info text (#1112)
* refactor: remove unused imports

* refactor: remove outdated root role info text
2022-06-22 14:58:05 +02:00
olav
7d909c6b66 refactor: show env buttons when missing permission (#1111)
* refactor: disable environment drag-and-drop when missing permission

* refactor: show env buttons when missing permission
2022-06-22 13:13:08 +02:00
Nick
b4197e54e6 fix: input fields (PR #1110 from NickMolloy/improve-input-attributes)
* Use correct input type

"string" is not a valid input type: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
"text" is the actual valid value.

* Use correct autocomplete values for credential fields
"true", "on", and "confirm-password" are not valid autocomplete values https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
2022-06-22 11:05:03 +02:00
sellinjaanus
797cd8c28f chore: remove splash environment (#1108)
* chore: remove splash environment

* Remove related images aswell

Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2022-06-21 16:31:14 +03:00
olav
583d636144 refactor: fix handling of expired/churned trial states (#1107) 2022-06-21 11:22:27 +02:00
Tymoteusz Czech
9522c59674 Refactor project health table (#1098)
* minor archive table updates

* archived date cell

* archive import paths

* move project health table files

* fix: align actions cells

* simplify health table row mapping

* fix project pages browser tab title

* initial draft of virtualized table component

* refactor: virtualized table common component

* fix: health report name cell width

* refactor: report cell paths
2022-06-21 09:08:37 +02:00
renovate[bot]
c9aed1e6e2 chore(deps): update dependency eslint to v8.18.0 2022-06-18 03:44:42 +00:00
renovate[bot]
f05e91c2a5 chore(deps): update dependency typescript to v4.7.4 2022-06-18 00:48:48 +00:00
renovate[bot]
5709fa8ac8 chore(deps): update dependency @types/react to v17.0.47 2022-06-17 21:58:21 +00:00
renovate[bot]
a7b3cf2a7e chore(deps): update dependency @testing-library/user-event to v14.2.1 2022-06-17 18:52:44 +00:00
renovate[bot]
7bffb67b76 chore(deps): update dependency prettier to v2.7.1 2022-06-17 15:51:46 +00:00
olav
69171a75a7 refactor: improve button label markup (#1091)
* refactor: improve button label markup

* refactor: remove misused tooltip roles

* refactor: simplify FeatureStrategyIcon labelling

* refactor: simplify labels for disabled buttons

* refactor: add missing switch input labels
2022-06-17 11:27:54 +02:00
Renovate Bot
accf9294c8 chore(deps): update dependency @types/semver to v7.3.10 2022-06-15 20:51:19 +00:00
Renovate Bot
b38f5e21f1 chore(deps): update dependency vitest to v0.15.1 2022-06-15 17:12:39 +00:00
Tymoteusz Czech
37fa469faf Archive table updates (#1097)
* minor archive table updates

* archived date cell

* archive import paths
2022-06-15 16:16:42 +03:00
Renovate Bot
522f4aed41 chore(deps): update dependency vitest to v0.15.0 2022-06-15 01:07:54 +00:00
Renovate Bot
dffb4e1514 chore(deps): update material-ui monorepo 2022-06-14 22:03:20 +00:00
Renovate Bot
bb22a1fe24 chore(deps): update dependency prettier to v2.7.0 2022-06-14 18:40:51 +00:00
olav
4fb0be3710 fix: show previous invoices page if UNLEASH_CLOUD is falsy (#1094)
* fix: restore previous invoices page

* fix: show previous invoices page if UNLEASH_CLOUD is falsy

* fix: use correct amountFormatted invoice field name
2022-06-14 15:41:28 +02:00
Tymoteusz Czech
51e5939f68 feat: Align switches in table actions (#1082)
* feat: strateges state changing switch

* refactor: ActionCell for table

* fix: remove image clipping for webhook icons

* feat: align addons switch in table

* feat: align enviromnemnts table switch

* fix: disallow turning off protected environment

* refactor: move environment table sub-components

* feat: add predefined badge to default environment

* feat: environment reorder handle hightlight

* fix: environment table padding when searching

* Update src/hooks/api/actions/useStrategiesApi/useStrategiesApi.ts

Co-authored-by: olav <mail@olav.io>

* refactor: toggle addon promise

* remove dragging highlight

* fix: strategy switch tooltip

* fix: switch tooltips

Co-authored-by: olav <mail@olav.io>
2022-06-14 12:32:16 +00:00
andreas-unleash
bfbbf57de0 Merge branch 'main' into archive_table 2022-06-14 13:22:35 +03:00
olav
864f70624f 4.13.0-beta.1 2022-06-14 12:15:26 +02:00
Tymoteusz Czech
aaaefa864d Merge branch 'main' into archive_table 2022-06-14 11:51:29 +02:00
olav
f46047f10a refactor: fix trial expiration calculations (#1090)
* refactor: fix trial expiration calculations

* refactor: count full trial days for warning banner

* refactor: fix flaky test
2022-06-14 11:51:11 +02:00
Tymoteusz Czech
ee2d852ef2 fix: search clear bug 2022-06-14 11:48:49 +02:00
Tymoteusz Czech
b1d9437d99 Merge branch 'main' into archive_table 2022-06-14 11:43:06 +02:00
Tymoteusz Czech
67a4f2e67f remove unused TableSearch 2022-06-14 11:42:12 +02:00
Tymoteusz Czech
7bfe7201c0 fix: simplified empty archive list page 2022-06-14 11:28:40 +02:00
Tymoteusz Czech
349106a2be fix: sort order across the app
discussed with Nicolae and Nuno
2022-06-14 11:14:56 +02:00
olav
aaa540fc1c 4.13.0-beta.0 2022-06-14 10:11:35 +02:00
Tymoteusz Czech
1d8c286c79 fix archive type column 2022-06-14 09:36:33 +02:00
Tymoteusz Czech
f35d3a4881 update table search and columns width 2022-06-14 09:32:04 +02:00
Tymoteusz Czech
439d7c1745 hide project column on project archive 2022-06-14 09:19:41 +02:00
Tymoteusz Czech
fdac3a6eaf fix archive row virtualization 2022-06-14 09:16:27 +02:00
andreas-unleash
de8119961f Merge branch 'main' into archive_table 2022-06-14 09:14:31 +03:00
Renovate Bot
bd67dcbd31 chore(deps): update dependency immer to v9.0.15 2022-06-13 23:50:42 +00:00
Renovate Bot
9f99722f40 chore(deps): update emotion monorepo to v11.9.3 2022-06-13 19:38:57 +00:00
Tymoteusz Czech
6cb0837fec Merge remote-tracking branch 'origin/main' into archive_table 2022-06-13 15:41:06 +02:00
Tymoteusz Czech
dd1246d67c Fix/archive table (#1086)
* feat: upgrade search to use the new search component (#1073)

* feat: upgrade project list search to use the new search field

* cleanup unused imports

* feat: add upgraded search to projects and applications, polish search UX

* refactor: TableSearch to new Search common component

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>

* fix: resolve issues with project edit/delete button conditions (#1084)

* fix: fix UPDATE_PROJECT permission checks for editors

* fix: disable delete button for the default project

* fix: warn about access on edit project page

* fix: hide broken project edit/delete buttons for OSS

* refactor: avoid project card clicks when closing modals

* refactor: improve default project deletion message

* refactor: improve project access error text

* Update src/component/project/ProjectCard/ProjectCard.tsx

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

* refactor: fix string quotes

* refactor: improve disabled menu item contrast

* refactor: remove Enterprise routes for OSS

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

* fix: archive table small adjustments

* refactor archive table params

Co-authored-by: Nuno Góis <github@nunogois.com>
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
Co-authored-by: olav <mail@olav.io>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-06-13 15:22:27 +02:00
olav
e338319afa refactor: avoid relative positioning for tbody (#1085)
* refactor: expose vite dev server on local IP

* refactor: avoid relative positioning for tbody

* refactor: avoid height on tbody as well

* refactor: use row height from theme
2022-06-13 09:25:36 +02:00
renovate[bot]
d7bc30871f chore(deps): update dependency react-timeago to v7 (#1088)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 09:07:14 +02:00
Renovate Bot
7592e4f643 chore(deps): update dependency vitest to v0.14.2 2022-06-10 22:50:33 +00:00
Renovate Bot
ad9519c181 chore(deps): update dependency vite to v2.9.12 2022-06-10 19:20:55 +00:00
Fredrik Strand Oseberg
bd4651b9ca Merge branch 'main' into archive_table 2022-06-10 16:22:07 +02:00
olav
2d24d92f5a fix: resolve issues with project edit/delete button conditions (#1084)
* fix: fix UPDATE_PROJECT permission checks for editors

* fix: disable delete button for the default project

* fix: warn about access on edit project page

* fix: hide broken project edit/delete buttons for OSS

* refactor: avoid project card clicks when closing modals

* refactor: improve default project deletion message

* refactor: improve project access error text

* Update src/component/project/ProjectCard/ProjectCard.tsx

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

* refactor: fix string quotes

* refactor: improve disabled menu item contrast

* refactor: remove Enterprise routes for OSS

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-06-10 16:09:50 +02:00
Fredrik Strand Oseberg
3040256047 Merge branch 'main' into archive_table 2022-06-10 16:07:59 +02:00
Nuno Góis
4761847ce5 feat: upgrade search to use the new search component (#1073)
* feat: upgrade project list search to use the new search field

* cleanup unused imports

* feat: add upgraded search to projects and applications, polish search UX

* refactor: TableSearch to new Search common component

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-06-10 15:23:12 +02:00
andreas-unleash
9536a1b78f formatting 2022-06-10 16:04:06 +03:00
andreas-unleash
f44bc9a849 PR comments 2022-06-10 15:55:54 +03:00
andreas-unleash
fb2005a2df PR comments 2022-06-10 15:47:42 +03:00
andreas-unleash
a5094b1fc0 replace useLocalStorage 2022-06-10 09:34:42 +03:00
andreas-unleash
cb7ff9372e Merge branch 'main' into archive_table 2022-06-10 09:24:20 +03:00
Renovate Bot
63852441dd chore(deps): update dependency sass to v1.52.3 2022-06-09 18:48:12 +00:00
olav
3add10ccbe refactor: simplify error toast text (#1081)
* refactor: simplify error toast text

* refactor: simplify 404 error text
2022-06-09 15:36:01 +02:00
andreas-unleash
c3c7c07c05 Merge branch 'main' into archive_table 2022-06-09 15:25:24 +03:00
olav
97206760be fix: allow horizontal scroll in tokens table (#1080)
* fix: allow horizontal scroll in tokens table

* refactor: fix username column width

* refactor: always show username column since we now may scroll
2022-06-09 14:04:19 +02:00
andreas-unleash
efa66b2ab2 Merge remote-tracking branch 'origin/archive_table' into archive_table 2022-06-09 12:47:22 +03:00
andreas-unleash
055e7bebff PR comment 2022-06-09 12:47:13 +03:00
andreas-unleash
0e9d19ee7c PR comment 2022-06-09 12:46:04 +03:00
andreas-unleash
27fd367199 Merge branch 'main' into archive_table 2022-06-09 12:43:50 +03:00
Tymoteusz Czech
608171ce93 Improve table performance (#1061)
* improve table performance

* revert to react-router navigation
2022-06-09 11:34:55 +02:00
andreas-unleash
2dcae647f2 Merge branch 'main' into archive_table 2022-06-09 08:24:33 +03:00
Renovate Bot
31d3572dad chore(deps): update dependency msw to v0.42.1 2022-06-08 19:27:08 +00:00
olav
d32674fc4c refactor: improve archive title text (#1076) 2022-06-08 16:01:10 +02:00
andreas-unleash
193cc82ffa Merge branch 'main' into archive_table 2022-06-08 16:05:13 +03:00
olav
6d05c65631 refactor: fix operator upgrade alert box margins (#1078) 2022-06-08 14:55:15 +02:00
andreas-unleash
d50edfa294 remove dead code 2022-06-08 14:47:44 +03:00
andreas-unleash
88f2bef1be Merge remote-tracking branch 'origin/archive_table' into archive_table 2022-06-08 14:37:05 +03:00
andreas-unleash
65c252a20c add search and filters 2022-06-08 14:36:29 +03:00