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

Show in Web Map toggle #1104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pranavkparti
Copy link
Contributor

Description

A toggle is added to Grower Detail that allows user to change if the grower is to be shown in the web map.

Issue(s) addressed

What kind of change(s) does this PR introduce?

  • Enhancement
  • Bug fix
  • Refactor

Please check if the PR fulfils these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Issue

What is the current behavior?
There is no way to edit if grower should be shown on the web map.

What is the new behavior?

  • A toggle component is added.
    image

  • Changing the toggle updates the grower account show_in_map option.

  • Minor fix in OptimizedImage.js (Verify Capture view). On failing to load an image, the component doesn't constantly retry the request.

Breaking change

Does this PR introduce a breaking change?
No.

Other useful information

None.

@pranavkparti pranavkparti requested a review from a team as a code owner August 12, 2023 20:15
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.

Grower module: "show in map" field and option
1 participant