Skip to content

Add bulk actions for rename, workflow, tags, and properties management#110

Open
nils-pzr wants to merge 7 commits into
mainfrom
108-contents_action_buttons
Open

Add bulk actions for rename, workflow, tags, and properties management#110
nils-pzr wants to merge 7 commits into
mainfrom
108-contents_action_buttons

Conversation

@nils-pzr

@nils-pzr nils-pzr commented Jun 9, 2026

Copy link
Copy Markdown

closes #108


📚 Documentation preview 📚: https://plone-aurora--110.org.readthedocs.build/

@nils-pzr nils-pzr linked an issue Jun 9, 2026 that may be closed by this pull request
7 tasks
@nils-pzr nils-pzr requested review from pnicolli and stevepiercy June 9, 2026 09:30

@stevepiercy stevepiercy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is amazing documentation! Thank you! Thank you! Thank you!

I made a few suggestions, some of which need your verification. Would you please take care? Thank you, again!

Comment thread docs/how-to-guides/manage-folder-contents-in-bulk.md Outdated
Comment thread docs/how-to-guides/manage-folder-contents-in-bulk.md Outdated
Comment thread docs/how-to-guides/manage-folder-contents-in-bulk.md Outdated
Comment thread docs/how-to-guides/manage-folder-contents-in-bulk.md Outdated
Comment thread docs/how-to-guides/manage-folder-contents-in-bulk.md Outdated
Comment thread docs/how-to-guides/manage-folder-contents-in-bulk.md Outdated
Comment thread docs/how-to-guides/manage-folder-contents-in-bulk.md Outdated
Comment thread docs/how-to-guides/manage-folder-contents-in-bulk.md Outdated
Comment thread docs/how-to-guides/manage-folder-contents-in-bulk.md
Comment thread docs/how-to-guides/manage-folder-contents-in-bulk.md Outdated

@stevepiercy stevepiercy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for making the changes. I have a couple more changes, and let's get that folder icon inline.

Comment thread docs/how-to-guides/manage-folder-contents-in-bulk.md Outdated
Comment thread docs/how-to-guides/manage-folder-contents-in-bulk.md Outdated
@stevepiercy

Copy link
Copy Markdown
Contributor

Side note, I see that the readme linkcheck is failing for the renamed demo site, but I assume we can ignore that for now, as it will eventually be live. Can someone at the sprint confirm?

https://aurora.demo.plone.org/

@pnicolli

pnicolli commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Side note, I see that the readme linkcheck is failing for the renamed demo site, but I assume we can ignore that for now, as it will eventually be live. Can someone at the sprint confirm?

https://aurora.demo.plone.org/

@stevepiercy yes, @fredvd is working on it at the sprint

@nils-pzr nils-pzr requested a review from stevepiercy June 12, 2026 11:34

@pnicolli pnicolli left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Overall very good, thanks! Just a couple notes.


const workflowPath = `${validatedArgs.path}/@workflow/publish`;
const workflowPath = `${validatedArgs.path}/@workflow/${
validatedArgs.transition ?? 'publish'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I would not make this optional in the schema and would not have a fallback here. Thoughts @sneridagh ?

@sneridagh sneridagh Jun 12, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@pnicolli certainly not optional, and clearly an overlook from the original implementation. However, now I am confused. It's createXXX because it's POST? We are not creating a workflow, right? meh... we should review some of the names, although now I remember that the policy was to match the plone.restapi naming schema so one can relate to what endpoint makes reference.

No fallback either, it has no sense (again from the original implementation).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yeah then let's remove the optional and the fallback and make the transition parameter mandatory, and let's discuss possible renaming later.

icon: <PropertiesIcon />,
};
showToast(toast);
revalidate();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is this needed? I see I did not need to manually revalidate in the UploadModal. Revalidating can usually be triggered by the backend action the fetcher is submitting to

icon: <RenameIcon />,
};
showToast(toast);
revalidate();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Same question as above, marking this as well so we miss instances

icon: <TagIcon />,
};
showToast(toast);
revalidate();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Same question as above, marking this as well so we miss instances

icon: <StateIcon />,
};
showToast(toast);
revalidate();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Same question as above, marking this as well so we miss instances

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.

Implement contents action buttons: Rename, Change state, Tags, Properties

5 participants