hackforla/311-data

Fix Filter modal's date range buttons style not being applied

Closed this issue · 7 comments

Overview

We need to apply styling on the pre-defined date range buttons in the Filters modal, to have the Last Week, Last Month, Last 3 Months buttons styled.

Action Items

  • Refer to error popup at: components/DateSelector/DateSelector.jsx , line - 14.
    • Fix import error to apply the styles defined in iconStyle obj:
      components/DateSelector/DateSelector.jsx , line - 26.

Resources/Instructions

[Replace this text - Provide these resources here if exist. Provide screenshot only if the issue has visual
changes on the site, do not post screenshots of codebase]

Screenshot before proposed changes

Screen Shot 2024-09-25 at 7 33 44 PM

Screenshot after proposed changes

image

@traycn this is looking good. When you're ready, remove draft and add ready for prioritization.

My edits to the page: added link to the Figma page. Also adding Milestone.

Prioritized and ready to be picked up!

PR has been made: #1838

@traycn I'm going to OK this to get approved. This is a new idea, but I feel like 1pt Size and under probably can just use 1 review. This should alleviate both of us needing to watch every single PR moving through.

I will wait til @traycn gives the ok before merging.

Approved! Moving the styles to the seperate file was a great change. Taking note that we are referencing styles for the DateSelector dropdown at: components/DateSelector/useStyles.js

Feel free to merge @Brandoncyu