Skip to content

All messages anchor links POC#2509

Closed
cquirosj wants to merge 3 commits into
masterfrom
all-messages-link
Closed

All messages anchor links POC#2509
cquirosj wants to merge 3 commits into
masterfrom
all-messages-link

Conversation

@cquirosj

Copy link
Copy Markdown
Contributor

No description provided.

@johnsimons

Copy link
Copy Markdown
Member

A different option #2510

watchEffect(() => {
if (state.value.data.message_type) {
const statusEmoji = isError.value ? "❌" : "✅";
document.title = `${statusEmoji} ${state.value.data.message_type} - ServicePulse`;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

messagetype can get quite long, so not sure this is a good title

// Update document title to include message status and type for easier tab identification
watchEffect(() => {
if (state.value.data.message_type) {
const statusEmoji = isError.value ? "❌" : "✅";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I wouldn't add emojis to document.title, I think it would look funny given that by default it displays the site icon, so we would endup with double icons

@cquirosj cquirosj closed this Jul 11, 2025
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