Skip to content

Change feedback buttons and add nav menu#43

Merged
dynamictulip merged 6 commits into
mainfrom
change-feedback-buttons
May 14, 2026
Merged

Change feedback buttons and add nav menu#43
dynamictulip merged 6 commits into
mainfrom
change-feedback-buttons

Conversation

@dynamictulip
Copy link
Copy Markdown
Member

@dynamictulip dynamictulip commented May 13, 2026

  • Distinguish between session and event feedback
  • Add quick access session feedback
  • Add a menu with links to main site

@dynamictulip dynamictulip force-pushed the change-feedback-buttons branch from 80bf3c8 to c63b726 Compare May 13, 2026 19:08
@dynamictulip dynamictulip changed the title WIP - Change feedback buttons Change feedback buttons and add nav menu May 13, 2026
@dynamictulip dynamictulip marked this pull request as ready for review May 13, 2026 19:09
@slang25 slang25 requested a review from Copilot May 13, 2026 19:12
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Blazor client UI/state to distinguish event feedback vs session feedback, adds quick access to session feedback from the schedule, and replaces the header feedback button with a navigation drawer containing key links.

Changes:

  • Track whether a session already has feedback (HasFeedback) and load that info from local storage into the Home schedule model.
  • Add a “Give session feedback” action on each session card that opens the session feedback dialog.
  • Replace the header feedback button with a hamburger menu + drawer nav (Home, feedback, venue map).

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
PocketDDD.BlazorClient/Features/Home/Store/HomeState.cs Adds HasFeedback to the home schedule session model.
PocketDDD.BlazorClient/Features/Home/Store/HomeReducer.cs Passes session feedback IDs into the event-to-home mapper.
PocketDDD.BlazorClient/Features/Home/Store/HomeEffects.cs Reloads home data when session feedback storage changes; loads session feedback IDs.
PocketDDD.BlazorClient/Features/Home/Store/HomeActions.cs Extends SetEventMetaDataAction and adds GiveSessionFeedbackAction.
PocketDDD.BlazorClient/Features/Home/Store/EventDataMapper.cs Maps HasFeedback into sessions based on stored feedback IDs.
PocketDDD.BlazorClient/Features/Home/Components/Home.razor Subscribes to GiveSessionFeedbackAction and opens the session feedback dialog.
PocketDDD.BlazorClient/Features/Home/Components/EventData.razor Adds a feedback toggle/icon action in the session button group.
PocketDDD.BlazorClient/Features/HeaderBar/Components/HeaderBar.razor Replaces feedback button with a drawer nav menu and links.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 18 to 21
<MudText Typo="Typo.h5">@State.Value.Title</MudText>
<MudSpacer />

@if (State.Value.ShowFeedbackButton)
{
<MudButton
EndIcon="@Icons.Material.Filled.TagFaces"
Size="Size.Small"
OnClick="HandleShowEventFeedback"
Color="Color.Inherit"
Variant="Variant.Outlined">
Feedback
</MudButton>
}

<MudIconButton Icon="@Icons.Material.Filled.Menu" Color="Color.Inherit" Edge="Edge.Start" OnClick="@OpenDrawer"/>
</MudAppBar>
Comment on lines 30 to 34
Title = s.Title,
SpeakerName = s.Speaker,
IsBookmarked = sessionBookmarks.Contains(s.Id)
IsBookmarked = sessionBookmarks.Contains(s.Id),
HasFeedback = sessionFeedbacks.Contains(s.Id)
})
@dynamictulip dynamictulip force-pushed the change-feedback-buttons branch from c63b726 to 73c0a96 Compare May 14, 2026 23:19
@dynamictulip dynamictulip merged commit 85361f0 into main May 14, 2026
4 checks passed
@dynamictulip dynamictulip deleted the change-feedback-buttons branch May 14, 2026 23:24
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.

2 participants