hackforla / tdm-calculator

DTLA Hack for LA is partnering with Los Angeles Department of Transportation (LADOT) to develop a Traffic Demand Management (TDM) calculator tool. This tool will help planners at LADOT and real estate developers to meet the Los Angeles’s Mobility Plan goals by 2035.
https://tdm.ladot.lacity.org
GNU General Public License v2.0
49 stars 33 forks source link

Re-Design Filters: select new icons to indicate filter state #1837

Closed NilakshiS closed 1 month ago

NilakshiS commented 2 months ago

Dependency

Overview

We need to some icons to visually inform users about which filters are active or selected. But the iconography from previous designs has been replaced by Material UI icons, so new icons are needed to indicate Filter states.

Details

The previous design for filters uses the following default and hover icons for the Filter. image image

However the old icons have been replaced by Material UI icons and the style guide currently uses the MdFilterAlt icon image

From Material UI icons, select appropriate icons for the different possible states of the filter:

Here are some suggestions for icons to use:

Action Items

Resources

marlenamellody commented 1 month ago

In the current design of the "my projects" page, the filter icon has been replaced by Material UI icons and there's no visual change to indicate filter states when a filter is added or selected:

current my projects

Suggestion: (Reference: google sheets) After reviewing options with the design team, we decided to use filled/unfilled versions of the same icon to represent possible states of the filter.
filter suggestion

Default State (unfilled filter icon): Filter/Sorting not applied: Filter Alt Unfilled

Hover State (unfilled filter icon with background color): positioning cursor over icon without selecting it: hover icon

Active Icon State (filled filter icon) : Filter/Sorting applied: Filter Alt

Blocker: need to determine background color for hover state icon

NilakshiS commented 1 month ago

Feedback received in the Stakeholder Prep meeting (09/19/24):

Provide icons with suitable foreground and background colors to fit the dark blue background of the table headers on the dev site.

Suggestions for hover state background color (examples from Google Sheets when column background color is set to #002E6D ):

marlenamellody commented 1 month ago

Progress: Identified icons and suitable foreground and background colors to fit the dark blue background of the table headers. Image

Default State (unfilled filter icon): Filter/Sorting not applied: Filter Alt Unfilled: #F9FAFB

Hover State (unfilled filter icon with background color): positioning cursor over icon without selecting it: Filter Alt Unfilled icon color : #002E6D with background color: #F9FAFB with corner radius 2.

Active Icon State (filled filter icon) : Filter/Sorting applied: Filter Alt #F9FAFB

Figma Prototype

NilakshiS commented 1 month ago

Approved by stakeholders:

Default State (unfilled filter icon): Filter/Sorting not applied: Filter Alt Unfilled: #FFFFFF

Hover State (unfilled filter icon with background color): positioning cursor over icon without selecting it: Filter Alt Unfilled icon color : #002E6D (Navy Blue - Primary) with background color: #FFFFFF with corner radius 2.

Active Icon State (filled filter icon) : Filter/Sorting applied: Filter Alt #FFFFFF

NilakshiS commented 1 month ago

Added the icons to the new prototype in #1885