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

Feat/drone operator image upload UI #374

Merged
merged 9 commits into from
Dec 2, 2024

Conversation

bijayrauniyar0
Copy link
Collaborator

What type of PR is this? (check all applicable)

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation
  • πŸ§‘β€πŸ’» Refactor
  • βœ… Test
  • πŸ€– Build or CI
  • ❓ Other (please specify)

Related Issue

Fixes #279 , #206, #205 , #202 , #198 ,

Describe this PR

  • Add conditional rendering for orthophoto button at map
  • Increase z-index of user profile
  • add functionality to navigate user to dashboard
  • Add validation to prevent user from entering old and new pw to be same
  • Update handleDrawEnd fucntion to prevent duplicates polygons from being drawn
  • Remove restriction from comment submission

Screenshots

image
image

Alternative Approaches Considered

Did you attempt any other approaches that are not documented in code?

Review Guide

Notes for the reviewer. How to test this change?

Checklist before requesting a review

  • πŸ“– Read the HOT Code of Conduct: https://docs.hotosm.org/code-of-conduct
  • πŸ‘·β€β™€οΈ Create small PRs. In most cases, this will be possible.
  • βœ… Provide tests for your changes.
  • πŸ“ Use descriptive commit messages.
  • πŸ“— Update any related documentation and include any relevant screenshots.

[optional] What gif best describes this PR or how it makes you feel?

@github-actions github-actions bot added enhancement New feature or request frontend labels Dec 2, 2024
) {
if (!newObject) return [];
if (!array) return [newObject];
return array.filter(item => item.id !== newObject.id);
Copy link
Collaborator

Choose a reason for hiding this comment

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

fix the naming of the variables.

@subashtiwari1010 subashtiwari1010 merged commit 0a26cb1 into develop Dec 2, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend
Projects
None yet
2 participants