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

chore: updates for converting the api command #6295

Conversation

khendrikse
Copy link
Contributor

πŸŽ‰ Thanks for submitting a pull request! πŸŽ‰

Summary

This adds some changes to converting the api command into using the new NetlifyLog. It is part of a bigger piece of work that can be seen in #6293. This is also the reason why this PR is merged into the branch CP-101/design-system-clack-implementation. It's a way in which I'm trying to keep possible failing tests, but also the review work to a minimum amount of work for those who are reviewing.

Before

CleanShot 2024-01-10 at 10 28 07

After

CleanShot 2024-01-10 at 12 28 19


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code πŸ§‘β€πŸ’». This ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or something that`s on fire πŸ”₯ (e.g. incident related), you can skip this step.
  • Read the contribution guidelines πŸ“–. This ensures your code follows our style guide and
    passes our tests.
  • Update or add tests (if any source code was changed or added) πŸ§ͺ
  • Update or add documentation (if features were changed or added) πŸ“
  • Make sure the status checks below are successful βœ…

A picture of a cute animal (not mandatory, but encouraged)

@khendrikse khendrikse requested a review from a team as a code owner January 10, 2024 11:30
@khendrikse khendrikse changed the title Cp 476/convert api command chore: updates for converting the api command Jan 10, 2024
@khendrikse
Copy link
Contributor Author

@samkap

Something that I'd like some advice about is this:

I've now implemented this change:

Before:

image

After:

image

Because I really dislike when that outro part only has a little hook...

image

But sometimes we might not have a message to show there...

@samkap
Copy link

samkap commented Jan 10, 2024

@khendrikse I understand. When there isn't a message will it end with the last line of the table above it? I think that is fine.

@khendrikse
Copy link
Contributor Author

@khendrikse I understand. When there isn't a message will it end with the last line of the table above it? I think that is fine.

Yeah that's the problem @samkap, right now we don't have easy logic that will allow that.

We could default to 'Done' or 'Finished' if someone does not pass a message?

@khendrikse khendrikse merged commit 493a6a1 into CP-101/design-system-clack-implementation Jan 11, 2024
30 checks passed
@khendrikse khendrikse deleted the CP-476/convert-api-command branch January 11, 2024 15:40
khendrikse added a commit that referenced this pull request Jan 12, 2024
* chore: improve API command with spinner and better formatting

* chore: add support for json only
khendrikse added a commit that referenced this pull request Jan 12, 2024
* chore: improve API command with spinner and better formatting

* chore: add support for json only
khendrikse added a commit that referenced this pull request Jan 15, 2024
* chore: improve API command with spinner and better formatting

* chore: convert api command to use clack

* chore: convert link to use NetlifyLog and clack

* chore: updates for converting the api command (#6295)

* chore: improve API command with spinner and better formatting

* chore: add support for json only

* chore: more converting of link and changed json only support

* revert weird chalk helper

* chore: implement some feedback
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