Skip to content

feat(schedule): replace the All/Favorites segment with a Favorites only filter - #1933

Open
brandyscarney wants to merge 1 commit into
mainfrom
feat/favorites-filter-toggle
Open

brandyscarney wants to merge 1 commit into
mainfrom
feat/favorites-filter-toggle

Conversation

@brandyscarney

@brandyscarney brandyscarney commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

The schedule had an All/Favorites segment in the header and no sign in the list of which sessions were favorites. The segment is replaced with a filter, and the schedule now shows when a filter is on:

  • Favorites only is a toggle at the top of the filter, above the tracks. Reset turns it off along with the tracks, and closing the filter without Done keeps the previous setting, like the tracks.
  • Favorite sessions are marked with a small yellow star at the end of their row.
  • On iOS, a "Filtered by: Favorites, 9 of 10 Tracks" line shows under the search bar while a filter is on, like Mail. Tapping it opens the filter.
  • On Android, a row of Material filter chips sits under the toolbar. Favorites turns Favorites only on and off. Tracks opens the filter, and its label shows what is shown when tracks are hidden: "9 of 10 Tracks", or the track name when only one is shown.
  • The header shows the Schedule title on both platforms, since the segment is gone.
  • The iOS filter labels use the normal text color. Only the checkmarks are tinted, as in the iOS Settings app.

The chips are buttons rather than ion-chip, so they can be focused with the keyboard. Favorites sets aria-pressed, and the buttons that open the filter set aria-haspopup="dialog". The favorite star has an aria-label.

getTimeline and filterSession take a favoritesOnly boolean instead of the segment name. The filter modal takes favoritesOnly as an input and dismisses with a ScheduleFilter object holding the excluded tracks and the Favorites only setting. The track names for the chip label are a signal, so the label updates once the tracks load in this zoneless app.

Unit tests cover the filter passing Favorites only in and out, Reset, the service filtering by favorites, the star, the chips on Android and the Filtered by line on iOS. e2e tests check the toggle, its combination with search and the track filter, the star, and the chips and Filtered by line on both platforms.

Same change in the other conference apps: ionic-team/ionic-react-conference-app#218, ionic-team/ionic-vue-conference-app#129

Screenshots

iOS Android
Schedule
Filter
Filtered

…ly filter

Favorites only moves into the schedule filter as a toggle. Favorite sessions are marked with a star, iOS shows a "Filtered by" line while a filter is on, and Android shows Material filter chips for Favorites and Tracks. The iOS filter labels use the normal text color.
@brandyscarney
brandyscarney requested a review from a team as a code owner December 4, 2026 23:05
@brandyscarney
brandyscarney requested review from ShaneK and removed request for a team December 4, 2026 23:05
@vercel

vercel Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-conference-app Ready Ready Preview Dec 4, 2026 11:05pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 3cebe3a8 Deployed Dec 4, 2026 by vercel[bot]
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