Skip to content

added icon, renamed 2025 to 2026, fixed rollouts#373

Merged
michelleyeoh merged 8 commits intomainfrom
361-change-2025-mentions-to-2026
Feb 14, 2026
Merged

added icon, renamed 2025 to 2026, fixed rollouts#373
michelleyeoh merged 8 commits intomainfrom
361-change-2025-mentions-to-2026

Conversation

@michelleyeoh
Copy link
Contributor

No description provided.

@michelleyeoh michelleyeoh linked an issue Feb 13, 2026 that may be closed by this pull request
3 tasks
@michelleyeoh michelleyeoh changed the title added icon and renamed 2025 to 2026 added icon, renamed 2025 to 2026, fixed rollouts Feb 13, 2026
Copy link

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

Updates HackDavis Hub branding/content from 2025 → 2026 (icon + copy + links) and adjusts the rollouts “time protected display” flow to normalize rollout times and change client-side availability behavior.

Changes:

  • Add/update favicon assets and global metadata (description + icon path).
  • Update 2025 → 2026 references (tracks copy + Devpost links).
  • Refactor rollout availability logic across server action + client hooks/components.

Reviewed changes

Copilot reviewed 9 out of 12 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
public/icons/icon.ico Existing icon asset (referenced previously in metadata).
public/icons/icon-hd26.ico Adds new 2026 icon asset used by metadata.
app/(pages)/_globals/metadata.json Updates site description to 2026 and points to new icon.
app/_data/tracks.ts Updates track copy to reference 2026 hackers.
mocks/tracks.ts Updates mocked track copy to reference 2026 hackers.
app/(pages)/(hackers)/_components/ProjectInfo/SubmissionInfo/SubmissionSteps/DevpostSubmission/SubmissionTips.tsx Updates Devpost URL to 2026.
app/(pages)/(hackers)/_components/DOE/Hacking/IndexHeroContentHacking.tsx Updates Devpost URL to 2026.
app/(api)/_actions/rollouts/checkFeatureAvailability.tsx Normalizes rollout/rollback times to numbers and computes availability.
app/(pages)/_hooks/useFeatureAvailability.ts Refactors client hook shape and caching behavior for rollout availability.
app/(pages)/_hooks/useTimeTrigger.ts Changes effect deps (suppresses exhaustive-deps) for time-trigger hook.
app/(pages)/_components/TimeProtectedDisplay/ClientTimeProtectedDisplay.tsx Updates client-gated rendering behavior for rollouts.
package-lock.json Bumps caniuse-lite version.

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

@michelleyeoh michelleyeoh marked this pull request as draft February 13, 2026 06:06
Copy link

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

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


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

Copy link

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

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


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

</span>
</p>
<a href="https://hackdavis-2025.devpost.com/">
<a href="https://hackdavis-2026.devpost.com/">
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

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

The year "2025" should be updated to "2026" in the displayed date text to match other year updates in this PR. This appears in multiple hero components but was only updated in the Devpost URL here. The date "APRIL 19-20 2025" is shown to users at line 31.

Copilot uses AI. Check for mistakes.
Comment on lines +34 to +35
[rollout]
);
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

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

The fetchAvailability callback has rollout in its dependency array, which creates a circular dependency issue. When fetchAvailability is called and updates rollout, it causes fetchAvailability to be recreated (since it depends on rollout), which then triggers the useEffect on line 37-39 again (since it depends on fetchAvailability). This can lead to unnecessary re-fetches. Consider removing rollout from the dependency array or restructuring the logic to avoid this circular dependency.

Copilot uses AI. Check for mistakes.
@michelleyeoh michelleyeoh marked this pull request as ready for review February 14, 2026 06:50
@michelleyeoh michelleyeoh merged commit cc0e1a2 into main Feb 14, 2026
8 checks passed
@michelleyeoh michelleyeoh deleted the 361-change-2025-mentions-to-2026 branch February 14, 2026 06:50
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.

Change 2025 mentions to 2026 & update rollouts

1 participant

Comments