Skip to content

fix: onboarding case model json#1896

Merged
elibosley merged 2 commits into
refactor/onboarding-wizard-gatingfrom
codex/onboarding-case-model-json
Mar 10, 2026
Merged

fix: onboarding case model json#1896
elibosley merged 2 commits into
refactor/onboarding-wizard-gatingfrom
codex/onboarding-case-model-json

Conversation

@elibosley

Copy link
Copy Markdown
Member

No description provided.

@elibosley
elibosley requested a review from Ajit-Mehrotra March 10, 2026 19:49
@elibosley
elibosley changed the base branch from main to refactor/onboarding-wizard-gating March 10, 2026 19:49
@coderabbitai

coderabbitai Bot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 1df2a278-745a-4bad-9feb-905376b889bb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codex/onboarding-case-model-json

Comment @coderabbitai help to get the list of available commands and usage tips.

@Ajit-Mehrotra Ajit-Mehrotra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@elibosley elibosley changed the title Codex/onboarding case model json fix: onboarding case model json Mar 10, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

💡 Codex Review

if (!this.materializedPartnerMedia.caseModel && !configuredCaseModel) {

P1 Badge Gate case-model asset usage on current materialization

This new guard allows applyCaseModelConfig to proceed whenever branding.caseModel is present, even when no case-model image was materialized for the current activation. In that path the code still prefers fileExists(caseModelSource), so a stale activation/assets/case-model.png left from a previous activation can override the newly provided built-in caseModel value and write the wrong case-model.cfg entry. Please require this.materializedPartnerMedia.caseModel (or clear stale assets before this check) before treating caseModelSource as authoritative.


export const ONBOARDING_MODAL_HIDDEN_STORAGE_KEY = 'onboardingModalHidden';

P2 Badge Keep legacy modal-hidden storage key readable

Changing the storage key value from activationCodeModalHidden to onboardingModalHidden drops compatibility with existing session state. After deploy, users who already dismissed onboarding in their current session will have that preference ignored and can see the modal reopen unexpectedly. Consider preserving the old key value or adding a read-migration fallback so existing hidden state is honored.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

Copy link
Copy Markdown
Contributor

This plugin has been deployed to Cloudflare R2 and is available for testing.
Download it at this URL:

https://preview.dl.unraid.net/unraid-api/tag/PR1896/dynamix.unraid.net.plg

@elibosley
elibosley merged commit 3634468 into refactor/onboarding-wizard-gating Mar 10, 2026
8 checks passed
@elibosley
elibosley deleted the codex/onboarding-case-model-json branch March 10, 2026 20:07
elibosley added a commit that referenced this pull request Mar 10, 2026
@codecov

codecov Bot commented Mar 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 49.73%. Comparing base (3e43340) to head (42d82ec).

Files with missing lines Patch % Lines
...ing/standalone/OnboardingAdminPanel.standalone.vue 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                        Coverage Diff                         @@
##           refactor/onboarding-wizard-gating    #1896   +/-   ##
==================================================================
  Coverage                              49.72%   49.73%           
==================================================================
  Files                                   1021     1021           
  Lines                                  70033    70047   +14     
  Branches                                7388     7392    +4     
==================================================================
+ Hits                                   34827    34840   +13     
- Misses                                 35083    35084    +1     
  Partials                                 123      123           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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