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

Prevent empty Map component from blocking submissions page #103

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

jacobtylerwalls
Copy link
Contributor

@jacobtylerwalls jacobtylerwalls commented Oct 5, 2022

Overview

Updates to #99 described in #99 (comment) prevented the submissions page from loading. Now, this PR restores the original behavior on that branch of moving the <Map> component into the Welcome and Draw pages.

Notes

Investigation showed that we were re-fetching the map anyway when navigating between welcome and draw. I opened #102 to address this.

Testing Instructions

  • scripts/server
  • visit /draw
  • visit /welcome
  • visit /submissions
  • All pages load

Checklist

  • fixup! commits have been squashed
  • CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines
  • README.md updated if necessary to reflect the changes
  • CI passes after rebase

@rajadain
Copy link
Contributor

rajadain commented Oct 5, 2022

Taking a quick look

@jacobtylerwalls jacobtylerwalls changed the title Prevent empty Map component from blocking submissions page from loading Prevent empty Map component from blocking submissions page Oct 5, 2022
Copy link
Contributor

@rajadain rajadain left a comment

Choose a reason for hiding this comment

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

+1 tested, nice catch.

@rajadain rajadain assigned jacobtylerwalls and unassigned rajadain Oct 5, 2022
@jacobtylerwalls jacobtylerwalls merged commit 90e56fd into develop Oct 5, 2022
@jacobtylerwalls jacobtylerwalls deleted the jw/empty-map-component branch October 5, 2022 20:12
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.

2 participants