Repository navigation
feat(domains): certificate problems in the notifications - #93
Merged
Merged
Conversation
The panel's notices (default domain, SSH password login, …) were banners above every page. - A bell in the topbar, next to the account icon, lists them; it is shown only while there are notices. - A blinking red dot while some have not been seen; opening the list marks them seen (kept per browser, like dismissals). A notice whose text changes counts as new again. New ones are tagged until it closes. - Each notice can be dismissed from the list, as from the banner; with none left the bell goes away. - The banner component is removed; toasts for toast notices still show. - Strings in all 7 languages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… in the bell The check fetched the subscription from the first domain, which can be the server's bare IP: its certificate names the server's hostname, so the fetch failed with an SSL hostname mismatch although nothing was wrong. A domain name is now preferred; with only an IP the server asks itself without the certificate check. Errors get a kind (certificate, timeout, dns, unreachable, http, empty, core) and the dashboard card explains each one and where to look, with the technical message (subscription path removed) on demand and wrapped inside the card. Failed configs get a reason in words. Config health problems also show in the topbar notifications, errors first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tions Domains whose certificate does not work (getting it failed, its renewal failed, rate limited, expired, self-signed, missing) show in the topbar notifications on every page, errors first, from a light domains-page/problems/ endpoint. The warnings a save answers with (a toast on the page) also stay there for three days or until dismissed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🥷 Ninja i18n – 🛎️ Translations need to be updatedProject
|
| lint rule | new reports | level | link |
|---|---|---|---|
| Missing translation | 125 | warning | contribute (via Fink 🐦) |
| Identical pattern | 2 | warning | contribute (via Fink 🐦) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
Certificate problems and save warnings showed only on the Domains page (a row's error, a toast after saving). An admin on another page never heard of them.
Change
GET domains-page/problems/(domains_page_api.py): a light endpoint, unlike the page's own GET, that lists domains needing a real certificate whose certificate does not work:Not while a certificate is being requested.
usePanelNotifications.ts, newshared/composables/useDomainNotices.ts):DomainsView.vue): the warnings a save answers with (the toasts) also stay in the notifications for three days, or until dismissed.Screenshots
The "after" uses a sample problem (
cdn.example.com) and a sample save warning: the test panel has no failing certificate.Tested
Review
certState).🤖 Generated with Claude Code