Skip to content

Add GeoJSON upload functionality to ChallengeDetail component#2808

Merged
CollinBeczak merged 4 commits intomainfrom
Add-GeoJSON-upload-functionality-to-ChallengeDetail-component
Mar 19, 2026
Merged

Add GeoJSON upload functionality to ChallengeDetail component#2808
CollinBeczak merged 4 commits intomainfrom
Add-GeoJSON-upload-functionality-to-ChallengeDetail-component

Conversation

@CollinBeczak
Copy link
Collaborator

  • Introduced GeoJSONUploadModal for uploading GeoJSON files to create virtual challenges.
  • Updated ChallengeDetail to include a button for opening the GeoJSON upload modal.
  • Enhanced MapControlsDrawer with a new control for triggering the GeoJSON upload.
  • Added internationalization support for modal messages and labels.

These changes improve the user experience by allowing users to easily upload GeoJSON files for challenge creation.

resolves: #2768

- Introduced GeoJSONUploadModal for uploading GeoJSON files to create virtual challenges.
- Updated ChallengeDetail to include a button for opening the GeoJSON upload modal.
- Enhanced MapControlsDrawer with a new control for triggering the GeoJSON upload.
- Added internationalization support for modal messages and labels.

These changes improve the user experience by allowing users to easily upload GeoJSON files for challenge creation.
- Added a map preview feature to the GeoJSONUploadModal, displaying parsed polygons from uploaded GeoJSON files.
- Introduced a new state variable to manage the parsed feature collection.
- Updated modal styling and layout for improved user experience.

These changes allow users to visualize their uploaded GeoJSON data before proceeding with challenge creation.
- Introduced new labels and error messages for the GeoJSONUploadModal, improving clarity for users during the upload process.
- Added a success message indicating the number of polygons loaded from the uploaded GeoJSON file.
- Updated the TaskClusterMap controls to include an upload option for GeoJSON files.

These changes aim to streamline the GeoJSON upload experience and provide better feedback to users.
@CollinBeczak CollinBeczak merged commit c81f032 into main Mar 19, 2026
6 checks passed
@CollinBeczak CollinBeczak deleted the Add-GeoJSON-upload-functionality-to-ChallengeDetail-component branch March 19, 2026 01:39
@CollinBeczak CollinBeczak mentioned this pull request Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lasso selection/virtual challenge enhancement: add ability to precisely select tasks within a custom polygon

1 participant