feat: add global server URL configuration to debug pages - #21
Conversation
shalousun
commented
Jul 11, 2026
- Add editable server URL input at top of debug pages with flat, seamless design that blends into the page by default
- CSS hover/focus states provide subtle visual feedback and title tooltip hints at click-to-edit behavior
- Server URL value persisted to localStorage for session survival
- resolveUrl() dynamically replaces the base URL in API requests with the user-configured server address
- Display URL now shows path only (doc.path) instead of full server-prefixed URL, since the server is globally configurable
- Add editable server URL input at top of debug pages with flat, seamless design that blends into the page by default - CSS hover/focus states provide subtle visual feedback and title tooltip hints at click-to-edit behavior - Server URL value persisted to localStorage for session survival - resolveUrl() dynamically replaces the base URL in API requests with the user-configured server address - Display URL now shows path only (doc.path) instead of full server-prefixed URL, since the server is globally configurable
|
🔍 Before proceeding, please review the contribution guidelines This includes requirements for:
Thanks for your PR. 🙏 In addition, if you have added new features, please provide example code in the repository smart-doc-group/smart-doc-example-cn. This will help other users understand how to use the new features. Code Style Reminder: 🔍 提交前请务必完成以下检查 需特别注意:
感谢您提交的PR。 🙏 另外,如果您添加了新功能,请在仓库smart-doc-group/smart-doc-example-cn中提供示例代码。这将帮助其他用户了解如何使用新功能。 代码风格提示: |