Skip to content

Fix scale indicator in notebooks and symbology overflow#408

Merged
martinRenou merged 4 commits intogeojupyter:mainfrom
gjmooney:fixes
Jan 30, 2025
Merged

Fix scale indicator in notebooks and symbology overflow#408
martinRenou merged 4 commits intogeojupyter:mainfrom
gjmooney:fixes

Conversation

@gjmooney
Copy link
Collaborator

@gjmooney gjmooney commented Jan 29, 2025

Description

Includes fixes for #394 and #407, and gets rid of some console spam when first creating a layer.

As part of the fix for #394 I removed the _initializedPosition boolean from the main view, I'm pretty sure that was a work around for a MapLibre issue. I also removed _onSharedOptionsChanged since it wasn't doing anything previously (as _initializedPosition was true most of the time) and it fires whenever any collaborator moves their map. 🤡

That raises an issue, since any collaborator moving around the map or zooming changes the options in the file that might lead to unwanted or unexpected behavior.

Checklist

  • PR has a descriptive title and content.
  • PR description contains references to any issues the PR resolves, e.g. Resolves #XXX.
  • PR has one of the labels: documentation, bug, enhancement, feature, maintenance
  • Checks are passing.
    Failing lint checks can be resolved with:
    • pre-commit run --all-files
    • jlpm run lint

📚 Documentation preview: https://jupytergis--408.org.readthedocs.build/en/408/
💡 JupyterLite preview: https://jupytergis--408.org.readthedocs.build/en/408/lite

@gjmooney gjmooney added the bug Something isn't working label Jan 29, 2025
@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch gjmooney/jupytergis/fixes

@gjmooney gjmooney changed the title Fixes Fix scale indicator in notebooks and symbology overflow Jan 29, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jan 29, 2025

Integration tests report: appsharing.space

@gjmooney
Copy link
Collaborator Author

please update snapshots

1 similar comment
@gjmooney
Copy link
Collaborator Author

please update snapshots

Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

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

Thanks!

@martinRenou martinRenou reopened this Jan 30, 2025
@martinRenou martinRenou merged commit 07b2e8b into geojupyter:main Jan 30, 2025
17 of 20 checks passed
HaudinFlorence pushed a commit to HaudinFlorence/jupytergis that referenced this pull request Jan 28, 2026
* Stop console spam

* Fix symbology CSS

* Remove initializedPostion and only that

* Update Playwright Snapshots

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Symbology Form Overflows Scale indicator in status bar is showing 1:0 in integration test snapshot

2 participants