Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

motion: add smooth exit animation to AppToast and bidirectional slide to WelcomeTourDialog

Aperta
#1,645 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
60/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
dart, flutter
Ambito
desktop, frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement frontend
Problem
  1. Abrupt toast disappearance:
    In lib/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.

  2. Unidirectional slide in Welcome Tour:
    In lib/features/onboarding/welcome_tour_dialog.dart, AnimatedSwitcher uses a static SlideTransition with begin: 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 triggering onClosed(), and animate height changes for remaining stacked toasts.
  • In WelcomeTourDialog, track navigation direction (forward vs back) and invert the slide offset sign accordingly.
Lingua principale
Dart
Stelle
23
Fork
1
Merge medio
32m
PR unite (30g)
537

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di QueryaHub/Querya-Desktop

Tutte le issue di QueryaHub/Querya-Desktop

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.