Commit Graph

225 Commits

Author SHA1 Message Date
Filip Ónodi e7772d621e feat(i18n): update and create Slovak translations (#25831)
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2026-05-26 15:10:41 +03:00
Rémi de Juvigny 2f7d43a933 feat: add preview support to images and videos (#25216)
Co-authored-by: Rémi de Juvigny <remidej@users.noreply.github.com>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Adrien L <3693028+Adzouz@users.noreply.github.com>
2026-05-11 10:46:34 +02:00
Filip Ónodi 4ccaab3c74 enhancement(translations): update czech translations (#25824)
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2026-04-24 11:11:48 +03:00
Ben Irvin 7786d4dcde fix: feature works and rename addBodyParams to addInputParams (#25552)
* fix: add params actually works

* fix: rename addInputParams

* test: fix register timing

* chore: update getstarted

* test(api): remove ai comment

* revert: do not merge in type unneccessarily

* revert: do not add type to route
2026-02-25 17:34:56 +01:00
Ben Irvin 79a590a581 security(feat): add strictParam, addQueryParams, addBodyParams (#25528) 2026-02-24 13:51:33 +01:00
Leonid Vinogradov 7779a85431 chore: remove unused imports from react and @strapi/design-system (#25222) 2026-01-21 10:02:45 +01:00
Araksya Gevorgyan 00380841fe feat(i18n): update all translatable content (#24658)
feat(i18n): update all translatable content
2025-10-27 11:58:25 +01:00
Rémi de Juvigny 0f18876860 future(i18n): trigger localization for complex fields (#24672)
* chore: restore complex attributes

(cherry picked from commit b278fe35b6)

* chore: add dynamic zone to about schema

(cherry picked from commit 09f2d1f056)
2025-10-24 09:33:41 -04:00
Rémi de Juvigny 75f50c957e Revert "chore: add dynamic zone to about schema"
This reverts commit 09f2d1f056.
2025-10-24 11:17:16 +02:00
Rémi de Juvigny 09f2d1f056 chore: add dynamic zone to about schema 2025-10-24 11:06:42 +02:00
Rémi de Juvigny dd0a18d252 future(i18n): trigger ai localizations (#24612)
future(i18n): trigger ai localizations
2025-10-20 15:45:22 +02:00
Lucas Boilly 1604b070bc chore: french admin ui (#23336)
Co-authored-by: Adrien L <thewebsdoor@gmail.com>
2025-10-15 13:45:06 +02:00
Rémi de Juvigny 4d11a277b5 enhancement: add unrelated data to dummy preview (#24380) 2025-09-16 03:55:35 -04:00
Rémi de Juvigny 79130900d1 future(preview): better highlight click handling and errors (#24322)
* feat: add content source maps service

* chore: refactor to fp and async.pipe

* chore: use header instead of query param

* fix: ignore polymorphic relations

* chore: add error handling

* fix: arrays of relations and medias

* enhancement(getstarted): show nested values in preview

* fix: update highlights when the dom changes

* fix: highlight dimensions after text update

* fix: strip away invisible characters from dom

* fix: don't encode slugs

* fix: handle fields in single components

* enhancement: add rawWithIndices to traverseEntity patj

* fix: handle components and repeatable components

* fix: strapi utils build

* fix: dynamic zones

* chore: use dots for array indices not brackets

* fix: content source map base url fallback

* chore: use URLSearchParams instead of URL

* chore: refinements

* test: fieldUtils testing

* fix: traverse-entity doc

* chore: add traverse-entity tests

* feat: scroll element into view on focus

* chore: make email clickable in dummy preview

* fix: single and double click behavior

* chore: use css hover instead of mouseenter

* enhancement: double click to edit notification

* fix: display translated errors

* fix: unit test

* fix: null blocks value

* enhancement: filter attributes in nested fields

* fix: prevent losing iframe pointer events after closing popover
2025-09-09 11:04:24 -04:00
Jan Fässler f0bfcece10 fix: saving deletion of optional components not working (#24317)
Co-authored-by: Mark Kaylor <mark.kaylor@strapi.io>
2025-09-05 17:57:01 +02:00
Rémi de Juvigny 57e5fcfee3 future(preview): keep highlights up to date on dom updates (#24216)
* feat: add content source maps service

* chore: refactor to fp and async.pipe

* chore: use header instead of query param

* fix: ignore polymorphic relations

* chore: add error handling

* fix: arrays of relations and medias

* enhancement(getstarted): show nested values in preview

* fix: update highlights when the dom changes

* fix: highlight dimensions after text update

* fix: strip away invisible characters from dom

* fix: don't encode slugs

* chore: mark feedback

* chore: rearrange observers
2025-08-28 08:14:27 -04:00
Rémi de Juvigny bcd95cff43 future(preview): add content source maps service (#24213)
* feat: add content source maps service

* chore: refactor to fp and async.pipe

* chore: use header instead of query param

* fix: ignore polymorphic relations

* chore: add error handling

* fix: arrays of relations and medias

* chore: marc feedback

* chore: use traverseEntity util

* fix: make backend unit test async

* chore: refactor types
2025-08-26 07:40:09 -04:00
Rémi de Juvigny f68a5f66ec future: create preview overlay div with highlights (#24127)
* chore: create overlay div

* enhancement: display highlight over data-strapi-source elements

* fix: highlight event listeners

* chore: simplify cleanup

* fix: mark feedback
2025-08-13 03:33:51 -04:00
Rémi de Juvigny 76b5b40aa1 future: set up preview injected script (#24111)
* chore: set up preview injected script

* fix: previewReady useEffect

* chore: unused var
2025-08-07 07:42:03 -04:00
Rémi de Juvigny 2a9b9b61cf chore: improve getstarted dummy preview page (#24091)
* chore: improve getstarted dummy preview page

* chore: adrien feedback
2025-08-04 10:42:46 -04:00
Bassel Kanso 3e666b1ad9 feat(content-manager): conditional fields (#23616)
* feat(content-manager): contional fields

* fix: remove logs

* fix: skip validation incase field has condition invisible

* chore: adding example

* chore: merge develop

* fix: filter out invisble fields

* test: add e2e tests

* fix: ensure that hidden fields are not validate or passed through at any point

* feat: add support for components and dz

* fix: saving relations on the fly

* fix: skipping test

* fix: dependencies

* feat: add support for Dynamic Zone

* fix: e2e tests

* feat(CTB): conditional fields (#23662)

* wip

* wip need to fix schema

* delete condition

* clean up

* feat: update condition form and related components, clean up logs, fix frontend

* fix: only add to the first section

* feat: add confirmation dialog and fixed UI

* chore: remove unused code

* chore: linting

* fix: display related filed names in warning dialog

---------

Co-authored-by: Bassel Kanso <bassel.kanso@strapi.io>

* fix: skip displaying hidden dynamic zone in history

* fix: ctb generate conditions for relation fields

* feat: add tracker for conditional field count (#23828)

* feat: add tracker for conditional field count

---------

Co-authored-by: Ziyi <ziyi.yuan@strapi.io>
2025-06-30 15:13:22 +03:00
Alexandre BODIN 4aa8ff0ba4 fix: issue #23572 support undefined allowed types 2025-05-28 09:57:12 +02:00
Den 93631651c3 fix: Error MISSING_TRANSLATION errors for locale 'ru' (#21575)
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Hannah Paine <151527179+hanpaine@users.noreply.github.com>
2025-04-30 14:41:37 +01:00
markkaylor 664f08e085 fix: onPreview is not called when updating a relation (#23122) 2025-03-12 13:22:52 +01:00
markkaylor 85d3789768 feat(preview): refresh iframe when strapi updates (#23024) 2025-03-03 16:54:22 +01:00
Ivan Malaniak 9a7418f343 enhancement: add missing Ukrainian translations for various plugins and components (#22150)
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2025-02-26 19:46:18 +02:00
Ben Irvin 5c1ae79cf1 fix: add max length to users-permissions password 2025-01-29 17:08:29 +01:00
Ben Irvin 2dcec09530 chore: comment out getstarted log (#22327) 2024-12-03 13:29:01 +01:00
Rémi de Juvigny 3827154d28 chore: add json data to dummy preview (#22243) 2024-11-25 03:37:44 -05:00
Marc Roig f4ec69568d chore: dummy preview page on getstarted (#22137)
* chore: dummy preview

* feat: update preview route

* Update examples/getstarted/src/admin/preview/dummy-preview.jsx

Co-authored-by: markkaylor <mark.kaylor@strapi.io>

* Update examples/getstarted/src/admin/preview/dummy-preview.jsx

Co-authored-by: markkaylor <mark.kaylor@strapi.io>

* fix: register as named export

* fix: register as named export

* fix: remove unnecessary brackets

---------

Co-authored-by: markkaylor <mark.kaylor@strapi.io>
2024-11-13 14:55:21 +01:00
Fernando Chávez 906f82d718 feat(content-manager): integrate review workflows with releases (#21882)
* feat(review-workflows): adding required stage for publishing (#21380)

* feat(review-workflows): adding required stage for publishing

* fix(review-workflows): fixs on rw required stage

* fix(review-workflows): selected required stage when stage name changed

* fix(review-workflows): bug when creating new rw

* feat(review-workflows): check entry stage before publish (#21400)

* feat(content-releases): add stage check to releases details page (#21497)

* feat(content-releases): add stage check

* fix(content-releases): apply suggestions on releases x review workflows

* feat(content-releases): considered review stage when getting the action status (#21612)

* feat(content-releases): considered review stage when getting the action status

* fix: apply changes to reviewWorkflows on schema

* fix: add api test for review workflows publish stage

* fix: api tests

* fix: validation message errors (#21878)

* feat: add workflowId & hasRequiredStageToPublish to workflows metrics events (#21897)

* fix(content-releases): skip flaky test

* fix: update accessible name in history.spec.ts

---------

Co-authored-by: Mark Kaylor <mark.kaylor@strapi.io>
2024-11-04 10:18:40 +01:00
Alexandre Bodin ef6302898c chore: allow loading language files as js 2024-09-19 12:09:56 +02:00
Alexandre Bodin b5354baf37 fix: checks 2024-09-18 13:56:47 +02:00
Alexandre Bodin 0faf896735 fix: cm validation logic is broken 2024-09-18 10:17:59 +02:00
Jean-Sébastien Herbaux ee2f2d6535 Fix Vite HMR Server Restart (#20617) 2024-06-25 14:56:54 +02:00
Rémi de Juvigny f09eabe242 feat: customize localization label actions in history (#20407)
* fix: label actions on history relations

* feat: display custom label action

* chore: use cloneElement

* fix: globe icon showing on on non localized cts

* chore: add todo comment

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>

* fix: typo in translation

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-06-03 04:37:37 -04: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
Josh 5d000fb33c chore: upgrade to DS 2.0.0-beta.2 (#20151) 2024-04-25 16:17:23 +01:00
Josh e188aac623 Merge branch 'develop' into v5/main 2024-04-08 15:21:08 +01:00
Alexandre Bodin 2bcdab485d feat: support media deept filtering & relation shortcut filters 2024-04-03 12:43:12 +02:00
Josh 94f313a12e chore: move CM admin to own package (#19929)
* chore: initiate moving CM to own package

* chore: refactor to handle routes

* chore: init review-workflows-package

* chore: fix build

* chore: refactor review-workflows fe

* chore: fix unit suite

* chore: spelling mistake

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

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2024-03-28 13:26:44 +00:00
Simone c46976a9da chore(helper-plugin)!: remove prefixPluginTranslations (#19845) 2024-03-19 16:33:46 +00:00
Josh 98ecaa5093 feat: add drag-and-drop to relations (#19788)
* feat: add drag-and-drop to relations

Co-Authored-By: Marc Roig <20578351+Marc-Roig@users.noreply.github.com>

* chore: spelling mistakes

* chore: fix mainField accessing

* chore: remove comment code

Co-Authored-By: Marc Roig <marc12info@gmail.com>

---------

Co-authored-by: Marc Roig <20578351+Marc-Roig@users.noreply.github.com>
Co-authored-by: Marc Roig <marc12info@gmail.com>
2024-03-15 15:16:35 +00:00
Marc Roig fc1ac2acd5 feat: disable dp by default (#19743) 2024-03-13 14:08:07 +01:00
Josh a8498df926 feat(cm): reimplement relations for draft & publish (#19642)
* feat(content-manager): Rework findAvailable and findExisting (#19597)

* feat(content-manager): wip rework findAvailable and findExisting

* chore(strapi): simplify relations controller

* feat(content-manager): entity Id based find available

* feat(content-manager): entity Id based find existing

* fix(content-manager): build issues

* chore(content-manager): cleanup

* fix(content-manager): relations controllers unit tests

* fix(content-manager): improve error handling

* fix(content-manager): simplify findExisting relations logic

* fix(content-manager): clean up types

* fix(content-manager): extend available relation API tests

* fix(content-manager): pr feedback

* feat(content-manager): cover find existing test cases

* feat(content-manager): test that we can only find available relations in the same locale

* fix: wip fix unit tests

* chore(content-manager): pr feedback

* fix(content-manager): use db layer to find relations

fix(content-manager): failing relations tests

* fix(content-manager): find relations test

* fix(content-manager): build issues

* fix(content-manager): return latest status of relations in findAvailable (#19681)

* fix(content-manager): return latest status of relations in findAvailable

* fix(content-manager): share logic for findAvailable and findExisting

* fix(admin): relation tests

* fix(content-manager): clean up types

* fix(content-manager): support status for find exisiting

* fix(content-manager): add status and locale filters to subQuery

* fix(content-manager): ts front and skip relations unit tests

* fix(content-manager): request specific status or get latest using document-metadata

* chore(content-manager): use interface

* fix(content-manager): tidy up target relation subquery

* fix(content-manager): tidy up and skip TS for build issues

* fix(content-manager): return status when requested

* chore(content-manager): dont re type entity service response

* fix(content-manager): use document metadata getManyAvailableStatus

* chore(content-manager): remove mapAsync

* feat: implement relations in the cm (#19702)

* Fix: Relating i18n and non-i18n content types (#19731)

* chore: re-enable e2e relation tests

* fix: return undefined

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
Co-authored-by: Marc-Roig <marc12info@gmail.com>
2024-03-13 10:25:47 +00:00
Josh 51e6287693 chore: refactor CM, CTB & i18n to accomodate option D&P (#19712)
* chore: re-implement option in ctb

* chore: refactor CM & i18n to accomodate option D&P

* test(unit): add test to ensure status is not in EditView header when we dont pass the prop

* chore: remove unused import

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

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2024-03-11 15:16:41 +00:00
Josh 4f4e3c3acd feat(cm): D&P pt2 (#19380)
* feat: return metadata on content manager endpoints (#19361)

* feat: return metadata on content manager endpoints

* feat: return meta

* fix: cm tests

* feat: fix cm metadata api tests (#19375)

* feat: return metadata on content manager endpoints

* feat: return meta

* fix: cm tests

* fix: admin test

* chore(cm): refactor CM (#19341)

* chore(cm): refactor EditView

comes with a host of new re-usable APIs!

* feat(cm): add useDocument hook

* feat(cm): add useDocumentOperations hook

* feat(cm): initialise EditView header

* feat(cm): add useDocumentLayout hook

* fix: listView from layout refactor

* chore(cm): refactor editview form input renderer

* chore: fix lint & ts

* fix: re-add custom fields

* test: fix admin/CM unit tests

* docs(cm): add docs at a high level of how the CM works

* test: add useDocumentRBAC tests

* chore: pr amends

* feat: add addEditViewSidePanel API to strapi (#19398)

* feat: add addEditViewSidePanel API to strapi

fix: don't pass all the query params to the create route

* chore: pr amends

* fix: return available status when content type doesnt have i18n enabled (#19419)

* fix: return available status when content type doesnt have i18n enabled

* chore: remove comment

* fix(cm): list view & build process

* feat: save and publish

* feat: update contract

* feat: dp tests

* chore: use document from create and update

* feat: save and publish single types

* feat: return metadata on content manager endpoints (#19361)

* feat: return metadata on content manager endpoints

* feat: return meta

* fix: cm tests

* feat: fix cm metadata api tests (#19375)

* feat: return metadata on content manager endpoints

* feat: return meta

* fix: cm tests

* fix: admin test

* chore(cm): refactor CM (#19341)

* chore(cm): refactor EditView

comes with a host of new re-usable APIs!

* feat(cm): add useDocument hook

* feat(cm): add useDocumentOperations hook

* feat(cm): initialise EditView header

* feat(cm): add useDocumentLayout hook

* fix: listView from layout refactor

* chore(cm): refactor editview form input renderer

* chore: fix lint & ts

* fix: re-add custom fields

* test: fix admin/CM unit tests

* docs(cm): add docs at a high level of how the CM works

* test: add useDocumentRBAC tests

* chore: pr amends

* feat: add addEditViewSidePanel API to strapi (#19398)

* feat: add addEditViewSidePanel API to strapi

fix: don't pass all the query params to the create route

* chore: pr amends

* fix: return available status when content type doesnt have i18n enabled (#19419)

* fix: return available status when content type doesnt have i18n enabled

* chore: remove comment

* fix(cm): list view & build process

* feat: add publish & update action (#19423)

* feat: return metadata on content manager endpoints (#19361)

* feat: return metadata on content manager endpoints

* feat: return meta

* fix: cm tests

* feat: fix cm metadata api tests (#19375)

* feat: return metadata on content manager endpoints

* feat: return meta

* fix: cm tests

* fix: admin test

* chore(cm): refactor CM (#19341)

* chore(cm): refactor EditView

comes with a host of new re-usable APIs!

* feat(cm): add useDocument hook

* feat(cm): add useDocumentOperations hook

* feat(cm): initialise EditView header

* feat(cm): add useDocumentLayout hook

* fix: listView from layout refactor

* chore(cm): refactor editview form input renderer

* chore: fix lint & ts

* fix: re-add custom fields

* test: fix admin/CM unit tests

* docs(cm): add docs at a high level of how the CM works

* test: add useDocumentRBAC tests

* chore: pr amends

* feat: add addEditViewSidePanel API to strapi (#19398)

* feat: add addEditViewSidePanel API to strapi

fix: don't pass all the query params to the create route

* chore: pr amends

* fix: return available status when content type doesnt have i18n enabled (#19419)

* fix: return available status when content type doesnt have i18n enabled

* chore: remove comment

* feat: add publish & update action

* feat: add published disabled state

* test: fix suite

* test: add unit for Panels

* fix(cm): status not state for redirect

* fix(cm): list view status & component main field property

* chore: pr feedback

* chore: apply suggestions

Co-authored-by: markkaylor <mark.kaylor@strapi.io>

---------

Co-authored-by: Marc Roig <marc12info@gmail.com>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>

* feat: test single types

* feat: wrap single type publish into a transaction

* feat(cm): add unpublish & delete actions, also re-enable single-types (#19459)

* fix: delete url was wrong way round

* feat: compute modified status

* fix(cm): reimplement ListSettingsView (#19432)

* chore: PR feedback

* feat: discard endpoint

* feat: discard draft api tests

* feat: unpublish and discard

* chore: pr comments

* chore: update sanitizer

* feat(cm): add publish and save (#19500)

* feat(cm): add publish and save

* test(cm): fix unit for useDocumentActions

* Update packages/core/content-manager/server/src/controllers/collection-types.ts

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

* Update packages/core/content-manager/shared/contracts/single-types-v5.ts

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

* feat(document-service): map document ID to entry ID (#19248)

* feat: use document service in content manager

* feat: update contracts with meta information

* chore: group metadata types into a single type

* feat: metadata information in single types

* chore: change meta contract to return documents instead of strings

* fix: remove unused type

* fix: ignore doc id if entry is null

* fix: update contract metadata

* feat: document metadata service

* feat: locale and status filtering

* chore: add comment

* chore: refactor metadata service

* chore: refactor entity manager exists to handle single types

* feat: refactor single type controllers to use documents

* feat: get locale param from in cm endpoints

* Revert "feat: get locale param from in cm endpoints"

This reverts commit 856c38588b.

* feat: get locale param from cm endpoints

* Update packages/plugins/i18n/server/src/controllers/validate-locale-creation.ts

Co-authored-by: Ben Irvin <ben@innerdvations.com>

* fix: entity manager unit tests

* chore: unit test document metadata

* feat: prevent empty string locale filtering

* fix: cm contract import

* chore: test new d&p cm features

* fix: search content manager api test

* fix: cm tests

* fix: cm tests

* fix: cm tests

* fix(content-manager): access to non default locale documents (#19190)

* fix(content-manager): access to non default locale documents

* chore(content-manager): revert route construction

* fix(content-manager): api tests for number of draft relations

* test(content-manager): counting number of draft relations for non default locales

* chore(content-manager): remove default locale from entity manager countDraftRelations

* chore: basic relations testing for document service

* chore(e2e): disable edit view tests (#19235)

* feat: get relation ids

* chore: clean functions into other folders

* chore: rename files

* fix: group document ids by its uid

* feat: id mapper

* chore: improve typings

* chore: rename transform functions

* fix: id-transform tests

* chore: simplify function return value

* chore: improve comments

* fix: api tests

* fix: single types unit test

* fix: skip relations test

* fix: exclude fields

* fix: short hand ifs

* fix: merge conflict

* fix: transform output of find one

* Update packages/core/core/src/services/document-service/transform/utils.ts

Co-authored-by: Ben Irvin <ben.irvin@strapi.io>

* feat[Document Service]: Param transformation (#19373)

* fix(core): wip param transformation

* feat(core): wip param transformation based on relational status

* feat(core): wip populate and filter transformation based on relational status

* chore(core): simplify fields and sort

* chore(core): clean up

* feat(core): wip filter transformation with traverseQueryFilters

* feat(core): reorganise and PR feedback

* fix(core): filters traversal logic

* feat(core): populate relational transformations

* chore(core): reintroduce populate transformation

* fix(core): enforce that fields must include id

* fix(core): enforce that fields must include id

* fix(core): filter and sort transformation

* chore(core): typos

* chore(core): further filters test cases

* feat(core): support object based sorts

* chore(core): fields test naming

* feat(core): handle logical operators in filters

* fix: skip conditions test

* fix(core): switchIdForDocumentId (#19497)

* fix: uniqueness test

* fix: available status should be an array

* fix: available statuses

* fix: skip uniqueness folder

* fix: skip uniqueness test errors

* fix: skip failing test

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>

* chore: re-implement edit configuration (#19488)

* chore: re-implement edit configuration

* chore: cleanups

* test: fix unit tests

* feat(cm): add discard changes action (#19509)

* feat(cm): add discard changes action

* feat(cm): add discard when unpublishing

* test(e2e): fix editview e2e

* test(e2e): fix uniqueness partially

* test(unit): fix unit tests for actions & add for discard

* chore: bump playwright

* fix(webkit): add shim for requestIdCallback

* chore: pr amends

* feat: return status on available locales

* feat: add document-actions to list-view (#19523)

* fix(cm): add gap and alignment for edit-view heading with super long names

* fix(cm): list view status'

* feat: add list-view actions

* fix: conditions for actions to be enabled

* fix: stay on draft tab when published

* fix: stop propogation on list-view row click

* test(e2e): fix editview tests

* chore: update spelling error

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

---------

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

* feat: test document metadata

* chore: remove unnecessary unit test

* fix: return modified on published documents

* chore: init split single-type collection-type in document service

* Fix/fields test case (#19481)

* Update packages/core/content-manager/server/src/services/document-metadata.ts

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

* fix: pretty

* chore: refactor middlewares

* feat: send empty object if locale does not exist on document

* feat: single types

* chore: add tests to middlewares

* feat: update locale using query params (#19546)

* feat: return available locales when not finding locale

* chore: update typings

* feat: add clone action (#19526)

* feat: add clone action

* test(e2e): add auto clone tests

* chore: pr amends

* feat: add information to header actions menu (#19548)

* feat: add information to header actions menu

* fix: dont use non-null-assertion

* feat: manage relations on publish (#19427)


---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>

* feat: v5 i18n relations (#19504)


Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>

* fix: locale test api

* chore: refactor i18n (#19555)

* chore: remove types package, should be using strapi

* chore: refactor i18n settings page

* feat: add i18n to CM

* feat(i18n): add delete locale action (#19562)

* chore: pr amends

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

---------

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

* feat(cm): re-implement validation (#19578)

* feat: re-implement validation in the CM

feat: add blocker

feat: handle validation errors from the API

chore: reimplement useFieldHint

test(unit): fix fe tests

chore: fix bad logical operator

* chore: await notifications to leave before trying to go to other pages

* fix: validation issues & blocker showing up incorrectly

* fix: broken publish behaviour

* fix(content-manager): uid availability and generation (#19518)

* fix(content-manager): uid availability and generation

* fix(content-manager): pass locale as is from UID service

* fix(content-manager): match UIDs based on startsWith

---------

Co-authored-by: Marc Roig <marc12info@gmail.com>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-authored-by: Simone <startae14@gmail.com>
2024-02-22 17:18:32 +00:00
Josh cc1043c512 feat: update to react-router-dom@6 (#19184) 2024-01-15 11:13:36 +00:00
Josh d402c40cae Merge branch 'develop' into v5/main 2024-01-11 15:52:47 +00:00
Josh a3690b16a3 feat: add vite (#18697)
* feat: add vite

* fix: CheckPagePermissions was buggy

* fix: vite CJS warning & double print of experimental message

* chore: move to use plugins-workspace folder

* chore: update deps

---------

Co-authored-by: Paul <45032974+hide-me@users.noreply.github.com>
2024-01-11 14:14:25 +00:00