Skip to content

feat(user-manual): Add docs for text blocks #12931

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hamza221
Copy link
Contributor

@hamza221 hamza221 commented Mar 26, 2025

☑️ Resolves

🖼️ Screenshots

image

@nimishavijay
Copy link
Member

nimishavijay commented Mar 27, 2025

  • Snippets --> Text blocks
  • Move the section in the settings to below General

Inside setting dialog

  • Snippets heading --> list of snippets --> Create new snippet button
  • For each snippet use NcListItem component with title in one line and content in subline and 3 dot menu
  • Add shared icon to the left of 3 dot menu
  • In 3 dot menu delete at the end
  • In 3 dot menu For edit use pencil icon
  • Nice-to-have: show share icon if it's shared with other people

image

  • new snippet dialog and edit snippet dialog --> add border in content so that it looks like a text field
    • Buttons in new and edit dialog
    • "Ok" --> "Save text block"
    • Cancel icon --> x symbol
    • Cancel button tertiary
    • width of the buttons should be fit-content
    • all buttons right aligned
  • Edit dialog
    • width same as new snippet dialog
    • remove "Content" heading
    • "Shares" --> h3
    • Add placeholder in dropdown "Search for users or groups"
    • Instead of UserBubble component for added users use NcListItem (similar to calendar sharing or files sharing) with an x to remove

Incoming shared text blocks

  • Allow opening and viewing full text block
  • Hide section if empty

While inserting in composer

  • character?
  • in 3 dot menu have "Insert text block" item after smart picker item
  • Open modal with list of text blocks and search bar which filters the results similar to Talk create conversation add participants modal

Follow up

  • combine with smart picker

@hamza221 hamza221 marked this pull request as draft April 1, 2025 15:15
@hamza221 hamza221 force-pushed the feat/user/mail-snippets branch from 2511fce to aebe453 Compare August 8, 2025 15:37
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
@hamza221 hamza221 force-pushed the feat/user/mail-snippets branch from aebe453 to 56d69f8 Compare August 8, 2025 15:38
@hamza221 hamza221 marked this pull request as ready for review August 8, 2025 15:38
@hamza221 hamza221 requested a review from rakekniven August 8, 2025 15:38
@hamza221 hamza221 changed the title feat(user-manual): Add docs for mail snippets feat(user-manual): Add docs for text blocks Aug 8, 2025

.. versionadded:: 3.2

The composer modal can be minimized while writing a new message, editing an existing draft or editing a message from the outbox. Simply click the minimize button on the top right of the modal or click anywhere outside the modal.
Copy link
Member

Choose a reason for hiding this comment

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

editing an existing draft or editing a message from the outbox.
->
editing an existing draft or a message from the outbox.


.. figure:: images/mail-composer-indicator.png

Press the close button on the modal or the indicator in the bottom right corner to stop editing a message. A draft will be saved automatically into your draft mailbox.
Copy link
Member

Choose a reason for hiding this comment

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

Press the close button
->
Press close button

@rakekniven
Copy link
Member

Everything else looks good!

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

Successfully merging this pull request may close these issues.

Text blocks
3 participants