Release Notes - Dockflare Frontend Update
This update incorporates several fixes and improvements to the Dockflare status page frontend, enhancing user experience, stability, and visual consistency.
Key Highlights
- Dark/Light Theme Fix: Resolved issues with theme switching and persistence. The page now reliably initializes to the user's preferred theme (saved or system default) and toggles correctly.
- Protocol Handling: Improved handling of HTTP/HTTPS protocols for forms and internal links to prevent mixed-content issues and ensure correct form submissions.
- Enhanced Stability: Implemented stricter checks and better error handling in various parts of the frontend logic.
- Branding Update: Introduced the official application logo and banner in the page header.
- Documentation: Added a project Wiki on GitHub for extended documentation and guides.
Bug Fixes
- Theme: Fixed inconsistencies in dark/light theme application and toggling. Explicitly configured Tailwind for class-based dark mode.
- Agent Control: Prevented the "Start Agent" button from being enabled prematurely when the necessary tunnel ID or token was not yet available.
- API Status: Corrected the logic for the API Status indicator (Tunnel Setup section) to more accurately reflect a fully configured state (requiring both ID and Token for internal tunnels, or ID for external).
- Protocol Consistency: Ensured forms and internal links consistently use the correct HTTP/HTTPS protocol matching the current page access.
- Agent Status Display: Improved robustness of agent status display to handle unknown or unavailable states gracefully.
Improvements
- UI: Updated the header to use the Dockflare application logo and banner for improved branding and visual identity.
- UI: Added a visual "wildcard" badge next to wildcard hostnames in the Managed Ingress Rules table for better clarity.
- UI: Tunnel Token row is now hidden in the Tunnel Details section when using an external cloudflared agent, as it's not relevant in that mode.
- Code Quality: Significantly refactored frontend JavaScript for improved readability, maintainability, and potentially better performance. Enhanced error handling in log streaming and server ping checks.
Notes
- The Initialization and Reconciliation status indicators, previously removed in an earlier iteration of the unstable branch, have been retained from the stable version.
- The clickable links for hostnames in the Managed Ingress Rules table continue to use
https://
for consistency and security.