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

Improve how the organization types are utilized #421

Open
Ainali opened this issue Oct 4, 2024 · 2 comments
Open

Improve how the organization types are utilized #421

Ainali opened this issue Oct 4, 2024 · 2 comments
Labels
enhancement 🥇 New feature or request

Comments

@Ainali
Copy link
Member

Ainali commented Oct 4, 2024

The feature

Only get the organization types through querying, and use them as chips (like a checkbox) to make it possible to filter the table on organization types.

Why?

Today, the organization types are manually listed in the countries query and shown on the country page. It is also fetched and then shown in the table. As a result, they may mismatch if there has been a change on Wikidata.

Examples and inspiration

Skärmbild från 2024-10-04 15-51-51
This is just an example, the placement is perhaps better swapped with the Search, and it deserves its own styling to make it more different from the regular buttons.

@Ainali Ainali added the enhancement 🥇 New feature or request label Oct 4, 2024
@Abbe98
Copy link
Member

Abbe98 commented Oct 4, 2024

@Abbe98
Copy link
Member

Abbe98 commented Oct 4, 2024

I wonder what people would think about a drop down chip like this: https://firebasestorage.googleapis.com/v0/b/design-spec/o/projects%2Fgoogle-material-3%2Fimages%2Flwrqsi49-GM3-Components-Chips-Guidelines-3-v01.mp4?alt=media&token=df8f575e-9743-4a2e-9115-b4d413c45b2a

Technically harder but it's probably easier design wise both layout wise and state wise. Downside is that you need to filer by all or a single type.

@RVA2869 RVA2869 mentioned this issue Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🥇 New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants