Commit Graph
11 Commits
Author SHA1 Message Date
Raven Scott 1630370ff4 Fix domains tab navigation to prevent page breakage
- Prevent re-initialization when clicking domains button while already on domains tab
- Add navigateToTab helper function to intelligently handle tab navigation
- Redirect #domains hash to index (no hash) since domains is the default tab
- Update all navigation buttons to use navigateToTab helper
- Handle both initial load and hashchange events to remove #domains hash

This fixes the issue where navigating to or clicking the domains tab when
already viewing it would break the page by clearing and re-rendering content.
2025-12-26 22:16:14 -05:00
Raven Scott 3466d17eda Add graceful shutdown button and improve shutdown status display
- Add refresh/shutdown button next to status indicator that gracefully
  stops the process without cleaning my-storage
- Create /api/shutdown endpoint that triggers graceful shutdown via SIGTERM
- Update status indicator to show "Gracefully Cleaning...." when system
  is shutting down (instead of "Searching for peers...")
- Include isShuttingDown flag in /api/status endpoint response
- Use built-in ConfirmationModal for shutdown confirmation with warning styling

The shutdown button appears in the top-right corner next to the status
indicator and uses the existing confirmation modal system for user
confirmation before initiating shutdown.
2025-12-26 22:03:23 -05:00
Raven Scott 1888289067 feat: Add persistent domain filters with live data updates
- Add three filter dropdowns to domains tab: Consensus Status, Hash Type, and Ownership
- Implement AND logic filtering with immediate table updates for live data
- Create persistent filter settings system saving to cache/filterSettings.json
- Add backend API endpoints: GET/POST /api/domain-filter-settings
- Set default filters to: All Consensus States, Holesail Hash, All Ownership
- Fix infinite scroll state management to handle filter changes properly
- Auto-save filter preferences on change and restore on page load
- Fix backend response handling (removed undefined sdk reference)
2025-12-26 21:50:25 -05:00
Raven Scott 10d7d52079 Disallow internal domains from being claimed 2025-12-26 17:48:50 -05:00
Raven Scott 01acfb766c feat: Add P2P Domain Conflicts management
Implement comprehensive P2P domain conflict resolution allowing users to choose between local claim hashes and consensus-resolved hashes for domains where they have local claims but another claimant won consensus.

Key features:
- P2P Domain Conflicts UI tab in Local DNS section
- Hash preference toggle (local vs resolved) with automatic client restart
- Extended selector_cache.json to store hashPreferences alongside versionPreferences
- DNS cache invalidation for immediate preference application
- REST API endpoints for conflict detection and preference management
- Automatic Holesail client restart when hash preferences change
- Complete documentation updates across README, API docs, and glossary

Resolves conflicts between local claims and consensus resolution by giving users control over which hash their domain resolves to, with seamless client management ensuring immediate effect.
2025-12-26 16:36:19 -05:00
Raven Scott cbeffd61f7 Seperate Peer Stats and Peer list 2025-12-21 02:14:17 -05:00
Raven Scott aedf2b5beb GUI: Fix scrolling in the peers tab 2025-12-21 02:11:57 -05:00
Raven Scott eecd85c066 Invite Diagnostics + Cleanup and Reboot 2025-12-17 21:44:58 -05:00
Raven Scott d1ee8b979a improvent for invites 2025-12-17 21:13:46 -05:00
Raven Scott a977320bfc show loading indicators when actions are pending 2025-12-17 20:42:00 -05:00
Raven Scott 742e27d3f7 reorg 2025-12-17 20:05:50 -05:00