public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH widget-toolkit] ui: journal view: make filter toolbar scrollable on narrow screens
@ 2026-11-24  8:45 David Riley
  2026-11-24  9:17 ` Dominik Csapak
  2026-11-24 22:50 ` applied: " Thomas Lamprecht
  0 siblings, 2 replies; 3+ messages in thread
From: David Riley @ 2026-11-24  8:45 UTC (permalink / raw)
  To: pve-devel

On narrow viewports, the filter controls in the system and service log
views could overflow the toolbar width and become inaccessible.

Enable horizontal scrolling for the filter toolbar so all filter
options remain reachable regardless of screen size.

Signed-off-by: David Riley <d.riley@proxmox.com>
---
 src/panel/JournalView.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/panel/JournalView.js b/src/panel/JournalView.js
index 48b5e74..07ea288 100644
--- a/src/panel/JournalView.js
+++ b/src/panel/JournalView.js
@@ -532,6 +532,7 @@ Ext.define('Proxmox.panel.JournalView', {
         {
             xtype: 'toolbar',
             dock: 'top',
+            overflowHandler: 'scroller',
             reference: 'filterSection',
             bind: { hidden: '{!showFilters}' },
             items: [
-- 
2.47.3





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

* Re: [PATCH widget-toolkit] ui: journal view: make filter toolbar scrollable on narrow screens
  2026-11-24  8:45 [PATCH widget-toolkit] ui: journal view: make filter toolbar scrollable on narrow screens David Riley
@ 2026-11-24  9:17 ` Dominik Csapak
  2026-11-24 22:50 ` applied: " Thomas Lamprecht
  1 sibling, 0 replies; 3+ messages in thread
From: Dominik Csapak @ 2026-11-24  9:17 UTC (permalink / raw)
  To: David Riley, pve-devel

i sent an alternative approach that adds it to all toolbars by
default:

https://lore.proxmox.com/pve-devel/20261124091611.603041-1-d.csapak@proxmox.com/T/#u

reason that prompted that, was that on this panel this was only one of
two toolbars which needed the handler and having it manually on every
one seems tedious...


On 11/24/26 9:45 AM, David Riley wrote:
> On narrow viewports, the filter controls in the system and service log
> views could overflow the toolbar width and become inaccessible.
> 
> Enable horizontal scrolling for the filter toolbar so all filter
> options remain reachable regardless of screen size.
> 
> Signed-off-by: David Riley <d.riley@proxmox.com>
> ---
>   src/panel/JournalView.js | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/src/panel/JournalView.js b/src/panel/JournalView.js
> index 48b5e74..07ea288 100644
> --- a/src/panel/JournalView.js
> +++ b/src/panel/JournalView.js
> @@ -532,6 +532,7 @@ Ext.define('Proxmox.panel.JournalView', {
>           {
>               xtype: 'toolbar',
>               dock: 'top',
> +            overflowHandler: 'scroller',
>               reference: 'filterSection',
>               bind: { hidden: '{!showFilters}' },
>               items: [





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

* applied: [PATCH widget-toolkit] ui: journal view: make filter toolbar scrollable on narrow screens
  2026-11-24  8:45 [PATCH widget-toolkit] ui: journal view: make filter toolbar scrollable on narrow screens David Riley
  2026-11-24  9:17 ` Dominik Csapak
@ 2026-11-24 22:50 ` Thomas Lamprecht
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Lamprecht @ 2026-11-24 22:50 UTC (permalink / raw)
  To: pve-devel, David Riley

On Tue, 24 Nov 2026 09:45:20 +0100, David Riley wrote:
> On narrow viewports, the filter controls in the system and service log
> views could overflow the toolbar width and become inaccessible.
> 
> Enable horizontal scrolling for the filter toolbar so all filter
> options remain reachable regardless of screen size.
> 
> 
> [...]

Applied this one for now, thanks!

IMO Dominik's might be a real good long-term approach, but such broad
default changes had unintended side effects in the past, so I'd rather
get this more exposure testing from others, and/or apply it in a less
pressing times.

[1/1] ui: journal view: make filter toolbar scrollable on narrow screens
      https://git.proxmox.com/?p=proxmox-widget-toolkit.git;a=commitdiff;h=07ca20721f971ef571ca4e30585bec7ec5f5ef71




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

end of thread, other threads:[~2026-11-24 22:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24  8:45 [PATCH widget-toolkit] ui: journal view: make filter toolbar scrollable on narrow screens David Riley
2026-11-24  9:17 ` Dominik Csapak
2026-11-24 22:50 ` applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal