-
Couldn't load subscription status.
- Fork 11
refactor: rm unused oauth token fields in connect model #1451
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
WalkthroughThis change removes the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant API
participant ConnectSettingsService
Client->>API: signIn(apiKey, userInfo)
API->>ConnectSettingsService: signIn(input)
ConnectSettingsService->>ConnectSettingsService: Validate userInfo (no JWT decode)
ConnectSettingsService-->>API: Result
API-->>Client: Response
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (10)
💤 Files with no reviewable changes (4)
🧰 Additional context used📓 Path-based instructions (2)`**/*.{ts,tsx}`: TypeScript imports use .js extensions for ESM compatibility
📄 Source: CodeRabbit Inference Engine (CLAUDE.md) List of files the instruction was applied to:
`**/*.test.ts`: Use `mount` from Vue Test Utils for component testing Stub compl...
📄 Source: CodeRabbit Inference Engine (.cursor/rules/web-testing-rules.mdc) List of files the instruction was applied to:
🧠 Learnings (7)📓 Common learningspackages/unraid-api-plugin-connect/src/service/connect-api-key.service.ts (8)packages/unraid-api-plugin-connect/src/service/config.persistence.ts (6)packages/unraid-api-plugin-connect/src/test/url-resolver.service.test.ts (10)packages/unraid-api-plugin-connect/src/test/config.persistence.test.ts (23)packages/unraid-api-plugin-connect/src/service/connect-settings.service.ts (4)web/composables/gql/graphql.ts (13)🧬 Code Graph Analysis (1)web/composables/gql/graphql.ts (1)
⏰ Context from checks skipped due to timeout of 90000ms (4)
🔇 Additional comments (7)
✨ Finishing Touches
🪧 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 (
|
|
This plugin has been deployed to Cloudflare R2 and is available for testing. |
Followup to #1451 Empty string in email field of connect.json caused validation error on load. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a file-watching script to streamline development workflows. * Introduced comprehensive property-based and randomized tests for configuration parsing, migration, and validation. * **Bug Fixes** * Improved handling and validation of configuration fields, including stricter email validation and robust handling of optional fields. * **Refactor** * Updated configuration change detection to buffer events for improved performance. * Made minor formatting and visibility adjustments for clarity and maintainability. * **Chores** * Added new development dependencies for testing and data generation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Bug Fixes
Style