Skip to content

feat: Default replies for new app users#56

Open
priyanshuharshbodhi1 wants to merge 3 commits intoRocketChat:mainfrom
priyanshuharshbodhi1:feat-Default-famous-replies-new
Open

feat: Default replies for new app users#56
priyanshuharshbodhi1 wants to merge 3 commits intoRocketChat:mainfrom
priyanshuharshbodhi1:feat-Default-famous-replies-new

Conversation

@priyanshuharshbodhi1
Copy link
Copy Markdown

@priyanshuharshbodhi1 priyanshuharshbodhi1 commented Mar 31, 2025

  • Ensures that both admin and users gets default replies at first(only)
  • Tried to make it most optimised(not sure)

Issue(s)

closes #26

Acceptance Criteria fulfillment

  • Added famous replies
  • Added proper error handling

Further comments

Not sure if it is the most optimal and correct solution to the requested changes in PR #38. Please confirm it.

- ensures that both admin and users gets it
- tried to make it most optimised(not sure)
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 31, 2025

CLA assistant check
All committers have signed the CLA.

@priyanshuharshbodhi1
Copy link
Copy Markdown
Author

Hey @VipinDevelops ,
Can u check into it.

/**
* Get the association records for tracking user initialization status
*/
private getInitAssociations(userId: string): RocketChatAssociationRecord[] {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

do we need this methods ?

* Initialize default quick replies for a user who hasn't used the app before

*/
public async initializeDefaultRepliesForUser(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

To much login in the root of the app can we define thing outside and use here ?

@priyanshuharshbodhi1
Copy link
Copy Markdown
Author

I’ve pushed the requested changes. Let me know if anything else is needed...

DEMO VIDEO: (Whenever a user installs the app, user will have default replies in the list.

Screencast.from.2025-04-23.20-03-38.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat]: Add famous quick replies

3 participants