Skip to content

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

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.

favoritesOnly is in the sessions state with a setFavoritesOnly action, so the filter and the schedule page share it. The filter keeps a draft of it until Done, like the tracks.

Unit tests cover the new action, the filter keeping and resetting Favorites only, the schedule page switching lists, 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-conference-app#1933, 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 thetaPC 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-react-conference-app Ready Ready Preview Dec 4, 2026 11:05pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 99d3114c 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