Skip to content

Removed FocusRing from Decky Changelog Modal and use Focusable instead which fixes: #685#779

Merged
TrainDoctor merged 2 commits intoSteamDeckHomebrew:mainfrom
ynhhoJ:bugfixes/changelog-modal
Jun 29, 2025
Merged

Removed FocusRing from Decky Changelog Modal and use Focusable instead which fixes: #685#779
TrainDoctor merged 2 commits intoSteamDeckHomebrew:mainfrom
ynhhoJ:bugfixes/changelog-modal

Conversation

@ynhhoJ
Copy link
Contributor

@ynhhoJ ynhhoJ commented Jun 2, 2025

Please tick as appropriate:

  • I have tested this code on a steam deck or on a PC
  • My changes generate no new errors/warnings
  • This is a bugfix/hotfix
  • This is a new feature

If you're wanting to update a translation or add a new one, please use the weblate page: https://weblate.werwolv.net/projects/decky/

Description

This fixes issue: #685

Was removed FocusRing component and used just Focusable instead, and I modified a little bit UI to be more Steam UI like

image


const Markdown: FunctionComponent<MarkdownProps> = (props) => {
const eventDetailsBodyClassName = findClassByName('EventDetailsBody') || undefined;
const eventLinkClassName = findClass('43088', 'Link');
Copy link
Contributor Author

@ynhhoJ ynhhoJ Jun 2, 2025

Choose a reason for hiding this comment

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

findClass & findClassByName was moved to head of method to avoid unnecessary search of class names for each a tag.

Copy link
Member

Choose a reason for hiding this comment

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

might be better to just move them outside the component tbh

@ynhhoJ ynhhoJ force-pushed the bugfixes/changelog-modal branch from 2737733 to 61c8b04 Compare June 2, 2025 16:52
@TrainDoctor
Copy link
Member

@ynhhoJ, I will be merging this soon. If you can make the suggested optimization AA requested I'd appreciate it.

@TrainDoctor TrainDoctor added the enhancement New feature or request label Jun 28, 2025
@TrainDoctor TrainDoctor moved this to 🆕 New in SDH Tracker Jun 28, 2025
@TrainDoctor TrainDoctor moved this from 🆕 New to 🔖 Ready for review in SDH Tracker Jun 28, 2025
@TrainDoctor TrainDoctor moved this from 🔖 Ready for review to 🏗 In progress in SDH Tracker Jun 28, 2025
@TrainDoctor TrainDoctor moved this from 🏗 In progress to 👀 In review in SDH Tracker Jun 28, 2025
@TrainDoctor TrainDoctor merged commit cbea151 into SteamDeckHomebrew:main Jun 29, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in SDH Tracker Jun 29, 2025
chenx-dust pushed a commit to chenx-dust/decky-loader that referenced this pull request Dec 22, 2025
…stead which fixes: SteamDeckHomebrew#685 (SteamDeckHomebrew#779)

* fix(Updater): Remove `FocusRing` component and use `Focusable` instead

* feat(Markdown): Add Link `class` to a tag for a mentain a Steam UI colors palette
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants