The first step in the dynamic theme effort requires that the context
selection picker inherit properly from a dropdown menu, so that the
styles can be shared and the experience is matched.
Dynamic themes will use the 'select' experience of the context menu
but from within the user menu, so it was necessary to match the
experiences to minimize duplicated code.
The style of the context menu was extremely dependant on DOM structure
and therefore difficult to customize. This has been simplified by using
classes and attempting to keep specificity as low as possible.
Change-Id: Idb9e8f5c1d246688418f68e12fb53f094c01ea34
Partially-implements: blueprint horizon-dynamic-theme
Partially-Implements: blueprint bootstrap-html-standards
During a refactor, the required field asterisk was unintentionally
removed from some of hte workflows (those not using _workflow.html).
This has been fixed, and now both implementations are making use of
the same template, alleviating dual maintenance in the future.
Closes-bug: #1543717
Change-Id: Ia8672e1e62b077c91c364bc62e16ee36625bda20
Group integration tests into python files which are named using the
same pattern: test_<entity_being_tested>s.py
Change-Id: I3504ae3952ef55d3059b9891c74ddceb7e6a92ce
This code intended to allow pre-filling of the form values through
Django's handling of GET parameters, but it did not do so as the
code was incorrect. This was not previously noticed as the angularjs
code wasn't actually being executed. Once it was, it broke. Ironic,
I know.
Change-Id: I8d641de9246fd4f43c96bf85d47bb648f4401def
Closes-Bug: 1503396
If you view /admin/images and /project/images, you will see that a long
image name is truncated in /project/images but not /admin/images. This
commit updates openstack_dashboard/dashboards/admin/images/tables.py to
truncate the displayed image name to 40 characters, as is currently
being done in
openstack_dashboard/dashboards/project/images/images/tables.py.
Change-Id: I68ac044ae57550284d833ad0433b091595819530
Added the networkspage based on the new regions. The method
test_network_create uses the new page navigation and checks basic
private network creation and deletion.
A few other modifications being made:
* horizon.conf:
* the network section, containing network_cidr, The cidr block to
allocate tenant ipv4 subnets from, same as in tempest.conf
* added neutron to service_available section
* config.py:
* 'network_cidr' under the new NetworkGroup
* 'neutron' under AvailableServiceGroup, default=True
Implements blueprint: horizon-integration-tests-coverage
Co-Authored-By: Timur Sufiev <tsufiev@mirantis.com>
Change-Id: Ia4a499bc93ac79aaf03c291c7bdbc96ccea93351
The patch below was merged before addressing some comments from Akihiro.
https://review.openstack.org/#/c/259283/6
This patch will address them.
Change-Id: Iaf2aec3265a9f075f434ad5bce8ee6a2e3dd5fc5
Related-Bug: #1527457
When we update the user info from pencil icon in User List,
data doesn't have 'project' attribute.
Therefore, date.pop('project') failed and exception occur.
The v2 API updates user model and default project separately.
And in User List, operator don't need to consider if a user
have a default tenant.
So we should check if data has a 'project' attribute and
if data has no 'project' attribute, it will update only user info.
Change-Id: I979bedeb8ddb15d3f7f171660ec9df4875edb53a
Closes-Bug: #1523343
The padding around the Top Nav Bar's Dropdown Icons have been done
with actual text spaces, instead of relying on padding that is set
via css. This makes it very difficult to customize the padding
around these elements at a global level.
Some contextual classes have been added for ease of branding-level
customization.
Change-Id: I6768135351637db8a950a4b44366880817ce2df3
Closes-bug: #1537608
This adds magic search filtering to the NG Flavors table.
To test set DISABLED = False in _2081_admin_flavors_panel.py
Change-Id: I6e64c0122fdb2d48c9c94ca11fa43ac6fe23c602
Partially-Implements: blueprint ng-flavors
(cherry picked from commit e1bf99d05153b39b9f1f0ad46cce15938af3b356)
This is based off the discussion in the mailing list about
how to name Angular Services and controllers.
To test set DISABLED = False in _1051_project_ng_images_panel.py
Change-Id: Ib16d7e23f2e415a0521d24afb0cf548be847543a
Partially-Implements: blueprint angularize-images-table
Test for images pagination has been added.
Changes of TableRegion class:
1) Locators of 'Next' and 'Prev' links are added
2) Methods is_next_link_available() and is_prev_link_available()
3) Methods for pages navigation added: next_page() and prev_page()a
4) update assert_definition method to have list instead of srt for
'Names' key
5) change 'next' locator
6) Minor changes: remove unused class,
rename next_page/prev_page methods
Implements blueprint: horizon-integration-tests-coverage
Change-Id: Ibaf9dd02a06cf9d945bc9b894394695512a934b9