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: highlight borders on hover fix #523 #527

Open
wants to merge 3 commits into
base: staging
Choose a base branch
from

Conversation

SimonAM
Copy link
Contributor

@SimonAM SimonAM commented May 8, 2024

Fix #523

Copy link

vercel bot commented May 8, 2024

@SimonAM is attempting to deploy a commit to the Klimatbyrån Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented May 10, 2024

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

Name Status Preview Updated (UTC)
klimatkollen ❌ Failed (Inspect) May 28, 2024 6:29pm

@elvbom
Copy link
Collaborator

elvbom commented May 10, 2024

Tack för PR:n! Tittar på denna nästa vecka, bra jobbat!

@LudwikJaniuk
Copy link
Contributor

Here, too, you will need to rebase onto staging due to the recent force-push.

@LudwikJaniuk
Copy link
Contributor

Looking at the changes live on my computer, I worry about performance. When mousing around on the page, the framerate decreased drastically. See this in the chrome profiler:
image
On the regular map, the framerate is generally not impacted:
image
Perhaps the resolution used for the borders here is too fine? Please make your own measurements to ensure the change doesn't reduce performance.

@SimonAM
Copy link
Contributor Author

SimonAM commented May 20, 2024

Perhaps your merge with staging failed? I see no performance issues.

@SimonAM
Copy link
Contributor Author

SimonAM commented May 20, 2024

Or more specifically: I see no difference compared to staging.

@LudwikJaniuk
Copy link
Contributor

Hi! Thanks for merging staging. The staging merge and the performance were two separate issues.

If you're saying that the current code doesn't have the performance issues I described, I'll review it as soon as I can myself. It's possible it was a local problem on my end.

@LudwikJaniuk
Copy link
Contributor

I tried again today, comparing this branch to staging, and can still see the significant difference in framerate when mousing over regions. If you can't reproduce that, maybe we could sync on Discord and discuss methodology?

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.

highlight municipalities on hover
3 participants