Skip to content

feat: ✨ availability heatmap jagged edges#535

Merged
ethancha0 merged 3 commits into
mainfrom
ewc-jagged-heatmap
May 21, 2026
Merged

feat: ✨ availability heatmap jagged edges#535
ethancha0 merged 3 commits into
mainfrom
ewc-jagged-heatmap

Conversation

@ethancha0
Copy link
Copy Markdown
Collaborator

@ethancha0 ethancha0 commented May 20, 2026

Key changes:

  • /availability/utils.ts

    • adds PageEdgeVariant, and getPageEdgeVariant() which decides which jagged edges should appear for current availability page
  • /availability/availability.tsx

    • calculates the last page from availabilityDates.lenth and itemsPerPage
    • determines if user is on first/middle/last page and stores it in pageEdgeVariant
  • /availability-grid-jagged-edjes.tsx

    • adds jagged edge svg overlay
    • measures table header/body with ResizeObserver

Data flow:

  1. availability dates + current page
  2. getPageEdgeVariant()
  3. AvailabilityGridJaggedEdges

Recording/Screenshots

image image image image

@ethancha0 ethancha0 temporarily deployed to staging-535 May 20, 2026 20:02 — with GitHub Actions Inactive
@github-actions github-actions Bot temporarily deployed to staging-535 May 20, 2026 20:02 Inactive
@ethancha0
Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review

@cubic-dev-ai
Copy link
Copy Markdown
Contributor

cubic-dev-ai Bot commented May 20, 2026

@cubic-dev-ai review

@ethancha0 I have started the AI code review. It will take a few minutes to complete.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

2 issues found across 3 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 3 files

Re-trigger cubic

@ethancha0 ethancha0 temporarily deployed to staging-535 May 21, 2026 03:29 — with GitHub Actions Inactive
@github-actions github-actions Bot temporarily deployed to staging-535 May 21, 2026 03:30 Inactive
@ethancha0 ethancha0 temporarily deployed to staging-535 May 21, 2026 03:37 — with GitHub Actions Inactive
@github-actions github-actions Bot temporarily deployed to staging-535 May 21, 2026 03:37 Inactive
@ethancha0 ethancha0 force-pushed the ewc-jagged-heatmap branch from 6adecc6 to 3eba4b4 Compare May 21, 2026 19:50
@ethancha0 ethancha0 temporarily deployed to staging-535 May 21, 2026 19:50 — with GitHub Actions Inactive
@github-actions github-actions Bot temporarily deployed to staging-535 May 21, 2026 19:50 Inactive
@ethancha0 ethancha0 merged commit 19a6f9d into main May 21, 2026
3 checks passed
@ethancha0 ethancha0 deleted the ewc-jagged-heatmap branch May 21, 2026 20:00
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