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

[7884] remove unnecessary admin fields from mozfest homepage #8130

Merged
merged 6 commits into from
Jan 26, 2022

Conversation

richbrennan
Copy link
Contributor

@richbrennan richbrennan commented Jan 21, 2022

Hi @Pomax , happy new year! :-)

Closes #7883

Specifies the admin fields on the mozfest homepage content panels, as per Marc's list: #7883 (comment)

I didn't attempt to re-implement the dynamic content_panels generation from https://github.com/mozilla/foundation.mozilla.org/pull/7884/files because it was dependant on a hard-coded value, so doesn't need conditional logic, but correct me if I'm wrong :-)

Link to sample test page: https://foundation-s-7883-mozfe-ivs7ow.herokuapp.com/cms/pages/161/edit/

@mofodevops mofodevops temporarily deployed to foundation-s-7883-mozfe-ivs7ow January 21, 2022 15:59 Inactive
Copy link
Contributor

@TheoChevalier TheoChevalier left a comment

Choose a reason for hiding this comment

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

Hey @richbrennan, just a heads up that the changes need to be replicated to the translatable_fields variable below.

Thanks!

@mofodevops mofodevops temporarily deployed to foundation-s-7883-mozfe-ivs7ow January 21, 2022 16:52 Inactive
@mofodevops mofodevops temporarily deployed to foundation-s-7883-mozfe-ivs7ow January 21, 2022 16:54 Inactive
@richbrennan
Copy link
Contributor Author

Hey @richbrennan, just a heads up that the changes need to be replicated to the translatable_fields variable below.

Thanks!

Thanks for spotting Theo! I've updated the translatable_fields

@Pomax Pomax temporarily deployed to foundation-s-7883-mozfe-ivs7ow January 24, 2022 17:59 Inactive
@Pomax
Copy link
Contributor

Pomax commented Jan 24, 2022

And a happy new year to you, too!

Copy link
Contributor

@Pomax Pomax left a comment

Choose a reason for hiding this comment

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

added a comment that explains why we have the non-inheriting set of content panels, but with that: R+

@mofodevops mofodevops temporarily deployed to foundation-s-7883-mozfe-ivs7ow January 25, 2022 09:12 Inactive
Copy link
Contributor

@TheoChevalier TheoChevalier left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good

@Pomax Pomax temporarily deployed to foundation-s-7883-mozfe-ivs7ow January 26, 2022 00:09 Inactive
@Pomax Pomax merged commit ab97872 into main Jan 26, 2022
@Pomax Pomax deleted the 7883-mozfest-homepage-admin-fieldpanels branch January 26, 2022 00:35
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.

mozfest nav button should always be editable in the CMS
4 participants