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

Add missing icon #222

Merged
merged 5 commits into from
Sep 2, 2024
Merged

Add missing icon #222

merged 5 commits into from
Sep 2, 2024

Conversation

gforcada
Copy link
Member

@gforcada gforcada commented Feb 6, 2024

I'm testing the upgrade to Plone 6 and noticed that on the toolbar when editing a comment the view action was missing an icon.

This fixes it.

That would require an upgrade step, should I add it here or on plone.app.upgrade? 🤔

@mister-roboto
Copy link

@gforcada thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@davisagli
Copy link
Member

@gforcada Either one is fine, since plone.app.discussion is in the list of core addon profiles whose upgrade steps are automatically run when Plone is upgraded: https://github.com/plone/Products.CMFPlone/blob/master/Products/CMFPlone/MigrationTool.py#L101

news/+ignore.bugfix Outdated Show resolved Hide resolved
@mauritsvanrees
Copy link
Member

Adding an upgrade step in plone.app.discussion is probably easiest. Otherwise by now you would need two upgrade steps in plone.app.upgrade: one in v60 and one in v61.

@jensens
Copy link
Member

jensens commented May 30, 2024

Meanwhile with #211 in mind an upgrade step in here would be preferred.

The `view` action of comments had no icon on Plone 6.
@mauritsvanrees mauritsvanrees changed the base branch from main to 4.x August 19, 2024 14:15
@mauritsvanrees
Copy link
Member

I have rebased this branch on 4.x and force pushed. I have changed the target of the PR from main to 4.x.
I register a contenttype icon for comments, update the content_icon property, and add an upgrade profile/step.
I will copy some of this into PR #211 for the main branch as well.

@mauritsvanrees
Copy link
Member

@jenkins-plone-org please run jobs

@mauritsvanrees
Copy link
Member

Wrong button...

@mister-roboto

This comment was marked as resolved.

@mauritsvanrees
Copy link
Member

@jenkins-plone-org please run jobs

@mauritsvanrees
Copy link
Member

@jenkins-plone-org please run jobs

@gforcada
Copy link
Member Author

gforcada commented Sep 1, 2024

Seems that all is good, should I merge?

@mauritsvanrees as you mostly overtook the PR, I leave that on you 😄

@mauritsvanrees mauritsvanrees merged commit 512d53b into 4.x Sep 2, 2024
5 checks passed
@mauritsvanrees mauritsvanrees deleted the gforcada-patch-2 branch September 2, 2024 14:34
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