135 Commits

Author SHA1 Message Date
Madhuri Sandbhor
9192781fb6
chore: bump DS rc-7 (#20860)
* chore: design system and icons bumped, grid item style adjusted

* fix: type error fixed

* fix: upload and users-permission tests fixed

* fix: tests fixed

* fix: add to dynamic zone button style updated

* fix: styling issues fixed for DZ component button and color picker

* fix: snapshot updated

* fix: fieldset border width removed, popover menu icon color updated

* fix: wysiwyg expand collapse button styles

* fix: ds deps bumped

* fix: editorlayout wrapper style fixed, panels actions style fixed

* fix: more button icon centered, man nav icons size fixed

* fix: help button style fixed

* fix: email settings button fixed
2024-07-31 14:22:27 +02:00
Fernando Chávez
9f00348b6e
fix(documentation): add check to password input (#20704)
* fix(documentation): add check to password input

* fix(documentation): toggle notification when there is an error
2024-07-16 10:20:29 +02:00
Josh
11011e9804
chore: integrate beta.5 of the design-system (#20431)
* chore: refactor admin

* chore: refactor content-manager

* chore: refactor plugins

* chore: refactor content-releases

* chore: refactor CTB

* chore: refactor i18n

* chore: refactor user-permissions

* chore: refactor upload plugin

* chore: update deps

* chore: fix ci

* chore: design fixes

* chore: update import

Co-Authored-By: Simone <startae14@gmail.com>

* fix: guided home tour check color

* chore: update snapshots

* chore: update to beta.6

* chore: update import

Co-authored-by: Simone <startae14@gmail.com>

* chore: more fixes

* chore: fix import syntax

Co-authored-by: Simone <startae14@gmail.com>

* chore: fixes

* fix(upload): snapshot

---------

Co-authored-by: Simone <startae14@gmail.com>
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
2024-06-10 14:50:34 +01:00
Josh
e98c3e2020
fix(admin): reset all redux toolkit cache on logout (#20318)
* fix(admin): reset all redux toolkit cache on logout

* chore: refactor API to use one createApi call from redux/toolkit

* chore: fix e2e suite

* chore: spelling error

Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>

* chore: remove rogue import

---------

Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2024-05-20 14:43:30 +01:00
Josh
5ff7024fc8
chore: update DS to 2.0.0-beta.4 (#20301) 2024-05-20 10:42:44 +01:00
Simone
c734c14d5f
feat(main-nav): Main nav refactoring, change links order (#20275)
* feat(main-nav): change links order in main nav

* feat(main-nav): add the position property to order links in the main nav

* feat(main-nav): refactor the sorting of the nav links

* feat(main-nav): add useCollator and format message to sort by name the links
2024-05-13 08:58:09 +02:00
Bassel Kanso
3bc72930fa Merge branch 'v5/main' into v5/replace-axios 2024-05-08 12:00:18 +03:00
Josh
b7c62568a8
chore!: update styled-components to 6 & update DS to 2.0.0-beta.3 (#20260)
* chore: update styled-components to 6

* chore: update admin

* chore: update CM

* chore: update ctb

* chore: update other plugin packages

* chore: update content-releases

* chore: update user-permissions

* chore: update upload

* chore: update fields to be dot notation

* chore: update tests

* chore: update yarn.lock

* chore: update snapshots

* chore: update deps

* chore: update snapshots

* fix: left menu

* test: add label prop to NavLink test

* chore: PR tweaks
2024-05-07 14:01:26 +01:00
Bassel Kanso
433fc96d7d chore: fixing front unit tests 2024-05-06 23:39:18 +03:00
Bassel Kanso
ab41b2e7ac Merge branch 'v5/main' into v5/replace-axios 2024-05-06 21:48:47 +03:00
Madhuri Sandbhor
63d70071de
chore: moved cms components from DS to admin (#20242)
* chore: move all CMS components from DS to admin

* fix: eslint config

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-06 09:29:44 +01:00
Bassel Kanso
79f3446e9e chore: fixing some flaky frontend unit tests 2024-05-02 18:00:16 +03:00
Josh
00f1e17248 test: please work units 2024-04-29 14:18:14 +01:00
Bassel Kanso
fd55682955 Merge branch 'v5/main' into v5/replace-axios 2024-04-29 02:13:48 +03:00
Bassel Kanso
e3ea9f6402 chore: fixing some tests that are not rendering properly 2024-04-26 17:47:13 +03:00
Josh
5d000fb33c
chore: upgrade to DS 2.0.0-beta.2 (#20151) 2024-04-25 16:17:23 +01:00
Bassel Kanso
61d71566fb fix: make all builds work 2024-04-24 09:37:52 +03:00
Bassel Kanso
23718db2fc chore: fixing some tests 2024-04-18 18:20:38 +03:00
Bassel Kanso
f41be330aa chore: remove axios from packages and edit some tests 2024-04-15 19:47:36 +03:00
Bassel Kanso
9e8dcb640e Merge branch 'v5/main' into v5/replace-axios 2024-04-09 15:07:12 +03:00
Bassel Kanso
7ca9df7f9d chore: error handling for fetch 2024-04-08 21:43:37 +03:00
Josh
f31eabd7d2
feat(admin): rbac middleware (#19949)
* feat: rbac middleware

* chore: make the entire function curried
2024-04-08 16:31:07 +01:00
Bassel Kanso
65df420943 chore: replacing axios with native fetch 2024-04-08 17:31:38 +03:00
Ben Irvin
b003dee48e
chore: upgrade prettier to 3.2.5 2024-03-29 14:39:52 +01:00
Christian
8af582bab7
chore(admin): remove react-helmet (#19923)
* chore: remove react-helmet

* chore: lint fixes

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-27 10:02:40 +00:00
Alexandre Bodin
eedd4c978a chore: migrate doc plugin to ts 2024-03-21 18:20:12 +01:00
Josh
e11b6f2e96
chore(helper-plugin)!: move RBAC / remove auth / remove usePersistentState (#19847)
* chore(helper-plugin)!: move useRBAC

* chore: get tests working

* chore!: remove auth

* chore!: remove usePersistentState

* fix: refactor building admin package so it shares modules with different entries

* fix: session vs local
2024-03-20 11:39:59 +00:00
Simone
c46976a9da
chore(helper-plugin)!: remove prefixPluginTranslations (#19845) 2024-03-19 16:33:46 +00:00
Simone
e9eabddd69
chore(helper-plugin)!: move getFetchClient and useFetchClient (#19840)
* chore(helper-plugin)!: move useFetchClient and getFetchClient to the admin

* chore(helper-plugin)!: fix prettier errors

* chore(helper-plugin)!: remove useless functions
2024-03-19 15:37:20 +00:00
Josh
b17a180f13
chore!(helper-plugin): remove useLockScroll / useClipboard / useFocusWhenNavigate / useQuery / useFocusInputField (#19835)
* chore!: remove useLockScroll & useClipboard

* chore!: remove useFocusWhenNavigate

* chore!: remove useQuery

* chore!: remove useFocusInputField

* chore!: move useQueryParams

* chore: fix tests

* chore: update copy

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

* chore: pretty

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2024-03-19 09:56:07 +00:00
Josh
95674865d9
chore(helper-plugin)!: move Notifications & AppInfo to admin (#19831)
* chore(helper-plugin)!: move Notifications to admin

* chore(helper-plugin)!: move AppInfo to admin
2024-03-18 21:07:24 +00:00
Simone
2b10610286
chore(helper-plugin)!: move getPrefixedId, useAPIErrorHandler, normalizeAPIError and getAPIInnerErrors (#19823) 2024-03-18 15:43:19 +00:00
Simone
1cb89ea8d0
chore!: remove translatedErrors from the helper-plugin (#19814)
* chore: move translatedErrors into the admin

* chore: fix prettier errors
2024-03-18 13:36:43 +00:00
Josh
f2e89269f9
chore!: move confirm dialog to admin package and refactor (#19782) 2024-03-15 15:33:24 +00:00
Josh
cbe7d7a488
chore(helper-plugin)!: remove page decorators (#19662)
* chore(helper-plugin): remove page decorators

* chore: fixes
2024-03-05 14:53:55 +00:00
Josh
93eda17d2a
chore(helper-plugin)!: remove form (#19612)
* chore!: remove form

* chore: re-introduce form error focusing

* chore: remove usage of Formik in auth

* chore: fix test suite
2024-02-29 14:18:21 +00:00
Josh
cc1043c512
feat: update to react-router-dom@6 (#19184) 2024-01-15 11:13:36 +00:00
Josh
b1a1c48011
chore(documentation): convert js to jsx (#18832) 2023-11-17 13:41:50 +00:00
Josh
116339ad86
refactor: admin build pipeline (#18539)
* chore(admin): refactor admin develop/build pipeline

chore: remove `webpackChunkName` comments

chore: reuse admin tsconfig where possible

chore: add .strapi to gitignore

chore(admin): pack-up

feat(admin): inject commands into strapi from admin for building

feat(admin): move watch command to admin

chore: keep backward compat API available

Update packages/core/admin/_internal/cli/index.ts

docs(admin): document the build & develop process and pipeline

test(admin): fix StrapiApp tests

chore: fix build

* Update skipped_tests.yml

* test(e2e): fix e2e setup

feat: add dependency installation

fix: mjs webpack resolution

* chore: fix server exports

* fix: typescript project type generation

* fix: development watch mode

* fix: connect to hot middleware – anywhere

* Update packages/core/admin/_internal/node/core/monorepo.ts

Co-authored-by: Marc Roig <marc12info@gmail.com>

* fix(admin): theme toggle type export

* chore: fixes

* chore: pr amends

Co-Authored-By: Ben Irvin <ben@innerdvations.com>

---------

Co-authored-by: Marc Roig <marc12info@gmail.com>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-10-30 11:36:16 +00:00
Gustav Hansen
6f1d9a15dd
Revert "Fix: Use sync over async components in admin panel APIs" 2023-08-29 09:24:29 +02:00
Gustav Hansen
4b69d56dbc Fix: Use React.lazy over async component imports for plugins 2023-08-23 12:37:28 +02:00
Josh
14e151b144 refactor: documentation tests 2023-07-19 13:57:54 +01:00
Josh
fef7cd24df chore: update ds to 1.8.2 2023-07-11 10:20:09 +01:00
Josh
d301b8a7ad chore: update DS to 1.8.1 2023-07-03 15:14:38 +01:00
Marc-Roig
f9a4af2894
Merge branch 'main' into releases/4.11.3 2023-06-28 17:27:34 +02:00
Nitin
fbc1a4888f fix bug on Settings > Documentation & Advanced setting tab while saving 2023-06-27 10:47:37 +05:30
Gustav Hansen
528b451257 Chore: Move plugin permissions into constants 2023-06-20 14:18:34 +02:00
Gustav Hansen
dca5778d8e Chore: Apply eslint import sorting fix 2023-06-12 21:34:07 +02:00
Convly
106cfafca4 Merge branch 'main' into releases/4.11.0 2023-06-07 11:31:42 +02:00
Josh
38fb966605
chore: upgrade ds to 1.8.0 (#16931) 2023-06-06 15:13:17 +01:00