mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-07 14:52:39 +02:00
feat: improve status handling and user feedback in SurfSense plugin
- Added refreshStatus method to update connection status immediately after settings changes. - Enhanced error reporting with reportAuthError method for better authentication feedback. - Updated status visuals in the status modal to reflect the new centralized structure. - Improved connection handling in the settings tab to ensure accurate status representation.
This commit is contained in:
parent
4f1c870987
commit
937965b335
5 changed files with 30 additions and 18 deletions
|
|
@ -1,11 +1,6 @@
|
|||
import type { StatusKind } from "./types";
|
||||
|
||||
/**
|
||||
* Single source of truth for status icons + labels. Both the status bar
|
||||
* and the settings "Connection" heading render from this table so a change
|
||||
* here updates both surfaces.
|
||||
*/
|
||||
|
||||
/** Shared by the status bar and the settings "Connection" heading. */
|
||||
export interface StatusVisual {
|
||||
icon: string;
|
||||
label: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue