Skip to content

Add notification for offline Traefik instances and improve error handling#1101

Open
stephdl wants to merge 7 commits intomainfrom
sdl-7842
Open

Add notification for offline Traefik instances and improve error handling#1101
stephdl wants to merge 7 commits intomainfrom
sdl-7842

Conversation

@stephdl
Copy link
Contributor

@stephdl stephdl commented Mar 2, 2026

Enhance user experience by notifying when Traefik instances are offline and adding relevant messages to the translation file. Improve error handling to track offline instances during certificate listing.

NethServer/dev#7842

image image image

}
},
getOfflineInstanceTitle(instance) {
let nodeUiNameDisplay = "";
Copy link
Contributor

Choose a reason for hiding this comment

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

This logic can be removed by using getNodeLabel function

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good idea but in this context, I receive instance that is relevant to traefik, the code will change a lot

{
"digest": "sha256:22813a0f49acef039c30f5d5b0077bdd1962dd5cd4ba98015a5d73ae836e0860",
"flags": [
"rootless",
"core_module"
],
"id": "traefik3",
"logo": "",
"module": "traefik",
"node": "3",
"node_ui_name": "rtertret",
"source": "ghcr.io/nethserver/traefik",
"ui_name": "",
"ui_note": "",
"version": "4.2.0",
"node_id": "3"
}

Copy link
Contributor

Choose a reason for hiding this comment

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

const nodeLabel = instance.node_ui_name
        ? instance.node_ui_name + " (" + this.$t("common.node") + " " + instance.node + ")"
        : this.$t("common.node") + " " + instance.node;
return nodeLabel;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants