Skip to content

Citizen Engagement page: Display a message if missing program area detailed info #3757

@JessicaLucindaCheng

Description

@JessicaLucindaCheng

Overview

On the Citizen Engagement webpage [1], we want to display a message on a project's program area card if the project is missing program area detailed information so

  • we make sure the page doesn't break and
  • we maintain a professional-looking website.

Action Items

Developer

  • Read Citizen Engagement wiki page [2]
  • If a project's Markdown file is missing one of the following program area detailed information fields: problem, solution, impact, sdg, card-image-src, sdg-image-src, then change the code in _includes/citizen-engagement-cards.html [3] so that the card on the Citizen Engagement webpage should show the project's name and dynamically display the message:
    We are currently drafting the Problem, Solution and Impact statements for this project.
    
    • Make sure the message is displayed for any future projects that are added and are missing program area info.
      • Keep in mind missing program area info can mean problem, solution, impact, sdg, card-image-src, or sdg-image-src fields
        • a) are not in a project's Markdown file at all
          OR
        • b) the fields exist but are left blank in a project's Markdown file.
    • To style the message, use existing SCSS classes when possible, such as for Typography. See Design System in Figma [4] for more info
      • If you need to add SCSS code, add it to _sass/components/_citizen_engagement.scss [5]
    • Using developer tools, make sure the message looks good in desktop, tablet, and mobile views
  • For testing your code and getting approval from the Stakeholder Rep,
    • In adopt-civic-art.md [6] and curbmap.md [7] in the _projects directory, you can temporarily change visible: false to visible: true in order to see what the card will look like with the message.
    • Show how the message looks on the card to the Stakeholder Rep and get the Stakeholder Rep's approval.
      • See the Website Team's project information page [8] for who the Stakeholder Rep is.
    • Before opening a pull request, please make sure to change visible: true back to visible: false in adopt-civic-art.md and curbmap.md so that the curbmap and ArtWatcher projects are not visible.

Merge Team, Technical Lead, or Product Manager

Resources/Instructions

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions