Final QA fixes#692
Conversation
📝 WalkthroughWalkthroughThe PR establishes a unified Connect onboarding initialization system that detects existing credentials, auto-dismisses welcome steps, manages Pro connection type selection, refines the Connect UI, and removes Pro compatibility restrictions from settings access. ChangesConnect Onboarding Initialization and UI Refinement
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 PHPStan (2.1.55)PHP Warning: require(/vendor/composer/../guzzlehttp/promises/src/functions_include.php): Failed to open stream: No such file or directory in /vendor/composer/autoload_real.php on line 39 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@includes/admin/pages/connect/steps/welcome.php`:
- Line 72: Replace the generic alt text "Welcome" used in the img tag that calls
esc_attr_e(...) with either a meaningful description (for example "Simple
Calendar setup video placeholder") or an empty alt (alt="") if the image is
purely decorative; update the string passed to esc_attr_e in the img element in
includes/admin/pages/connect/steps/welcome.php accordingly so screen readers
receive an appropriate alt value.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: a3749064-3632-44b1-a79a-01b286a1b3f4
📒 Files selected for processing (11)
assets/css/admin-add-calendar.cssassets/scss/admin-global.scssassets/scss/connect.scssincludes/admin/pages.phpincludes/admin/pages/connect/partials/google-calendar-api-key-connect.phpincludes/admin/pages/connect/sidebar.phpincludes/admin/pages/connect/steps/welcome.phpincludes/functions/admin.phpincludes/installation.phpincludes/main.phpincludes/update.php
💤 Files with no reviewable changes (2)
- includes/admin/pages.php
- assets/css/admin-add-calendar.css
| { | ||
| unset($upgrader); | ||
|
|
||
| if ( |
There was a problem hiding this comment.
Move below logic to simcal_apply_connect_defaults_on_plugin_update. This can be called from pro as well as appointment addons.
Description: Fix below points.
*in case of core update we can show misc settings
*on welcome page remove extra text as per suggetions
After: https://drive.google.com/file/d/1tC7I0gym5FjJzQXkWA_LeSNc7iRclSLx/view?usp=drivesdk
Summary by CodeRabbit
Bug Fixes
Style
Chores