discourse/app/assets/stylesheets/desktop
Joe c85921a548
FEATURE: Adds full screen composer submit button and prompt (#17839)
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
2022-08-11 14:38:56 +08:00
..
admin DEV: Added support for custom site setting 'emoji_list' (#12414) 2021-04-07 15:32:05 +02:00
components FEATURE: Make max number of favorite configurable (#13480) 2021-06-22 18:58:03 +03:00
_index.scss FEATURE: update bootstrap mode notice to add invite and wizard links (#17822) 2022-08-10 00:13:42 +05:30
admin_customize.scss UX: Editing theme name stays active when switching themes. 2019-04-23 14:57:14 +08:00
alert.scss FEATURE: update bootstrap mode notice to add invite and wizard links (#17822) 2022-08-10 00:13:42 +05:30
category-list.scss UX: Remove :empty on topic-statuses, clean up (#14227) 2021-09-02 15:35:35 -04:00
compose.scss FEATURE: Adds full screen composer submit button and prompt (#17839) 2022-08-11 14:38:56 +08:00
discourse.scss UX: sidebar transition and styling adjustments (#17678) 2022-07-26 23:16:34 -04:00
edit-category.scss UX: Move category editing/creation to its own page (#10973) 2020-10-23 12:49:02 -04:00
group.scss UX: Fix alignment in group navigation bar (#15169) 2021-12-02 09:45:33 -05:00
header.scss REFACTOR: Remove position fixed from the header and use sticky instead (#10781) 2020-10-19 17:26:38 -04:00
history.scss UX: core adjustments and styles for the experimental sidebar (#17271) 2022-06-29 10:49:01 +08:00
latest-topic-list.scss FIX: Revert color of post-map (#12774) 2021-04-20 17:38:13 -05:00
login.scss UX: Less specific styling for Auth logins (#16393) 2022-04-11 12:33:09 -05:00
menu-panel.scss DEV: Introduce a basic version of the new notifications menu behind a feature flag (#17492) 2022-07-19 10:35:02 +08:00
modal.scss DEV: Minor fixes to json schema editor styling (#16634) 2022-05-05 09:52:58 +08:00
sidebar-section.scss UX: sidebar focus styles, remove hover for touch (#17713) 2022-07-28 13:04:00 -04:00
topic-list.scss FEATURE: add welcome topic cta banner (#17821) 2022-08-09 21:52:39 +05:30
topic-post.scss UX: Prevent pre tag from making posts too wide (#17518) 2022-07-15 15:51:22 -04:00
topic.scss UX: core adjustments and styles for the experimental sidebar (#17271) 2022-06-29 10:49:01 +08:00
upload.scss FEATURE: use native file picker in composer (#13552) 2021-06-30 12:45:47 +04:00
user.scss UX: remove style that breaks composer on pm page (#15189) 2021-12-03 21:56:37 -05:00