Skip to content

Feat: Add filtering to Create New Setup components#2599

Merged
ebiggz merged 3 commits intocrowbartools:v5from
phroggster:address_1994
Jul 18, 2024
Merged

Feat: Add filtering to Create New Setup components#2599
ebiggz merged 3 commits intocrowbartools:v5from
phroggster:address_1994

Conversation

@phroggster
Copy link
Collaborator

@phroggster phroggster commented Jul 6, 2024

Description of the Change

Adds filtering to the Create New Setup component dialogs per the linked feature request issue. Sorting subjectively feels to be the less helpful solution, especially if all of the desired components are already likely sorted/grouped in the component's main tab.

Can successfully filter by component name, ID, and group/sorting tags. As such, filtered results may include seemingly erroneous items, until 3-4 characters of the name are entered. However, it may be helpful to filter by ID, so I've left that in and added this note.

Applicable Issues

#1994
@zunderscore You had this issue assigned to you, so here's a helpful ping.

Testing

Tried everything I could to break it, and it survived. I think it's armored or something. Does anyone have a rail gun, or some AP rounds to fire at it?

Screenshots

The following screen shots are mocked up to recreate the original screen shot pictured in the linked issue.

Unfiltered:
unfiltered

Filtered:
filtered

By ID:
ids are included

Or grouping/sorting tags:
grouping tags

- Sorting subjectively feels to be the incorrect solution.
- Instead, here's filtering, enabled for all component types.
- Can filter by name, or by component ID.
- As such, filtered results will likely cause additional items until 3-4
  letters of the search text have been entered.

Implements crowbartools#1994
@phroggster phroggster requested a review from ebiggz as a code owner July 6, 2024 13:36
@phroggster
Copy link
Collaborator Author

I'm converting this PR to a draft for the moment, as it would be really swell if filtering picked up on the grouping tags, and it's going to take me at least a day to figure that all out.

@phroggster phroggster marked this pull request as draft July 8, 2024 04:48
This is pretty slick now, but I think I need to display the tags.
Three steps forward, two steps back? Or is this 2-3?
@phroggster phroggster marked this pull request as ready for review July 8, 2024 14:30
Copy link
Member

@ebiggz ebiggz left a comment

Choose a reason for hiding this comment

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

This is great! Thanks for putting it together

@ebiggz ebiggz enabled auto-merge (squash) July 18, 2024 00:46
@ebiggz ebiggz merged commit 2f41986 into crowbartools:v5 Jul 18, 2024
@phroggster phroggster deleted the address_1994 branch July 19, 2024 09:36
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.

2 participants

Comments