mirror of
https://github.com/discourse/discourse.git
synced 2025-01-21 11:52:24 +08:00
c85921a548
Context: https://meta.discourse.org/t/still-display-the-reply-create-topic-button-when-using-full-screen-composition/123597/6?u=johani Right now, we don't show the submit buttons when you enter the full-screen composer. The reasons for that are described in the context link above. This PR adds the improvements highlighted here: https://meta.discourse.org/t/still-display-the-reply-create-topic-button-when-using-full-screen-composition/123597/12?u=johani Here's a list of the changes this PR introduces: 1. When you enter full-screen mode, we will now add a prompt that matches the browser fullscreen <kbd>F11</kbd> function. It looks like so <img width="500" src="https://user-images.githubusercontent.com/33972521/183529813-71a20167-a661-466c-b9ef-c4d34e231000.png"> The prompt fades away after a couple of seconds. 2. This PR adds the submit buttons to the full-screen composer mode. The submit buttons should work like normal if the post has no errors. If the post has errors (title too short, body too short, required categories/tags), then the button will make the composer exit the full-screen mode so that users will see the errors and fix them. The error logic is based on what we currently have; this PR doesn't add any new validation. Here's a video of what that looks like: https://meta.discourse.org/t/-/127948/14?u=johani |
||
---|---|---|
.. | ||
report-filters | ||
site-settings | ||
ace-editor.hbs | ||
admin-backups-logs.hbs | ||
admin-editable-field.hbs | ||
admin-form-row.hbs | ||
admin-nav.hbs | ||
admin-penalty-history.hbs | ||
admin-report-chart.hbs | ||
admin-report-counters.hbs | ||
admin-report-counts.hbs | ||
admin-report-inline-table.hbs | ||
admin-report-per-day-counts.hbs | ||
admin-report-stacked-chart.hbs | ||
admin-report-storage-stats.hbs | ||
admin-report-table-cell.hbs | ||
admin-report-table-header.hbs | ||
admin-report-table-row.hbs | ||
admin-report-table.hbs | ||
admin-report-trust-level-counts.hbs | ||
admin-report.hbs | ||
admin-theme-editor.hbs | ||
admin-user-field-item.hbs | ||
admin-watched-word.hbs | ||
admin-web-hook-event-chooser.hbs | ||
admin-web-hook-event.hbs | ||
admin-web-hook-status.hbs | ||
composer-fullscreen-prompt.hbs | ||
dashboard-new-feature-item.hbs | ||
dashboard-new-features.hbs | ||
dashboard-problems.hbs | ||
email-styles-editor.hbs | ||
embeddable-host.hbs | ||
embedding-setting.hbs | ||
emoji-value-list.hbs | ||
flag-user-lists.hbs | ||
flag-user.hbs | ||
highlighted-code.hbs | ||
inline-edit-checkbox.hbs | ||
install-theme-item.hbs | ||
ip-lookup.hbs | ||
penalty-post-action.hbs | ||
permalink-form.hbs | ||
resumable-upload.hbs | ||
screened-ip-address-form.hbs | ||
secret-value-list.hbs | ||
setting-validation-message.hbs | ||
silence-details.hbs | ||
simple-list.hbs | ||
site-customization-change-details.hbs | ||
site-customization-change-field.hbs | ||
site-setting.hbs | ||
site-text-summary.hbs | ||
staff-actions.hbs | ||
suspension-details.hbs | ||
tags-uploader.hbs | ||
themes-list-item.hbs | ||
themes-list.hbs | ||
value-list.hbs | ||
version-checks.hbs | ||
watched-word-form.hbs | ||
watched-word-uploader.hbs |