Skip to content

More filter libraries options #866

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

Merged
merged 10 commits into from
Jul 30, 2025
Merged

Conversation

javiert-okta
Copy link
Contributor

@javiert-okta javiert-okta commented Jul 25, 2025

The library filter dropdown now has grouped categories for:

- Programming Language
image

- Algorithm
image

- Support
image

Copy link

Copy link

const dictionary = JSON.parse(source) as LibraryDictionaryModel;
const allOptions = Object.keys(Object.values(dictionary)[0].libs[0].support);
const indexAlgorithmStart = allOptions.findIndex(
(option) => option == "hs256"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
(option) => option == "hs256"
(option) => option === "hs256"

@christiansamaniego-okta
Copy link
Contributor

Hello Javi. Looks great! just one thing. The "All" programming language filter doesn't work as expected. It doesn't display any libraries. Maybe we're considering the "all" query parameter as a programming language? We should add a check for that.

Copy link

Copy link
Contributor

@christiansamaniego-okta christiansamaniego-okta left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you Javi. One future improvement could be splitting the filters into different dropdowns. Let me know what you think.

@javiert-okta
Copy link
Contributor Author

Sounds a good improvement for the future, I'll create a ticket to address it and discuss with the UI team 👍

@javiert-okta javiert-okta merged commit ec40bf3 into master Jul 30, 2025
4 checks passed
@javiert-okta javiert-okta deleted the more-filter-libraries-options branch July 30, 2025 15: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