Skip to content

fix(schedule): collapse clear-filter X into corner-dot on funnel#283

Merged
JacobCoffee merged 2 commits intomainfrom
top-bar-fix
Apr 28, 2026
Merged

fix(schedule): collapse clear-filter X into corner-dot on funnel#283
JacobCoffee merged 2 commits intomainfrom
top-bar-fix

Conversation

@JacobCoffee
Copy link
Copy Markdown
Member

The top bar for sched. is too squished on smaller screens during testing so rm the X (filter clear btn) and just show a little dot when we have filters on

JacobCoffee and others added 2 commits April 28, 2026 11:40
The Schedule header reserved ~132px on the right (star + clear-X +
funnel) which squeezed day tabs (Wed/Thu/Fri/Sat/Sun) on small screens.
The standalone clear-filter X was effectively permanent because Open
Spaces is excluded by default, so it was pure horizontal tax.

Drop the standalone X. The funnel keeps its solid+accent treatment when
anything is excluded (so users still see Open Spaces is hidden), and
gains a small corner dot indicator with two tiers:

- Faint dot when only the app default is excluded (Open Spaces)
- Solid accent dot + accent icon color when the user has customized

Clearing now lives inside the filter sheet as a "Reset" button (wired
to a new resetToDefault action that restores the app default rather
than the misleading "show all" behavior the old Material Reset had).

Extract DEFAULT_EXCLUDED_TRACKS / isCustomScheduleFilter into
user-data.ts so the default isn't a magic string in three places.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Track / presentation pages (Keynotes, Talks, Tutorials, etc.) rendered
sessions in source-data order — Keynotes appeared as Sun/Sat/Fri/Sun
on screen. The chronological sort in getSessions() was gated on
sessions[0].track === "Open Space", so every other track came back
unsorted.

- getSessions() now always sorts by startUtc (ISO timestamp on every
  session), with a parseTime fallback for defensiveness.
- The track list (schedule-list page) groups regular sessions by day
  with the same .day-header dividers the Open Spaces view already
  uses, mirroring the Room detail page pattern. dayOrder widened from
  [Fri/Sat/Sun] to Mon..Sun to cover tutorial / sprints days.
- Removed the redundant "{{session.day}}" prefix from the per-row meta
  line — the day is now established by the section header above.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@JacobCoffee JacobCoffee merged commit c6762a0 into main Apr 28, 2026
2 checks passed
@JacobCoffee JacobCoffee deleted the top-bar-fix branch April 28, 2026 16:42
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