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

Open Spark - Prosumer journey - My DERs #2660

Closed
13 tasks done
emmayank opened this issue Dec 4, 2024 · 1 comment · Fixed by #2703
Closed
13 tasks done

Open Spark - Prosumer journey - My DERs #2660

emmayank opened this issue Dec 4, 2024 · 1 comment · Fixed by #2703
Assignees
Labels
beckn-ui beckn ui related enhancement feature request

Comments

@emmayank
Copy link

emmayank commented Dec 4, 2024

Description

Implement the "My DERs" feature in Open Spark's Prosumer Journey. This feature will allow users to view all their Distributed Energy Resources (DERs) and remove any DER if needed. Integrate the Get DER API to fetch the user's DERs and the Delete DER API to handle DER removals.

Goals

  • Create a "My DERs" section accessible from the "My Account" page.
  • Display all DERs associated with the user.
  • Integrate the Get DER API to fetch and display DER data.
  • Allow users to remove a DER with a delete option.
  • Integrate the Delete DER API for handling DER removals.
  • Provide a confirmation prompt before deleting any DER.
  • Maintain code quality and follow best practices.

Expected Outcome

  • Users can view all their DERs in the "My DERs" section.
  • The application fetches and displays DERs using the Get DER API.
  • Users can remove DERs with a confirmation prompt to prevent accidental deletions.
  • The Delete DER API handles removal requests successfully.
  • Proper error handling for API failures or no DERs available.

Acceptance Criteria

  • The "My DERs" section is implemented and accessible.
  • The Get DER API is integrated, and DER data is fetched successfully.
  • Users can remove DERs with a confirmation prompt displayed before deletion.
  • The Delete DER API is integrated, and DER removal works as expected.
  • Errors are handled gracefully, with appropriate feedback for failures or no data.
  • Code passes reviews and adheres to best practices.

Mockups / Wireframes

My DERs

Product Name

Beckn

Domain

TBD

Tech Skills Needed

  • HTML/CSS
  • JavaScript/TypeScript
  • React or equivalent frontend framework
  • API Integration
  • Modal/Prompt Implementation

Complexity

Medium

Category

Feature Development

Sub Category

Prosumer Flow

@skrushna1506 skrushna1506 added enhancement feature request beckn-ui beckn ui related labels Dec 5, 2024
@skrushna1506
Copy link

PR for above task
#2703
CC:- @emmayank @PritiEM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beckn-ui beckn ui related enhancement feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants