Skip to content

Inline identicon #2145

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 3 commits into from
Apr 12, 2024
Merged

Inline identicon #2145

merged 3 commits into from
Apr 12, 2024

Conversation

david-crespo
Copy link
Collaborator

@david-crespo david-crespo commented Apr 12, 2024

Console is the only app using @oxide/identicon. @iliana made a PR over there, but there's no point figuring out how to push that to npm. This PR copies that in here and changes it to render svg directly instead of producing a string that we dangerouslySetHtml with.

Confirmed the resulting SVG is the same as before:

image

Copy link

vercel bot commented Apr 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Apr 12, 2024 9:55pm

@david-crespo david-crespo requested a review from iliana April 12, 2024 21:55
@benjaminleonard
Copy link
Contributor

Great, that seems neater too.

@david-crespo david-crespo enabled auto-merge (squash) April 12, 2024 22:01
@david-crespo david-crespo merged commit ff67b40 into main Apr 12, 2024
@david-crespo david-crespo deleted the our-very-own-identicon branch April 12, 2024 22:03
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request Apr 14, 2024
oxidecomputer/console@7e34c11...2ba444c

* [2ba444ca](oxidecomputer/console@2ba444ca) smarter warning suppression for unhandled routes in msw
* [0de42104](oxidecomputer/console@0de42104) oxidecomputer/console#2146
* [5cae2111](oxidecomputer/console@5cae2111) turn off links test for now. it freaks me out
* [37470900](oxidecomputer/console@37470900) bump most deps
* [ff67b406](oxidecomputer/console@ff67b406) oxidecomputer/console#2145
* [f1e8f2ee](oxidecomputer/console@f1e8f2ee) oxidecomputer/console#2139
* [31508df8](oxidecomputer/console@31508df8) bring instance networking floating ip detach modal copy in line with floating IPs page
* [a433d71a](oxidecomputer/console@a433d71a) oxidecomputer/console#2130
* [83ace42b](oxidecomputer/console@83ace42b) oxidecomputer/console#2141
* [9270a930](oxidecomputer/console@9270a930) oxidecomputer/console#2134
* [00a03637](oxidecomputer/console@00a03637) update api-diff for better way of calling oxide.ts
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request Apr 14, 2024
oxidecomputer/console@7e34c11...2ba444c

* [2ba444ca](oxidecomputer/console@2ba444ca)
smarter warning suppression for unhandled routes in msw
* [0de42104](oxidecomputer/console@0de42104)
oxidecomputer/console#2146
* [5cae2111](oxidecomputer/console@5cae2111)
turn off links test for now. it freaks me out
* [37470900](oxidecomputer/console@37470900)
bump most deps
* [ff67b406](oxidecomputer/console@ff67b406)
oxidecomputer/console#2145
* [f1e8f2ee](oxidecomputer/console@f1e8f2ee)
oxidecomputer/console#2139
* [31508df8](oxidecomputer/console@31508df8)
bring instance networking floating ip detach modal copy in line with
floating IPs page
* [a433d71a](oxidecomputer/console@a433d71a)
oxidecomputer/console#2130
* [83ace42b](oxidecomputer/console@83ace42b)
oxidecomputer/console#2141
* [9270a930](oxidecomputer/console@9270a930)
oxidecomputer/console#2134
* [00a03637](oxidecomputer/console@00a03637)
update api-diff for better way of calling oxide.ts
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.

3 participants