Add server configuration editor

This commit is contained in:
npc0-hue
2026-09-11 11:40:06 +08:00
parent 8c924b5928
commit 8e6d12f6f1
9 changed files with 277 additions and 33 deletions
@@ -43,6 +43,7 @@ describe("ServerDetailPage config write approval", () => {
expect(headerSource).toContain('<span>停止</span>');
const actionStripSource = headerSource.split('<div className="action-strip">')[1]?.split('</div>')[0] ?? "";
expect(actionStripSource.indexOf('<span>停止</span>')).toBeLessThan(actionStripSource.indexOf('detailStateText'));
expect(headerSource).toContain('<span>修改配置</span>');
});
it("opens the plugin user management page by default when available", () => {