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

6379 Commits

Author SHA1 Message Date
Youssef
c1e45c0a70 feat: upgrade unleash-frontend to 4.10.0-beta.0 2022-03-31 12:51:53 +01:00
Youssef
654ae73e0b 4.10.0-beta.0 2022-03-31 12:39:12 +01:00
Youssef Khedher
8081e20b96 fix: toast in mobile view (#831)
* fix: toast in mobile view

* fix: feature settings mobile view

* fix: feedback in mobile

* fix: add space for ts expect error

* fix: change breakpoint to xs instead of sm
2022-03-31 11:14:13 +01:00
olav
70e4f4608a fix: improve toggle environment toast text (#829) 2022-03-31 11:37:16 +02:00
olav
dbb62631a6 feat: add FeedbackCES component (#826)
* refactor: add screen-reader-only util class

* refactor: move FeedbackNPS component

* feat: add FeedbackCES component

* refactor: improve hidden checkbox styles

* refactor: fix IFeedbackEndpointRequestBody source type

* refactor: remove unnecessary event.persist() calls

* refactor: remove disableEscapeKeyDown from FeedbackCES modal

* refactor: make textarea label customizable

* refactor: store feedback state on the backend

* refactor: add FeedbackCESForm snapshot test

* refactor: use extant IAuthFeedback type

* refactor: fix showNPSFeedback logic for multiple feedback types
2022-03-31 09:23:46 +02:00
Renovate Bot
2377def561 chore(deps): update dependency sass to v1.49.10 2022-03-31 04:09:57 +00:00
olav
66d9d7a6d2
feat: add segments (#1426)
* refactor: fix missing tsconfig path in .eslintrc

* refactor: require contextName and operator

* refactor: fix crash on missing feature strategies

* feat: add segments schema

* feat: add segments client API

* feat: add segments permissions

* refactor: fail migration if things exist

* refactor: remove strategy IDs from responses

* refactor: allow empty description

* refactor: add segment import/export

* refactor: add perf scripts

* refactor: add get segment fn

* refactor: move constraint validation endpoint

* refactor: use a separate id for segment updates

* refactor: use PERF_AUTH_KEY for artillery

* refactor: adjust segment seed size

* refactor: add missing event data await

* refactor: improve method order

* refactor: remove request body limit override
2022-03-29 14:59:14 +02:00
Youssef Khedher
d545fbdfcb fix: buttons not showing up on mobile view (#825) 2022-03-29 11:57:06 +01:00
Youssef Khedher
eeda7ab5e4 feat: add segments (#780)
* feat: create segmentation structure and list

* feat: remove unused deps and change route

* feat: change header style and add renderNoSegments

* fix: style table header

* feat: create useSegments hook

* feat: add segmentApi hook

* feat: create segment

* fix: errors

* feat: add contextfields list

* fix: remove user from create segment api

* feat: add form structure

* feat: add SegmentFormStepOne

* fix: tests and routes

* feat: add constraint view

* feat: UI to match the sketch

* feat: add constraint on context select

* fix: duplication

* fix adding constraints

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

* fix: input date not showing up in constraint view

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

* fix: minor bugs

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

* fix: create context modal in segment page

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

* fix: validate constraint before create segment

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

* feat: create useSegment hook

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

* feat: create edit component

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

* refactor: move constraint validation endpoint

* refactor: add missing route snapshot

* refactor: fix segment constraints unsaved/editing state

* refactor: remove create segment from mobile header menu

* refactor: update segments form description

* refactor: extract SegmentFormStepList component

* refactor: add an optional FormTemplate docs link label

* refactor: fix update segment payload

* feat: finish edit component

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

* refactor: move step list above segment form

* fix: update PR based on feedback

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

* refactor: fix constraint validation endpoint path

* refactor: improve constraint state field name

* refactor: extract AutocompleteBox component

* feat: add strategy segment selection

* refactor: add strategy segment previews

* refactor: fix double section separator line

* feat: disable deleting a usable segment

* refactor: warn about segments without constraints

* refactor: update text in delete segment dialogue

* refactur: improve arg names

* refactor: improve index var name

* refactor: clarify steps list logic

* refactor: use a required prop for the segment name

* refactor: use ConditionallyRender for segment deletion

* refactor: fix segments refetch

* refactor: improve CreateUnleashContext component names

* refactor: adjust segment form styles

* refactor: adjust text

* refactor: fix info icon tooltip hover target

* refactor: add missing aria attrs to preview button

* refactor: add strat name to delete segment modal

* refactor: fix segment chip text alighment

* refactor: use bulk endpoint for strategy segments

* refactor: fix imports after merge

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
Co-authored-by: olav <mail@olav.io>
2022-03-29 09:30:57 +02:00
Renovate Bot
8568573b4b chore(deps): update dependency cypress to v9.5.3 2022-03-29 03:37:04 +00:00
Youssef Khedher
f9cdb6ca0c fix: handle projectId validation (#823)
* fix: handle projectId validation

* chore: remove unused function

* fix: update PR based on feedback
2022-03-28 22:45:41 +01:00
dependabot[bot]
27d6e364af chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 (#822)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 12:45:21 +02:00
renovate[bot]
4aff526252 chore(deps): update dependency @testing-library/dom to v8.12.0 (#821)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-28 12:28:40 +02:00
renovate[bot]
c8e2260ab9 chore(deps): update dependency @testing-library/jest-dom to v5.16.3 (#814)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-28 12:20:18 +02:00
dependabot[bot]
501071691c chore(deps): bump browserslist from 4.16.3 to 4.20.2 (#819)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.20.2.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.20.2)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 11:58:50 +02:00
dependabot[bot]
3c3277f189 chore(deps): bump minimist from 1.2.5 to 1.2.6 (#813)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 11:24:19 +02:00
Youssef Khedher
85950f104a chore: update paths 🧼 (#820) 2022-03-28 09:49:59 +01:00
Youssef Khedher
4589a19e03 fix: misc UI improvements (#806)
* fix: link color in project features

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

* fix: link in health page

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

* fix: keep sorting state in project toggles list

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

* fix: style link in the toggle list project

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

* refactor: update browser list

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

Co-authored-by: olav <mail@olav.io>
2022-03-25 15:30:52 +01:00
olav
cfc2338e78 refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
Thomas Heartman
f469b41eb9
Merge pull request #1466 from Unleash/docs/update-jira-docs
docs: Update Jira docs with new installation instructions
2022-03-25 12:18:49 +01:00
sighphyre
66f3967812 docs: Add some details on running and debugging the e2e tests (#526)
* docs: Add some details on running and debugging the e2e tests

* docs: Designate code block in README as bash

* refactor: update e2e instructions

* refactor: remove e2e timeout warning

Co-authored-by: Simon Hornby <simon@getunleash.ai>
Co-authored-by: olav <mail@olav.io>
2022-03-25 12:13:39 +01:00
Renovate Bot
8771302dac chore(deps): update dependency prettier to v2.6.1 2022-03-25 10:54:49 +00:00
sighphyre
17e7777a75
Update website/docs/integrations/jira-server-plugin-installation.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-03-25 12:51:47 +02:00
sighphyre
8c13fe74a8
Update website/docs/integrations/jira-server-plugin-installation.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-03-25 12:51:37 +02:00
sighphyre
69532656bd
Update website/docs/integrations/jira-server-plugin-installation.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-03-25 12:50:43 +02:00
sighphyre
f05d76255a
Update website/docs/integrations/jira-server-plugin-installation.md
Nice!

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-03-25 12:50:30 +02:00
olav
ddca06bdea refactor: update react-scripts to v5 2022-03-25 11:16:55 +01:00
olav
88c4c39bfc refactor: update browserslist 2022-03-25 11:15:09 +01:00
olav
bf3cb86a51 refactor: remove namespaces from teams.svg 2022-03-25 11:10:50 +01:00
renovate[bot]
1e2f057ee3 chore(deps): update actions/checkout action to v3 (#763)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-25 10:18:06 +01:00
renovate[bot]
ad8f45fd08 chore(deps): update actions/setup-node action to v3 (#751)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-25 09:50:01 +01:00
sighphyre
0d4360b997 docs: add installation instructions for jira plugin for marketplace 2022-03-25 09:24:26 +02:00
Renovate Bot
70ad976255 chore(deps): update dependency typescript to v4.6.3 2022-03-25 04:33:53 +00:00
Renovate Bot
d6b93977c0 chore(deps): update dependency @types/react to v17.0.43 2022-03-25 02:33:44 +00:00
Renovate Bot
9d51ed52e7 chore(deps): update dependency fast-json-patch to v3.1.1 2022-03-24 20:59:32 +00:00
Renovate Bot
377d2e177a chore(deps): update dependency @testing-library/dom to v8.11.4 2022-03-24 16:21:08 +00:00
Thomas Heartman
0d2e72eeea docs: delete images that are no longer in use. 2022-03-24 16:12:40 +01:00
Thomas Heartman
2709f19ae7 docs(a11y): add alt texts to images + minor rewording 2022-03-24 16:09:37 +01:00
Thomas Heartman
d7b09f73db docs: Add prerequisites, new installation instructions (marketplace) 2022-03-24 15:18:12 +01:00
Youssef Khedher
4f0ef3d761 fix: mobile view (#801)
* fix: mobile view project roles

* fix: mobile view users
2022-03-24 14:04:42 +01:00
Youssef Khedher
fe23fe8472 refactor: change strategy form buttons (#812) 2022-03-24 11:50:08 +01:00
Youssef Khedher
d11d0e712b
refactor: block creating token for disabled environment (#1464)
* refactor: block creating token for disabled environment

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

* refactore: remove unused deps

Co-authored-by: olav <mail@olav.io>
2022-03-24 11:26:00 +01:00
olav
82972498f8 refactor: simplify e2e auth (#803) 2022-03-24 09:38:41 +01:00
Renovate Bot
b76be29e59 chore(deps): update dependency minimist to v1.2.6 [security] 2022-03-23 22:27:49 +00:00
Renovate Bot
215151aac0 chore(deps): update dependency node-forge to v1.3.0 [security] 2022-03-23 17:21:35 +00:00
sighphyre
ab1ecf6c7c 4.9.1 2022-03-23 16:10:20 +02:00
sighphyre
af692c2c1b feat: upgrade unleash-frontend to 4.9.0 2022-03-23 16:09:35 +02:00
Thomas Heartman
c15d221b66
Merge pull request #1463 from Unleash/docs/bump-php-adv-constraints-version
docs: list v1.3.1 of the PHP sdk as first compatible w/adv constr.
2022-03-23 14:05:21 +01:00
Thomas Heartman
907a5c6da0
Merge pull request #1449 from Unleash/docs/improve-db-ssl-docs
docs: add more content around database connections
2022-03-23 13:53:22 +01:00
sighphyre
bf41e50a99 4.9.0 2022-03-23 14:49:01 +02:00