Skip to content

feat: text blocks empty state - #13356

Open
madbob wants to merge 1 commit into
nextcloud:mainfrom
madbob:fixing_textblocks_1
Open

feat: text blocks empty state#13356
madbob wants to merge 1 commit into
nextcloud:mainfrom
madbob:fixing_textblocks_1

Conversation

@madbob

@madbob madbob commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

When no Text Blocks are defined, the picker modal accesible from Composer is a bit confusing as requires to choose something that do not exists.

This PR includes a basic message, aimed to increase discoverability of the Text Blocks feature.

preview

Plus: I've moved the buttons of TextBlockModal to be handled as native NcDialog buttons. I must confess it is not entirely clear to me if there is some policy about this functionality of NcDialog: sometime buttons are managed with dialog's proper property, sometime those are just hard-coded into the modal's body (often with custom CSS style to force alignment). In my opinion usage of native buttons property improves themeability, but guidance and suggestions are appreciated.

Signed-off-by: Roberto Guido <info@madbob.org>
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.

1 participant