rustdesk/flutter/lib/common/widgets
21pages ac124c0680
Some checks failed
CI / x86_64-unknown-linux-gnu (ubuntu-24.04) (push) Has been cancelled
Full Flutter CI / run-ci (push) Has been cancelled
flutter: improve address book pull error handling (#14813)
* flutter: improve address book pull error handling

Summary:
  - Show error messages when fetching the address book list fails.
  - After the initial fetch, switching back to the AB tab no longer re-fetches it, even if an error occurred or the error banner was dismissed.

  Tested:
  - Self-hosted server:
    - normal
    - 403 responses
    - legacy address book mode
  - Public server
  - Verified that switching tabs no longer re-fetches AB after the initial fetch, regardless of whether an error occurred or the error banner was cleared.

Signed-off-by: 21pages <sunboeasy@gmail.com>

* use resp.statusCode in address book json decoding

Signed-off-by: 21pages <sunboeasy@gmail.com>

* flutter: clear address book list errors on reset

Signed-off-by: 21pages <sunboeasy@gmail.com>

* flutter: clear address book pull errors consistently

Signed-off-by: 21pages <sunboeasy@gmail.com>

---------

Signed-off-by: 21pages <sunboeasy@gmail.com>
2026-04-18 11:19:32 +08:00
..
address_book.dart flutter: improve address book pull error handling (#14813) 2026-04-18 11:19:32 +08:00
animated_rotation_widget.dart don't use Offstage as widget of animated loading, reuse refresh as 2023-08-18 12:58:37 +08:00
audio_input.dart feat: macos, audio, loopback (#10025) 2024-11-23 19:41:27 +09:00
autocomplete.dart refact: Remote ID editor, only select text on focus (#10854) 2025-02-20 19:35:04 +08:00
chat_page.dart fix: linux, flutter, workaround freeze (#10324) 2024-12-20 09:24:08 +08:00
connection_page_title.dart refact: web desktop, web_id_input_tip (#9490) 2024-09-27 21:56:10 +08:00
custom_password.dart password lowercase check like uppercase (#9343) 2024-09-13 09:29:00 +08:00
custom_scale_base.dart fix: scale custom on mobile (#13324) 2025-10-31 11:08:03 +08:00
dialog.dart ask for note at end of connection (#13499) 2025-11-13 23:35:40 +08:00
gestures.dart fix issue: #13911 'Double Click' bug on iPad with Magic Mouse (#14086) 2026-01-28 15:14:06 +08:00
login.dart add microsoft oidc logo 2026-04-15 14:39:46 +08:00
my_group.dart - UI display: display_name first (#14358) 2026-02-22 14:59:25 +08:00
overlay.dart flutter: keep chat window within screen bounds to prevent hidden chat window (fixes rustdesk#13397) (#13406) 2025-11-04 09:44:13 +08:00
peer_card.dart show peer note (#13140) 2025-10-12 14:59:42 +08:00
peer_tab_page.dart fix: load local peers, called two times on select tab (#10859) 2025-02-20 22:47:42 +08:00
peers_view.dart - UI display: display_name first (#14358) 2026-02-22 14:59:25 +08:00
remote_input.dart impl(cm): implement change_theme and change_language callbacks (#14782) 2026-04-15 17:35:51 +08:00
setting_widgets.dart refact: option, touch mode, move to local (#13055) 2025-10-17 13:36:46 +08:00
toolbar.dart fix switch sides for macOS peers (#14661) 2026-04-07 23:39:24 +08:00