Commit 85a49a0
committed
fix: resolve frontend display inconsistencies in mobile clients and preferences
- Fix error showing empty clients state: when an error occurs on initial
load, suppress the EmptyMobileClients placeholder since the error banner
already communicates the failure.
- Fix false empty before relay session: treat missing accountId (relay
session not yet established) as initial loading state to show the
skeleton instead of a misleading 'No mobile clients' message.
- Fix preference switch stale after update: use optimistic local state
for publishAgentActivity so the switch immediately reflects the new
value after a successful update, rather than waiting for the async
refresh to complete.1 parent 5c536c8 commit 85a49a0
2 files changed
Lines changed: 18 additions & 3 deletions
File tree
- apps/web/src/components
- clerk
- settings
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
| |||
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
152 | | - | |
| 154 | + | |
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1586 | 1586 | | |
1587 | 1587 | | |
1588 | 1588 | | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
1589 | 1597 | | |
1590 | 1598 | | |
1591 | 1599 | | |
| |||
1689 | 1697 | | |
1690 | 1698 | | |
1691 | 1699 | | |
| 1700 | + | |
1692 | 1701 | | |
1693 | 1702 | | |
1694 | 1703 | | |
| |||
1734 | 1743 | | |
1735 | 1744 | | |
1736 | 1745 | | |
1737 | | - | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
1738 | 1751 | | |
1739 | 1752 | | |
1740 | 1753 | | |
| |||
0 commit comments