* add the message when there are not releases in the Add to releases modal with a button to the releases list page
* fix review comments
* apply review comments
* first implementation details page
* refactor code based on comments received
* move the countDays function inside the ReleaseDetails page
* fix unit tests for the Details page
* add padding bottom heading
* fix type errors
* integrate new fields to the Details page
* fix types
* change the way we handle the timepassed since release creation
* fix unit test
* fix review comments
* unit test control table content
* fix review comments
* remove mocking useParams
* refactor provideTags and invalidateTags
* improves in rtk tags and createdBy type
* fix last review comments
* increase warning timeout to solve issues with unit tests
* add AnErrorOccured content if we have errors
* fix type error
* fix condition
* remove new line
---------
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
* refactor(admin): move to use slice over reducer
* refactor(admin): theme into redux
* refactor(admin): remove Admin context
* chore: move api tokens context to its edit view
* chore: move injection zones up to appropriate folders
we never use shared anyway.
* chore: move Configuration to single feature file
* refactor(admin): move language to redux
* chore: add tests for redux slice
* feat: updated useDragAndDrop hook to enable DND for blocks where path is not a number but number[], wrapped renderElement with Dnd component to have ability to move blocks around in editor
* fix: useDragandDrop hook updated to accept number[] for moving heirarchy of nodes, cmd/ctrl + shift + up/down arrow to move blocks around using keyboard, set live text on moving blocks for accessibility
* fix: when node is dragged downwards inside list convert it to list-item
* fix: index type updated
* style: margin added to preview block as droppable area needs some height to drop the item
* refactor: updated context, code optimisation, added necessary comments
* docs: updated use-drag-and-drop hook doc
* fix: type NonSelectorBlock
* Revert "fix: type NonSelectorBlock"
This reverts commit c3cb3c15442ba0008c650cbe38e993b0aa44817c.
* fix: block value type
* fix: type of onMoveItem() in useKeyboardDragAndDrop
* fix: selection issue resolved, ondragstart styling updated, grab cursor added back, missing comments added
* update: VisuallyHidden with aria-hidden attr added
* fix: minor fix
* update: link block dropped from dnd, test cases updated
* fix: if list node is empty after dragging remove it, drag handle aligned at the start
* update: link is inline block so skip wrapping dnd component
* Update: comment
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
* fix: types updated, disabled state managed for drag item
* update: IconButton is used for drag handler, refered getAttributesToClear from utils
* update: on drop blocks are moved, updated useDragAndDrop hook and related changes, instead of blue line showing border box around drop target for now
* update: canDrag, canDrop options removed, as its not required for onDropItem()
* fix: dragging is enabled only on drag button
* fix: quote block padding and margin reduced
* update: useDragAndDrop hook doc
* update: useDragAndDrop hook doc with onDropItem usage
* update: drop placeholder added
* fix: missing condition check added
* update: useDragAndDrop hook doc
* update: useDragAndDrop and useKeyboardDragAndDrop hook converted to TS, styling changes related to list and quote
* fix: types updated for useDragAndDrop hook, tooltip disabled for drag button
* fix: mock event typecasted as its not possible to add all required props for type event
* fix: deleted useDragAndDrop js file
* fix: drag handle is made visible on hover, hide on selection change
* fix: history undo
* fix: dragging block into list-item, drop item at right position
* fix: placeholder margin adjusted for list items
* fix: cloned drag item extracted
* fix: dragging list-item out of block downward
* chore: refactor dnd hook to use generics (#18994)
* fix: required block types exported, manual id creation replaced with useId
* update: drag handle top margin added for few headings
* fix: extended useDropAndDropOptions callback types, comments updated
* fix: drag handle top margin added for all required blocks, selection bug fixed
* fix: reordering between different list-items
---------
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>