[PR #6681] [MERGED] Refactor theme catalog fetching to use custom hook #32593

Closed
opened 2026-04-18 08:36:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/6681
Author: @MatissJanis
Created: 1/16/2026
Status: Merged
Merged: 1/17/2026
Merged by: @MatissJanis

Base: masterHead: matiss/fetch-theme-catalog-from-github


📝 Commits (6)

  • cce29e4 Refactor theme catalog fetching to use custom hook
  • fc618b1 Remove redundant visibility checks for 'Demo Theme' button in ThemeInstaller tests and add assertion to verify presence of images.
  • f75f846 Refactor ThemeInstaller component to improve error handling and loading state display
  • bb2ed6a Initialize loading state in useThemeCatalog hook to true
  • 1d92832 Merge branch 'master' into matiss/fetch-theme-catalog-from-github
  • b314f40 [autofix.ci] apply automated fixes

📊 Changes

4 files changed (+268 additions, -158 deletions)

View changed files

📝 packages/desktop-client/src/components/settings/ThemeInstaller.test.tsx (+24 -13)
📝 packages/desktop-client/src/components/settings/ThemeInstaller.tsx (+185 -145)
packages/desktop-client/src/hooks/useThemeCatalog.ts (+53 -0)
upcoming-release-notes/6681.md (+6 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/6681 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 1/16/2026 **Status:** ✅ Merged **Merged:** 1/17/2026 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/fetch-theme-catalog-from-github` --- ### 📝 Commits (6) - [`cce29e4`](https://github.com/actualbudget/actual/commit/cce29e409ec06de16ef69b8cc1f3276a9daa83f3) Refactor theme catalog fetching to use custom hook - [`fc618b1`](https://github.com/actualbudget/actual/commit/fc618b1db0ea4a1183fd2ee9ba8fe50d3913173b) Remove redundant visibility checks for 'Demo Theme' button in ThemeInstaller tests and add assertion to verify presence of images. - [`f75f846`](https://github.com/actualbudget/actual/commit/f75f846589bcdd8f3abae0f5cd519685967d7760) Refactor ThemeInstaller component to improve error handling and loading state display - [`bb2ed6a`](https://github.com/actualbudget/actual/commit/bb2ed6a4b95489669293f3bc14fc1778a0a8cd89) Initialize loading state in useThemeCatalog hook to true - [`1d92832`](https://github.com/actualbudget/actual/commit/1d928323f15a7a4cac70e6f05f55b90360078307) Merge branch 'master' into matiss/fetch-theme-catalog-from-github - [`b314f40`](https://github.com/actualbudget/actual/commit/b314f40cadb18f34a176d30bc56f706aa147bc41) [autofix.ci] apply automated fixes ### 📊 Changes **4 files changed** (+268 additions, -158 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/settings/ThemeInstaller.test.tsx` (+24 -13) 📝 `packages/desktop-client/src/components/settings/ThemeInstaller.tsx` (+185 -145) ➕ `packages/desktop-client/src/hooks/useThemeCatalog.ts` (+53 -0) ➕ `upcoming-release-notes/6681.md` (+6 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-18 08:36:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#32593