You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to request a feature that allows users to save the email subject and content to Firebase when they click the "Save for Future" button. This feature should also support editing existing entries. The implementation should involve the following:
Requirements:
Store Email Data:
When the user clicks the "Save for Future" button, the app should save the following information in Firebase:
Email address (from Firebase Auth of the logged-in user) - Use this as docID
Email subject
Email content
Editing Existing Entries:
If the user edits the email subject or content, the app should update the existing entry in Firebase instead of creating a new one. The update should be based on the unique identifier (e.g., a combination of the user’s email and a timestamp or a generated ID).
Prefill Data:
When the user revisits the relevant section of the app, if there is existing data in Firebase for the logged-in user, the email subject and content should be prefilled in the respective input fields.
If no data exists for the user, the fields should remain empty.
Acceptance Criteria:
Email subject and content are successfully saved to Firebase upon clicking "Save for Future."
If edited, the existing entry in Firebase is updated rather than creating a new one.
The logged-in user's email address is used as a reference key for storing and retrieving data.
When revisiting the section, existing data is prefilled in the input fields if available.
Appropriate error handling is implemented if the save or update operation fails.
Additional Information:
This feature will help users quickly access previously saved email subjects and content, improving usability and efficiency.
The text was updated successfully, but these errors were encountered:
Description:
We would like to request a feature that allows users to save the email subject and content to Firebase when they click the "Save for Future" button. This feature should also support editing existing entries. The implementation should involve the following:
Requirements:
Store Email Data:
Editing Existing Entries:
Prefill Data:
Acceptance Criteria:
Additional Information:
This feature will help users quickly access previously saved email subjects and content, improving usability and efficiency.
The text was updated successfully, but these errors were encountered: