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

bg of filter changes when filter is selected #301

Merged
merged 13 commits into from
Nov 18, 2024

Conversation

justjaiom
Copy link
Contributor

Overview

List the GitHub issues containing the issues relevant to this pull request.

fixed the proposal: "When a filter has been selected, make the filter box have a darker shade / color"

What Changed

I changed filters.txt, specifically the class names in the form control. I edited al three form controls so that a darker grey is presented when a filter is applied.

Other Notes

I used a dark grey (grey-900) for the dark theme, but if it doesn't fit into the color theme or the design, let me know so i can change it.

Copy link

vercel bot commented Nov 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
utd-trends ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 18, 2024 11:39pm

@TyHil
Copy link
Member

TyHil commented Nov 4, 2024

I think for the semester filter, it might be better if the color is different when select all is not checked, like when chosenSessions.length !== academicSessions.length. This way the default is for it to be the normal color, and when you deselect a session it changes color

@AbhiramTadepalli AbhiramTadepalli linked an issue Nov 5, 2024 that may be closed by this pull request
@AbhiramTadepalli
Copy link
Contributor

This doesn't work well in dark mode fyi

@justjaiom
Copy link
Contributor Author

This doesn't work well in dark mode fyi

This doesn't work well in dark mode fyi

@justjaiom justjaiom closed this Nov 10, 2024
@justjaiom justjaiom reopened this Nov 10, 2024
@AbhiramTadepalli
Copy link
Contributor

AbhiramTadepalli commented Nov 11, 2024

  1. should "All Semesters" be highlighted as selected? It does bring attention to the semester filter, but it also is the default state
  2. What do we think about the tooltip for semester
  3. until you click something else, even on scroll, the tooltip on the filter remains

@AbhiramTadepalli AbhiramTadepalli linked an issue Nov 11, 2024 that may be closed by this pull request
@TyHil TyHil linked an issue Nov 11, 2024 that may be closed by this pull request
@TyHil
Copy link
Member

TyHil commented Nov 15, 2024

  1. I think current behavior is good: highlight when not at default. but nitpick it should also be highlighted when none are selected
  2. tbh i don't see the point. i think the tooltips should describe that its a filter and what you're filtering on like "Filter by minimum letter grade across course sections"
  3. i think that's probably an inevitable accessibility thing

@AbhiramTadepalli
Copy link
Contributor

  1. I think current behavior is good: highlight when not at default. but nitpick it should also be highlighted when none are selected

@AbhiramTadepalli
Copy link
Contributor

2. tbh i don't see the point. i think the tooltips should describe that its a filter and what you're filtering on like "Filter by minimum letter grade across course sections"

rn it's dynamic so if something is selected the tag changes

@TyHil
Copy link
Member

TyHil commented Nov 15, 2024

rn it's dynamic so if something is selected the tag changes

oh ok i see. but i can already see that information in the dropdown without hovering

Copy link
Contributor

@AbhiramTadepalli AbhiramTadepalli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

Copy link
Member

@TyHil TyHil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all good!

@AbhiramTadepalli AbhiramTadepalli merged commit fcf390c into develop Nov 18, 2024
3 checks passed
@AbhiramTadepalli AbhiramTadepalli deleted the #276-selected_filter_color branch November 18, 2024 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants