-
Notifications
You must be signed in to change notification settings - Fork 619
[TOOL-5037] Dashboard: Remove autoConnect on /login page #7609
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
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
|
Caution Review failedFailed to post review comments. WalkthroughThis change refactors import paths throughout the dashboard application to use absolute aliases instead of deep relative paths. Additionally, it introduces a new login page layout that disables wallet auto-connect by explicitly setting Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant LoginPage
participant AppRouterProviders
participant WalletConnectUI
User->>LoginPage: Navigates to /login
LoginPage->>AppRouterProviders: Render with autoConnect=false
AppRouterProviders->>WalletConnectUI: Render wallet connect (autoConnect disabled)
User->>WalletConnectUI: Initiates manual wallet connect
sequenceDiagram
participant User
participant MainAppPage
participant AppRouterProviders
participant WalletConnectUI
User->>MainAppPage: Navigates to any app page (not /login)
MainAppPage->>AppRouterProviders: Render with autoConnect=true
AppRouterProviders->>WalletConnectUI: Render wallet connect (autoConnect enabled)
WalletConnectUI->>User: Attempts automatic wallet connection
Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes were found. All modifications are related to import path refactoring, UI adjustments, or the implementation of conditional auto-connect as required by the linked issue. Suggested reviewers
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
✨ 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 (
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7609 +/- ##
=======================================
Coverage 56.45% 56.45%
=======================================
Files 906 906
Lines 58115 58115
Branches 4226 4226
=======================================
Hits 32810 32810
Misses 25195 25195
Partials 110 110
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
<!--
## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):
## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.
## How to test
Unit tests, playground, etc.
-->
<!-- start pr-codex -->
---
## PR-Codex overview
This PR primarily focuses on refactoring import paths for better organization and consistency across the codebase, as well as enhancing the login and onboarding components, including UI adjustments and functionality updates.
### Detailed summary
- Updated import paths to use absolute imports instead of relative paths.
- Modified the `DashboardLayout` to enable auto-connect.
- Enhanced the `LoginPage` with a new footer message regarding phone login support.
- Adjusted the `Toaster` component to simplify its usage.
- Improved onboarding UI components for better user experience.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Added an option to enable automatic wallet connection in the app layout.
* **Refactor**
* Standardized import paths across the dashboard for improved maintainability and clarity.
* Updated usage of the notification component to a local version with simplified theming.
* Improved layout and messaging on the login page, moving phone login deprecation notice to a dedicated footer and refining spacing.
* **Documentation**
* Enhanced SEO and social sharing metadata on the login page.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
b2e0c0e to
5fedc2c
Compare

PR-Codex overview
This PR primarily focuses on refactoring import paths to use a unified alias (
@) for better consistency and readability across the project. It also updates some components and adds new functionality in various files related to login, onboarding, and team management.Detailed summary
@alias for consistency.DashboardLayoutcomponent to enable auto-connect.PayProvidersandBridgeProvidersto useToasterfrom the new path.LoginPageto include a footer message regarding phone login deprecation.Summary by CodeRabbit
New Features
Refactor
Documentation