feat(source2): lock dark mode, sans-serif typography, and all recent updates
This commit is contained in:
1 parent
dd4c8f6876
commit
9f24b56e97
259 files changed
+15596
-8966
No files matched your search
@@ -0,0 +1,14 @@
|
||||
# Fix: Corrected 'Activated' Status Logic for Agents
|
||||
|
||||
**Trigger**: Clarification on 'Activated' vs 'Status' logic
|
||||
**Date**: 2026-07-23 09:04 WIB
|
||||
**Affected files**:
|
||||
- `proxy/netifyClientStats.js`
|
||||
- `src/lib/actions/agents.ts`
|
||||
|
||||
## Solution
|
||||
|
||||
1. Identified that the Informatics/API integration endpoint /data/stats/top/agent/download does not provide the active/activated status flag of the agent directly, leading the proxy client configuration to default it to `false`.
|
||||
2. Changed the default `activated` mapping inside `proxy/netifyClientStats.js` to `true`, since any agent fetched from the platform's active collector/bandwidth list is indeed activated in Netify.
|
||||
3. Updated the fallback aggregation mapper inside `src/lib/actions/agents.ts` to also default `activated` status to `true`.
|
||||
4. Verified that `Status` (Online/Offline) correctly manages the real-time presence (active flows in the last 12 hours) while `Activated` correctly represents whether the agent has been activated on the platform, separating the concern of the two columns logically.
|
||||
Reference in new issue
Block a user