Closed sahsisunny closed 11 months ago
LGTM
LGTM
In the sequence diagram, for overdue you have mentioned that the discord bot will get task Data, calculate the deadline, and filter overdue tasks Similarly for onboarding also discord bot will receive user Data, and compare it with criteria and other calculations, How will it do it exactly? Wanted to ask how will discord bot get those Will it connect to the backend or Clouflare workers or Firestore?
Error Handling
There is no need to any custom input query so there is no chance to handle any errors.
I didn't understand what this exactly meant. Why is there no chance to handle errors?
User Stories
As an ADMIN/SUPER USER, I want to be able to use the /notify command to quickly identify users with overdue tasks.
As an ADMIN/SUPER USER, I want to monitor the onboarding progress of new members based on predefined criteria.
Just clearing things up, the notify command will be used to notify users right? Or identify users, if yes then how?
Can you please elaborate second point please
This command will notify a group of users at once right? Wouldn't it be better to notify them individually?
Error Handling There is no need to any custom input query so there is no chance to handle any errors.
I didn't understand what this exactly meant. Why is there no chance to handle errors?
We are not taking any input from the user.
User Stories As an ADMIN/SUPER USER, I want to be able to use the /notify command to quickly identify users with overdue tasks. As an ADMIN/SUPER USER, I want to monitor the onboarding progress of new members based on predefined criteria.
Just clearing things up, the notify command will be used to notify users right? Or identify users, if yes then how?
Can you please elaborate second point please
User Stories As an ADMIN/SUPER USER, I want to be able to use the /notify command to quickly identify users with overdue tasks. As an ADMIN/SUPER USER, I want to monitor the onboarding progress of new members based on predefined criteria.
Just clearing things up, the notify command will be used to notify users right? Or identify users, if yes then how?
Can you please elaborate second point please
It gives the list/tag in a group(like mention each commend) of users based on conditions.
This command will notify a group of users at once right? Wouldn't it be better to notify them individually?
Yes, you're right. This command is designed to notify a group of users all at once. However, I'd like to understand more about the scenario where individual notifications would be beneficial. Could you please provide more details on the use case for notifying users individually? This would help me better understand your requirements and explore any potential improvements to the notification process.
@prakashchoudhary07 If you prefer, we can also discuss this in more detail over a call.
I just wanted to ask if we will get all tasks and onboarding data, and filter at the backend. or the DB will give the filtered results
Nice, LGTM 🚀
Design Doc for
/notify
CommandOverview
The
/notify
command is designed to provide task deadline notifications and onboarding status monitoring for our Discord bot. This document outlines the technical details and implementation guidelines for this command.User Stories
/notify
command to quickly identify users with overdue tasks.Command Structure
The
/notify
command will accept two primary options: "OVERDUE" and "ONBOARDING," each with their respective sub-options.Option 1: OVERDUE
/notify OVERDUE: In 1 Day /notify OVERDUE: In 3 Days
Option 2: ONBOARDING
/notify ONBOARDING: > 31 Days /notify ONBOARDING: > 7D & < 31D
Technical Implementation
Command Parsing
/notify
.Data Retrieval
OVERDUE
ONBOARDING
Error Handling
Sequence Diagram
Response
Ex:
Testing
Documentation
/notify
command and its available options.Timeline
This design will be implemented as a part of the bot's functionality. The timeline for implementation will be determined based on project priorities.