-
-
Notifications
You must be signed in to change notification settings - Fork 657
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
PLIP: Link Integrity View #4339
Comments
Superbe idea! |
The related items are not even shown at the end of the contents view, as in Plone Classic: |
Notes from Beethoven Sprint 2023 (Albert):
DiscussionMocks: |
@jaroel @jackahl @sneridagh @davisagli this is just an FYI of the current status of the "link integrity view" in Volto 17:
For the keynote tomorrow, I will just show the view. This is not ready to be shipped in a major release IMHO. |
Needs investigation; just a guess: maybe there are some adapters needed for linkintegrity which are registered for IContentish, which the site root does not provide.
tl;dr: this one is tricky. The sections are based on the types of relationships stored in the relation catalog. All links found by plone.app.linkintegrity are stored with the "isReferencing" type. Custom RelationChoice fields can use other relation types. So, we aren't currently tracking the information needed to group links by what type of block they came from. "LINKING THIS ITEM WITH HYPERLINK IN TEXT" is simply an incomplete description of what is included in the isReferencing relation type. It's more like "links from blocks", except that's of course not a user-friendly way to explain it. We probably need more discussion about what UX is needed here. If we need to group the links by block type then it will require deeper changes to plone.app.linkintegrity.
This is supposed to already be working. What versions of plone.restapi and plone.volto do you have?
I'm not sure what this is for either. @ksuess I think you added it, can you explain the use case? |
|
Any idea where does the current (working for Page objects) relation related logic reside? |
|
When I unremove |
plone/Products.CMFPlone#3833 is relevant. |
My focus is on custom relations. Therfore a link to the panel where relations can be managed/created/modified/deleted is usefull. |
@jaroel @sneridagh @davisagli I am writing the Plone roadmap for Plone 6.x and beyond and I am not able to find the PR that introduces the new "link integrity" view that is reachable when clicking on the "..." in the Volto menu. Grepping for "link integrity" in the changelog: https://github.com/plone/volto/blob/main/packages/volto/CHANGELOG.md or looking for closed PRs did not do the trick: https://github.com/plone/volto/pulls?q=is%3Apr+is%3Aclosed+link+integrity Am I missing something here? |
Thanks @davisagli! |
@stevepiercy I am working on the Plone 6.x roadmap and I would include links to the documentation of a feature. @pgrunewald added proper docs to Volto in his PR: I would like to include a link to the official Plone 6.1 docs if possible. However, I guess we do not generate them yet, correct? @pgrunewald do I remember correctly that you worked on this during Beethoven Sprint last year together with @danalvrz? I'd like to give people proper credit in our roadmap document. |
@stevepiercy ok, I found the link to the docs: https://6.docs.plone.org/volto/user-manual/links-to-item.html Though, I realized a problem here; In the Volto 17 readme, we link to the Plone 6 docs: https://www.npmjs.com/package/@plone/volto/v/17.2.0 The new feature from Volto 17 and Plone 6.1 is included. However, people who read the docs might expect this feature to be present in Plone 6. I understand that it is lots of work to keep docs for the major Plone versions in shape. I just wanted to point this out when I realized it. |
@sneridagh @plone/volto-team I guess we can close this PLIP as completed, do you agree? |
@tisto https://6.docs.plone.org/ is the official site for all Plone 6 docs. We are so far behind converting 5.2 docs to 6, and too few people working on docs, that forging ahead with a |
@stevepiercy @tisto I started a PR to mention what version the feature was added, but I have some questions about how to cover it properly: #5756 |
@tisto |
This was completed for Plone 6.1: https://6.docs.plone.org/volto/user-manual/links-to-item.html |
PLIP (Plone Improvement Proposal)
Responsible Persons
Proposer: Timo Stollenwerk
Seconder:
Abstract
Plone (Volto) should provide a dedicated view to show all items that are connected with a particular content object.
Motivation
Volto provides a link integrity view that shows relations and links that would break when deleting the object:
Though, this overlay only shows up when the editor tries to delete an item. Editors usually hesitate to press the delete-button, just to check.
Assumptions
Proposal & Implementation
Implement a dedicated view "related items" that is added to the "..." menu in Volto that shows a list of all content objects that reference the current object.
Deliverables
Risks
Participants
Relation Types
UX Questions / Tasks
The text was updated successfully, but these errors were encountered: