Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Conversation

@utchoang
Copy link

@utchoang utchoang commented Sep 16, 2020

Fixes #712
Fixes #713
Fixes #714

  • Customize link hover color
  • Customize loading color
  • Customize navigation menu color

@rhtyd cc @svenvogel

@utchoang
Copy link
Author

  • Customize link hover color

image

  • Customize loading color

image

@yadvr
Copy link
Member

yadvr commented Sep 16, 2020

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/718 (JID-3479)

@utchoang
Copy link
Author

Customize navigation color
image

@utchoang
Copy link
Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/718 (JID-3483)

@utchoang
Copy link
Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/718 (JID-3484)

@yadvr yadvr added this to the 1.0-GA milestone Sep 18, 2020
@yadvr
Copy link
Member

yadvr commented Sep 21, 2020

LGTM, need bit of testing
@davidjumani @andrijapanicsb can you review/test? Thanks

@yadvr
Copy link
Member

yadvr commented Sep 21, 2020

cc @DaanHoogland

@yadvr yadvr requested a review from DaanHoogland September 21, 2020 11:53
@yadvr
Copy link
Member

yadvr commented Sep 21, 2020

@utchoang code LGTM, can you update the https://github.com/apache/cloudstack-primate/blob/master/docs/customize.md in sync with your FR and the doc https://github.com/apache/cloudstack-documentation/blob/master/source/installguide/primate.rst (you'll need to send a separate PR to the apache/cloudstack-documentation repo). Thanks.

I'll need second pair of testing from @DaanHoogland or @davidjumani thanks

@DaanHoogland DaanHoogland self-assigned this Sep 21, 2020
Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

I cannot add sensible comments about the code but will give it some test attention

@DaanHoogland
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/718 (JID-3497)

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

tested and looks good.

@DaanHoogland
Copy link
Contributor

@utchoang I saw that only the navigation colour can be set. I would expect the main pane to be matching. Does that make sense? Or should it also be a separate colour?

@utchoang
Copy link
Author

@DaanHoogland Regarding the adjustment of the main page, it takes quite a lot of changes (CSS, style). Can I do it if it's absolutely necessary? @rhtyd thought?

@DaanHoogland
Copy link
Contributor

@utchoang It was just an observation with regards to the issue #714 I do consider this a feature (not broderline-) so I do not regard this part of 1.0 ga! I think we should have a full theming/cusitmization issue for 1.1. I think we should merge this and call it a release. I assure you, I'll keep coming up with issues if we don't.

@DaanHoogland
Copy link
Contributor

are you updating customize.md in this PR, @utchoang ?

@utchoang
Copy link
Author

@DaanHoogland Yes. I've updated.

@yadvr
Copy link
Member

yadvr commented Sep 22, 2020

Thanks @utchoang @DaanHoogland lgtm, but I need to do one round of test with a real deb/rpm based package. I'll merge it after that (today/tomorrow).

@yadvr
Copy link
Member

yadvr commented Sep 22, 2020

@yadvr
Copy link
Member

yadvr commented Sep 23, 2020

@blueorangutan package

@blueorangutan
Copy link

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

return
}
if ([401].includes(error.response.status)) {
Copy link
Member

Choose a reason for hiding this comment

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

@utchoang why not dispatch logout on 401/unauthorise error?

Copy link
Author

Choose a reason for hiding this comment

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

@rhtyd I don't have changed it. Maybe it's because I haven't merged with the latest master yet.

},
fetchTemplateNics (template) {
var nics = []
if (template && template.deployasisdetails && Object.keys(template.deployasisdetails).length > 0) {
Copy link
Member

Choose a reason for hiding this comment

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

@utchoang why is this part of the PR change?

duration: 0
})
if ([401].includes(error.response.status)) {
Copy link
Member

Choose a reason for hiding this comment

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

@utchoang same as above?

@yadvr
Copy link
Member

yadvr commented Sep 23, 2020

Tested, LGTM
Verified left nav bar colour for default view:
Screenshot from 2020-09-23 11-26-11

Project view is still dark-er though:
Screenshot from 2020-09-23 11-29-26

@utchoang would it be possible to define a custom background colour for the navigation bar on left when we're in a project view (i.e. selected a project)?

@blueorangutan
Copy link

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/718 (JID-3501)

@utchoang
Copy link
Author

  • For select project
    image

@yadvr
Copy link
Member

yadvr commented Sep 23, 2020

Thanks @utchoang pl update the customize.md and send a doc PR to the documentation repo

@yadvr
Copy link
Member

yadvr commented Sep 23, 2020

@blueorangutan package

@blueorangutan
Copy link

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

@utchoang
Copy link
Author

@rhtyd I've updated customize.md on this PR and a document on apache/cloudstack-documentation#159

@yadvr
Copy link
Member

yadvr commented Sep 23, 2020

Thanks @utchoang I'll review, test and merge shortly

@blueorangutan
Copy link

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/718 (JID-3502)

@yadvr yadvr merged commit 4141842 into apache:master Sep 23, 2020
@utchoang utchoang deleted the feature/fix-customize-theme branch September 23, 2020 09:04
weizhouapache pushed a commit that referenced this pull request Jan 19, 2021
Customize link hover color
Customize loading color
Customize navigation menu color

Fixes #712
Fixes #713
Fixes #714
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

4 participants