motion: add smooth exit animation to AppToast and bidirectional slide to WelcomeTourDialog
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 60/100
Hướng nghiên cứu
Read lib/shared/widgets/app_toast.dart and lib/features/onboarding/welcome_tour_dialog.dart, tracing toast dismissal and the welcome tour's AnimatedSwitcher navigation. Add a reverse exit animation before onClosed(), animate the remaining toast stack's height changes, and make the slide direction follow forward or back navigation. Done when toast exits and stack repositioning animate smoothly, and backward tour navigation slides in from the opposite direction.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
-
Abrupt toast disappearance:
Inlib/shared/widgets/app_toast.dart, toasts animate their entry with a curved transition, but when the timer expires (_timer = Timer(d.show, _close)), the toast is instantly removed from_ToastHost._items.value. The toast disappears abruptly without a fade/slide-out, causing remaining stacked toasts to jump to their new vertical positions without animation. -
Unidirectional slide in Welcome Tour:
Inlib/features/onboarding/welcome_tour_dialog.dart,AnimatedSwitcheruses a staticSlideTransitionwithbegin: const Offset(0.04, 0). When navigating forward (Next), sliding in from the right looks natural. However, when navigating backward (Back), the incoming step still slides in from the right, which feels unnatural.
Change
- In
AppToast, play_controller.reverse()before triggeringonClosed(), and animate height changes for remaining stacked toasts. - In
WelcomeTourDialog, track navigation direction (forwardvsback) and invert the slide offset sign accordingly.
- Ngôn ngữ chính
- Dart
- Star
- 23
- Fork
- 1
- Merge trung bình
- 32 phút
- Pull request đã merge (30 ngày)
- 537
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của QueryaHub/Querya-Desktop
-
enhancement ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
QueryaHub/Querya-Desktop#1689 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ui(dialogs): make destructive query and DML preview dialogs adaptive and prevent table name overflowĐang mởbug frontend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
QueryaHub/Querya-Desktop#1642 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug error-handling settings
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
QueryaHub/Querya-Desktop#1637 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
QueryaHub/Querya-Desktop#1636 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement marketplace
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
QueryaHub/Querya-Desktop#1635 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của QueryaHub/Querya-Desktop
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
jhomlala/betterplayer#1609 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[FR] 缓存键放置在外面Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
bggRGjQaUbCoE/PiliPlus#3310 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
package:code_builder type-bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
type:feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[material_ui] CalendarDatePicker day numbers are cut off with large text scale on narrow screensĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày