1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
Commit Graph

1924 Commits

Author SHA1 Message Date
olav
73652b66e9 refactor: improve GeneralSelect prop types (#841)
* refactor: improve GeneralSelect prop types

* refactor: intercept ui config requests in auth spec
2022-04-06 12:08:57 +02:00
olav
6efa9fe75c fix: hide splash screens from API users (#852)
* refactor: add missing user isAPI field

* fix: hide splash screens from API users

Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2022-04-05 20:34:23 +02:00
Ivar Conradi Østhus
b453cd5c7e 4.10.0-beta.5 2022-04-05 15:24:00 +02:00
Ivar Conradi Østhus
edaa31f3f7 fix: action release.yml 2022-04-05 15:23:22 +02:00
Ivar Conradi Østhus
251df96a91 4.10.0-beta.4 2022-04-05 15:21:51 +02:00
Ivar Conradi Østhus
b874eea1a6 fix: naming for release_changelog action 2022-04-05 15:21:34 +02:00
Ivar Conradi Østhus
97ac994fb1 fix: fidle more with release action 2022-04-05 15:20:56 +02:00
Ivar Conradi Østhus
3608724457 4.10.0-beta.3 2022-04-05 14:59:07 +02:00
Ivar Conradi Østhus
d4d9961ede fix: set npm token 2022-04-05 14:58:47 +02:00
Ivar Conradi Østhus
c1aed734ef fix: use frozen lockfile for release 2022-04-05 14:57:29 +02:00
Ivar Conradi Østhus
9636a323ff 4.10.0-beta.2 2022-04-05 14:49:22 +02:00
Ivar Conradi Østhus
7f92c13a8a fix releas.yml action 2022-04-05 14:48:44 +02:00
Ivar Conradi Østhus
2d7847df07 4.10.0-beta.1 2022-04-05 14:44:39 +02:00
Ivar Conradi Østhus
7678e304dd fix: recreate yarn.lock 2022-04-05 14:42:53 +02:00
Ivar Conradi Østhus
7cb85111e4 fix: add release action to support npm and cdn 2022-04-05 14:26:17 +02:00
olav
43834be065 refactor: use onClose instead of hideSecondaryButton (#842) 2022-04-05 11:47:17 +02:00
Renovate Bot
6f072afbf4 chore(deps): update material-ui monorepo 2022-04-03 18:51:53 +00:00
Renovate Bot
4d0760760b chore(deps): update dependency sass to v1.49.11 2022-04-02 04:21:03 +00:00
Renovate Bot
2858e47c24 chore(deps): update dependency @testing-library/user-event to v14.0.4 2022-04-01 14:06:33 +00:00
olav
311915ba30 feat: show segments in feature overview (#837)
* feat: show segments in feature overview

* refactor: avoid segment updates without the UI flag
2022-04-01 11:11:53 +02:00
olav
f309553a5f refactor: port some things to TS (#833)
* refactor: remove unused securityLogger

* refactor: port commonStyles to TS

* refactor: port testIds to TS

* refactor: move app.css into themes

* refactor: use absolute import paths

* refactor: port LayoutPicker to TS

* refactor: port routes to TS

* refactor: port ScrollTop to TS

* refactor: update unused/missing ScrollTop exceptions

* refactor: remove unused route flags field

* refactor: change constants ext to TS

* refactor: remove unused testData file

* refactor: port styles to TS

* refactor: wait before typing in auth spec
2022-04-01 10:28:15 +02:00
Renovate Bot
391f1818f1 chore(deps): update react-dnd monorepo 2022-04-01 00:01:42 +00:00
Renovate Bot
8816ad5b0c chore(deps): update dependency @testing-library/user-event to v14.0.3 2022-03-31 21:26:24 +00:00
olav
a72f6ec8b5 chore: update react-dnd (#834)
* chore: update react-dnd

* refactor: add missing react-dnd types
2022-03-31 15:05:05 +02:00
renovate[bot]
4fce721981 chore(deps): update dependency @testing-library/react to v13 (#835)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 14:46:40 +02:00
renovate[bot]
b6766bb8ce chore(deps): update dependency @testing-library/user-event to v14 (#828)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 14:21:51 +02: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
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
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
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