-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Add support for fullscreen compose box #17660
Comments
Hello @zulip/server-compose members, this issue was labeled with the "area: compose" label, so you may want to check it out! |
I am working on compose box right now and have many ideas about this. Would love to try this one. |
This commit change the max-height for new_message_textarea to calc(50vh - 50px) in which 50vh will ensure at most half of the viewport is taken by the compose box at max and the 50px is for the top header that we have. This way, there will always be ample amount of space even in small devices so that they can scroll. Part of zulip#17660 Fixes zulip#16038
This commit change the max-height for new_message_textarea to calc(50vh - 50px) in which 50vh will ensure at most half of the viewport is taken by the compose box at max and the 50px is for the top header that we have. This way, there will always be ample amount of space even in small devices so that they can scroll. Part of zulip#17660 Fixes zulip#16038
This commit change the max-height for new_message_textarea to calc(50vh - 50px) in which 50vh will ensure at most half of the viewport is taken by the compose box at max and the 50px is for the top header that we have. This way, there will always be ample amount of space even in small devices so that they can scroll. Part of zulip#17660 Fixes zulip#16038
This commit change the max-height for new_message_textarea to calc(50vh - 50px) in which 50vh will ensure at most half of the viewport is taken by the compose box at max and the 50px is for the top header that we have. This way, there will always be ample amount of space even in small devices so that they can scroll. Part of zulip#17660 Fixes zulip#16038
This commit makes a working toggler in compose_actions that changes the max height and max height accordingly making the compose box full size. The compose_height.js maintains the state of the height of the compose box and according to it, the toggler updates the height. Also, when the compose box is closed, the compose box is reset to it's default behaviour and height as expected. So, everytime user need not toggle for every message. Fixes zulip#17660
This commit change the max-height for new_message_textarea to calc(50vh - 50px) in which 50vh will ensure at most half of the viewport is taken by the compose box at max and the 50px is for the top header that we have. This way, there will always be ample amount of space even in small devices so that they can scroll. Part of zulip#17660 Fixes zulip#16038
This commit makes a working toggler in compose_actions that changes the max height and max height accordingly making the compose box full size. The compose_height.js maintains the state of the height of the compose box and according to it, the toggler updates the height. Also, when the compose box is closed, the compose box is reset to it's default behaviour and height as expected. So, everytime user need not toggle for every message. Fixes zulip#17660
This commit change the max-height for new_message_textarea to calc(50vh - 50px) in which 50vh will ensure at most half of the viewport is taken by the compose box at max and the 50px is for the top header that we have. This way, there will always be ample amount of space even in small devices so that they can scroll. Part of zulip#17660 Fixes zulip#16038
This commit makes a working toggler in compose_actions that changes the max height and max height accordingly making the compose box full size. The compose_height.js maintains the state of the height of the compose box and according to it, the toggler updates the height. Also, when the compose box is closed, the compose box is reset to it's default behaviour and height as expected. So, everytime user need not toggle for every message. Fixes zulip#17660
This commit destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit change the max-height for new_message_textarea to calc(50vh - 50px) in which 50vh will ensure at most half of the viewport is taken by the compose box at max and the 50px is for the top header that we have. This way, there will always be ample amount of space even in small devices so that they can scroll. Part of zulip#17660 Fixes zulip#16038
This commit makes a working toggler in compose_actions that changes the max height and max height accordingly making the compose box full size. The compose_height.js maintains the state of the height of the compose box and according to it, the toggler updates the height. Also, when the compose box is closed, the compose box is reset to it's default behaviour and height as expected. So, everytime user need not toggle for every message. Fixes zulip#17660
This commit destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit makes a working toggler in compose_actions that changes the max height and max height accordingly making the compose box full size. The compose_height.js maintains the state of the height of the compose box and according to it, the toggler updates the height. Also, when the compose box is closed, the compose box is reset to it's default behaviour and height as expected. So, everytime user need not toggle for every message. Fixes zulip#17660
This commit destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit change the max-height for new_message_textarea to calc(50vh - 50px) in which 50vh will ensure at most half of the viewport is taken by the compose box at max and the 50px is for the top header that we have. This way, there will always be ample amount of space even in small devices so that they can scroll. Part of zulip#17660 Fixes zulip#16038
This commit makes a working toggler in compose_actions that changes the max height and max height accordingly making the compose box full size. The compose_height.js maintains the state of the height of the compose box and according to it, the toggler updates the height. Also, when the compose box is closed, the compose box is reset to it's default behaviour and height as expected. So, everytime user need not toggle for every message. Fixes zulip#17660
This commit destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
Hello @Signior-X, you claimed this issue to work on it, but this issue and any referenced pull requests haven't been updated for 10 days. Are you still working on this issue? If so, please update this issue by leaving a comment on this issue to let me know that you're still working on it. Otherwise, I'll automatically remove you from this issue in 4 days. If you've decided to work on something else, simply comment Thank you for your valuable contributions to Zulip! |
This commit change the max-height for new_message_textarea to calc(50vh - 50px) in which 50vh will ensure at most half of the viewport is taken by the compose box at max and the 50px is for the top header that we have. This way, there will always be ample amount of space even in small devices so that they can scroll. Part of zulip#17660 Fixes zulip#16038
This commit makes a working toggler in compose_actions that changes the max height and max height accordingly making the compose box full size. The compose_height.js maintains the state of the height of the compose box and according to it, the toggler updates the height. Also, when the compose box is closed, the compose box is reset to it's default behaviour and height as expected. So, everytime user need not toggle for every message. Fixes zulip#17660
This commit destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit makes a working toggler in compose_actions that changes the max height and max height accordingly making the compose box full size. The compose_height.js maintains the state of the height of the compose box and according to it, the toggler updates the height. Also, when the compose box is closed, the compose box is reset to it's default behaviour and height as expected. So, everytime user need not toggle for every message. It also adds destroy autosize on compose_height state change. It destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit change the max-height for new_message_textarea to calc(50vh - 50px) in which 50vh will ensure at most half of the viewport is taken by the compose box at max and the 50px is for the top header that we have. This way, there will always be ample amount of space even in small devices so that they can scroll. Part of zulip#17660 Fixes zulip#16038
This commit makes a working toggler in compose_actions that changes the max height and max height accordingly making the compose box full size. The compose_height.js maintains the state of the height of the compose box and according to it, the toggler updates the height. Also, when the compose box is closed, the compose box is reset to it's default behaviour and height as expected. So, everytime user need not toggle for every message. It also adds destroy autosize on compose_height state change. It destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
Now this adds a class compose-fullscreen that makes the height automatically adjust with the device height as the display flex and heights are used. This also makes the arrow appear everywhere and node tests have been wrote for this. Fixes zulip#17660
This commit makes a working toggler in compose_actions that adds the compose-fullscreen class to the compose that removes the max-height from the compose textarea and adds flex elements above so that the height automatically adjust with the device height. This results in making the compose box full screen sized. The compose_height.js maintains the state of the height of the compose box. Also, when the compose box is closed, the compose box is reset to it's default behaviour and original height. So, everytime user need not toggle off the compose full size and only for specific message it is used. It also adds destroy autosize on compose_height state change. It destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit change the max-height for new_message_textarea to calc(50vh - 50px) in which 50vh will ensure at most half of the viewport is taken by the compose box at max and the 50px is for the top header that we have. This way, there will always be ample amount of space even in small devices so that they can scroll. Part of zulip#17660 Fixes zulip#16038
This commit makes a working toggler in compose_actions that adds the compose-fullscreen class to the compose that removes the max-height from the compose textarea and adds flex elements above so that the height automatically adjust with the device height. This results in making the compose box full screen sized. The compose_height.js maintains the state of the height of the compose box. Also, when the compose box is closed, the compose box is reset to it's default behaviour and original height. So, everytime user need not toggle off the compose full size and only for specific message it is used. It also adds destroy autosize on compose_height state change. It destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit makes a working toggler in compose_actions that adds the compose-fullscreen class to the compose that removes the max-height from the compose textarea and adds flex elements above so that the height automatically adjust with the device height. This results in making the compose box full screen sized. The compose_height.js maintains the state of the height of the compose box. Also, when the compose box is closed, the compose box is reset to it's default behaviour and original height. So, everytime user need not toggle off the compose full size and only for specific message it is used. It also adds destroy autosize on compose_height state change. It destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit makes a working toggler in compose_actions that adds the compose-fullscreen class to the compose that removes the max-height from the compose textarea and adds flex elements above so that the height automatically adjust with the device height. This results in making the compose box full screen sized. The compose_height.js maintains the state of the height of the compose box. Also, when the compose box is closed, the compose box is reset to it's default behaviour and original height. So, everytime user need not toggle off the compose full size and only for specific message it is used. It also adds destroy autosize on compose_height state change. It destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit makes a working toggler in compose_actions that adds the compose-fullscreen class to the compose that removes the max-height from the compose textarea and adds flex elements above so that the height automatically adjust with the device height. This results in making the compose box full screen sized. The compose_height.js maintains the state of the height of the compose box. Also, when the compose box is closed, the compose box is reset to it's default behaviour and original height. So, everytime user need not toggle off the compose full size and only for specific message it is used. It also adds destroy autosize on compose_height state change. It destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit tries to reduce the CSS that needs to be changed in the special mode of compose height full screen. Fixes zulip#17660
This commit makes a working toggler in compose_actions that adds the compose-fullscreen class to the compose that removes the max-height from the compose textarea and adds flex elements above so that the height automatically adjust with the device height. This results in making the compose box full screen sized. The compose_height.js maintains the state of the height of the compose box. Also, when the compose box is closed, the compose box is reset to it's default behaviour and original height. So, everytime user need not toggle off the compose full size and only for specific message it is used. It also adds destroy autosize on compose_height state change. It destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit tries to reduce the CSS that needs to be changed in the special mode of compose height full screen. Fixes zulip#17660
This commit makes a working toggler in compose_actions that adds the compose-fullscreen class to the compose that removes the max-height from the compose textarea and adds flex elements above so that the height automatically adjust with the device height. This results in making the compose box full screen sized. The compose_height.js maintains the state of the height of the compose box. Also, when the compose box is closed, the compose box is reset to it's default behaviour and original height. So, everytime user need not toggle off the compose full size and only for specific message it is used. It also adds destroy autosize on compose_height state change. It destroys the autosize of textarea when the full screen sized compose box is toggled on. And everytime when it is turned off, it reinitialises the autosize. This also adds a condition in autosize_textarea to only autosize when composebox is not in full height state. Fixes zulip#17660
This commit tries to reduce the CSS that needs to be changed in the special mode of compose height full screen. Fixes zulip#17660
We've had a number of request for being able to make Zulip's compose box larger when writing a longer message and/or just wanting to not be distracted by the message feed.
The current theory is that we should have a button to expand compose box to fill the entire center panel; this has the following advantages:
This is a good issue for someone used to doing frontend prototyping, and will require some care to make sure that we don't break error handling (i.e. leave space above the compose box for the purpose); one important detail is making sure
autosize_textarea()
interacts properly with the enlarged compose box.We should be mindful of #16038 when thinking about this.
https://chat.zulip.org/#narrow/stream/137-feedback/topic/More.20full-featured.20compose.20box/near/1132898 has some discussion.
The text was updated successfully, but these errors were encountered: