Skip to content

Improvements after jquery update#3183

Merged
rafaelweingartner merged 11 commits into
apache:masterfrom
NicoWohlfarth:improvements_after_jquery_update
Apr 25, 2019
Merged

Improvements after jquery update#3183
rafaelweingartner merged 11 commits into
apache:masterfrom
NicoWohlfarth:improvements_after_jquery_update

Conversation

@NicoWohlfarth
Copy link
Copy Markdown
Contributor

Description

Fixed issues occurring with this PR
Added jQuery ui CSS to the project and adapt existing stylings
Removed unnecessary styling definitions from cloudstack.css
Swap no longer recommended jQuery method

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

How Has This Been Tested?

We deployed the changes to our test environment and tested the UI functionality by clicking through the affected views

@svenvogel
Copy link
Copy Markdown
Contributor

@GabrielBrascher @borisstoyanov @rhtyd @rafaelweingartner can you check please 👍

@svenvogel
Copy link
Copy Markdown
Contributor

@wido @GabrielBrascher @borisstoyanov @rhtyd @rafaelweingartner can anybody add a ui symbol and review it?

@svenvogel
Copy link
Copy Markdown
Contributor

svenvogel commented Mar 12, 2019

this pr fixes the following problems.

image

image

@svenvogel
Copy link
Copy Markdown
Contributor

Bildschirmfoto 2019-03-12 um 11 43 50

fix3

@svenvogel
Copy link
Copy Markdown
Contributor

Bildschirmfoto 2019-03-12 um 11 46 44

fix4

@DaanHoogland
Copy link
Copy Markdown
Contributor

@NicoWohlfarth Can you explain what these pictures are making clear? not all of them are selfevident.
@rafaelweingartner aren't these bugfixes, instead of enhancements?
LGTM overall, thanks @NicoWohlfarth .

@rafaelweingartner
Copy link
Copy Markdown
Member

@DaanHoogland I selected the wrong label. Thanks Daan.

@DennisKonrad
Copy link
Copy Markdown
Contributor

image

This is how it looks now

@PaulAngus
Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@PaulAngus a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2635

@PaulAngus
Copy link
Copy Markdown
Member

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

@PaulAngus a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan
Copy link
Copy Markdown

Trillian test result (tid-3424)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 24476 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3183-t3424-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_password_server.py
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_router_nics.py
Smoke tests completed. 67 look OK, 3 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_03_vpc_privategw_restart_vpc_cleanup Failure 149.49 test_privategw_acl.py
test_04_rvpc_privategw_static_routes Failure 265.72 test_privategw_acl.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Failure 336.16 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Failure 73.82 test_vpc_redundant.py
test_02_VPC_default_routes Failure 731.64 test_vpc_router_nics.py

Copy link
Copy Markdown
Contributor

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @NicoWohlfarth and thanks for this fix.
I've noticed the arrow down scrolling at templates in the deploy VM wizard is only working when you actually click on the dot in the UI, if you click on the text of the template and press the arrow down you won't be able to scroll.
Screenshot 2019-03-18 at 11 51 00

@NicoWohlfarth
Copy link
Copy Markdown
Contributor Author

Hi @borisstoyanov.
I can't reproduce your indicated behavior even without my changes.
Without my changes you still would need to select the radio button directly to be able to navigate between the options with the arrow keys.

@borisstoyanov
Copy link
Copy Markdown
Contributor

borisstoyanov commented Mar 18, 2019

@NicoWohlfarth if you click on the text you select the option, but you're not able to navigate with arrows, if you click on the radio button you'll be able to use the arrows, that's what I see on my Chrome for Mac.

@svenvogel
Copy link
Copy Markdown
Contributor

@borisstoyanov We are speaking about it internally and i come back ;)

Copy link
Copy Markdown
Contributor

@svenvogel svenvogel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix the alignment of the radio buttons
Bildschirmfoto 2019-03-22 um 17 29 29
fix the vertical alignment if the boxes and text
Bildschirmfoto 2019-03-22 um 17 27 31
fix the graphic of the slider
Bildschirmfoto 2019-03-22 um 17 26 16

Nico Wohlfarth added 3 commits April 8, 2019 11:18
- center buttons of create form modals
- fix width of select menu in service offerings
- fix width of modal in Network -> VPC -> configure -> static NAT -> aquire new Ip -> enable static nat
@PaulAngus
Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@PaulAngus a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2691

@PaulAngus
Copy link
Copy Markdown
Member

Manually checked the changes LGTM - can we get this merged. Even if it is not perfect, it is better, so lets merge and then everyone can add further fixes on top..

cc @borisstoyanov @rhtyd

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Apr 11, 2019

@PaulAngus let me review this later today/tomorrow, several css rules have been removed which needs checking as they could potentially add regression.

@svenvogel
Copy link
Copy Markdown
Contributor

@PaulAngus @rhtyd should be ok. We create after that a new one to add another changes. We changed ui to a jquery library to make it easier in the future.

Copy link
Copy Markdown
Contributor

@svenvogel svenvogel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bildschirmfoto 2019-04-15 um 10 23 14

Copy link
Copy Markdown
Contributor

@svenvogel svenvogel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bildschirmfoto 2019-04-15 um 10 24 20

Copy link
Copy Markdown
Contributor

@svenvogel svenvogel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bildschirmfoto 2019-04-15 um 10 39 26

@svenvogel
Copy link
Copy Markdown
Contributor

@rhtyd some news about that? further changes we would make a new pr. ;)

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Apr 15, 2019

@svenvogel I think we may accept the changes based on manual testing. cc @borisstoyanov - can you help with testing when you've time this week, thanks.

@svenvogel in your last reply you hinted that you're creating a new UI library? Can you elaborate, is it already part of this PR?

@svenvogel
Copy link
Copy Markdown
Contributor

@rhtyd Hi Rohit, yes the the library are always included in cloudstack because they are a part of JQuery UI. we took a upgrade for any month #3069. Yes please look over it so that we can merge it. we will make a new PR for new changes.

@PaulAngus Can you approve it too?

@DennisKonrad
Copy link
Copy Markdown
Contributor

We are using this for weeks now and the library update works just fine. LGTM

@rhtyd Nearly all of the UI fixes here are not caused by the jQuery update. We will fix them anyway but in another PR. This one is for the jQeury libraries.

I think this one is very good now :)

@DennisKonrad
Copy link
Copy Markdown
Contributor

@svenvogel in your last reply you hinted that you're creating a new UI library? Can you elaborate, is it already part of this PR?

No new UI library. We try to get the existing code into good shape. Therefor the jQuery library updates.

@svenvogel
Copy link
Copy Markdown
Contributor

svenvogel commented Apr 17, 2019

@svenvogel in your last reply you hinted that you're creating a new UI library? Can you elaborate, is it already part of this PR?

No new UI library. We try to get the existing code into good shape. Therefor the jQuery library updates.

@DennisKonrad i wrote that already above!

@svenvogel
Copy link
Copy Markdown
Contributor

@NicoWohlfarth if you click on the text you select the option, but you're not able to navigate with arrows, if you click on the radio button you'll be able to use the arrows, that's what I see on my Chrome for Mac.

#3183 (comment)

@borisstoyanov Hi Boris, this we will do in a another pr. its the best like Paul said to merge and we create new ones for other changes.

@GabrielBrascher can you take also a look on this?

@DennisKonrad
Copy link
Copy Markdown
Contributor

@borisstoyanov Do you agree on fixing the "arrow down scrolling in templates" in another PR? If yes could you re-review?

We would like to get this merged. We will fix problems one by one.

@rafaelweingartner
Copy link
Copy Markdown
Member

People discussed, reviewed and approved the PR.

It is pure JS and CSS changes. Therefore, the integration tests (that test Java code) are not relevant in this context.

Thank you all for the reviews and code changes

@rafaelweingartner rafaelweingartner merged commit 89d5480 into apache:master Apr 25, 2019
@NicoWohlfarth NicoWohlfarth deleted the improvements_after_jquery_update branch June 7, 2019 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants