-
Notifications
You must be signed in to change notification settings - Fork 881
Web terminal notification for "Startup script failed" does not account for terminal size #7914
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
Comments
@mafredri do you have a workspace where I can test this out? |
@BrunoQuaresma
|
This would probably be fixed by #9320, @mafredri can you please test in https://codercom.slack.com/archives/C05DNE982E8/p1692944206280609 |
@matifali tested but it doesn't, I think it's more a problem in how the HTML is represented. |
This is still an issue, reopening. |
Wondering if we should just display snack bar notifications on this page so Xterm does not have to do extra calc to get it right. Thoughts? |
If this makes the UX better let's try it out. We can test this and revert if we see any issues. |
Before - The terminal size does not fit the available space so the bottom is hidden. https://github.com/coder/coder/assets/3165839/d08470b9-9fc6-476c-a551-8a3e13fc25bf After - The terminal adjusts when there are alert changes. https://github.com/coder/coder/assets/3165839/8cc32bfb-056f-47cb-97f2-3bb18c5fe906 Unfortunately, I don't think there is a sane way to automate tests for this but open to suggestions. Close #7914
Before - The terminal size does not fit the available space so the bottom is hidden. https://github.com/coder/coder/assets/3165839/d08470b9-9fc6-476c-a551-8a3e13fc25bf After - The terminal adjusts when there are alert changes. https://github.com/coder/coder/assets/3165839/8cc32bfb-056f-47cb-97f2-3bb18c5fe906 Unfortunately, I don't think there is a sane way to automate tests for this but open to suggestions. Close #7914
It seems the notification banner is throwing off the terminal size and showing content outside the window (depending on window size).
The terminal status bar at the bottom also seems to disappear with this notification, but not with the "startup script is still running" one.
The text was updated successfully, but these errors were encountered: