Skip to content

Commit

Permalink
fix(profile): incorrect instruction on how to set streak hour offset (@…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
wclxb authored Feb 3, 2025
1 parent 73be759 commit 4dfd10a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/ts/elements/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`;
}
}
}
Expand Down

0 comments on commit 4dfd10a

Please sign in to comment.