mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 19:23:31 +00:00
69598d62f6
- Add dynamic metric fluctuations for VMs and containers in mock data - Fix alert acknowledgment to dim instead of hide alerts - Implement unacknowledge functionality with backend persistence - Simplify alert UI to single-click toggle (remove selection system) - Add proper hysteresis for alert resolution when metrics drop - Fix SVG icon boundaries in alert displays - Add webhook disable toggles for testing without notifications - Fix frontend directory duplication issue (addresses frontend-modern recreation) - Improve alert sorting to show most recent first - Make mock system generate realistic metric changes for proper alert lifecycle
22 lines
737 B
Markdown
22 lines
737 B
Markdown
# Internal API Package
|
|
|
|
This directory contains the API server implementation for Pulse.
|
|
|
|
## Important Note About `frontend-modern/`
|
|
|
|
The `frontend-modern/` subdirectory that appears here is:
|
|
- **AUTO-GENERATED** during builds
|
|
- **NOT the source code** - just a build artifact
|
|
- **IN .gitignore** - never committed
|
|
- **REQUIRED BY GO** - The embed directive needs it here
|
|
|
|
### Frontend Development Location
|
|
👉 **Edit frontend files at: `/opt/pulse/frontend-modern/src/`**
|
|
|
|
### Why This Structure?
|
|
Go's `//go:embed` directive has limitations:
|
|
1. Cannot use `../` paths to access parent directories
|
|
2. Cannot follow symbolic links
|
|
3. Must embed files within the Go module
|
|
|
|
This is a known Go limitation and our structure works around it. |