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

Add a source panel #60

Merged
merged 13 commits into from
Jul 23, 2024
Merged

Add a source panel #60

merged 13 commits into from
Jul 23, 2024

Conversation

brichet
Copy link
Collaborator

@brichet brichet commented Jul 18, 2024

This PR adds a source panel, with context menu to create new source, rename a source or remove an unused source.

Peek 2024-07-22 15-08

  • add tests

Copy link
Contributor

Binder 👈 Launch a Binder on branch brichet/jupytergis/sources-panel

@brichet brichet added the enhancement New feature or request label Jul 19, 2024
@brichet brichet marked this pull request as ready for review July 22, 2024 11:25
@brichet brichet marked this pull request as draft July 22, 2024 11:25
@brichet brichet marked this pull request as ready for review July 22, 2024 13:09
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.

Working great! Thanks

return (
<div className={mainClasses}>
<div
className={SOURCE_TITLE_CLASS}
Copy link
Member

Choose a reason for hiding this comment

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

Longer term, I wonder if we should have a place for registering new types and icons.

Copy link
Collaborator Author

@brichet brichet Jul 22, 2024

Choose a reason for hiding this comment

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

I added a register in 763115c.
There are registered icons for the panels and the commands.
I had to move the commandIDs in a separate module to avoid circular import.

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 merged commit 7332f6c into geojupyter:main Jul 23, 2024
9 checks passed
@brichet brichet deleted the sources-panel branch July 23, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants