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

6306 Commits

Author SHA1 Message Date
Renovate Bot
016547232b chore(deps): update dependency @types/react to v17.0.45 2022-05-07 01:12:01 +00:00
Renovate Bot
ecd6f53784 chore(deps): update dependency @types/memoizee to v0.4.8 2022-05-06 22:56:26 +00:00
Renovate Bot
beaa75f86b fix(deps): update dependency unleash-frontend to v4.10.1 2022-05-06 19:41:50 +00:00
Fredrik Strand Oseberg
e3c2d006db
fix: update spec (#1572) 2022-05-06 19:20:04 +02:00
Renovate Bot
73a78644bd chore(deps): update dependency vitest to v0.10.5 2022-05-06 16:57:24 +00:00
Renovate Bot
c99aac5a6f chore(deps): update dependency vite-plugin-svgr to v2.1.0 2022-05-06 14:30:40 +00:00
olav
ae51e979cd refactor: add Plausible tracker on SaaS domain (#956)
* feat: add Plausible tracker on SaaS domain

* refactor: check uiFlags.T instead of the domain
2022-05-06 14:04:09 +02:00
Thomas Heartman
2113732f3b
docs: clarify that multiple overrides for a variant create unions (#1551)
* docs: clarify that multiple overrides for a variant create unions

* Update website/docs/advanced/feature-toggle-variants.md

Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2022-05-06 14:00:08 +02:00
Nuno Góis
badc65ddf0 refactor: some cleanup after the vite PR (#958) 2022-05-06 13:11:46 +02:00
Tymoteusz Czech
5ecc83f1b4 Refactored feature toggles table (#951)
* refactor: simplify table toolbar

* refactor: table links and padding

* fix: header icons colors

* fix: minor table style changes
2022-05-06 12:21:31 +02:00
Thomas Heartman
3b545b7dcd
docs: add more details to variant creation API (#1548)
* docs: add more details to variants api PUT example

* docs(fix): correct header title for code sample
2022-05-06 11:46:37 +02:00
olav
7785e2c717 refactor: improve header button ARIA attrs (#957)
* refactor: fix header docs icon color

* refactor: improve header button ARIA attrs
2022-05-06 11:38:11 +02:00
Thomas Heartman
68bad77a84
docs: Update Unleash architecture diagram (#1549)
* docs: Update Unleash architecture digram

* fix: typo an -> a

* docs(fix): fix img link in readme

* docs: update architecture graph
2022-05-06 11:17:35 +02:00
Connor Teague
e67c0d115b
1568 fix datadog type/value order in addon (#1569) 2022-05-06 09:07:19 +02:00
Renovate Bot
02ab34ef0e chore(deps): update dependency vitest to v0.10.4 2022-05-05 23:29:53 +00:00
Renovate Bot
923a575c0c chore(deps): update dependency vite to v2.9.8 2022-05-05 20:54:49 +00:00
Renovate Bot
2bfdfcbe50 chore(deps): update dependency @vitejs/plugin-react to v1.3.2 2022-05-05 18:19:06 +00:00
Nuno Góis
5872a1c82c refactor: adapt to Vite (#940)
* chore: adapt to vite

* remove react-scripts

* add jsdom dep, update snaps

* fix tests

* fix: formatting

* fix: vercel rewrite

* fix: regeneratorRuntime is not defined

Co-authored-by: Tymoteusz Czech <tymek+gpg@getunleash.ai>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-05-05 16:15:22 +01:00
Nuno Góis
ce2714713a
refactor: use vite html in test (#1561) 2022-05-05 16:14:47 +01:00
olav
b40a2f2bf1 fix: use correct asset path for texture image (#950) 2022-05-05 16:17:11 +02:00
Nuno Góis
004ded8f74 feat: add last seen col to admin users list (#949)
* feat: add last seen col to admin users list

* fix: header hover effect, duplicate title from TimeAgo

* fix: use YMD format, never logged

* fix: small tooltip change

* refactor: adapt to review suggestions
2022-05-05 14:53:28 +01:00
Tymoteusz Czech
1772997d28 Feature list table (#908)
* experiment with generic table

* feat: example implementation of sortable table interfaces

* add enhanced table header

Co-authored-by: Nuno Góis <github@nunogois.com>

* table cleanup

Co-authored-by: Nuno Góis
Co-authored-by: Fredrik Strand Oseberg

* useSort hook interface surface

Co-authored-by: Nuno Góis <github@nunogois.com>

* sort handler initial implementation

Co-authored-by: Tymoteusz Czech <Tymek@users.noreply.github.com>

* new table unified components

* feature flags table components

Co-authored-by: Nuno Góis <github@nunogois.com>

* feat: new table sort hook

* feat: table sort

* useSearch hook implementation

* update new sort hook tests

* sortable headers hook

* feat: add sort to other table features

* move experimental table hooks to a directory

* update new table header styles

* fix: header, tableActions

* add some details like pagination and highlighter so we keep them in mind

* feature table cells

* update new table sort logic

* new pagination

* fix formatting and remove unused component

* fix: adapt useSearch default search to text instead of regex (PR #924)

* fix: update table title based on visible rows

* fix: remove test route

* refactor: move table experiment files

* features table experimentation

* feat: enhanced feature flags table

* fix: features default sort

* feat: enhanced table loading

* fix: table theme after mui5 update

* features list placeholder

* add react-table

* update snapshots after theme change

* remove unused files

* fix: improve features table after review

* refactor: rename feature type cell variables

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
Co-authored-by: Nuno Góis <github@nunogois.com>
Co-authored-by: Tymoteusz Czech <Tymek@users.noreply.github.com>
2022-05-05 15:34:46 +02:00
olav
d8143c6ff4 chore: update react-router to v6 (#946)
* refactor: fix child selector warnings

* refactor: update react-router-dom

* refactor: use BrowserRouter as in react-router docs

* refactor: replace Redirect with Navigate

* refactor: replace Switch with Routes

* refactor: replace useHistory with useNavigate

* refactor: replace useParams types with useRequiredPathParam

* refactor: replace NavLink activeStyle with callback

* refactor: fix matchPath arg order

* refactor: Remove unused link state

* refactor: delete broken snapshot test

* refactor: render 404 page without redirect

* refactor: normalize path parameter names

* refactor: fix Route component usage
2022-05-05 13:42:18 +02:00
Pfuenzle
0fd26e26bc
added db-schema to the docs page (#1567)
I added the "schema" option to the configuring unleash docs page

Co-authored-by: Pfluenze <pfuenzle@protonmail.com>
2022-05-05 11:52:02 +02:00
olav
ac90a3b1c7
fix: remove trailing slash from OpenAPI route (#1564) 2022-05-05 11:45:23 +02:00
olav
4c42639a62 fix: remove trailing slash from OpenAPI route (#948) 2022-05-05 11:45:17 +02:00
Diego Susa
7187907d53
Added version to simplify tracking in Vanta & SOC2 2022-05-05 11:08:56 +02:00
Diego Susa
57c3b7d4fd
SOC2 updates
Changed the mailbox used on Enforcement section to a new dedicated one (coc@getunleash.io)
2022-05-05 10:52:01 +02:00
Renovate Bot
2f7ffd19ce chore(deps): update node.js to v14.19.2 2022-05-04 23:38:22 +00:00
olav
23c977e0ea refactor: fix empty project member count (#947) 2022-05-04 15:39:50 +02:00
olav
35262e404b refactor: clean up strategy parameter types (#944)
* refactor: fix splash page button background color

* refactor: regenerate OpenAPI client

* refactor: clean up strategy parameter types

* refactor: remove index signature from IConstraint

* refactor: fix never-seen status in features list
2022-05-04 15:16:34 +02:00
olav
56615e91f0
fix: validate the type and length of parameter values (#1559)
* refactor: coerce primitive types in OpenAPI requests

* refactor: avoid broken array args to serializeDates

* refactor: avoid some spec refs to improve generated types

* refactor: remove debug logging

* refactor: fix IExpressOpenApi interface name prefix

* refactor: ensure that parameter values are strings

* refactor: test that parameter values are coerced to strings
2022-05-04 15:16:18 +02:00
Nuno Góis
61e9588bb0
fix: update open api snapshot (#1560) 2022-05-04 14:54:26 +02:00
Nuno Góis
7e938a21b4
feat: show archived toggles on a project level (#1555)
* feat: show archived toggles on a project level

* refactor: split behaviour in 2 separate routes and methods for clarity

* add e2e test
2022-05-04 07:45:29 +01:00
olav
7b60ef2aa6 refactor: misc type improvements (#945)
* refactor: improve ChangePassword types

* refactor: improve usePagination types

* refactor: improve UsersList types
2022-05-04 08:14:49 +02:00
Renovate Bot
73d2b73955 chore(deps): update dependency @types/jest to v27.5.0 2022-05-03 17:55:28 +00:00
Nuno Góis
9ffc421252 feat: show archived toggles on a project level (#942)
* feat: show archived toggles on a project level

* Update src/component/feature/FeatureToggleList/FeatureToggleListActions/FeatureToggleListActions.tsx

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

* refactor: adapt code to PR comments, clarity

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-05-03 15:27:43 +01:00
Thomas Heartman
188352cb7a
docs: remove duplicate sidebar item; sort sdks (#1558)
* fix: remove duplicate sidebar entry

* fix: sort sdk list
2022-05-03 10:21:14 +02:00
sebastian-unleash
67f9277b25
docs: Add link to kill switch best practices blog post. (#1554) 2022-05-03 10:16:02 +02:00
Renovate Bot
fe875d4fff chore(deps): update dependency @types/jest to v27.5.0 2022-05-03 02:55:39 +00:00
Renovate Bot
03267041cc chore(deps): update typescript-eslint monorepo to v5.22.0 2022-05-02 23:18:26 +00:00
Fredrik Strand Oseberg
b4eed811a1 fix: update favicon path to CDN (#896)
* fix: update favicon path to CDN

* docs:set favicon path to use cdnPrefix

* fix: update favicon path to use prefix
2022-05-02 23:37:52 +02:00
Renovate Bot
b3830538f9 chore(deps): update material-ui monorepo 2022-05-02 17:08:58 +00:00
olav
24c11332b5 chore: update MUI to v5 (#923)
* refactor: update mui packages

* refactor: run mui codemods

* refactor: format files after codemods

* refactor: fix broken types

* refactor: clean up theme

* refactor: fix broken tests

* refactor: replace @mui/styles with tss-react

* refactor: move breakpoints into classes for tss

* refactor: fix crash on missing feature description

* refactor: remove void classNames

* refactor: adjust styles to new defaults

* refactor: remove broken rollout slider e2e test

* refactor: fix duplicate e2e testid

* refactor: update makeStyles after rebase

* refactor: add missing snapshot after rebase

* refactor: fix TableCellSortable focus styles

* refactor: use 1.4 as the default line-height

* refactor: hide webkit search field icons

* refactor: fix select box label

* refactor: make AutocompleteBox smaller

* refactor: make heading smaller

* refactor: fix toast close icon color

* refactor: update snapshots

* refactor: add missing test event awaits

* refactor: fix default button line-height
2022-05-02 15:52:41 +02:00
Tymoteusz Czech
23a874d051 Refactor: convert jsx files to typescript (#881)
* refactor: convert remaining js files to typescript

* refactor: conditionally render remove index

* refactor: dialog component to tsx

* refactor: migrate some files from jsx to tsx

* refactor: convert dropdown element to tsx

* refactor: feature toggle list to tsx

* refactor: update context name in use overrides

* refactor: variant overrides to tsx

refactor: remove unused strategy constraint file

* fix: tsx imports

* fix: update refectored components after rebase

* refactor: rename report list files to tsx

* fix: project health list types

* refactor: addon form - add types

* refactor: copy feature component types

* fix: projects toggle style after tsx refactor

* refactor: update ts types from openapi

* fix: ts refactor changes after review

* fix: header title prop

* fix: update after PR comments

* add test to useoverrides hook

* fix conditionally render time ago

* fix: toggle list empty tooltip

* fix: remove unused variable

* remove unused variable

* fix: remove faulty snapshot
2022-05-02 12:52:33 +02:00
Fredrik Strand Oseberg
42e32a9118
fix: set favicon icon to CDN if prefix is set (#1553) 2022-05-02 12:49:48 +02:00
Renovate Bot
00341c6d67 chore(deps): update dependency swr to v1.3.0 2022-04-30 14:06:37 +00:00
Renovate Bot
0a1dab9464 chore(deps): update dependency sass to v1.51.0 2022-04-30 11:17:31 +00:00
Renovate Bot
2940cb105b chore(deps): update dependency @testing-library/user-event to v14.1.1 2022-04-30 06:00:20 +00:00
Renovate Bot
5f03a2d1ee chore(deps): update dependency @testing-library/dom to v8.13.0 2022-04-30 03:12:47 +00:00