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 "first published" and "schema" info to Ask report #8217

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

csebianlander
Copy link
Contributor

This PR adds two fields to the Ask CFPB report /admin/reports/ask-cfpb/: The date the page was first published and information about whether the page uses Google schema (and which schema if so).

I need some assistance with the determine_schema function added to reports.py -- it's definitely not working, but I'm having trouble determining why.

How to test this PR

  1. localhost/admin/reports/ask-cfpb/

Checklist

  • PR has an informative and human-readable title
    • PR titles are used to generate the change log in releases; good ones make that easier to scan.
    • Consider prefixing, e.g., "Mega Menu: fix layout bug", or "Docs: Update Docker installation instructions".
  • Changes are limited to a single goal (no scope creep)
  • Code follows the standards laid out in the CFPB development guidelines
  • Future todos are captured in comments and/or tickets
  • Project documentation has been updated, potentially one or more of:
    • This repo’s docs (edit the files in the /docs folder) – for basic, close-to-the-code docs on working with this repo
    • CFGOV/platform wiki on GHE – for internal CFPB developer guidance
    • CFPB/hubcap wiki on GHE – for internal CFPB design and content guidance

@csebianlander csebianlander self-assigned this Mar 12, 2024
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.

1 participant