fix(now-playing): build the status marker from code points
CI / Build & Quality Checks (push) Skipped
CI / Secret scan (gitleaks) (push) Skipped
CI / Playwright smoke (e2e) (push) Skipped
CI / Secret scan (gitleaks) (pull_request) Successful in 13s
CI / Build & Quality Checks (pull_request) Successful in 2m28s
CI / Trigger Desktop Build (pull_request) Skipped
CI / Docker image build & smoke test (pull_request) Skipped
CI / Playwright smoke (e2e) (pull_request) Successful in 17m13s
CI / Build & Quality Checks (push) Skipped
CI / Secret scan (gitleaks) (push) Skipped
CI / Playwright smoke (e2e) (push) Skipped
CI / Secret scan (gitleaks) (pull_request) Successful in 13s
CI / Build & Quality Checks (pull_request) Successful in 2m28s
CI / Trigger Desktop Build (pull_request) Skipped
CI / Docker image build & smoke test (pull_request) Skipped
CI / Playwright smoke (e2e) (pull_request) Successful in 17m13s
Keeps the thin space out of the source as a raw invisible character. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA
This commit is contained in:
1 parent
0cfca75f6f
commit
2e30f9ec44
1 file changed
+1
-1
@@ -36,7 +36,7 @@ export type NowPlayingMe = {
|
||||
* space, so a status someone wrote themselves that starts with 🎵 is never
|
||||
* mistaken for the automatic one.
|
||||
*/
|
||||
export const NOW_PLAYING_PREFIX = '\u{1F3B5} ';
|
||||
export const NOW_PLAYING_PREFIX = `${String.fromCodePoint(0x1f3b5)}${String.fromCharCode(0x2009)}`;
|
||||
export const NOW_PLAYING_STATUS_MAX = 120;
|
||||
|
||||
const truncate = (text: string, max: number): string => {
|
||||
|
||||
Reference in new issue
Block a user