Skip to content

Conversation

cquirosj
Copy link
Contributor

No description provided.

@johnsimons
Copy link
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
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
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