Skip to content

[Feat]: Adding a modal to allow users to add content to the Notion page. #60

@Spiral-Memory

Description

@Spiral-Memory

What do we need?

I believe it would be beneficial to implement a feature where users can utilize a '/notion append' command, triggering a modal. Within this modal, users can select pages and find a text area field to add their content, allowing them to save content it directly to Notion without the need to send a message to any channel in Rocket Chat. They could optionally add heading as well to their page. Currently, users have to send a message first before and then send it to page.

Acceptance Criteria

  • Deciding on an appropriate command parameter to use.
  • Creating a modal with page selection and a textarea input field.
  • Utilizing the Notion API to save the content on the page.

Relevant ScreenShots

The current screenshot was created by editing elements in the inspect element tool to illustrate how it might appear. The same design can be implemented in reality.

image

Expected Output on Notion Page:

image

Further Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions