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
Reduce DOM size #333
Comments
Do you mean our logos or the social media icons? |
Yes, That is the main cause of the excessive DOM size, the table is something necessary (for now) |
I'm sorry for phrasing the question so poorly, I'll try to make it unambiguous by splitting it into two questions:
|
The problem is not so much the (social media) logos/icons, but each of them has a unique link and that is what makes the DOM size so large (among other things). Removing the social media links would be a solution. From the country page, though.😉 |
Aha. That would add some clicks to get to the link, though, and removing the icons would remove the clue that the org is worth clicking on. |
I would be worried about the DOM parsing we do for the "filtering" feature but it seems to work for now even on slow devices(tested on a Pinephone). If it becomes a problem we should maybe come up with a better solution to long lists, things like #212 and in the worst case default to pagination. |
The feature
Not so much a feature, but we can remove the logos from the country page. (And move them to the agency page)
Why?
Examples and inspiration
Google PageSpeed Insights (Belgium) 13961 elements
Google PageSpeed Insights (Sweden) 10469 elements
The text was updated successfully, but these errors were encountered: