Skip to content

Conversation

priyanshuharshbodhi1
Copy link

@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

CLAassistant commented Mar 31, 2025

CLA assistant check
All committers have signed the CLA.

@priyanshuharshbodhi1
Copy link
Author

Hey @VipinDevelops ,
Can u check into it.

/**
* Get the association records for tracking user initialization status
*/
private getInitAssociations(userId: string): RocketChatAssociationRecord[] {
Copy link
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
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
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