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

Update Create Project Form #73

Merged
merged 25 commits into from
Jul 16, 2024
Merged

Update Create Project Form #73

merged 25 commits into from
Jul 16, 2024

Conversation

Prajwalism
Copy link
Contributor

What does this PR do?

Enhance Project Creation Form with New Features and Improvements

  • Adds "No Fly Zone" option during project creation.
  • Implements MapTools component in the map section of the create project form.
  • Adds no-fly zone upload area in the form.
  • Specifies required fields in the form.
  • Adds key parameters to the form.
  • Integrates no-fly zones in the "Define AOI" section.
  • Finalizes payload for project creation.
  • Adds dimension calculation while generating tasks.
  • Creates a custom date picker component using react-datepicker.
  • Makes various style changes to custom components (RadioButton and UploadArea).
  • Fixes issues related to dashboard login.
  • Resolves merge conflicts and removes unused code.
  • Adjusts form step order and StepSwitcher width for better compatibility.
  • Updates type definitions for better type safety.

import Icon from '@Components/common/Icon';
import { FlexRow } from '@Components/common/Layouts';

const mapTools = [
Copy link
Collaborator

Choose a reason for hiding this comment

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

json should always be in constant as far as possible

const geojson = validateGeoJSON(file[0]?.file);
try {
geojson.then(z => {
if (typeof z === 'object' && !Array.isArray(z) && z !== null) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

don't use z as callback parameter try to use good variable name

@varun2948 varun2948 merged commit 295109b into main Jul 16, 2024
2 checks passed
@nrjadkry nrjadkry deleted the feat/create-project-form branch August 3, 2024 03:57
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