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

6635 Commits

Author SHA1 Message Date
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
Thomas Heartman
b3320bf74b
docs: update segments availability notices (#1729)
* docs: change segment availability notice

* docs: update availability note + add some prettier changes

* docs: format imports with prettier
2022-06-22 10:53:24 +02:00
Christopher Kolstad
18c720f4e9
Task/open api state (#1738)
* task: add open api to import/export
2022-06-22 09:09:49 +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
olav
5bae11a3fb
fix: avoid 400s for unknown request body fields (#1737) 2022-06-21 10:33:03 +02:00
olav
7ee8892704
fix: add missing environments field to uiConfigSchema (#1736)
* fix: add missing environment field to uiConfigSchema

* refactor: avoid throwing when unleash-server is a dependency in dev mode
2022-06-21 09:34:07 +02:00
Christopher Kolstad
32399291e0
task: add OpenApi spec to metrics route (#1725)
* task: add OpenApi spec to metrics route
2022-06-21 09:12:40 +02:00
renovate[bot]
28251af39e
chore(deps): pin dependency @types/make-fetch-happen to 9.0.2 (#1723)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-21 09:09:40 +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
Christopher Kolstad
1821af8fe7
task: add openapi for tags (#1724)
* task: add openapi for tags
2022-06-21 08:23:30 +02:00
renovate[bot]
00bef41836 chore(deps): update typescript-eslint monorepo to v5.29.0 2022-06-20 20:50:29 +00:00
Nuno Góis
123991d28f
refactor: add OpenAPI schema to health-check controller (#1732)
* refactor: add OpenAPI schema to health-check controller

* refactor: address PR comments

* add type to health-check-schema

* fix: update snap
2022-06-20 11:22:41 +01:00
renovate[bot]
e06459ac79 chore(deps): update dependency eslint to v8.18.0 2022-06-18 04:13:15 +00:00
renovate[bot]
c9aed1e6e2 chore(deps): update dependency eslint to v8.18.0 2022-06-18 03:44:42 +00:00
renovate[bot]
5c9f30ceef chore(deps): update dependency typescript to v4.7.4 2022-06-18 01:54:21 +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
Nuno Góis
2354656632
refactor: add OpenAPI schema to api-token controller (#1716)
* refactor: add OpenAPI schema to api-token controller

* refactor: address PR comments

* fix: status codes on environment toggling

* fix tests

* refactor: address PR comments

* refactor: expiresAtSchema -> update-api-token-schema
2022-06-17 20:35:26 +01: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
Thomas Heartman
bb3c722f67
Docs: Update description for create + update user (#1727)
* Docs: Update description for create + update user

This change updates the documentation for the user creation API,
fixing errors mentioned in #1717:

- it's either `username` or `email` that is required on creation.
`name` is not required.
- `name` is the only required field when updating a user.

* docs: Fix overzealous prettier formatting

* docs: updated requirements for put: name OR email
2022-06-17 13:50:39 +02:00
Thomas Heartman
5a3f418e13
docs: add feature toggle reference, new how-to (#1694)
* Docs: write down the currently available steps

* docs: quick updates to the projects page.

* docs: further scaffold the how-to guide

* docs: add feature-toggle.mdx (toggle reference doc)

* docs: Add note that feature toggle names must be unique

* docs: add API doc links

* docs: delete old content

* docs: delete old images

* docs: update variants text

* docs: update introduction

* docs: add new images, update api annotations

* docs: add links to context fields, improve link text for other links.

* docs: remove redundant wording.

* docs: fix default project for toggles

* docs: typo: singular -> plural

* docs: mention admin ui curl command

* docs: remove leftover words

* docs: improve linking to default project.

* Apply suggestions from code review

Co-authored-by: sighphyre <liquidwicked64@gmail.com>

* Apply suggestions from code review

Co-authored-by: sighphyre <liquidwicked64@gmail.com>

* docs: clarify constraint timing

* docs: apply suggestion from code review

* docs: add link to variants document

* docs: Add sections on environments and projects, link from ft docs

* docs: minor rewording into unleash context.

* docs: remove misleading section about "all strats evaluated"

* docs: evaluate -> resolve

Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2022-06-17 12:36:19 +02: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
Nuno Góis
525fce3e86
refactor: add OpenAPI schema to context controller (#1711)
* refactor: add OpenAPI schema to context controller

* Update src/lib/routes/admin-api/context.ts

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

* address PR comments, misc fixes and improvements

* refactor: address PR comments

* add createdAt to test

* fix: reverted upsert schema after discussion

Co-authored-by: olav <mail@olav.io>
2022-06-17 10:11:55 +01:00
olav
e6b49e4bce
refactor: improve token type error message (#1709) 2022-06-17 09:00:13 +02:00
olav
28ecb158a9
refactor: add schemas to feedback controller (#1698)
* refactor: remove previous getProjects route

* refactor: add schemas to feedback controller
2022-06-17 08:15:56 +02:00
Renovate Bot
e64d5a1f97 chore(deps): update dependency lint-staged to v13.0.2 2022-06-16 21:15:51 +00:00
Renovate Bot
52b1b29619 chore(deps): update dependency prettier to v2.7.1 2022-06-16 18:31:07 +00:00
Duoc Nguyen
b525b98443
fix: correct branch name (#1714) 2022-06-16 13:54:40 +02:00
Renovate Bot
a6232d3707 chore(deps): update dependency @types/semver to v7.3.10 2022-06-15 22:13:47 +00: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
Christopher Kolstad
45c3df0598
docs: SDK Synchronization tips (#1720)
* docs: SDK Synchronization tips

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

* docs: Update csharp example with tabs

* docs: update java docs with tabs and sync examples

* docs: update node docs for sync init

* docs: remove plea to pay attention to env config option

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-06-15 09:49:56 +00:00
Renovate Bot
2d3dce15c5 chore(deps): update dependency nock to v13.2.7 2022-06-15 05:56:58 +00:00
Renovate Bot
522f4aed41 chore(deps): update dependency vitest to v0.15.0 2022-06-15 01:07:54 +00:00
Renovate Bot
7ce95cafc8 fix(deps): update react monorepo to v18.2.0 2022-06-15 00:42:43 +00:00
Renovate Bot
dffb4e1514 chore(deps): update material-ui monorepo 2022-06-14 22:03:20 +00:00
Renovate Bot
a6759a2a3b chore(deps): update typescript-eslint monorepo to v5.28.0 2022-06-14 22:01:30 +00:00
Renovate Bot
3e5ecc4822 chore(deps): update dependency prettier to v2.7.0 2022-06-14 18:53:32 +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
Christopher Kolstad
705eee654f
fix: pleas -> please (#1706) 2022-06-14 15:16:58 +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
407e3a5f55 Merge pull request #1066 from Unleash/archive_table
Archive table
2022-06-14 14:29:01 +03:00
nya1
fb711b4d4a
fix: when payload type is 'json' validate value on toggle variable validation (#1704)
* fix: when payload type is 'json' validate value on toggle variable validation

* test: add missing feature toggle creation with variant type json

Ref https://github.com/Unleash/unleash/pull/1704#discussion_r896476042

* refractor: remove verbose comment on validateJsonString

Ref https://github.com/Unleash/unleash/pull/1704#discussion_r896482210

* test: add missing feature toggle creation with variant type string

Ref https://github.com/Unleash/unleash/pull/1704#discussion_r896476042

* refractor: move variant value joi validation

Ref https://github.com/Unleash/unleash/pull/1704#discussion_r896478563
2022-06-14 13:08:38 +02:00
olav
12fa0b8231 4.13.0-beta.5 2022-06-14 12:36:31 +02:00
olav
d5ad220d78 chore: update unleash-frontend 2022-06-14 12:26:28 +02:00
andreas-unleash
bfbbf57de0 Merge branch 'main' into archive_table 2022-06-14 13:22:35 +03:00