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

improve link integrity popup #6516

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Conversation

giuliaghisini
Copy link
Contributor

@giuliaghisini giuliaghisini commented Dec 6, 2024

fixed and improved link integrity popup when deleting item/items from folder contents.
Moved all code in a separate component 'ContentsDeleteModal'.

Added loader when loading references. If the call to @linkintegrity took a long time to load, it wasn't clear to the user that it was checking for broken references:

loading

If only one item is selected to delete, it will display all the possibile broken references in a table, instead in a list. In the last column could be more than one reference:
1-selected-item

If more than one item is selected to delete, it will not display the possibile broken references, but only the number, because it will be a very long list (It worked like that before too):
more-than-one-selected

Copy link

netlify bot commented Dec 6, 2024

Deploy Preview for plone-components canceled.

Name Link
🔨 Latest commit 437c4ee
🔍 Latest deploy log https://app.netlify.com/sites/plone-components/deploys/67584591a7f2b50008241067

@giuliaghisini giuliaghisini changed the title feat: improve link integrity popup improve link integrity popup Dec 6, 2024
Copy link
Collaborator

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

I only reviewed the message strings and defaults. This still requires a technical review. But it looks pretty good.

packages/volto/locales/volto.pot Outdated Show resolved Hide resolved
packages/volto/locales/volto.pot Show resolved Hide resolved
Copy link
Collaborator

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

Messages only approved. Still requires technical review.

@sneridagh
Copy link
Member

@giuliaghisini we merged #6509 so now importing from barrel files in core is not allowed anymore, so expect some ESlint failures. Could you please update the PR accordingly? Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this file (maybe we should gitignore *.local files? @sneridagh )

Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

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

@giuliaghisini Nice improvements, thank you.

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.

5 participants