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

Refactor: remove fmtm-splitter and Update Profile Endpoints #192

Merged
merged 11 commits into from
Sep 6, 2024

Conversation

Pradip-p
Copy link
Collaborator

@Pradip-p Pradip-p commented Sep 4, 2024

Description:

  • Removed fmtm-splitter: Eliminated the fmtm-splitter dependency; the project now uses a separate TaskSplitter algorithm for area splitting.
  • Profile Update Endpoint: Added response messages for successful profile updates.
  • Enhanced my-info Endpoint: Expanded to display all available user profile information and validated using a Pydantic class.
  • Dynamic Email Notification URL: Loaded FRONTEND_URL from environment files and set a dynamic URL for click button.

@Pradip-p Pradip-p added bug Something isn't working backend Related to backend code labels Sep 4, 2024
@Pradip-p Pradip-p self-assigned this Sep 4, 2024
@github-actions github-actions bot added the enhancement New feature or request label Sep 4, 2024
@@ -130,7 +130,7 @@ <h2>Mapping Task Details</h2>
<p><strong>Project:</strong>{{project_name}}</p>
<p><strong>Description:</strong> {{description}}</p>
</div>
<a href="dronetm.naxa.com.np" class="task-button"
<a href="https://dronetm.org/" class="task-button"
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should take a base url from env.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We should take a base url from env.

@nrjadkry Good point! I've updated the code to load the base URL from the environment variables.

@@ -80,6 +80,7 @@ def assemble_db_connection(cls, v: Optional[str], info: ValidationInfo) -> Any:
)
return pg_url

SITE_URL: str = "http://localhost:3040"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Better to name it FRONTEND_URL ?

@nrjadkry nrjadkry merged commit ebea3fd into develop Sep 6, 2024
2 checks passed
@nrjadkry nrjadkry deleted the feat/improve-code-structure branch September 13, 2024 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants