446 Updated Hackbot UI#494
Merged
michelleyeoh merged 14 commits intomainfrom May 1, 2026
Merged
Conversation
Closed
Remove unused code as well
haylietan
requested changes
Apr 29, 2026
Member
Author
|
Addressed @haylietan 's comments |
There was a problem hiding this comment.
Pull request overview
Updates the Hackbot widget UI to better match updated designs, refreshes Hackbot knowledge docs/anchors, and improves hash-based navigation for Project Info/Starter Kit sections.
Changes:
- Redesigned Hackbot widget UI (FAB, message list, input, event cards) and added message timestamps.
- Updated Hackbot knowledge import URLs/content and expanded Hackbot page-context mapping for new anchors.
- Added a
useHashChangehook to reliably react to hash navigation in Next.js and wired it into Project Info judging/submission sections.
Reviewed changes
Copilot reviewed 19 out of 20 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| public/hackers/hackbot/cow.svg | Adds new Hackbot “Hacky” icon asset used by the FAB/widget. |
| package.json | Makes hackbot:seed OS-aware and loads env vars via --env-file on both platforms. |
| app/_types/hackbot.ts | Adds optional timestamp to chat messages. |
| app/_data/hackbot_knowledge_import.json | Updates knowledge content + deep links to new Project Info / Starter Kit anchors. |
| app/(pages)/_hooks/useHashChange.ts | Adds custom hash/location change normalization for Next.js pushState hash nav. |
| app/(pages)/_hooks/useHackbotWidget.ts | Adjusts widget min width and stamps new messages with ISO timestamps. |
| app/(pages)/_globals/globals.scss | Formatting/consistency tweaks + adds Hackbot FAB animations. |
| app/(pages)/(hackers)/_components/StarterKit/Resources/DesignDevResources.tsx | Adds scroll offset utility class for #dev-resources anchor. |
| app/(pages)/(hackers)/_components/ProjectInfo/WhatHappens/WhatHappens.tsx | Syncs active tab + scroll position from hash; uses useHashChange. |
| app/(pages)/(hackers)/_components/ProjectInfo/ProjectInfoAccordion/ProjectInfoAccordion.tsx | Adds per-item ids and supports opening an item based on an initial hash id. |
| app/(pages)/(hackers)/_components/ProjectInfo/JudgingInfo/JudgingInfo.tsx | Adds hash-driven accordion opening/scrolling for judging steps. |
| app/(pages)/(hackers)/_components/Hackbot/HackbotWidget.tsx | Reworks widget layout and FAB (Image-based “Hacky”, pill UI, sizing). |
| app/(pages)/(hackers)/_components/Hackbot/HackbotMessageList.tsx | Adds empty state redesign, link styling, timestamps, and renders all events as full cards. |
| app/(pages)/(hackers)/_components/Hackbot/HackbotInputForm.tsx | Redesigns input + suggestion UI and adds hasMessages gating. |
| app/(pages)/(hackers)/_components/Hackbot/HackbotHeader.tsx | Removes the old header component (replaced by new pill header in widget). |
| app/(pages)/(hackers)/_components/Hackbot/HackbotEventCard.tsx | Redesigns event cards and add/remove schedule button visuals. |
| app/(pages)/(hackers)/(hub)/layout.tsx | Enables Hackbot on the Hub and builds an initial profile from the session. |
| app/(api)/api/hackbot/stream/route.ts | Improves get_events normalization for workshop + meal queries. |
| app/(api)/_utils/hackbot/systemPrompt.ts | Updates PATH_CONTEXT_MAP to match new Project Info / Starter Kit anchors. |
| app/(api)/_utils/hackbot/stream/fewShots.ts | Adds a “When is lunch?” few-shot example to guide model behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
michelleyeoh
approved these changes
May 1, 2026
Contributor
|
UI could match Figma better, but LGTM |
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.

Update the Hackbot design to match the designs more closely.
Update knowledge docs as well.