From 17e0d1badb3164699859114c03861e521b5284ef Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Fri, 1 May 2026 09:51:47 -0500 Subject: [PATCH] feat(ui): add scroll-to-top FAB to the Schedule page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #291 missed src/app/pages/schedule/ because its IonContent didn't have scrollEvents="true". Added the attribute, a #pageContent ref, the component, and ScrollToTopModule on the schedule module. Coexists with the existing "Jump to Now" pill — FAB is bottom-end, "Jump to Now" is bottom-start. Depends on PR #291 (which introduces ScrollToTopModule). Co-Authored-By: Claude Opus 4.7 (1M context) --- src/app/pages/schedule/schedule.html | 4 +++- src/app/pages/schedule/schedule.module.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app/pages/schedule/schedule.html b/src/app/pages/schedule/schedule.html index 54bea26d..3dde6537 100644 --- a/src/app/pages/schedule/schedule.html +++ b/src/app/pages/schedule/schedule.html @@ -22,7 +22,7 @@ - + @@ -145,4 +145,6 @@

Couldn't load schedule

+ +
diff --git a/src/app/pages/schedule/schedule.module.ts b/src/app/pages/schedule/schedule.module.ts index 6a3fb456..48083771 100644 --- a/src/app/pages/schedule/schedule.module.ts +++ b/src/app/pages/schedule/schedule.module.ts @@ -8,6 +8,7 @@ import { ScheduleFilterPage } from '../schedule-filter/schedule-filter'; import { SchedulePageRoutingModule } from './schedule-routing.module'; import { SessionOrderPipe } from '../../pipes/session-order.pipe'; import { PipesModule } from '../../pipes/pipes.module'; +import { ScrollToTopModule } from '../../scroll-to-top/scroll-to-top.module'; @NgModule({ imports: [ @@ -15,7 +16,8 @@ import { PipesModule } from '../../pipes/pipes.module'; FormsModule, IonicModule, SchedulePageRoutingModule, - PipesModule + PipesModule, + ScrollToTopModule ], declarations: [ SchedulePage,