Page MenuHomePhorge

Dashboard Tabs is not open anymore as default at startup
Closed, ResolvedPublic

Description

It seems that the Dashboard Tabs Panel is often empty as default. This was probably the regression:

cbc0e661544a31290099ab3d88481bb8d4a3003c

The variable $is_selected was defined inside a foreach loop, but that loop was terminated when it was then read again.

We should redefine that variable in the right scope.


Interestingly this can somehow break the homepage of some Phorge installations. For example, when you have welcome instructions in one panel, like here:

https://phabricator.wikimedia.org/

Wikimedia home with two panels.png (533ร—1 px, 104 KB)

Without this fix, the welcome instructions probably will be closed as default, so, not visible.

Event Timeline

valerio.bozzolan renamed this task from Dashboard Tabs is not open anymore at startup to Dashboard Tabs is not open anymore as default at startup.Jun 23 2023, 09:20