From 4dfd10a035432cf2984a447e46494459ae76368c Mon Sep 17 00:00:00 2001 From: wclxb <155585777+wclxb@users.noreply.github.com> Date: Mon, 3 Feb 2025 08:58:21 -0500 Subject: [PATCH] fix(profile): incorrect instruction on how to set streak hour offset (@wclxb) (#6190) Make streak hover text when no streak offset is applied consistent with the setting location ### Description The hover text label now properly directs a user to the "Account Settings > Account" section instead of "Settings > Danger Settings" when they don't have a streak offset set. ### Checks - [ ] Adding quotes? - [ ] Make sure to include translations for the quotes in the description (or another comment) so we can verify their content. - [ ] Adding a language or a theme? - [ ] If is a language, did you edit `_list.json`, `_groups.json` and add `languages.json`? - [ ] If is a theme, did you add the theme.css? - Also please add a screenshot of the theme, it would be extra awesome if you do so! - [x] Check if any open issues are related to this PR; if so, be sure to tag them below. - [x] Make sure the PR title follows the Conventional Commits standard. (https://www.conventionalcommits.org for more info) - [x] Make sure to include your GitHub username prefixed with @ inside parentheses at the end of the PR title. --- frontend/src/ts/elements/profile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/elements/profile.ts b/frontend/src/ts/elements/profile.ts index dc3ff85d5..619fb14a9 100644 --- a/frontend/src/ts/elements/profile.ts +++ b/frontend/src/ts/elements/profile.ts @@ -189,7 +189,7 @@ export async function update( console.debug(hoverText); if (streakOffset === undefined) { - hoverText += `\n\nIf the streak reset time doesn't line up with your timezone, you can change it in Settings > Danger zone > Update streak hour offset.`; + hoverText += `\n\nIf the streak reset time doesn't line up with your timezone, you can change it in Account Settings > Account > Set streak hour offset.`; } } }