Skip to content

#4438 bay dash schema - #4504

Merged
wavehassman merged 3 commits into
feature/bay-dashboardfrom
#4438-bay-initial-schema
Sep 15, 2026
Merged

wavehassman merged 3 commits into
feature/bay-dashboardfrom
#4438-bay-initial-schema

Conversation

@cielbellerose

@cielbellerose cielbellerose commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Changes

Bay dashboard schema

Checklist

It can be helpful to check the Checks and Files changed tabs.
Please review the contributor guide and reach out to your Tech Lead if anything is unclear.
Please request reviewers and ping on slack only after you've gone through this whole checklist.

  • All commits are tagged with the ticket number
  • No linting errors / newline at end of file warnings
  • All code follows repository-configured prettier formatting
  • No merge conflicts
  • All checks passing
  • Screenshots of UI changes (see Screenshots section)
  • Remove any non-applicable sections of this template
  • Assign the PR to yourself
  • No yarn.lock changes (unless dependencies have changed)
  • Request reviewers & ping on Slack
  • PR is linked to the ticket (fill in the closes line below)

Closes #4438

@cielbellerose cielbellerose self-assigned this Sep 13, 2026
@cielbellerose cielbellerose linked an issue Sep 13, 2026 that may be closed by this pull request
4 tasks
@cielbellerose
cielbellerose changed the base branch from develop to feature/bay-dashboard September 13, 2026 16:49
@cielbellerose
cielbellerose marked this pull request as ready for review September 13, 2026 16:50
Comment thread src/backend/src/prisma/migrations/20260913164702_bay_dashboard/migration.sql Outdated
Comment thread src/backend/src/prisma/schema.prisma Outdated
Comment thread src/backend/src/prisma/schema.prisma Outdated
name String
startDate DateTime
endDate DateTime?
isPrimary Boolean @default(false)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why do we need an isPrimary?
I think if there are multiple countdowns we can sort by endDate and then that one is the primary one

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

true, I was going back and forth on this - the epic mentioned using the counter to track other things like 'days since the bay has been cleaned' so I thought manually selecting the one large one might be easier, but I can update

@wavehassman wavehassman Sep 14, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is a good point, i'll add it back

Comment thread src/backend/src/prisma/schema.prisma Outdated
Comment thread src/backend/src/prisma/schema.prisma Outdated
Comment thread src/backend/src/prisma/schema.prisma Outdated
@@index([teamId])
}

enum Bay_Dashboard_Widget_Size {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we make a Bay_Dashboard_Slot model holding size, position, and rotationSeconds, with widgets belonging to a slot and ordered within it

Comment thread src/backend/src/prisma/schema.prisma Outdated
Comment thread src/backend/src/prisma/schema.prisma Outdated
@wavehassman
wavehassman merged commit 19a115b into feature/bay-dashboard Sep 15, 2026
4 checks passed
@wavehassman
wavehassman deleted the #4438-bay-initial-schema branch September 15, 2026 01:31
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.

[Bay Dashboard] - Initial Schema

2 participants