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 favicon error indicator #1240

Merged
merged 3 commits into from
May 7, 2023
Merged

Conversation

sinyo-matu
Copy link
Contributor

Fixing #10

  • add favicon.ico and favicon-err.ico to cli watch server resource.
  • add code to handle changing favicons depending on Websocket messages.

Here are some examples

  • without error
    image

  • with error
    image

Copy link
Collaborator

@alixander alixander left a comment

Choose a reason for hiding this comment

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

thanks for this @sinyo-matu !

would you mind signing your commits please? https://github.com/terrastruct/d2/blob/master/docs/CONTRIBUTING.md#logistics

d2cli/static/watch.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@alixander alixander left a comment

Choose a reason for hiding this comment

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

minor comment then good to go!

d2cli/watch.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@alixander alixander left a comment

Choose a reason for hiding this comment

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

🚀

@alixander alixander merged commit 6b9c4fa into terrastruct:master May 7, 2023
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.

2 participants