Skip to content

feat: update banner, update assistant and issue report widgets - #32

Open
gabrielfrasantos wants to merge 3 commits into
mainfrom
claude/compassionate-noether-b931rk
Open

gabrielfrasantos wants to merge 3 commits into
mainfrom
claude/compassionate-noether-b931rk

Conversation

@gabrielfrasantos

Copy link
Copy Markdown
Contributor

Adds ui/backend/qt/update/widgets (ui.backend.qt.update_widgets): the Widgets half of self-update and issue reporting, on top of ui.backend.qt.update.

  • UpdateProduct: a tool describes itself once (display and short name, version, feed, release and issue pages, user agent, and the action that releases a blocked install, e.g. "Disconnect from the CAN bus").
  • UpdateBanner: offer, download progress, ready (disabled while blocked, naming that action), installing, failure; Install, Release Notes, Skip This Version, Cancel, Later.
  • UpdateAssistant: owns checker, session and banner; automatic daily checks behind the updates/checkAtStartup setting, skipped versions (updates/skippedVersion), the install confirmation, Report, Checking, RestartRequested and RelaunchRequested signals. The tool decides how to close and relaunch.
  • OpenIssueReport: the prefilled new-issue page with the recent log, or where to report it when no browser opens.

Tests: 11 new (banner texts and states per phase; assistant offer, skip, setting, block against a local feed). ctest 16/16 on host-qt. Documented under Tier 3 in doc/portability.md.


Generated by Claude Code

ui/backend/qt/update/widgets (ui.backend.qt.update_widgets): the banner,
the check-download-install flow behind it (automatic daily checks,
skipped versions, install confirmation, restart signals) and the
prefilled issue report, described once per tool by an UpdateProduct.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014WUWh4ve7wn8JxNywWbX5h
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

✅⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Max errors Warnings Elapsed time
✅ ACTION actionlint 7 0 0 0.8s
✅ CPP clang-format 209 0 0 0 2.4s
✅ CPP cppcheck 209 0 0 2.54s
✅ DOCKERFILE hadolint 1 0 0 0.46s
✅ JSON jsonlint 8 0 0 0.12s
✅ JSON prettier 8 2 0 0 0.51s
✅ MARKDOWN markdownlint 14 0 0 0 1.03s
✅ MARKDOWN markdown-table-formatter 14 0 0 0 0.2s
⚠️ SPELL lychee 66 1 0 1.57s
✅ YAML prettier 11 0 0 0 0.66s
✅ YAML yamllint 11 0 0 0.53s

Detailed Issues

⚠️ SPELL / lychee - 1 error
📝 Summary
---------------------
🔍 Total...........23
🔗 Unique...........9
✅ Successful......15
⏳ Timeouts.........0
🔀 Redirected.......1
👻 Excluded.........7
❓ Unknown..........0
🚫 Errors...........1
⛔ Unsupported......1

Errors in .github/workflows/static-analysis.yml
[403] https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$ (at 37:21) | Rejected status code: 403 Forbidden

Hint: Followed 1 redirect. You might want to consider replacing redirecting URLs with the resolved URLs. Use verbose mode (`-v`/`-vv`) to see redirection details.
Hint: You can configure accepted/rejected response codes with `-a` or `--accept`

Notices

⚠️ Your configuration references items that have been removed from MegaLinter and are ignored: REPOSITORY_GITLEAKS, REPOSITORY_KICS. See Removed linters to find their replacements.

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@10.2.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,CPP_CPPCHECK,CPP_CLANG_FORMAT,DOCKERFILE_HADOLINT,JSON_JSONLINT,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT

MegaLinter is provided by OX Security
Show us your support by starring ⭐ the repository

The phase-to-log message mapping becomes PhaseReport, a free function the
tests call directly; dialogs are answered and browser calls caught by a
test URL handler, so the requested-check, install-confirmation, release
notes and issue-report paths run under test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014WUWh4ve7wn8JxNywWbX5h
…nt's setting

The banner's child widgets and layout become members owned by value
instead of raw new in the constructor body, the nested conditional for the
offer's primary button becomes an if, and SetAutomatic is const.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014WUWh4ve7wn8JxNywWbX5h
@sonarqubecloud

Copy link
Copy Markdown

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.

2 participants