Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Make zoom level a user preference (#7183) #8460

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

keithchong
Copy link
Contributor

@keithchong keithchong commented Feb 10, 2022

Signed-off-by: Keith Chong kykchong@redhat.com

No specific issue for this PR, but is a follow-up change to address Alex's comment made here:

#8290 (review)

So, with this change, each browser tab Argo CD UI instance will have the same zoom level.
See bullet point 2 from here: #8290 (comment)
and matches the behavior of the grouped nodes button.

Note on DCO:

If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • [] I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • Optional. My organization is added to USERS.md.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).

@codecov
Copy link

codecov bot commented Feb 10, 2022

Codecov Report

Merging #8460 (eed035b) into master (f905145) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #8460   +/-   ##
=======================================
  Coverage   42.65%   42.65%           
=======================================
  Files         183      183           
  Lines       22972    22972           
=======================================
  Hits         9799     9799           
  Misses      11790    11790           
  Partials     1383     1383           
Impacted Files Coverage Δ
util/settings/settings.go 47.91% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f905145...eed035b. Read the comment docs.

Copy link
Collaborator

@alexmt alexmt left a comment

Choose a reason for hiding this comment

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

Thank you @keithchong . Noticed one minor issue. Can you take a look?

@keithchong keithchong force-pushed the 7183-MakeZoomLevelViewPreference branch 2 times, most recently from b2ab1a7 to f129220 Compare February 23, 2022 19:13
Copy link
Collaborator

@alexmt alexmt left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ciiay ciiay left a comment

Choose a reason for hiding this comment

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

LGTM!

@keithchong keithchong force-pushed the 7183-MakeZoomLevelViewPreference branch from f129220 to 88f93bb Compare March 10, 2022 19:15
Signed-off-by: Keith Chong <kykchong@redhat.com>
@keithchong keithchong force-pushed the 7183-MakeZoomLevelViewPreference branch from 88f93bb to eed035b Compare March 10, 2022 19:19
@keithchong
Copy link
Contributor Author

Hi @alexmt, this has been rebased.

@alexmt alexmt merged commit f0b51da into argoproj:master Mar 10, 2022
wojtekidd pushed a commit to wojtekidd/argo-cd that referenced this pull request Apr 25, 2022
Signed-off-by: Keith Chong <kykchong@redhat.com>
Signed-off-by: wojtekidd <wojtek.cichon@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants