fix: Move expires_in field after scope in OAuth2 datasource form#41833
fix: Move expires_in field after scope in OAuth2 datasource form#41833algojogacor wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe OAuth2 "Authorization expires in (seconds)" form input field ( ChangesOAuth2 Expiry Field Relocation
Estimated Code Review Effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
This is an independent contribution and is not affiliated with any hackathon or competition.
Summary
The
expires_ininput field in the OAuth2 datasource configuration form was placed below Custom Authentication Parameters, separated from the other authentication fields. This made it harder for users to discover.Root Cause
The
expires_infield was rendered insiderenderOauth2AdvancedSettings, after Custom Authentication Parameters, rather than alongside the related authentication fields inrenderOauth2Common.Fix
Moved the
expires_ininput field fromrenderOauth2AdvancedSettingstorenderOauth2Common, placing it directly after the Scope(s) field. All authentication fields are now adjacent for improved discoverability.Testing
Summary by CodeRabbit