Skip to content

wtf - #493

Open
chee wants to merge 1 commit into
mainfrom
split-create-account-492
Open

wtf#493
chee wants to merge 1 commit into
mainfrom
split-create-account-492

Conversation

@chee

@chee chee commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

wtf

@chee chee changed the title Assign colors to new contacts wtf Nov 14, 2026
@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Benchmarks: Patchwork with this PR against main

2b0d842 against main at 47f4567, Patchwork as it ships (patchwork mode), in chromium, firefox and webkit, each on its own runner with main and the PR measured one after the other (run). Lower is better throughout. A row is in the table when every run of the PR came out on the same side of every run of main, with the medians more than 20% apart; every benchmark is below it.

The PR's benchmarks threw in: chromium (recorded nothing) firefox (recorded nothing) webkit (recorded nothing). See the run's logs.

The PR's benchmarks recorded nothing.

every benchmark: the median of 0 runs of main and 0 runs of the PR, their range in brackets
benchmark main PR change

Comment on lines +8 to +25
// the presence palette, copied from patchwork-base's account/src/user-colors.ts.
// a contact stores one of these exact strings, which is what lets a theme
// restyle it (account's themedColor maps each to a --studio-presence-* token)
const CONTACT_COLORS = [
"hsl(200, 70%, 50%)",
"hsl(10, 75%, 58%)",
"hsl(145, 70%, 45%)",
"hsl(270, 70%, 55%)",
"hsl(38, 85%, 50%)",
"hsl(350, 70%, 55%)",
"hsl(178, 70%, 45%)",
"hsl(235, 70%, 58%)",
"hsl(85, 70%, 45%)",
"hsl(310, 70%, 55%)",
"hsl(25, 80%, 52%)",
"hsl(188, 75%, 48%)",
];

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

obviously insane

@github-actions

Copy link
Copy Markdown
Contributor

✅ Patchwork glance ready

https://patchwork-preview-493.patchwork.inkandswitch.com

A peek at inkandswitch/patchwork.inkandswitch.com, built with the @inkandswitch/patchwork- packages as of this PR at 2b0d842.

This branch has not been deployed

No deployments
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.

1 participant