Skip to content

Add a visual indicator when layers aren't successfully rendered#462

Open
Meriem-BenIsmail wants to merge 4 commits intogeojupyter:mainfrom
Meriem-BenIsmail:error-visual-indicator
Open

Add a visual indicator when layers aren't successfully rendered#462
Meriem-BenIsmail wants to merge 4 commits intogeojupyter:mainfrom
Meriem-BenIsmail:error-visual-indicator

Conversation

@Meriem-BenIsmail
Copy link
Member

@Meriem-BenIsmail Meriem-BenIsmail commented Feb 12, 2025

Description

Fixes #415.
Also this PR adds error handling when updating the source.

gis.webm

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--462.org.readthedocs.build/en/462/
💡 JupyterLite preview: https://jupytergis--462.org.readthedocs.build/en/462/lite

@Meriem-BenIsmail Meriem-BenIsmail added the enhancement New feature or request label Feb 12, 2025
@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch Meriem-BenIsmail/jupytergis/error-visual-indicator

@github-actions
Copy link
Contributor

github-actions bot commented Feb 12, 2025

Integration tests report: appsharing.space

@Meriem-BenIsmail Meriem-BenIsmail marked this pull request as ready for review February 12, 2025 14:36
Copy link
Member

@mfisher87 mfisher87 left a comment

Choose a reason for hiding this comment

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

Nice work :) A couple of thoughts, hopefully not too onerous!

onDragOver={Private.onDragOver}
onDragEnd={Private.onDragEnd}
data-id={layerId}
style={{ textDecoration: layer.failed ? 'line-through' : 'none' }}
Copy link
Member

@mfisher87 mfisher87 Feb 12, 2025

Choose a reason for hiding this comment

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

What do you think about displaying a warning icon ⚠️ and when you hover it you can see the error cause(s)?

Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com>
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

Status: No status

Development

Successfully merging this pull request may close these issues.

Add a visual indicator when layers aren't rendered

3 participants