Repository navigation
feat(web): make dashboard Home say what needs you and your next night - #531
Merged
Merged
Conversation
bnb
previously approved these changes
Nov 9, 2026
bnb
previously approved these changes
Nov 9, 2026
botandbang
force-pushed
the
bnb/dashboard-home
branch
from
November 9, 2026 21:18
4cbdea9 to
fd149fa
Compare
Coverage Report for apps/web
File Coverage
SizeCompared with main. KiB are 1,024 bytes.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
bnb
approved these changes
Nov 9, 2026
bnb
previously approved these changes
Nov 9, 2026
Home no longer has its own Sign out button, so the helper opens the header's account menu, and the drafts test posts the sign-out from outside the page, as a form does without scripts.
bnb
approved these changes
Nov 9, 2026
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 overview answered "what does this site contain" in equal-sized cards, behind one boolean choosing between a DJ layout and a promoter layout. Home now answers one question for every account: what needs me, and what's my next night.
Added:
lib/server/home.ts:needsYoulists booking replies by night, then undated ones, then ones whose date went by, then requests staff sent back.accessWaitingadds people asking to see a press kit.nextNightsmerges announced shows, bookings and the planner by date, counting a booking that became a show once.withOtherssays what is with someone else.needsCount, read from the site's own index throughBookingService.waitingOnandRequestService.sentBack, so the heading and the sidebar's count never wait for the directory.soon, which renders a result that's ready within 150 ms on the server and streams a slower one, so a healthy directory shows no placeholders at all.NeedsListandNightList, which reserve the room of the rows on their way, andresolved, which lets a streamed value join what's on the page.tentativeandcompactonDateBlock, andnightLabelfor dates like Sat 14 Nov.Changed:
Removed: