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

[KYUUBI #2006] Improve the readability of ServiceControl list/get operations #2007

Closed
wants to merge 1 commit into from

Conversation

cxzl25
Copy link
Contributor

@cxzl25 cxzl25 commented Mar 3, 2022

Why are the changes needed?

When the get server and list server commands are displayed, when the namespace exceeds the minimum width, it will be glued to the hostname.

Add a space beyond the minimum cell width in non-verbose mode.

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before make a pull request

@cxzl25
Copy link
Contributor Author

cxzl25 commented Mar 3, 2022

Now

image

Fix

image

@ulysses-you
Copy link
Contributor

thanks, merging to master

ulysses-you pushed a commit that referenced this pull request Mar 4, 2022
…rations

### _Why are the changes needed?_
When the get server and list server commands are displayed, when the namespace exceeds the minimum width, it will be glued to the hostname.

Add a space beyond the minimum cell width in non-verbose mode.

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [x] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #2007 from cxzl25/KYUUBI-2006.

Closes #2006

68bacef [sychen] Add a space beyond the minimum cell width in non-verbose mode

Authored-by: sychen <sychen@trip.com>
Signed-off-by: ulysses-you <ulyssesyou@apache.org>
(cherry picked from commit d8ec325)
Signed-off-by: ulysses-you <ulyssesyou@apache.org>
@ulysses-you
Copy link
Contributor

also merged to branch-1.4

@ulysses-you ulysses-you added this to the v1.4.2 milestone Mar 4, 2022
wForget pushed a commit to wForget/kyuubi that referenced this pull request Mar 11, 2022
…et operations

### _Why are the changes needed?_
When the get server and list server commands are displayed, when the namespace exceeds the minimum width, it will be glued to the hostname.

Add a space beyond the minimum cell width in non-verbose mode.

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [x] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes apache#2007 from cxzl25/KYUUBI-2006.

Closes apache#2006

68bacef [sychen] Add a space beyond the minimum cell width in non-verbose mode

Authored-by: sychen <sychen@trip.com>
Signed-off-by: ulysses-you <ulyssesyou@apache.org>
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