feat(interconnect): display active node name in travel mode & update changelog

- Persist active interconnect node name in localStorage via api

- Pass node name on MasterList and NodeSwitcher when traveling

- Display current node name on the 'Return to Master' floating button in App.vue

- Update CHANGELOG.md, README.md and docs with v1.1.17 release notes highlighting interconnect features
This commit is contained in:
duorameng
2026-06-28 21:01:17 +08:00
parent 81e921fa73
commit 37ff186dce
7 changed files with 46 additions and 19 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ import { onMounted } from 'vue'
import { RouterView } from 'vue-router'
import { Toaster } from '@/components/ui/sonner'
import { LogOut } from 'lucide-vue-next'
import { activeInterconnectNodeId, setActiveInterconnectNodeId } from '@/api'
import { activeInterconnectNodeId, activeInterconnectNodeName, setActiveInterconnectNodeId } from '@/api'
function exitTravel() {
setActiveInterconnectNodeId('')
@@ -37,7 +37,7 @@ onMounted(() => {
hover:scale-105 active:scale-95 cursor-pointer"
>
<LogOut class="h-3 w-3 transition-transform group-hover:-translate-x-0.5" />
<span>返回主节点</span>
<span>返回主节点 <template v-if="activeInterconnectNodeName">当前:({{ activeInterconnectNodeName }})</template></span>
</button>
</div>
</template>