Repository navigation
Hide past events from event lists unless asked for - #47
Merged
Merged
Conversation
list_my_events and the /events page now leave out past events by default: cancelled, expired (deadline passed without a decision), and finalized for a meeting that has already ended. A finalized event stays listed until its meeting ends. - ISchedulingService.ListMyEventsAsync takes includePast; the filter runs in the query, before the 100-event list limit. - list_my_events gets an includePast parameter (default false). - /events gets a "Show past events" checkbox. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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.
Summary
Event lists showed every old event (cancelled, closed, already held) by default. Now they show only what is still going on, and past events are opt-in.
"Past" means:
Changes:
ISchedulingService.ListMyEventsAsynctakesincludePast. The filter runs in the SQL query, before the 100-event list limit, so old events can't push current ones out of the list.list_my_eventsgetsincludePast(defaultfalse). The tool description tells agents to use it only when the user asks about old events./eventsgets a Show past events checkbox (off by default). The empty "Organizing" text now says "any current events" while past events are hidden.docs/design.mdtool and page tables updated.Test plan
VisibilityTests.PastEventsAreListedOnlyWhenAskedFor: covers cancelled, expired and finalized events, both filters, both values ofincludePast, and a finalized event during its meeting and at its end.dotnet test Scheduler.slnxincludePastbrings them back🤖 Generated with Claude Code