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

1638 - remove disabled filters on the campaign list page #1641

Conversation

dimitur2204
Copy link
Contributor

Closes #1638

Motivation and context

  • Removes the campaign categories filter in the campaigns page for categories that have 0 campaigns in (previously they were all disabled).
  • Adds an aria-selected to the currently selected filter and styles based on that.

Screenshots:

Before After
image image

Testing

Steps to test

Go to the /campaigns page and see the selected "All" category and the removed empty categories. Click around to filter and see the changes.

Affected urls

/campaigns

@dimitur2204 dimitur2204 self-assigned this Oct 29, 2023
@dimitur2204 dimitur2204 added the run tests Allows running the tests workflows for forked repos label Oct 29, 2023
@github-actions
Copy link

github-actions bot commented Oct 29, 2023

✅ Tests will run for this PR. Once they succeed it can be merged.

@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Oct 29, 2023
@dimitur2204 dimitur2204 added the run tests Allows running the tests workflows for forked repos label Oct 29, 2023
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Oct 29, 2023
@dimitur2204 dimitur2204 added the run tests Allows running the tests workflows for forked repos label Oct 29, 2023
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Oct 29, 2023
@dimitur2204 dimitur2204 added the run tests Allows running the tests workflows for forked repos label Oct 30, 2023
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Oct 30, 2023
@dimitur2204 dimitur2204 added the run tests Allows running the tests workflows for forked repos label Oct 30, 2023
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Oct 30, 2023
Copy link
Contributor

@quantum-grit quantum-grit 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, let's have the filters centered in the middle under the title

@ani-kalpachka
Copy link
Member

Closing the pull request based on the last discussions. If a different decision is made in the future we can use these changes for removing the inactive filters.

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.

[Campaigns] Group Filter by Categories
3 participants