tmail-flutter
tmail-flutter copied to clipboard
[Story] As a user, I want to enable my vacation responder
Summary
- Related EPIC
- Definition
- Screenshots
- Misc
Related EPIC
- TODO: {link}
Definition
UC1. Enable Vacation responder setting
- Given that I am a Tmail user
- After logged in successfully, I click on my avatar and select option Settings, the setting screen will be opened.
- In Setting screen, there will be a new section: Vacation setting.
- In Vacation setting screen, I can see information:
- Vacation responder toggle
- Start date: I need to select date and time of the start date of vacation. There will be a date picker and a time picker.
- End date: I need to select date and time of the start date of vacation. The end date need to be greater than start date.
- Message body: This is the content in the boby of the email which will be replied automatically when my vacation responder is activated. This field cannot be blank.
- When I click button Save, if thers is no error, there will be a confirmation message: "Vacation settings saved"
- If the vacation responder toggle is enabled, there will be a float messgage "Your vacation responder is enabled." in every screen.
UC2. Send responder automatically on vacation
- Given that I enabled vacation responer
- Between the Start date and End date time of the vacation, when an email is sent to my Tmail account, the sender will receive an auto-reply email , with the message body in my vacation setting.
UC3. Edit vacation setting
- When the vacation responder is enabled, I can edit its setting screen
- I can edit Start Date/Time and End Date/Time of the vaction
- I can edit the message content field
- When I click button Save, the system will validate:
- If the End date < Start date, there will be an error message
- If the field "Message body" is blank, there will be an error message
- If there is no error, the setting is updated successfully with a notification message.
- The new updates will be applied.
Back to Summary
Screenshots
None
Back to Summary
Misc
None
Back to Summary
Dev
Desc
-
Create
VacationResponse
injmap_dart_client
project- Add
VacationResponse
object - Extent
GetMethod
andSetMethod
to implementVacationResponse/get
andVacationResponse/set
- Implement Vacation API with
VacationResponse/get
andVacationResponse/set
- Add
-
Integrate to
feature
intmail-flutter
- Add
Vacation Response
page inSettings
- In Vacation setting screen, add field:
- Add
- Vacation responder toggle
- Start date:
- End date:
- Message body
DoD:
- [x] Display Vacation responder setting
Reference:
Hey team! Please add your planning poker estimate with ZenHub @dab246 @ManhNTX
2 HD