Development #8

Merged
mysticmomba merged 9 commits from development into master 2026-10-08 11:25:29 -04:00
5 changed files with 25 additions and 3 deletions
Showing only changes of commit aaeb7636a1 - Show all commits
+1
View File
@@ -8,6 +8,7 @@
- Status Colors on Monitor tab now reflect status of host. Closes #7 - Status Colors on Monitor tab now reflect status of host. Closes #7
- Removed unused function. - Removed unused function.
- Fixed Screen Refresh Bug on Monitor Tab. Now When You Go To Change a Label While the Monitor Is Running. The Page Stops Refreshing Until You’re Done Changing the Name. This Is To Prevent Your Text Box From Being Deselected When the Table Refreshes.
## [0.2.0] - 2026-09-24 ## [0.2.0] - 2026-09-24
### 🚀 Features ### 🚀 Features
+2 -1
View File
@@ -6,6 +6,7 @@
"permissions": [ "permissions": [
"core:default", "core:default",
"opener:default", "opener:default",
"dialog:default" "dialog:default",
"core:window:allow-set-always-on-top"
] ]
} }
+4
View File
@@ -200,6 +200,10 @@
<div id="status-bar"> <div id="status-bar">
<span class="status-bar-item" id="status-bar-version">Argus</span> <span class="status-bar-item" id="status-bar-version">Argus</span>
<button id="btn-changelog" class="status-bar-btn">Changelog</button> <button id="btn-changelog" class="status-bar-btn">Changelog</button>
<label class="toggle-label status-bar-toggle">
<input type="checkbox" id="chk-always-on-top" />
<span>Always on Top</span>
</label>
<select id="theme-picker" class="theme-picker"> <select id="theme-picker" class="theme-picker">
<option value="cyber">Cyber</option> <option value="cyber">Cyber</option>
<option value="midnight">Midnight</option> <option value="midnight">Midnight</option>
+9 -2
View File
@@ -1139,9 +1139,9 @@ const monitorTab = (() => {
input.addEventListener('blur', save); input.addEventListener('blur', save);
input.addEventListener('keydown', function (ev) { input.addEventListener('keydown', function (ev) {
if (ev.key === 'Enter') save(); if (ev.key === 'Enter') save();
if (ev.key === 'Escape') if (ev.key === 'Escape')
editingLabel = false; editingLabel = false;
render(); render();
}); });
}); });
@@ -1255,6 +1255,13 @@ window.addEventListener('DOMContentLoaded', () => {
updater.init(); updater.init();
changelog.init(); changelog.init();
theme.init(); theme.init();
// Always on top toggle
document.getElementById('chk-always-on-top').addEventListener('change', function (e) {
if (window.__TAURI__ && window.__TAURI__.window) {
var current = window.__TAURI__.window.getCurrentWindow();
current.setAlwaysOnTop(e.target.checked);
}
});
document.getElementById('btn-export-all').addEventListener('click', exporter.csvAll); document.getElementById('btn-export-all').addEventListener('click', exporter.csvAll);
document.getElementById('btn-export-up').addEventListener('click', exporter.csvUp); document.getElementById('btn-export-up').addEventListener('click', exporter.csvUp);
console.log('[Argus] Ready'); console.log('[Argus] Ready');
+9
View File
@@ -1514,4 +1514,13 @@ body {
border: 1px solid var(--cyan); border: 1px solid var(--cyan);
border-radius: var(--radius); border-radius: var(--radius);
outline: none; outline: none;
}
.status-bar-toggle {
font-size: 11px;
color: var(--text-muted);
}
.status-bar-toggle input:checked+span {
color: var(--cyan);
} }