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

New blog post: Nextflow colorful new console output #189

Merged
merged 11 commits into from
Mar 28, 2024

Conversation

ewels
Copy link
Member

@ewels ewels commented Mar 27, 2024

New blog post about coloured Nextflow console / log output.

@netlify /blog/2024/nextflow-colored-logs.html

Copy link

netlify bot commented Mar 27, 2024

Deploy Preview for nextflow-staging ready!

Name Link
🔨 Latest commit 151d47b
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-staging/deploys/66058fb3087b6f0008d14656
😎 Deploy Preview https://deploy-preview-189--nextflow-staging.netlify.app/blog/2024/nextflow-colored-logs.html
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 75 (🔴 down 4 from production)
Accessibility: 80 (no change from production)
Best Practices: 92 (no change from production)
SEO: 77 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@mribeirodantas
Copy link
Member

Amazing content 🤩

@ewels
Copy link
Member Author

ewels commented Mar 27, 2024

Thanks @mribeirodantas @maxulysse @justinegeffen ! The line is super long and so the diff is difficult to read - I think it was just the missing word that you were all commenting on? Should be fixed now - shout if there was anything else in your suggestion :)

Copy link
Contributor

@justinegeffen justinegeffen left a comment

Choose a reason for hiding this comment

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

Some minor corrections but otherwise this is a really nice blog post!

src/content/blog/2024/nextflow-colored-logs.md Outdated Show resolved Hide resolved
src/content/blog/2024/nextflow-colored-logs.md Outdated Show resolved Hide resolved
src/content/blog/2024/nextflow-colored-logs.md Outdated Show resolved Hide resolved
Whilst the original intent was focused on using color, it didn’t take long to come up with a shortlist of other niggles that I wanted to fix. I took this project as an opportunity to address a few of these, specifically:

- Make the most of the available width in the terminal
- Redundant text is now cut down when the screen is narrow. Specifically the repeated `process >` text, plus other small gains such as replacing the three `...` characters with a single `…` character. The percentage-complete is removed if the window is really narrow. These changes happen dynamically every time the screen refreshes, so should update if you resize the terminal window.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- Redundant text is now cut down when the screen is narrow. Specifically the repeated `process >` text, plus other small gains such as replacing the three `...` characters with a single `` character. The percentage-complete is removed if the window is really narrow. These changes happen dynamically every time the screen refreshes, so should update if you resize the terminal window.
- Redundant text is now cut down when the screen is narrow. Specifically the repeated `process >` text, plus other small gains such as replacing the three `...` characters with a single `` character. The `percentage-complete` is removed if the window is really narrow. These changes happen dynamically every time the screen refreshes, so should update if you resize the terminal window.

Copy link
Member Author

Choose a reason for hiding this comment

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

This isn't text that's present verbatim, so not sure about making it code. I'm referring to the bit that says 75% or whatever.

src/content/blog/2024/nextflow-colored-logs.md Outdated Show resolved Hide resolved
src/content/blog/2024/nextflow-colored-logs.md Outdated Show resolved Hide resolved
src/content/blog/2024/nextflow-colored-logs.md Outdated Show resolved Hide resolved
src/content/blog/2024/nextflow-colored-logs.md Outdated Show resolved Hide resolved
src/content/blog/2024/nextflow-colored-logs.md Outdated Show resolved Hide resolved
@ewels ewels merged commit 138572e into master Mar 28, 2024
6 checks passed
@ewels ewels deleted the coloured-logs-blogpost branch March 28, 2024 15:45
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.

4 participants