Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Improve ux #209

Merged
merged 3 commits into from
Aug 12, 2020
Merged

Conversation

VijayanB
Copy link
Member

@VijayanB VijayanB commented Aug 11, 2020

  1. Improve profile display if no profiles are found
    Before:

Screen Shot 2020-08-11 at 12 30 41 PM

After:

Screen Shot 2020-08-11 at 12 31 26 PM

  1. Refactor for readability
  2. Delete binary file.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Remove esad.
Instead of displaying headers with empty list, show message with hints.
For readability, move constants based on alphabetically.
@codecov
Copy link

codecov bot commented Aug 11, 2020

Codecov Report

Merging #209 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #209      +/-   ##
============================================
- Coverage     72.18%   72.15%   -0.04%     
+ Complexity     1275     1274       -1     
============================================
  Files           140      140              
  Lines          5914     5914              
  Branches        463      463              
============================================
- Hits           4269     4267       -2     
- Misses         1441     1442       +1     
- Partials        204      205       +1     
Flag Coverage Δ Complexity Δ
#cli 79.74% <ø> (ø) 0.00 <ø> (ø)
#plugin 71.25% <ø> (-0.04%) 1274.00 <ø> (-1.00)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
...istroforelasticsearch/ad/util/ColdStartRunner.java 90.00% <0.00%> (-6.67%) 8.00% <0.00%> (-1.00%)

FlagEndpoint = "endpoint"
FlagPassword = "password"
Copy link
Member

Choose a reason for hiding this comment

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

What is a flag?

Copy link
Member Author

Choose a reason for hiding this comment

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

generally in cli,
the action is called command eg: esad / aws-cli / ls / git
options are called flags or parameters like "git --config" / "git checkout -b branch name ( config and b are flags/parameters)

Copy link
Member

Choose a reason for hiding this comment

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

I see. I thought there might be some special meaning.

@kaituo kaituo added the enhancement New feature or request label Aug 12, 2020
@VijayanB VijayanB merged commit e440e8b into opendistro-for-elasticsearch:master Aug 12, 2020
@VijayanB VijayanB deleted the improve-ux branch August 12, 2020 20:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants