Skip to content

Conversation

mfisher87
Copy link
Member

@mfisher87 mfisher87 commented Jun 11, 2025

Description

Resolves #717

The vector symbology menu's code could be more declarative. This PR updates the component to be driven entirely by a single data structure, RENDER_TYPE_OPTIONS. IMO, this will make it easier to understand, add, or modify render type behaviors.

  • Drive logic with data structure
  • Show descriptions and errors for render types

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

Copy link
Contributor

Binder 👈 Launch a Binder on branch mfisher87/jupytergis/refactor-symbology-on-arjuns-pr

Copy link
Contributor

github-actions bot commented Jun 11, 2025

Integration tests report: appsharing.space

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!

@mfisher87 mfisher87 force-pushed the refactor-symbology-on-arjuns-pr branch from d982fca to 1b2b648 Compare June 11, 2025 21: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.

Thanks!

@martinRenou martinRenou merged commit b34b7ee into geojupyter:main Jun 12, 2025
16 checks passed
@mfisher87 mfisher87 deleted the refactor-symbology-on-arjuns-pr branch June 17, 2025 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DRY and simplify logic for deterimining which render types are supported and for which attributes
2 participants