Repository navigation
feat(schedule): replace the All/Favorites segment with a Favorites only filter - #1933
Open
brandyscarney wants to merge 1 commit into
Open
brandyscarney wants to merge 1 commit into
brandyscarney wants to merge 1 commit into
Conversation
…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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
The chips are buttons rather than
ion-chip, so they can be focused with the keyboard. Favorites setsaria-pressed, and the buttons that open the filter setaria-haspopup="dialog". The favorite star has anaria-label.getTimelineandfilterSessiontake afavoritesOnlyboolean instead of the segment name. The filter modal takesfavoritesOnlyas an input and dismisses with aScheduleFilterobject 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