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

Merged
merged 10 commits into from
Dec 11, 2024
Merged

improve link integrity popup #6516

merged 10 commits into from
Dec 11, 2024

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.

@sneridagh sneridagh merged commit be462d2 into main Dec 11, 2024
68 checks passed
@sneridagh sneridagh deleted the improve_link_integrity_popup branch December 11, 2024 16:32
sneridagh added a commit that referenced this pull request Dec 12, 2024
* main:
  Fixed types declaration extractor from Volto core, re-enable it on release (#6534)
  Release 18.3.0
  Release @plone/slate 18.0.4
  Release @plone/helpers 1.0.0
  Make helpers release-able
  Release @plone/registry 2.2.0
  Release @plone/components 3.0.0
  Release @plone/types 1.1.0
  [slots] @plone/slots first developments (#6409)
  improve link integrity popup (#6516)
  Add missing styleWrapper style builder information in container/Grid (#6527)
  update: skip scroll to top on inital SSR completion. (#6523)
  Release 18.2.3
  Fixed circular import error in dev with HMR in core Views and Widgets shadow customizations (#6526)
  Release 18.2.2
  Fixed circular import error in dev with HMR in core Blocks shadow customizations (#6525)
  Release 18.2.1
  Release @plone/slate 18.0.3
  Fixed circular import error in dev with HMR in `App` component when imported in the main default config (#6524)
  Update @plone/* packages info (#6521)
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