wxt-dev / wxt-dev/wxt

Init demo GIF logging improvements

Open
#2,461 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

contribution welcome good first issue
Dominant language
TypeScript
Stars
10.5k
Forks
564
PR merge metrics
No merged PRs in 30d

Description

Noticed this in #2459, but consola is using it's basic formatter in the GIF... so it's logging [log] and [info] instead of no prefix and i, respectively.

https://github.com/wxt-dev/wxt/blob/e5ef936/docs/assets/init-demo.gif

This is probably because the GIF is generated by the github action, and consola sees it's a CI environment, so it doesn't use the pretty formatter, uses basic instead.

Not sure how to override this, but I'd prefer we use the pretty logger for the GIF

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the GitHub Action or script that generates docs/assets/init-demo.gif, then trace how consola selects its formatter in that environment. Regenerate the GIF and verify that the output uses the pretty logger, with no [log] prefix and an i for info.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, documentation, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.