-
Notifications
You must be signed in to change notification settings - Fork 50
✨ Source platform render updates #2529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Changes: - Rename `providerType` to `platformKind` across the components - `platformKind` is labeled as `Type` in the UI - Only show source identities in the source platform form - Add credentials to the source platform detail drawer - Rename `usePlatformProviderList` to `usePlatformKindList` - Minor rendering changes Signed-off-by: Scott J Dickerson <[email protected]>
WalkthroughThis change replaces the term "providerType" with "platformKind" throughout the source platforms feature, updating UI labels, translation keys, and related logic. It introduces a new Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant SourcePlatformsPage
participant PlatformForm
participant PlatformDetailDrawer
participant usePlatformKindList
User->>SourcePlatformsPage: Opens Source Platforms
SourcePlatformsPage->>usePlatformKindList: Fetch platform kinds
usePlatformKindList-->>SourcePlatformsPage: Return kind list
User->>PlatformForm: Add/Edit Platform
PlatformForm->>usePlatformKindList: Fetch platform kinds
usePlatformKindList-->>PlatformForm: Return kind list
PlatformForm-->>User: Show platform kind select
User->>PlatformDetailDrawer: View Platform Details
PlatformDetailDrawer->>usePlatformKindList: Fetch platform kinds (if needed)
PlatformDetailDrawer-->>User: Show details (with platform kind)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (11)
💤 Files with no reviewable changes (2)
🧰 Additional context used🧠 Learnings (4)📓 Common learnings
📚 Learning: targetcard component is focused on transformation targets, not source platform providers. it imports...
Applied to files:
📚 Learning: the targetcard component operates independently from the useplatformproviderlist hook and source pla...
Applied to files:
📚 Learning: the tackle2-ui codebase uses react query v4 (@tanstack/react-query v4.22.0), where the onerror callb...
Applied to files:
🧬 Code Graph Analysis (2)client/src/app/pages/source-platforms/components/platform-form.tsx (4)
client/src/app/pages/source-platforms/source-platforms.tsx (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (24)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Changes:
providerType
toplatformKind
across the componentsplatformKind
is labeled asType
in the UIusePlatformProviderList
tousePlatformKindList
Screenshots:

Summary by CodeRabbit
New Features
Refactor
Chores