Skip to content

[Console] Create consistent console screenshots/recordings #17271

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

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Sep 15, 2022

The, honestly quite minor, issue with inconsistent terminal screenshots/recordings has been bugging me for quite some time. When creating the recording for my most recent console PR, I managed to get something set-up that can be replicated by others - although the rendering is a bit tricky.

The only remaining recording is the progress bar. At the moment, my terminal emulator crashes when displaying emoji's, so I have some trouble creating the asciicast file for it 😄

The color scheme is based on the dark theme terminal color scheme in the Symfony docs. I'm not totally convinced about the green color, which is too dark when used as foreground but the bright one is too light when used as background. If someone has a better suggestion, please let me know

@carsonbot carsonbot added this to the 5.4 milestone Sep 15, 2022
@wouterj wouterj force-pushed the console-gifs branch 2 times, most recently from dd7f59e to 23160aa Compare September 15, 2022 15:46
@javiereguiluz
Copy link
Member

Thanks for contributing this improvement and thanks for the effort you put on it. I like the overall consistency and also that we have the sources of the recordings as editable text.

About the missing one, do you want to wait until you find a solution for it or do you think we could merge this now and try to fix the missing recording in a later PR? Thanks.

@wouterj wouterj force-pushed the console-gifs branch 2 times, most recently from aa1b9eb to f310739 Compare September 17, 2022 14:22
@wouterj
Copy link
Member Author

wouterj commented Sep 17, 2022

Thanks Javier.

I've just finished this PR:

  • Added JetBrains Mono font
  • Added the progressbar example (a bit simplified)

Copy link
Contributor

@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

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

Wow <3

@javiereguiluz
Copy link
Member

It's merged! Thanks Wouter!!

@javiereguiluz javiereguiluz merged commit 89b57b9 into symfony:5.4 Sep 19, 2022
@wouterj wouterj deleted the console-gifs branch September 19, 2022 15:40
@OskarStark
Copy link
Contributor

Great work, thanks 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants