/
Popup title is never updated [5.2.2-B1]

Popup title is never updated [5.2.2-B1]

In-Portal's Administrative Console can be configured to have one of 3 interface models:

  • Same Window - attempt edit an item would open it in same window
  • Popup Window - attempt edit an item would open it in new popup window
  • Modal Window - attempt edit an item would open it in new modal window 

Difference between latter two is that in "Modal Window" mode it's impossible to edit 2+ items in parallel which would allow user focusing on one item at a time and decrease human error factor.

To ease opened window (or browser tab) identification In-Portal also sets window title to match active section/window on the page:

The problem #1 is, that browser cuts off long window titles and each window title prepended with site name (the "In-Portal CMS 5.2.2-B1" in above image), which almost every time gets window title part, that matters (the "Labels & Phrases" in above image) cut off. This fact makes it harder for user to use Administrative Console with several windows opened.

The problem #2 is that when popup is opened, then it's title is never changed and stays "In-Portal CMS 5.2.2-B1 - Administrative Console" all the time. Turns out, that instead of popup window title the main window title is updated, which totally confuses user because main window title would say last opened popup name, which is totally not helping.

Solution

  1. append site name to window title instead of prepending it:
    • before: "In-Portal CMS 5.2.2-B1 - Labels & Phrases - Administrative Console"
    • after: "Labels & Phrases - Administrative Console - In-Portal CMS 5.2.2-B1"
  2. when popup is opened update popup window title instead of main window title

Related Tasks

INP-1468 - Getting issue details... STATUS