27 Commits

Author SHA1 Message Date
Josh
d4dddebe84
refactor(admin): convert rest of components to TS (#18473)
* refactor(admin): convert rest of components to TS

* chore(admin): integrate redux types to admin components

* chore: type network requests

* test: fix unit tests based on changes

* chore: use smaller batch of permissions for RBACProvider test
2023-10-18 11:22:34 +01:00
Josh
66d7c1ce9b
chore: convert helper-plugin to pack-up (#18329) 2023-10-06 12:21:26 +01:00
Josh
82035f18c9
chore: build strapi permissions with pack-up (#18309) 2023-10-05 18:13:45 +01:00
Josh
7016a1b045
chore: initialise ts admin (#18282)
* chore: initialise ts admin

* chore: set JSX to automatic

finally found it

* chore: set DTS true for the whole workflow to produce types for the helper-plugin

* chore(helper-plugin): fix the circular dependencies and calls for react
2023-10-05 08:39:49 +01:00
markkaylor
917a40b555
refactor(helper-plugin): migrate to TS (#17746)
Co-authored-by: Fernando Chávez <fc9chavez@gmail.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Mark Kaylor <mark.kaylor@strapi.io>
Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
Co-authored-by: Jackson Hammond <malts18@gmail.com>
Co-authored-by: yurimutti <muttiyuri@gmail.com>
Co-authored-by: Fernando Chávez <fernando.chavez@strapi.io>
Co-authored-by: GJunior <samaritanojr006@gmail.com>
Co-authored-by: Milan K <57148574+mkcy3@users.noreply.github.com>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: boris.shulyak <borysshulyak@gmail.com>
Co-authored-by: Alec Winter <34278963+nolliebigspin@users.noreply.github.com>
Co-authored-by: Boris Shulyak <55171497+BorysShulyak@users.noreply.github.com>
Co-authored-by: 0xATHERIS <ath3ris@proton.me>
Co-authored-by: Andrew <112592168+fletch-r@users.noreply.github.com>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Dallas Clark <542948+dallasclark@users.noreply.github.com>
Co-authored-by: Okorare Tega <contact@tegacreatives.com>
Co-authored-by: Júlíus Guðni <julius@extis.one>
Co-authored-by: Simone <startae14@gmail.com>
2023-09-15 10:08:21 +02:00
Josh
dc02df8b42
feat: add auto-focussing via URLSearchParam to content-manager (#17613)
Co-authored-by: Gustav Hansen <gustav.hansen@strapi.io>
2023-08-22 12:18:06 +01:00
Josh
996ba09add
chore: update storybook to v7 (#17632) 2023-08-10 08:32:54 +01:00
Josh
3308e31ef4
chore: setup helper-plugin for TS conversion (#17460) 2023-08-07 10:44:05 +01:00
Gustav Hansen
750655fb4e Chore: Give precedence to error.message over error.details 2023-07-19 13:33:18 +02:00
Josh
b4e73c4a05 fix(helper-plugin): useRBAC needs to recalc if the userPermissions argument changes 2023-07-17 12:25:16 +01:00
Josh
7da44e6406 refactor: remove history from hp tests and refactor Pagination component 2023-07-05 08:53:29 +01:00
Josh
885aa13160 refactor: useRBAC hook to stop infinite loop
chore: add test setup to helper-plugin

test: add useRBAC suite

refactor: useRBAC hook to stop infinite loop

chore: shuffle around and add jsdocs
2023-06-29 11:56:36 +01:00
Damián Paranič
5d30450570 added tests for new methods in useSelectionState hook 2023-06-26 12:37:52 +02:00
Damián Paranič
a757f0ffc7 added code comments 2023-06-26 12:37:27 +02:00
Damián Paranič
0e26a36dc4
Merge branch 'strapi:main' into fix/media-library-multiple-selection 2023-06-26 10:37:02 +02:00
Josh
c7363e4feb feat: add clone entity on click in table redirect if not possible 2023-06-22 08:10:49 +01:00
Gustav Hansen
dca5778d8e Chore: Apply eslint import sorting fix 2023-06-12 21:34:07 +02:00
Damián Paranič
4ba722f8c3
Merge branch 'main' into fix/media-library-multiple-selection 2023-06-02 12:39:13 +02:00
Gustav Hansen
41885fdd3d Merge branch 'main' into chore/react18 2023-06-01 12:50:17 +02:00
Damián Paranič
921456f9ee
Merge branch 'main' into fix/media-library-multiple-selection 2023-05-23 16:18:13 +02:00
Josh
e233d8afdc
feat: introduce useClipboard hook to remove dependency (#16751) 2023-05-23 08:43:35 +01:00
Damián Paranič
6bf318637b Fix: select all when another folder content is already selected 2023-05-22 17:57:44 +02:00
Paul Tiedtke
301e0706b8 chore: upgrade libs to react 18 and fix tests
chore: update snapshots

chore: fix fe tests

chore: update snapshot

Revert "revert react18 (#16793)"

This reverts commit 141d3675ab2c9a8c16eff26406bebef50ecce4c5.
2023-05-22 15:33:31 +01:00
Josh
141d3675ab
revert react18 (#16793) 2023-05-22 12:23:24 +01:00
Josh
bdd0c462a1
chore: update to react18 (#16701)
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de>
2023-05-18 09:41:59 +01:00
Josh
4134c0e33b refactor: colocate code in helper-plugin features for clearer view
refactor: move Notification logic into helper-plugin

refactor: wip

fix: typo

chore: fix tests

chore: ensure contexts are still exported

Update packages/core/helper-plugin/src/features/OverlayBlocker.js

Update packages/core/helper-plugin/src/features/AutoReloadOverlayBlocker.js

Co-Authored-By: Gustav Hansen <gustav.hansen@strapi.io>
2023-04-26 09:06:18 +01:00
Josh
4fff8c4b04 chore: move helper-plugin folder to just src 2023-04-20 08:37:52 +01:00