-
Notifications
You must be signed in to change notification settings - Fork 59
Enable empty path for geojson layer #810
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
Enable empty path for geojson layer #810
Conversation
2f4e6b8
to
84f9d5d
Compare
Integration tests report: appsharing.space |
How can we indicate to the user that this is what is happening? What about a checkbox "Create an empty GeoJSON layer. I will add my own data with the draw tool."? |
You are right that it would be more explicit to better inform the user. I will try to propose something. |
We previously decided to propose to add this message in brackets |
Dynamic "Field A || Field B" interactions are one of those cases that I think is really hard with our generate-forms-from-schemas technique. I'm not sure how to resolve this yet. Maybe this is something we can brainstorm together at a hackathon! |
5b5818a
to
eca455f
Compare
eca455f
to
45a4f00
Compare
bot please update snapshots |
@HaudinFlorence please undo the bot's commit, it's not using the right command, resulting in those files being added with the wrong names. We should update the bots to use the latest of https://github.com/geojupyter/jupytergis/blob/main/.github/workflows/update_galata_references.yaml#L104 (replace |
45a4f00
to
92356d9
Compare
Thanks for the feedback. This has been fixed in #816 |
bot please update snapshots |
1d7c10e
to
f48548e
Compare
f48548e
to
3534399
Compare
packages/base/src/tools.ts
Outdated
if (!filepath) { | ||
return; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this?
It seems to me we should raise an error if that's the case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove this
bot please update snapshots |
b3f143e
to
6a46d40
Compare
6a46d40
to
3f72f16
Compare
812dd0e
to
6b4bf86
Compare
packages/base/src/formbuilder/objectform/source/geojsonsource.ts
Outdated
Show resolved
Hide resolved
packages/base/src/formbuilder/objectform/source/geojsonsource.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Greg Mooney <[email protected]> Co-authored-by: Arjun Verma <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @HaudinFlorence
Description
Create an empty vector layer with empty embedded data when no path is provided
Screencast.From.2025-07-11.16-00-04.mp4
📚 Documentation preview: https://jupytergis--810.org.readthedocs.build/en/810/
💡 JupyterLite preview: https://jupytergis--810.org.readthedocs.build/en/810/lite