Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Create Notion Database From RocketChat For Properties Without Configuration #14

Merged
merged 30 commits into from
Jul 7, 2023

Conversation

Nabhag8848
Copy link
Collaborator

@Nabhag8848 Nabhag8848 commented Jun 12, 2023

Issue(s)

Acceptance Criteria fulfillment

  • register /notion create database command
  • Have Helper Methods for UI under ElementBuilder and BlockBuilder for StaticSelectMenu, OverflowMenu, InputElement, DividerBlock
  • Create Methods: createNotionDatabase and SearchPages Under NotionSdk
  • Create Reusable methods SearchPageComponent, DropDownComponent, ButtonInSectionComponent, InputElementComponent.
  • Create ModalInteraction Class which includes methods for Store/Clear/Get actionIds and Methods for Storing Pages during Interaction of modals.
  • Have Add and Remove Property Block Interaction by storing and removing ActionsId mechanism.

Proposed changes (including videos or screenshots)

Further comments

  • This PR includes the basic implements of the Create Notion Database with properties having no configuration with expection of Number getting as a default field type number. There is no handling of required parameters but optional params are handled. The Notification once database is created succesfully or not will be further configured in addup PR and Type of CreateNotionDatabase under NotionSDK will be created in addup PR too

@Nabhag8848 Nabhag8848 marked this pull request as ready for review June 17, 2023 11:26
@Nabhag8848 Nabhag8848 changed the title [Feat] Create Notion Database From RocketChat [Feat] Create Notion Database From RocketChat For Properties Without Configuration Jun 17, 2023
Description: Includes Handling of Add Property and Removing Property also clearing All Interactions including Pages Interaction
Description: This PR includes the basic implements of the Create Notion Database with properties havhing not configuration with expection of Number getting as a default field type number. There is no handling of required parameters but optional params are handled. The Notification once database is created succesfully or not will be configured in addup PR and Type of CreateNotionDatabase under NotionSDK will be created in addup PR too
}

export enum SubCommandParam {
DATABASE = "database",
Copy link
Collaborator

Choose a reason for hiding this comment

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

db can also be a quick command

Copy link
Collaborator

Choose a reason for hiding this comment

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

Do this in a consecutive PR

src/handlers/ExecuteViewSubmitHandler.ts Show resolved Hide resolved
Copy link
Collaborator

@samad-yar-khan samad-yar-khan left a comment

Choose a reason for hiding this comment

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

LGTM

@samad-yar-khan samad-yar-khan merged commit 402e719 into RocketChat:main Jul 7, 2023
1 check passed
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] Create Notion Database From RocketChat
2 participants