feat: owner review 2 phase 1: :latest, Unraid array space, Settings with About, whole-folder import (#9)
CI / Build and test (push) Successful in 5m11s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 6s
Release / Build, test and publish (push) Successful in 8m57s
CI / PostgreSQL 16 integration (push) Successful in 3m10s
CI / PostgreSQL 17 integration (push) Successful in 3m30s
CI / Docker image (push) Successful in 49s
Release / Server image (push) Successful in 1m4s
CI / Build and test (push) Successful in 5m11s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 6s
Release / Build, test and publish (push) Successful in 8m57s
CI / PostgreSQL 16 integration (push) Successful in 3m10s
CI / PostgreSQL 17 integration (push) Successful in 3m30s
CI / Docker image (push) Successful in 49s
Release / Server image (push) Successful in 1m4s
- :latest follows the highest stable release, or the highest pre-release while none is stable (Chronos.Tools release-channels); bad tags are refused before anything is built. - Unraid: CHRONOS_SPACE_PATH and the template's Array view show the array's free space; the write volume (cache) is shown apart; completions check the archive volume (507). - Settings is a gear, docked at the foot of the admin sidebar; About is the last part of Settings on the desktop and the panel. - Import > Folder > Whole folder: one sequence per format (desktop only). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #9.
This commit is contained in:
1 parent
5acdf146c7
commit
1f089888e8
320 files changed
+3030
-927
No files matched your search
@@ -56,6 +56,23 @@ export function bar(fraction, muted = false) {
|
||||
`<rect class="track" width="100" height="6" rx="3"/><rect class="fill" width="${width}" height="6" rx="3"/></svg>`;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tooltip of a storage tile's figures (archive stats): the volume they measure and its file system; on an Unraid share
|
||||
* without a space volume, that they are the share's primary storage.
|
||||
*/
|
||||
export function storageTip(stats) {
|
||||
const lines = [stats.usesSpacePath ? t("Admin.Dashboard.SpaceVolume.Tip") : t("Admin.Dashboard.Storage.Tip")];
|
||||
if (stats.fileSystem) lines.push(t("Admin.Dashboard.FileSystem", stats.fileSystem));
|
||||
if (stats.fileSystem === "fuse.shfs" && !stats.usesSpacePath) lines.push(t("Admin.Dashboard.UnraidShare.Tip"));
|
||||
return lines.join("\n");
|
||||
}
|
||||
|
||||
/** The write volume's free space as one more line of a storage tile, when the stats have it apart; "" otherwise. */
|
||||
export function writeVolumeLine(stats) {
|
||||
if (stats.writeFreeBytes == null) return "";
|
||||
return `<span class="sub" title="${attr(t("Admin.Dashboard.WriteVolume.Tip"))}">${escapeHtml(t("Admin.Dashboard.WriteVolume", formatBytes(stats.writeFreeBytes)))}</span>`;
|
||||
}
|
||||
|
||||
/**
|
||||
* Column chart named by label: values with labels under the bars and, when given, the value above each bar. Bars use
|
||||
* the accent colour, or the sun colour for upload activity. With edgeLabels the first and last labels align with the
|
||||
|
||||
Reference in new issue
Block a user