Skip to content

Impl/account management#1169

Merged
theovilardo merged 2 commits into
masterfrom
impl/account-management
Feb 21, 2026
Merged

Impl/account management#1169
theovilardo merged 2 commits into
masterfrom
impl/account-management

Conversation

@theovilardo

Copy link
Copy Markdown
Collaborator

No description provided.

- **UI & Navigation**:
    - Add `AccountsScreen` to manage linked external services (Telegram, Netease, and Google Drive).
    - Implement a collapsible top bar with expressive hero section showing active/available account statistics.
    - Add a standalone "Accounts" navigation item to the `SettingsScreen` using a new `ExpressiveNavigationItem` component.
    - Register `Screen.Accounts` route in `AppNavigation` and hide the bottom navigation bar when active.
- **ViewModel**:
    - Implement `AccountsViewModel` to reactively track connection status and synced content counts (channels, playlists, folders) for all external services.
    - Add logout logic that handles service-specific cleanup (e.g., clearing Telegram memory cache and database records).
- **Data**:
    - Add `logout()` to `TelegramRepository` to expose the underlying client manager's logout capability.
- **Components**:
    - Create `ConnectedAccountCard` and `EmptyAccountsCard` with service-specific color palettes and status indicators.
    - Implement smooth corner shapes and spring animations for a more expressive UI.
- **UI Refinements**:
    - Update `TelegramLoginActivity` top bar action button color to `surfaceContainerLow`.
    - Change the Telegram icon resource from `rounded_send_24` to a specific `telegram` drawable.
    - Update phone input field to use `Icons.Rounded.Dialpad` as the leading icon and adjust the unfocused container color to `surfaceContainerLowest`.
- **Layout Adjustments**:
    - Refactor `TelegramStepHeader` from a vertical `Column` to a horizontal `Row` layout.
    - Align title and subtitle text to the start (left) and adjust spacing/typography for a more compact header appearance.
@theovilardo theovilardo merged commit 7a871a8 into master Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant