GeezerVison is showing github.com — feat(ui): Add configurable favicon by ItsNewe · Pull Request #1212 · tinyauthapp/tinyauth
Conversation
ItsNewe
commented
Oct 25, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
This PR adds a new TINYAUTH_UI_FAVICON variable pointing to an image path to enable favicon customization, in the same way it's possible to alter the background image.
Changes
- New
ui.favicon option (TINYAUTH_UI_FAVICON / --ui.favicon) exposed in /api/context/app
- The frontend points the existing icon links (
icon, shortcut icon, apple-touch-icon) at the configured URL once the app context is loaded
- Defaults to empty which keeps the built-in favicons, nothing changes in existing setups
Summary by CodeRabbit
- New Features
- Added support for configuring a favicon. The configured icon is applied to the browser tab and Apple touch icon when set.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Oct 25, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between 54d7dfe and ab83c40.
Files selected for processing: 7
-
.env.example
frontend/src/components/layout/layout.tsx
frontend/src/schemas/app-context-schema.ts
internal/controller/context_controller.go
internal/controller/context_controller_test.go
internal/model/config.go
internal/test/test.go
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
Walkthrough
-
The UI configuration now accepts a favicon path and includes it in the app-context response. The frontend schema requires the value, and BaseLayout uses a configured favicon to update existing icon links.
Changes: Configurable UI Favicon
| Layer / File(s) |
Summary |
Configure and expose the favicon .env.example, internal/model/config.go, internal/controller/context_controller.go, internal/controller/context_controller_test.go, internal/test/test.go |
UI configuration adds a favicon path. The app-context response includes the configured value, and test configuration and expectations include favicon values. |
Apply the favicon in the frontend frontend/src/schemas/app-context-schema.ts, frontend/src/components/layout/layout.tsx |
The frontend context schema requires a favicon string. When the value is set, BaseLayout updates existing icon and Apple touch-icon links and removes their type and sizes attributes. |
Priority: Low
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Feature
Sequence Diagram(s)
sequenceDiagram
participant UIConfig
participant appContextHandler
participant AppContextSchema
participant BaseLayout
participant document
UIConfig->>appContextHandler: UI.Favicon
appContextHandler-->>AppContextSchema: ui.favicon in app-context response
AppContextSchema-->>BaseLayout: validated UI context
BaseLayout->>document: update icon link href and remove type and sizes
Loading
Suggested reviewers: steveiliop56
Merge Risk: Minimal · up to ab83c
-
No actionable merge-blocking risk remains in the reviewed change.
Pre-merge checks: 4 · 1
-
Failed checks: 1 warning
| Check name |
Status |
Explanation |
Resolution |
| Docstring Coverage |
 |
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 6 files. (1 skipped: 1 … |
Write docstrings for the functions missing them to satisfy the coverage threshold. |
Passed checks: 4 passed
-
| Check name |
Status |
Explanation |
| Description Check |
 |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
 |
The title clearly and concisely identifies the main change: adding configurable favicon support for the UI. |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Docstring Coverage
-
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 6 files. (1 skipped: 1 unsupported.)
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
-
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This branch has not been deployed
No deployments
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.