Skip to content

Keep About for the app itself; move the diagnostics to a Troubleshooting page - #14

Open
dkgs2000 wants to merge 1 commit into
mainfrom
claude/about-and-troubleshooting-pages
Open

dkgs2000 wants to merge 1 commit into
mainfrom
claude/about-and-troubleshooting-pages

Conversation

@dkgs2000

Copy link
Copy Markdown
Owner

The problem

The About page was mostly diagnostics: besides the version and updates, it showed what the sync service and rclone report and where the logs and settings are. It had no link to the project, no credits and only a one-line license note. On Settings, the General card (start at sign-in, updates) sat under the whole rclone card, below the fold at the size the window opens.

The fix

The window now has four pages: Status · Settings · Troubleshooting · About.

  • Troubleshooting (new): Sync service, rclone and Logs and settings, moved as they were from About, plus Report a problem, which opens a new GitHub issue. The user guide already tells people to open an issue and attach both logs.
  • About: the version and tagline, with links to the GitHub project, release notes and user guide. Below that come Updates (check and install, as browsers do on their About page), then Credits (rclone with the version this PC runs, .NET, SQLite, C#/WinRT) with a Third-party notices link, and the MIT License.
    • The notices and the license open the THIRD-PARTY-NOTICES.txt and LICENSE.txt that the MSI installs beside the app. A build that isn't installed opens the project's copies on GitHub instead.
    • The GitHub links use the repository the build updates from (AppVersion.UpdateRepository), else dkgs2000/OpenCfDrive.
    • An update's link says "What's new in 1.4.0" instead of "Release page".
  • Settings: General now comes before rclone.
  • Status: the Drive card gains an Items row (tracked, downloaded), moved from About. When the drive has a problem, the state card offers Troubleshoot.

The user guide's description of the pages and the bug form's hint for the rclone version are updated to match.

Pictures of every page in every sample state: set OPENCFDRIVE_UI_PICTURES to a folder and run MainFormLayoutTests.

Tests

  • MainFormLayoutTests passes (10 tests). It goes through every page, the new one included, in each sample state, at the opening and smallest sizes, with larger text and at each screen scale. It checks for text cut off, overlaps and empty card rows.

  • dotnet build .\OpenCfDrive.slnx gives no warnings.

  • dotnet test .\OpenCfDrive.slnx passes (only the layout tests were run locally; CI runs the rest)

  • A test fails without this change: none. This is a layout change, and the existing layout test covers the new page.

  • Docs updated, if behavior changed

The links and buttons haven't been clicked in the installed app.

AI use

Written with Claude Code (Claude Opus 5.5) from a layout it proposed and the maintainer asked for. The page pictures were reviewed before the PR was opened.

🤖 Generated with Claude Code

…ing page

About held the version and its updates, but also what the sync service
and rclone report and where the logs are. Those now have their own page,
Troubleshooting, between Settings and About, with a Report a problem
button that opens a new GitHub issue, as the user guide asks people to.

About is now what an app's About page has: the version and the tagline,
links to the project on GitHub, its release notes and the user guide,
the update check, the credits (rclone, with the version this PC runs,
.NET, SQLite, C#/WinRT) with the third-party notices, and the MIT
License. The notices and the license open the copies the installer puts
beside the app, or the project's own on GitHub in a build that isn't
installed. The GitHub links point to the repository the build updates
from, else dkgs2000/OpenCfDrive. An update's link says "What's new in
1.4.0" instead of "Release page".

On Settings, General (start at sign-in, updates) now comes before rclone:
it was below the fold at the size the window opens. On Status, the Drive
card gains the items tracked and downloaded (from About), and the state
card offers Troubleshoot when something is wrong.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant