Repository navigation
app: Show why the local edition is unavailable inside its card - #1883
nortonandreev wants to merge 2 commits into
Conversation
The reason was a separate box between the two edition cards, with its own radius, so it read as a third option. It is now the card's footer under a divider, and the card's head fades while the reason stays legible.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 57 minutes. View limit details
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 |
PR Summary by QodoShow local edition unavailability reason inside its card
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
1.
|
|
@CodeRabbit approve |
✅ Action performedComments resolved and changes approved. |
No GitHub or Linear issue
What & why
When the local edition is unavailable, the reason rendered as its own bordered box between the two edition cards, with a different radius, so it read as a third option and was not tied to the card it disables. The reason is now the card's footer under a divider, with an info icon in the card's icon column. The card's head fades to half opacity and the card is disabled, while the footer stays at full contrast. The reason is also the card's automation help text.
Where to look
Both reasons on main (unsupported platform, cloud profile present) use the footer. The cloud card is never unavailable, so it is unchanged. When local is available the step renders identically to before.
Verification
Capacitor.App.Tests.Unit: 4,241 passed, 10 skipped, 0 failedAn_unavailable_local_card_says_why_in_its_own_footerpins the reason inside the card, the disabled state and the help text