openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Dynamic layout for the Serial-Over-Lan window in phosphor-webui
@ 2020-11-05 14:54 Konstantin Aladyshev
  2020-11-05 17:15 ` Derick Montague
  0 siblings, 1 reply; 3+ messages in thread
From: Konstantin Aladyshev @ 2020-11-05 14:54 UTC (permalink / raw)
  To: openbmc

Hello!
I was working on a Serial-Over-Lan layout in a phosphor-webui. For me
it seems horribly broken
(https://github.com/openbmc/phosphor-webui/issues/125):
- it is fixed in size even in full screen
- it uses only a part of its space for output in full-window view

I came up with a solution where a terminal window resizes according to
the window changes. Example:
https://i114.fastpic.ru/big/2020/1105/44/af933bbaa02d950e6164ff68dd754044.png
https://fastpic.ru/view/114/2020/1105/_2c94432100b3c3d40cc8553768b153f4.png.html

What do you think of it?
Do we still need a fixed layout, where we control its size through the
JSON file?
The only place where it is overridden is:
./meta-intel/meta-common/recipes-phosphor/webui/phosphor-webui/config.json :
"customConsoleDisplaySize": {
  "width": 100,
  "height": 32
}

So, almost nobody seems to use it. Wouldn't it be better to get rid of
a fixed layout completely in favor of a dynamic one?
Or should this be another JSON option like "consoleDynamicDisplaySize"?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-05 20:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 14:54 Dynamic layout for the Serial-Over-Lan window in phosphor-webui Konstantin Aladyshev
2020-11-05 17:15 ` Derick Montague
2020-11-05 20:42   ` Konstantin Aladyshev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).