Skip to content

UI related bug fixes and examples update#1110

Merged
martinRenou merged 26 commits intogeojupyter:mainfrom
gjmooney:example-fix
Feb 12, 2026
Merged

UI related bug fixes and examples update#1110
martinRenou merged 26 commits intogeojupyter:mainfrom
gjmooney:example-fix

Conversation

@gjmooney
Copy link
Collaborator

@gjmooney gjmooney commented Feb 9, 2026

Description

Fix bug with extra warning in the object properties panel when creating layers via Python API by using schema defaults for unspecified fields instead of None

I also went through all the examples and updated them to reflect the current schema. I added a script to the CI workflow to ensure the examples match the schema as well.

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
  • If you wish to be cited for your contribution, CITATION.cff contains an author entry for yourself

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

Binder 👈 Launch a Binder on branch gjmooney/jupytergis/example-fix

@gjmooney gjmooney added the bug Something isn't working label Feb 9, 2026
@gjmooney gjmooney changed the title Example fix UI related bug fixes Feb 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 10, 2026

Integration tests report: appsharing.space

"type": "string",
"description": "The id of the source"
"description": "The id of the source",
"default": ""
Copy link
Member

Choose a reason for hiding this comment

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

Do we really need this default for source ids? "" is not a valid value

@gjmooney
Copy link
Collaborator Author

please update snapshots

@gjmooney gjmooney closed this Feb 10, 2026
@gjmooney gjmooney reopened this Feb 10, 2026
@gjmooney gjmooney changed the title UI related bug fixes UI related bug fixe and examples update Feb 10, 2026
@gjmooney
Copy link
Collaborator Author

please update snapshots

@gjmooney gjmooney closed this Feb 10, 2026
@gjmooney gjmooney reopened this Feb 10, 2026
@gjmooney gjmooney marked this pull request as ready for review February 10, 2026 17:52
@mfisher87 mfisher87 changed the title UI related bug fixe and examples update UI related bug fixes and examples update Feb 10, 2026
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!

python/jupytergis_lite/dist/jupytergis*
if-no-files-found: error

validate-examples:
Copy link
Member

Choose a reason for hiding this comment

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

❤️

@martinRenou martinRenou merged commit afc359c into geojupyter:main Feb 12, 2026
16 checks passed
gjmooney added a commit to gjmooney/jupytergis that referenced this pull request Feb 18, 2026
* Add empty string as path when creating gejson via python

* Fill blanks with defaults

* Save defaults when loading from python

* Use defaults when creating layer in python

* Add default values to layer properties

* Add defaults to sources

* Random lint

* Remove default empty string for source IDs

* Add defaults to fix test

* And anotha one

* Touch all the examples

* Use enum member as default when generating types

* Clean up examples

* Save method

* Fix vector layer schema

* Remove old type stuff

* Add example validation to CI workflow

* Attempt

* Lint

* Attempt

* Attempt

* Update Playwright Snapshots

* Update Playwright Snapshots

* Fix heatmap creation

* Update Playwright Snapshots

* Apply suggestion from @martinRenou

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: martinRenou <martin.renou@gmail.com>
@gjmooney gjmooney deleted the example-fix branch February 24, 2026 11:55
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.

2 participants