Repository navigation
Add profile configs, support reports, and upgrade highlights for 3.8.0 - #52
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Mod profiles can now optionally save selected configuration files along with their Workshop selection. Loading a profile stages its config snapshots for the existing review-and-restart flow; it does not write live files. Users can also load only the mod selection. After the game stops, apply checks disk revisions, restores the exact saved bytes, and keeps the previous file version for editor undo. Failed batches attempt rollback while preserving newer external edits.
Add Overview → Preview support report to collect container and tModLoader versions, confirmed loaded mods (or enabled filenames when loading is unconfirmed), and bounded recent error lines. The server removes known sensitive values and common private log details before returning the preview. Users can review, edit, and copy it; nothing is submitted automatically. The bug report template now accepts an optional support report and retains manual logs as a fallback.
Add a What's new popup after authenticated sign-in following a container upgrade. Dismissal is saved in
/data/admin/release-notice.jsonwith the container version andpending: false. Clicking Got it or pressing Escape saves it for all dashboard users. It survives browser changes and container replacement using the same data volume; a newer version queues a fresh notice. Fresh setup records a baseline; existing installations are recognized by their saved admin credential when notice tracking is first introduced. Highlights wait for other dialogs to close and can be reopened from the overview.Bump the container from 3.7.5 to 3.8.0 and move the accumulated editor, profile, and support-report notes into the dated 3.8.0 changelog section. The earlier editor implementation is already merged and is not duplicated in this branch.
Related issues
None.
Validation
Risks and compatibility
Existing profiles remain usable without config snapshots. Snapshot restore currently requires target files to exist; missing files must first be generated by their mods. Invalid snapshots and newer disk edits block apply. As with the existing settings workflow, an apply failure can leave the game stopped for recovery.
Profiles can contain up to 64 config files and 16 MiB of raw config data each, with a 32 MiB shared serialized catalog limit. Snapshots persist in the profile catalog; deferred restores use pending-profile-configs.json and are removed when the draft is discarded or successfully applied. Snapshots can contain private mod settings and stay in the server's data storage. Older container versions with the previous 64 KiB catalog limit may not read a catalog that has grown beyond that limit.
Support reports include up to 40 selected error lines from the latest 128 KiB of each current log. Redaction covers known credentials/private values and common sensitive log patterns, addresses, and paths; users still review the preview before sharing. Config contents, environment dumps, and player rosters are excluded. Report generation makes no external request and stores no report.
README, inline help, the code map, issue template, and changelog are updated. No new runtime dependencies.
Screenshots
Profile/report screenshots use synthetic fixture data; the upgrade popup shows packaged release highlights.
Before profile configs:

After profile configs:

Support report preview:

Upgrade highlights:

Checklist