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

Create Example Page template in Wagtail #3149

Closed
2 tasks
Tracked by #138
dorothyyeager opened this issue Sep 5, 2019 · 9 comments · Fixed by #3303
Closed
2 tasks
Tracked by #138

Create Example Page template in Wagtail #3149

dorothyyeager opened this issue Sep 5, 2019 · 9 comments · Fixed by #3303
Assignees
Milestone

Comments

@dorothyyeager
Copy link
Contributor

dorothyyeager commented Sep 5, 2019

Summary

To assist with our upcoming work in making disclaimer examples and keep Wagtail tidy and easy for content managers, we'd like to make a new template similar to the reporting example template, but called "Example page"

Proposed Behavior / Feature

We'd like the template to work like this one (https://fec-prod-proxy.app.cloud.gov/admin/pages/add/home/reportingexamplepage), but be called "Example page." We'd like to have a few other features added, such as embeddable video and internal/external buttons.

Here's a screenshot of the reporting example template:

image

For this template, we'd like to add the following options to what's already in the reporting example template:

Use Case

Users who will love the examples we are making of proper disclaimers. (Currently being drafted in #3148 )

Completion criteria

  • Add the requested features listed above into the requested new template (based off the reporting example template)
  • Testing by content team to ensure it has what we need for the disclaimer examples in Draft disclaimer examples  #3148
@dorothyyeager dorothyyeager added this to the Sprint 10.1 milestone Sep 5, 2019
@dorothyyeager dorothyyeager changed the title Feature Request Create Example Page template in Wagtail Sep 5, 2019
@patphongs patphongs modified the milestones: Sprint 10.1, Sprint 10.2 Sep 10, 2019
@patphongs
Copy link
Member

@dorothyyeager Can you please highlight the elements you want to be present or added to this new "Example page" template?

@dorothyyeager
Copy link
Contributor Author

I've updated the ticket with a screenshot and list of the elements we're looking for in this new template.

@johnnyporkchops
Copy link
Contributor

@dorothyyeager. Would it make sense to add the additional features to the ReportingExamples template and that could then be used for the disclaimer examples as well?

@dorothyyeager
Copy link
Contributor Author

dorothyyeager commented Oct 28, 2019 via email

@dorothyyeager
Copy link
Contributor Author

Clarifying - If we can make the choice of "Example" available along with "Example Scenario" and "Reporting Example" that would be great. We must have the ability to embed videos too. Thanks @johnnyporkchops

@johnnyporkchops
Copy link
Contributor

@dorothyyeager Currently, I believe your team uses either html block or Rich text block to embed videos, correct?
There is already a Rich Text block in the template, should I add HTML too?

@johnnyporkchops
Copy link
Contributor

@dorothyyeager , If you get a chance, take a look at feature space where you can test ReportingExample page template with new features.
https://fec-feature-cms.app.cloud.gov/admin

@dorothyyeager
Copy link
Contributor Author

@johnnyporkchops Just left a comment on the PR. Usually we use the rich text block for embedding videos. The one in the PR didn't have the button for that, so would need that added. It might not be a bad idea to give us an HTML block too.

@dorothyyeager
Copy link
Contributor Author

Here are the options we'd like: (From custom page template)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants