From e9928b4beb59cd991f25ff71fceefb0b04156d9a Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Tue, 1 Jul 2025 13:20:22 +0300 Subject: [PATCH] default-nodes/README: update documentation regarding the select-default-node event --- src/scripts/default-nodes/README.rst | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/scripts/default-nodes/README.rst b/src/scripts/default-nodes/README.rst index 9400efa2..90cb74e3 100644 --- a/src/scripts/default-nodes/README.rst +++ b/src/scripts/default-nodes/README.rst @@ -73,10 +73,6 @@ is required: - File - Description - * - default-nodes/find-best-default-node - - find-best-default-node.lua - - prioritizes nodes based on their priority.session property - * - default-nodes/find-selected-default-node - find-selected-default-node.lua - prioritizes the current default.configured.* node, i.e. the current user selection @@ -85,15 +81,14 @@ is required: - state-default-nodes.lua - prioritizes past user selections from the state file + * - default-nodes/find-best-default-node + - find-best-default-node.lua + - prioritizes nodes based on their priority.session property & their associated Route priority + * - default-nodes/apply-default-node - apply-default-node.lua - sets the highest priority selected node as the default in the metadata -.. note:: - - The actual order of the "default-nodes/find-\*" hooks is not defined and doesn't matter. - The only thing that matters is that "default-nodes/apply-default-node" is the last hook. - select-default-node event -------------------------