Project

General

Profile

Actions

Bug #3465

closed

When popups are too tall or too wide, they are not displayed correctly

Added by Vincent MEMBRÉ about 11 years ago. Updated almost 11 years ago.

Status:
Released
Priority:
2
Category:
Web - UI & UX
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Popups in Rudder grow very wide and tall with workflows activated ( Rules impacted + workflow + message = too much to be displayed)

We need to change the way we create those popups to allow them to be correctly displayed (adatped to height and width, then resized and centered to the page)

This bug only concerns 2.6 because popups get big enough only since then.

Actions #1

Updated by Vincent MEMBRÉ about 11 years ago

  • Status changed from New to Pending technical review
Actions #2

Updated by Vincent MEMBRÉ about 11 years ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
Actions #3

Updated by Vincent MEMBRÉ about 11 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Anonymous about 11 years ago

Actions #5

Updated by Vincent MEMBRÉ about 11 years ago

Another pull request was made to make some other js correction https://github.com/Normation/rudder/pull/172

Actions #6

Updated by Nicolas CHARLES about 11 years ago

Hum, just to be sure, doesn't it break some layout for popup ? I thought we had some kind of "policy" for popup width.height, that might get broken with this implementation, isn't it ?

Actions #7

Updated by Vincent MEMBRÉ about 11 years ago

by setting autoresize to true in the modal call, the size is dinamcally computed when resize events.

Before we had awful problems with huge popups (group/directive modification with change request activated...) and they were not visible in the browser.

AutoResize make it all work for us and adapt it to height/width of the window (can display popup on very very small browser and still access buttons and the top right corner close button)

The key is to call the resize.simplemodal event every time we want to update our popup

Actions #8

Updated by Jonathan CLARKE almost 11 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF