Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRISTAL-83: Basic Move/Rename is possible #610

Merged
merged 8 commits into from
Jan 27, 2025
Merged

CRISTAL-83: Basic Move/Rename is possible #610

merged 8 commits into from
Jan 27, 2025

Conversation

pjeanjean
Copy link
Contributor

Jira URL

https://jira.xwiki.org/browse/CRISTAL-83

Changes

Description

  • Introduce PageRenameManager
  • Implement PageRenameManager for FileSystem
  • Add move() operation to storage
  • Add move and rename page actions
  • Small improvements to the navigation trees

Clarifications

This only supports FileSystem so far.
The PageRenameManager service currently does not do much, but will be improved later to support refactoring operations.
The Delete page action was slightly updated to add a "Cancel" button, to be more aligned with the new actions.

Screenshots & Video

image
image
image
image

Executed Tests

N/A

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • N/A

* Introduce PageRenameManager
* Implement PageRenameManager for FileSystem
* Add move() operation to storage
* Add move and rename page actions
* Small improvements to the navigation trees
api/src/api/storage.ts Outdated Show resolved Hide resolved
* Improve documentation
* Use classes instead of ids when possible
* Remove !important
* Handle move edge cases when preserving children
* Render shoelace dialogs over the sidebar
Copy link
Contributor

@manuelleduc manuelleduc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working of this. I've made a few comments that we need to address before merging but looks good overall.

pjeanjean and others added 4 commits January 27, 2025 11:42
* Update core/page-actions/page-actions-ui/langs/translation-en.json

Co-authored-by: Manuel Leduc <[email protected]>
* Update core/page-actions/page-actions-ui/langs/translation-en.json

Co-authored-by: Manuel Leduc <[email protected]>
@manuelleduc manuelleduc merged commit c7c0c13 into main Jan 27, 2025
3 of 5 checks passed
@manuelleduc manuelleduc deleted the CRISTAL-83 branch January 27, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants