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

Add a red box around docker desktop registry port #10818

Merged
merged 3 commits into from
Mar 23, 2021

Conversation

afbjorklund
Copy link
Collaborator

@afbjorklund afbjorklund commented Mar 14, 2021

To make it harder to miss the notice, with the rest of the emojis

Also remove some stray "on" text, but do add "driver" and "port"

Uses https://github.com/Delta456/box-cli-maker

Closes #10781


BEFORE

💡  Registry addon on with docker uses 55012 please use that instead of default 5000

AFTER

    ╭──────────────────────────────────────────────────────────────────────────────────────────╮
💡  │Registry addon on with docker uses port 49170 please use that instead of default port 5000│
    │                                                                                          │
    ╰──────────────────────────────────────────────────────────────────────────────────────────╯

Sometimes you want to process the style string and output it with
indentation but without any extra emojis. So add special variants.

Also make the enum names more sane for LowIndent, LowIndentBullet
(which removes the need of commenting why the enum name was wrong)
To make it harder to miss the notice, with the rest of the emojis

Also remove some stray "on" text, but do add "driver" and "port"
@afbjorklund afbjorklund requested a review from medyagh March 14, 2021 15:22
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 14, 2021
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 14, 2021
Copy link
Member

@medyagh medyagh left a comment

Choose a reason for hiding this comment

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

lets add the same box for the Exit With Advice

the Suggestion is usually not paid attention to, example #10781 (comment)

pkg/addons/addons.go Outdated Show resolved Hide resolved
And remove the extra newline inside the box,
plus remove the color if not using the emoji.
@afbjorklund
Copy link
Collaborator Author

New looks:

box-true
box-false

Obviously I faked the actual contents, to make it show something on Linux...

@afbjorklund afbjorklund requested a review from medyagh March 17, 2021 19:08
@medyagh
Copy link
Member

medyagh commented Mar 23, 2021

looks great ! thank you

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: afbjorklund, medyagh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [afbjorklund,medyagh]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@medyagh medyagh merged commit 141a7da into kubernetes:master Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI: make it hard to miss Important notices
3 participants