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

Improvements for filter forms #250

Closed
wants to merge 1 commit into from
Closed

Conversation

agjohnson
Copy link
Contributor

@agjohnson agjohnson commented Dec 14, 2023

I have wanted to play with these more. This is the templates used for
the filters at the top of model listing views.

A couple changes I've wanted:

  • All filters are actual filter instances. Project, version, and
    organization have some one-off, pseudo filters made in HTML
  • Filter form shows fields as a ui sub header with the label above the
    selected field value. This shows the active filter and value, instead
    of hiding the value
  • I want to add an icon for filters
  • Filters should use active mode from SUI config. This changes the
    default text in the dropdown.

Leaving this open for now so I can return. I was playing with this for
unrelated reasons.

image


TODO:


I have wanted to play with these more. This is the templates used for
the filters at the top of model listing views.

A couple changes I've wanted:

- All filters are actual filter instances. Project, version, and
  organization have some one-off, pseudo filters made in HTML
- Filter form shows fields as a `ui sub header` with the label above the
  selected field value. This shows the active filter and value, instead
  of hiding the value
- I want to add an icon for filters
- Filters should use `active` mode from SUI config. This changes the
  default text in the dropdown.

Leaving this open for now so I can return. I was playing with this for
unrelated reasons.
@agjohnson agjohnson linked an issue Apr 24, 2024 that may be closed by this pull request
agjohnson added a commit that referenced this pull request May 17, 2024
This drops the custom API driven filters and relies on application
FilterSet instances instead, matching the rest of the filter fields.
Because of this, we are able to delete much of the JS and API logic from
the dashboard side.

- Fixes #343
- Closes #250
- Requires changes on our application filters
@humitos humitos closed this in #351 May 21, 2024
@humitos humitos closed this in 1e672f6 May 21, 2024
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.

Filters: show selected values
1 participant