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

6361 Commits

Author SHA1 Message Date
Renovate Bot
c1c7a91500 chore(deps): update dependency eslint to v8.4.0 2021-12-04 09:50:48 +00:00
Renovate Bot
162ccabaf9 chore(deps): update dependency @types/node to v14.18.0 2021-12-04 01:42:08 +00:00
Renovate Bot
aa7068787f chore(deps): update dependency @testing-library/jest-dom to v5.16.0 2021-12-03 23:46:16 +00:00
Ivar Conradi Østhus
c968107124 4.3.1 2021-12-03 13:17:09 +01:00
Ivar Conradi Østhus
da4949163d fix: bump unleash-frontend to v4.3.0 2021-12-03 13:17:09 +01:00
Ivar Conradi Østhus
9b7c9b07bc 4.3.0 2021-12-03 13:17:09 +01:00
Ivar Conradi Østhus
a3fe914519 chore: require json-schema 0.4.0 or higher 2021-12-03 13:17:09 +01:00
renovate[bot]
e1a68a6c60
fix(deps): update dependency @svgr/webpack to v6 (#1136)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-03 12:47:53 +01:00
Ivar Conradi Østhus
3c550f157a
fix: always require permission for POST, PATCH, PUT, DELETE (#1152) 2021-12-03 12:46:50 +01:00
Fredrik Strand Oseberg
9a9a75d907 4.3.0-beta.3 (#538) 2021-12-03 10:08:34 +01:00
Fredrik Oseberg
dd982d5a08 4.3.0-beta.3 2021-12-02 22:05:21 +01:00
Fredrik Oseberg
f1c9c71110 chore: update frontend 2021-12-02 22:05:21 +01:00
Fredrik Oseberg
c63468479e 4.3.0-beta.2 2021-12-02 22:05:21 +01:00
Fredrik Oseberg
62afc52c9a chore: update frontend 2021-12-02 22:05:21 +01:00
Ivar Conradi Østhus
da18e1523b 4.3.0-beta.1 2021-12-02 22:05:21 +01:00
Ivar Conradi Østhus
7d706260b2 fix: upgrade unleash-frontend to v4.3.0-beta.1 2021-12-02 22:05:21 +01:00
Ivar Conradi Østhus
784ddf8fb3
fix: cleanup old user permissions (#1150) 2021-12-01 22:10:09 +01:00
Ivar Conradi Østhus
abd158d129 fix: allow user to create up to 7 environments (#543) 2021-12-01 21:34:07 +01:00
Renovate Bot
69383e17aa chore(deps): update dependency jest to v27.4.3 2021-12-01 17:43:08 +00:00
Youssef
5e6e7e1aac adding tests 2021-12-01 10:41:41 +01:00
Thomas Heartman
df74d29f1e docs: adjust variant outline; add rough ideas. 2021-12-01 10:35:05 +01:00
Youssef
26c9bfa3c8 fix: add timestamp on project creation for update_at column 2021-12-01 09:59:34 +01:00
Thomas Heartman
f83ffb6746
Merge pull request #1144 from Unleash/docs/document-proxy-payload-format
docs: describe the shape of the data returned by the Unleash proxy
2021-12-01 09:24:24 +01:00
Thomas Heartman
a70782e841
Merge pull request #1139 from Unleash/docs/add-section-on-stale-toggles
docs: Add section on (potentially) stale toggles to tech debt
2021-12-01 09:22:01 +01:00
Renovate Bot
debd66dee5 chore(deps): update node.js to v14.18.2 2021-11-30 19:51:30 +00:00
Renovate Bot
8d2f593883 chore(deps): update dependency jest to v27.4.2 2021-11-30 14:32:46 +00:00
Youssef
00f5740d18 fix: rename last_update to updated_at 2021-11-30 15:25:52 +01:00
Youssef
c3273ce1ab fix: remove lastUpdate from fieldToRow 2021-11-30 15:14:50 +01:00
Youssef
71c6b05bc4 fix: remove unused dep 2021-11-30 14:53:31 +01:00
Renovate Bot
4d82c95ce0 chore(deps): update dependency date-fns to v2.27.0 2021-11-30 13:21:45 +00:00
Youssef
10c1b56e38 add lastupdate to health report 2021-11-30 14:05:44 +01:00
Thomas Heartman
e41d6b0f4d docs: describe the shape of the data returned by the Unleash proxy
This commit attempts to explain what the proxy returns in more detail,
explaining how payloads work and what the `enabled` properties mean
and how they relate to the rest of the content.
2021-11-30 12:52:46 +01:00
Renovate Bot
7343a27226 chore(deps): update dependency prettier to v2.5.0 2021-11-30 09:57:01 +00:00
Youssef
991a4a8634 add last-update migration to projects table 2021-11-30 10:40:58 +01:00
Renovate Bot
c18493bd09 chore(deps): pin dependency prettier to v2.4.1 2021-11-30 07:35:38 +00:00
Renovate Bot
ed309d06b9 chore(deps): update dependency sass to v1.44.0 2021-11-30 04:10:54 +00:00
Renovate Bot
b2dd2ad8eb chore(deps): update typescript-eslint monorepo to v5.5.0 2021-11-29 22:36:07 +00:00
Renovate Bot
d20fc54b80 chore(deps): update dependency jest to v27.4.0 2021-11-29 18:03:18 +00:00
Thomas Heartman
dd1ab1ca72 Autofocus dialog form fields, allow form submissions via pressing enter inside the form (#524)
* chore: add prettier as a dev dependency

The project has a .prettierrc, so seems to depend on that for its
formatting, but there was no prettier installed with the node modules.

* chore: add autofocus to all clearly defined first inputs on dialogs.

* fix: wrap the disable env input in a form and give it autofocus.

* fix: submit form when pressing enter

* fix: only autofocus the submit button if there is no other content.

When multiple (enabled) elements have the autofocus attribute, the
browser picks the last element in the tree. This means that if there
is a form with a text input with autofocus and a submit button with
autofocus, the button will win, causing the user to have to tab back up.

Only doing this if there are no children will cause some changes,
however:

Dialogs with textual children will no longer focus the accept-button
when appearing.

However, dialogs such as the create new api token dialog will give the
focus to the first input field instead of to the create button.

* fix: add formId prop to dialog element; adapt behavior

If the component receives a form id, it will treat the primary button
as the submit button for that form. To stop a full page reload, we
call the `preventDefault` on the submit event before calling the handler.

* chore: remove redundant spacing in component.

* fix: hook environment disable form up with the new form id system.

* chore: Update existing modal forms to pass in formId

* fix: Type the dialog event wrapper

* fix: change 'allows' => 'allow' because the noun is pluralized.

* fix: add autofocus to js add-tag-dialog-component.

I've got a feeling this component isn't in use anymore, though, as the
exact same text appears in a TS-version of this component.

* fix: add autofocus to add user form.

This seems to only be used as the main piece of a modal, so adding
autofocus seems pretty safe here, but I could be wrong.

* fix: Update snapshot test after changing wording.

* fix: add autofocus to update user form

* fix: add autofocus to the create toggle form.

This is a little besides the task's actual point. However! This form
is only ever used on the page where it's the only bit of content. I'd
argue that when the user navigates to this form, it's because they
want to create a feature. Thus, adding autofocus to the first field
makes a lot of sense to me.

* refactor: set button type to 'undefined' when it isn't 'submit'

This allows Material to use their default type based on whatever
heuristics they use. It's most likely going to be 'button' for the
foreseeable future, but in the event that they change it, passing
undefined instead should future-proof this a bit.

* fix: set type to button when formId is not present

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2021-11-29 15:18:12 +01:00
Thomas Heartman
2898b77dd6 docs: Add section on (potentially) stale toggles to tech debt
Previously, when you searched for 'stale toggle' in the docs, the
first result would be the API docs and it'd be hard to find any form
of explanation of what a stale toggle is at all.

To combat that, this commit adds a section to the tech debt chapter
explaining what they are.
2021-11-29 14:55:50 +01:00
Youssef Khedher
165170cd5c fix/breadcrumb (#533)
* fix: remove features2 from breadcrumb

* fix: strategy names

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-11-29 14:29:58 +01:00
Fredrik Strand Oseberg
0d13681fd6 4.3.0-beta.2 (#531) 2021-11-29 14:16:25 +01:00
Fredrik Strand Oseberg
7a5eea2aab Fix/splash (#534)
* fix: use correct env id

* fix: extract to constant

* fix: fetch user when logging in
2021-11-29 14:03:52 +01:00
Thomas Heartman
fb185311e0
Merge pull request #1137 from Unleash/thomasheartman-patch-1
docs: typo; change "metics" -> "metrics"
2021-11-29 09:20:52 +01:00
Thomas Heartman
736faaca5b
docs: typo; change "metics" -> "metrics" 2021-11-29 08:40:59 +01:00
Thomas Heartman
f6cde0fce3
Merge pull request #1133 from Unleash/docs/update-environmment-listing
docs: List environment article and prep it for release
2021-11-29 07:51:51 +01:00
renovate[bot]
5e195f0a50
chore(deps): update dependency lint-staged to v12 (#1104)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-27 09:26:11 +01:00
Renovate Bot
e767d5370a chore(deps): update dependency redux-thunk to v2.4.1 2021-11-27 01:53:34 +00:00
Fredrik Strand Oseberg
710b689490 fix: sloader path (#530) 2021-11-26 16:30:39 +01:00
Fredrik Strand Oseberg
3bd373002e 4.3.0-beta.1 (#529) 2021-11-26 16:14:44 +01:00