← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1280423] [NEW] Date picker fields in Resources Usage Overview should be hidden by default

 

Public bug reported:

In the panel Admin > Resources Usage Overview panel custom date picker fields (From and To) are not hidden by default.
This causes those fields to be visible very briefly when the panel loads before the Javascript check kicks in (that decides whether they should be visible or hidden).

Their visibility depends on the selection in Period drop down. Only when
the selection is "Other" date picker fields should be visible. However,
the default drop down value when the panel initially loads is "Last
week", which means date picker fields should be hidden by default.

To reproduce:
1. Try to connect to Horizon remotely to see the issue more easily
2. Go to Admin > Resources Usage Overview
3. You'll see that date picker fields (From, To) are shown first and then very quickly are hidden.

A screenshot of when the panel loads is attached.

** Affects: horizon
     Importance: Undecided
     Assignee: Vahid Hashemian (vahidhashemian)
         Status: New

** Attachment added: "date_picker_visible_by_default.PNG"
   https://bugs.launchpad.net/bugs/1280423/+attachment/3981102/+files/date_picker_visible_by_default.PNG

** Changed in: horizon
     Assignee: (unassigned) => Vahid Hashemian (vahidhashemian)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1280423

Title:
  Date picker fields in Resources Usage Overview should be hidden by
  default

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  In the panel Admin > Resources Usage Overview panel custom date picker fields (From and To) are not hidden by default.
  This causes those fields to be visible very briefly when the panel loads before the Javascript check kicks in (that decides whether they should be visible or hidden).

  Their visibility depends on the selection in Period drop down. Only
  when the selection is "Other" date picker fields should be visible.
  However, the default drop down value when the panel initially loads is
  "Last week", which means date picker fields should be hidden by
  default.

  To reproduce:
  1. Try to connect to Horizon remotely to see the issue more easily
  2. Go to Admin > Resources Usage Overview
  3. You'll see that date picker fields (From, To) are shown first and then very quickly are hidden.

  A screenshot of when the panel loads is attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1280423/+subscriptions


Follow ups

References