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

feat: remove logo ids, add sorting alphabetically #113

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

svensken94
Copy link
Contributor

Numeric identifiers make no sense once there are randomly generated identifiers. I suggest getting rid of identifiers and sorting logos alphabetically.

The order in the grid now looks more obvious.

sort

Copy link

vercel bot commented Dec 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svgl ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2023 8:09pm

@svensken94 svensken94 changed the title feat: remove logo ids, sorting alphabetically feat: remove logo ids, add sorting alphabetically Dec 12, 2023
@pheralb
Copy link
Owner

pheralb commented Dec 13, 2023

Thank you very much, good idea, but it would be better to have a separate option, no? So that the new logos appear at the top 🤔

@svensken94
Copy link
Contributor Author

Yeah, a separate option would be cool, but we don't need ids for items anyway, am I right?

@pheralb
Copy link
Owner

pheralb commented Dec 13, 2023

No, it is not really necessary. I started adding ids to each one in case I wanted to create a page to see the data of a specific svg. In the end I think it was not a good idea because in the PRs there were conflicts with the data.ts file jajaja

I will probably end up deleting the IDs 😅

@pheralb
Copy link
Owner

pheralb commented Dec 14, 2023

Resolved for the next version of SVGL, it will be available very soon 🚀✨

@pheralb pheralb closed this Dec 14, 2023
@pheralb pheralb reopened this Dec 14, 2023
@pheralb pheralb merged commit 77f145b into pheralb:main Dec 14, 2023
4 of 5 checks passed
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