Repository navigation
Rebrand portal - #233
Open
syafaatsaat wants to merge 42 commits into
Open
Rebrand portal#233syafaatsaat wants to merge 42 commits into
syafaatsaat wants to merge 42 commits into
Conversation
…-lab - tokens.css: brand palette, light/dark semantic tokens, type scale, radius, offset shadows, motion; gh-prefixed so existing pages are unchanged - Libre Franklin / Open Sans / JetBrains Mono via @nuxt/fonts - GButton, GInput, GFormField (native elements, wired for a11y) - /design-lab page with live contrast checks (public route, ?theme=dark) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lert - GTextarea (autoresize), GCheckbox (indeterminate), GSelect (Reka Select, USelect-style items/valueKey/labelKey) wired through GFormField - GModal (Reka Dialog: focus trap, non-dismissible mode, content slot), GCard (plain/action/highlight), GBadge, GAlert - useGFieldControl() shared by all field controls; useGPortalTheme() keeps teleported menus/modals on the surrounding data-gh-theme - tokens: raised surface, scrim, overlay shadow, option hover, on-ok/on-err - /design-lab: demos for every state; contrast audit now 56 checks and reads minified 8-digit hex - add reka-ui 2.10.5 as a direct dependency (same version Nuxt UI uses) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…state and skeleton
- GSelect `multiple` (checkbox-style options, menu stays open) to replace
USelectMenu multiple
- useGToast() with the same add({ title, description, color }) shape as
Nuxt UI, plus success/error, replace-by-id and actions; <GToaster />
mounted in app.vue (errors assertive, 8s)
- GTabs (segmented / underline, UTabs-style items and content)
- GSwitch, GSkeleton, GEmptyState, GStatTile (highlight, change, loading, to)
- /design-lab demos for all of them; mirrors its theme onto <html> so
toasts follow the toggle; contrast audit now 58 checks
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… heading
- GTable with the UTable shape (data, columns, #<id>-cell row.original,
virtualize { estimateSize, overscan }); client sort with empties last,
loading skeletons, empty state, sticky header, aria-rowcount/rowindex
- G* kit icons switched to Material Symbols Rounded (brand guide: filled,
rounded); utils/g-icons.ts maps Lucide names for page migrations
- GLabelStrip (ink/accent/outline) and GSectionHeading (numeral, strip,
heading); /design-lab sections now use GSectionHeading
- /design-lab demos: sortable, virtualised (2,000 rows) and empty tables,
brand pieces, icon map
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- GLogo: glasses frame traced from the guide (no vector files yet), hard offset shadow and wordmark bar measured from the primary logo slide - primary/secondary (wordmark), color/mono, on auto/light/dark/yellow, sizes sm-xl, clearance space, decorative mode; never recoloured - --gh-logo-* tokens for light and dark - /design-lab: logo variants on light/dark/yellow, clearance and sizes; header uses the glasses mark Co-Authored-By: Claude Opus 5.5 <[email protected]>
- GShell (sidebar, remembered icon rail, mobile drawer), GNavList, GPanel and GPanelHeader replace UDashboardGroup/Sidebar/Panel/Navbar/SidebarCollapse - layouts/portal.vue: Explore, event, Organizer and Admin groups, profile and a Contact us modal; dash.vue just opts in - all 31 dash pages swapped to GPanel/GPanelHeader - participant event page split into /[shortCode]/team, challenges, submission and schedule inside the shell, with a shared participant guard and the check-in QR in the header; section banners removed - drop the one-page NavBar/HeroSection/Footer; /portal redirects to /dash - /design-lab: shell demo, sidebar hover contrast check Co-Authored-By: Claude Opus 5.5 <[email protected]>
…cates Co-Authored-By: Claude Opus 5.5 <[email protected]>
- error.vue: status numeral, plain-words copy per code (404/401/403/5xx), sign-in and try-again actions, collapsible details for unexpected errors - GLoading: one loading state (label, optional full-page with the mark), announced politely, still under reduced motion - replace the hand-built "Checking your session..." / "Redirecting..." screens on index, login, event and registration pages, dash redirects, the registration form and the event pages - /design-lab: GLoading demos Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rame
- AuthFrame: solid-yellow brand panel (on-yellow logo, tagline) beside the
content on wide screens, a band above it on narrow ones
- /login: welcome copy, GAlert for GitHub/session sign-in failures, primary
GitHub button; auth logic unchanged
- /[shortCode]/registration: "Register for {event}", waiting-list alert,
GitHub sign-up and exit actions
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- AuthFrame with loading, success (role, link to the organizer workspace) and error states built from G* parts - a retry keeps the error view and focus while it runs - drop the redundant success toast Co-Authored-By: Claude Opus 5.5 <[email protected]>
- FormHeader: sticky bar with the glasses mark, "Registration · {event}" and Exit
- FormPage: G* alerts and loading states; `embedded` mode for /dash/[id]/registration
- DynamicForm: GFormField with GInput/GTextarea/GSelect/GCheckbox, numbered part
headings, required marks, input types per question type, indented follow-ups,
T-shirt guide as a button + modal, sticky submit bar with required answers left,
failed submit focuses the first invalid field
- Removed the global option-wrapping CSS override and debug logging
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Complete and status pages in AuthFrame with a "Registration · {event}" strip
- New RegistrationSteps: sign up → answer → organiser review → form a team
- Status page: five states, each with one next action; organiser note as an alert
- Dash complete page in the portal shell; moved dash/[id]/registration.vue to
registration/index.vue so /registration/complete is reachable
- An event with no questions no longer counts a sign-up as complete
- Participants who can't set up questions see "Registration isn't open yet"
- Clear the submissions cache with the SDK query key after submitting
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Challenges: tabs list (vertical on wide screens, scrolling row on phones) with sponsor, title and team count; detail card with logo, statement and selection criteria; team counts refresh every 30s; selection remembered by id; empty, loading and error states. Removed the sponsor gradient cards. - Schedule: uses the hackathon's API timeline grouped by SGT day, headed like a calendar page (date numeral, month, weekday), with the current item marked "Now"; falls back to the fixed HackOMania timetable when the API has none. - Removed the unused pre-event components and data. - GPanel: body content no longer shrinks, so the event-name strip can't collapse. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- No team: "Start a team" / "Join a team" forms with inline API errors; an
invite link prefills the code, puts the join form first and focuses it
- Your team: editable name and description, member list with open spots and
"N of 5", named remove confirm, visible invite link with copy, leave confirm
- Challenge picker: explicit "Save choice", deadline in SGT, locked after it
- useMyTeamCache refreshes the team and challenge queries after every team
change (the page used to stay stale)
- vue-query no longer retries 4xx responses ("my team" 404 took ~7s and
leaving a team could hang on loading)
- PortalEventPage owns one centred column so all event pages line up
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- States: event not started, no team (link to Team), submitted, closed without a submission, and the form (disabled until submissions open) - Form: inline field errors with focus on the first one, http(s) link checks matching the API, deadline and opening time in SGT, prompt to pick a challenge on the Team page when none is chosen - "Review and submit" dialog lists everything before the final send; API field errors (e.g. the repository check) go back under the field - Submitted view: team, title, challenge, summary and link tiles; the API's example.com placeholder for a missing demo link is hidden - Refreshes the team's submissions after sending (the form used to stay until a reload); the list query waits for the team to load - Drop the Location field: the API accepts it but never stores it Co-Authored-By: Claude Opus 5.5 <[email protected]>
- The participant submissions list returns its links as null (its SQL projection drops the Uri columns), so the Repository and Slides tiles never appeared. Take the links from the single-submission endpoint, which maps the full row; the list still gives the id - Link tiles share the card's full width (one equal column per tile) instead of a fixed three-column grid that left a gap with two links - Long URLs no longer push a tile past the card on narrow screens Co-Authored-By: Claude Opus 5.5 <[email protected]>
- New GThemeSwitch: three-way control on native radios (Tab reaches the chosen option, arrow keys move and select); a single cycling icon button in the collapsed sidebar rail - Sits under "Contact us" in the portal sidebar footer - Colour mode now defaults to System instead of forced light; the choice is remembered per browser (Nuxt color-mode) Co-Authored-By: Claude Opus 5.5 <[email protected]>
The checkbox already marks itself required, so the question legend no longer adds a second asterisk (e.g. the code of conduct question). Co-Authored-By: Claude Opus 5.5 <[email protected]>
- /workshops/[slug] moves into the portal shell; signed out, the sidebar footer offers "Sign in" (GitHub) instead of the profile link - Header: workshop label strip, status badge (registered / incomplete / ended), title, date and time in SGT, location, event site - Details on the left, sticky registration card on the right with RegistrationSteps (sign in, confirm your name, answer, registered); below 1024px the card comes first - While answering, the questions take the main column (a long form no longer sits in a sticky sidebar) - Join errors show inline in the card instead of a toast - Registered: date, answers saved, QR code (card button and header "My QR code"), answers listed under the description - Ended and not-found states use GAlert / GEmptyState with Explore events - Registration form rebuilt on the G* kit like the hackathon form: required marks, follow-up fields, "N required answers left", failed submit shows an alert and focuses the first bad answer - Markdown description restyled with tokens (works in dark mode) - RegistrationSteps takes a `steps` list so both flows share it Co-Authored-By: Claude Opus 5.5 <[email protected]>
- /workshops/[slug]/registered moves into the portal shell: "You're
registered" header, details card (when, where, registered, answers
saved) with Google Calendar / .ics and links back, the saved answers,
and a "Can't make it?" withdraw section
- Withdraw asks for confirmation by workshop name; API errors show in the
dialog, success returns to the workshop page with a toast; status and
submissions are refreshed
- Header "My QR code" like the workshop page
- The workshop page's "You're in" card links to it ("Manage
registration"); nothing linked to it before, so withdrawing was
unreachable
- Shared between both pages: useWorkshopAnswers (answer formatting, date
and registered-at labels), WorkshopsAnswerList, WorkshopsCheckinQr
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- /dash moves to the G kit: search, participation and sort selects, Hackathons/Workshops tabs, event count with "Clear filters", and a List/Cards switch (still remembered per browser) - Event rows show kind, name, description, status badges, when and where, and the next step as the main button (join, continue registration, view status, open event portal, register); unfinished registrations get a yellow edge and sort first; rejection reasons show inline - Only the clicked "Join event" button spins; a failed join shows the API's message - One-day events show a single date - Empty states for no matches (with Clear filters) and no events fix(ui): key kit icons on their name so they update GBadge, GButton, GAlert and GEmptyState kept the first icon they rendered when the name changed (CSS-mode icons), e.g. every status badge stayed on the "Open" padlock and the collapsed theme button didn't change its icon. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- /dash/[id]/participant ("View status"): same states and copy as the
registration status page (badge, step tracker, organisers' message,
review date, next-step button), an "About the event" card, and a
"Can't make it?" withdraw with a named confirm and inline errors.
Withdraw now shows for anyone who has joined. The organiser
Approve/Reject card (?userId=) is restyled with inline errors.
- /dash/profile: "Your name" form with inline field errors, focus on the
first problem, "Discard changes" and inline save errors; account card
with GitHub avatar, profile link and email. A background whoami refetch
no longer overwrites a name being typed.
fix(ui): stop the offline-ready toast from crashing the app
app.vue called toast.success, which Nuxt UI's toast doesn't have, so the
page failed with a 500 once the service worker was ready offline.
fix(ui): don't show transport errors to people
getApiErrorMessage fell back to the client's own error text ("Request
failed with status 500 Internal Server Error", "Failed to fetch"); it now
uses the caller's fallback for those.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- New OrganizersCheckInDesk, used by both check-in pages (only the venue endpoints differ): a big "Scan QR code" button, live counts (here now / left / not arrived) refreshed every 15 seconds, a searchable participant list with All/Here/Left/Not arrived tabs, per-row Check in / Check out and history, and the recent activity feed - Scanner dialog: scan, then the participant with one large Check in / Check out button, then "Scan next" straight back to the camera; says when someone isn't on the list or a workshop code is for another event, and explains blocked camera access - The camera reads 70% of the picture instead of a fixed 240px square - Sidebar label "Check Ins" becomes "Check-ins" Fixes: - The hackathon page refreshed with a hand-written query key that didn't match the SDK's, so Refresh and post-check-in updates did nothing - Failed check-ins from the list were only logged; they now show the API's reason in a toast - Only the tapped row's button spins, not every row's - "Not arrived" people are no longer counted as checked out Co-Authored-By: Claude Opus 5.5 <[email protected]>
- New OrganizersResourceDesk, used by both resources pages: pick a resource, scan or redeem from the list, live counts (people served / not yet / redemptions) refreshed every 15 seconds, search with All / Redeemed / Not yet tabs, per-row Redeem / Redeem again and history, and recent activity - Scanner warns when someone already had the resource and shows the resource's "When redeeming" note before handing it over - Workshops (`manage`): add / edit in a dialog with inline errors and a Published switch, delete with a confirm dialog instead of confirm(); a new resource is selected straight away. Hackathons stay redeem-only - The camera view and QR reading move into OrganizersQrScanner and readParticipantQr, shared with the check-in desk Fixes: - The hackathon page refreshed with a hand-written query key, so Refresh and post-redeem updates did nothing - Only the tapped row's Redeem button spins - Failed redemptions show the API's reason, not the client's error text - The scanner reads 70% of the picture instead of a 250px square Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Built for the venue screen: dark board by default, with a Light board / Dark board switch remembered per browser and separate from the portal theme; Full screen shows just the board - One tile per challenge, most teams first: name readable from the back of the room, sponsor, big team count, share of all teams as a bar, and a trend line since the page opened with a "+2 since 8:49 PM" caption. The leading challenge gets an accent edge - Header shows the event, total teams and the last update time - "New teams" notices slide in and are announced to screen readers; reduced motion is respected - Loading, error and no-challenges states; on phones tiles stack, Full screen is hidden and the theme switch is an icon Fixes: - Tiles with equal counts no longer swap places on every refresh - Trend lines start at zero, so a flat count no longer looks like growth Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ages Co-Authored-By: Claude Opus 5.5 <[email protected]>
…m section - GDateTimePicker: typed date/time segments plus a calendar pop-up with hour, minute (5-minute steps) and AM/PM dropdowns; replaces the native datetime-local inputs in the hackathon and workshop forms - End fields grey out days before their start - Event form section list highlights the section in view while scrolling - GFormField label gets an id so grouped controls can be named by it Co-Authored-By: Claude Opus 5.5 <[email protected]>
…red fields - GMarkdownEditor (TipTap v3 + @tiptap/markdown): toolbar, Ctrl/Cmd+K link dialog, Write/Markdown views; used in the hackathon form, workshop form and workshop settings - GMarkdown renders descriptions as plain Markdown only (no raw HTML, safe links) on the workshop and participant status pages; cards show a plain-text excerpt - Shared .g-prose styles; GModal focuses an [autofocus] field on open - Event forms: "Fields marked * are required" note, required markers and client checks matching the API's create rules for hackathons Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Explore and Workspace cards: formatted one-flow excerpt (GMarkdown
inline mode) and a "Details" dialog with the full description, dates,
venue and the card's own actions (shared via createReusableTemplate)
- Hackathon registration landing, form and "not taking part" screens show
an "About {hackathon}" card with Show more / Show less
- GMarkdown renders an allow-list of formatting HTML (the editor writes
<em>/<strong> for overlapping marks) with all other tags, attributes and
unsafe URLs removed
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ants - Hackathon participants: list with a side panel (dialog on phones and in table view), filter tabs with counts, search, sort, Queue/Table views, "Review next" (oldest overdue first) and an overdue banner - Review panel: answers, decision history and emails sent; pick Approve/Reject, then a note (required to reject, inline error); change an existing decision; a review conflict refreshes and explains in place - Workshop participants: same layout with Registered/Withdrawn tabs, answers and check-ins; withdraw uses an inline confirm instead of confirm() - Shared OrganizersListDetail, DetailPane, AnswerList and utils/participant-review.ts; no Nuxt UI left on either page Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Teams and Submissions use the list + side panel layout; teams show members with review status and their submission; submissions show link tiles and summary, filter by challenge and export to Excel. ?team=, ?submission= and ?participant= links join Teams, Submissions and Participants - Judges: secrets hidden in the list (show/copy one at a time); adding a judge or issuing a new secret ends on a screen showing the secret to copy - Challenges: cards with status, team count and who can pick it; add/edit dialog; delete with a named confirm and the API's reason when blocked - "Who can pick it" sets the selection rule the API runs on submit: presets (any team / at least N members / first N teams) or a syntax-checked custom rule (utils/challenge-rule.ts) Fixes: - creating a challenge sent `criteria`, but the create request takes `selectionCriteriaStmt`, so every new challenge was saved as `true` - the participant Challenges page showed the raw rule (e.g. `true`); it now describes preset rules in words and hides the rest - the judges list didn't refresh after saving (wrong query key) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Build each once and share it between hackathons and workshops; the six pages now pass their event to OrganizersOrganizerTeam, OrganizersQuestionsBuilder and OrganizersDataExport. - Organizers: team list with roles and inline remove confirm; invite links with copy, turn off and a collapsed list of ended links; invite dialog with role cards, optional use limit and a result screen. - Questions: grouped by hackathon form page and section (sections not on the form are flagged, since participants never see them); editor with plain answer types, options editor that keeps ids and stored values, follow-up detail, "show only when" builder, answer limits and an auto answer key. Clearing a field now works (sends '' instead of null). - Data export: who-to-include filter, registrations (row or column per person, summary sheet, JSON), contact list with copy emails, teams with challenge and members. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Add chart components (segment bar, meter list, bar list) built on the ink ramp, with status colours only for review states. Share resource redemption stats between hackathons and workshops, with Excel/CSV export and a per-team redemption flag. Darken the light-mode viz-3 grey so it passes contrast and colour-blind checks. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Hackathon settings get a GitHub form: checks on submission, a saved token that can be replaced or removed, copying with a live example of the copy's name, and inline errors that mirror the API's rules. Workshop settings reuse the workshop form in a settings mode, open to the workshop's organisers and saved in place. The event form frame gains an in-place mode (Discard changes instead of Cancel) and an optional required-fields note. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Use the theme's error red for the label's outline and text, so required questions stand out in both light and dark themes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Show each app as a card with its client ID, kind, sign-in counts and redirect URIs, with an inline delete confirmation that explains users are signed out. The add/edit dialog explains Web vs Native, shows errors on each field and URI row, warns when a secret will be issued or stop working, and shows a new secret once until it's confirmed as copied. Sign-in history gets search, scope tags and a phone layout. Co-Authored-By: Claude Opus 5.5 <[email protected]>
List every admin's apps with totals, Web/Native tabs, search and a table that opens each app. The detail page shows usage, settings and permissions in plain words (raw OpenIddict codes kept beside them), and sign-ins with status tabs, search and scope tags. Shared labels live in utils/oauth.ts, also used by the My OAuth apps history page. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…month Anchor the calendar to the whole field instead of the small calendar button, centre it, and scroll the form just enough to keep it below the field. Open it on the chosen date's month; empty fields open on the earliest allowed date (an end opens on its start's month) or today. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Workspace: Details sits under View page (or Website). Explore: Details sits under the next-step button (Open event portal, Join event, Register, ...), with Website beside them. The Details dialog no longer repeats a Details button. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Strikethrough (Ctrl/Cmd+Shift+S) saves as ~~text~~ and the divider as ---; both were already rendered by GMarkdown and stripped from card excerpts. Co-Authored-By: Claude Opus 5.5 <[email protected]>
On organiser pages for a hackathon or workshop: - the page header shows a breadcrumb, "GeekHack › Stats", linking to the event (on phones, a small line above the title) - the event's links get their own sidebar group named after it - the tab title reads "Stats · GeekHack · GeeksHacking" The layout provides the name from the organiser lists it already loads; GPanelHeader picks it up via provideGPanelCrumb. Tab titles now use "·" throughout. Co-Authored-By: Claude Opus 5.5 <[email protected]>
tsdown -w wiped WebSdk/dist while nuxt dev was starting, and Vite kept the failed @geekshacking/portal-sdk import until the app was restarted. - Keep dist in watch mode (clean: !watch); one-off builds still clean. - Give the sdk resource a health check on its built entry points and make app wait for it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
portal | 8a97bb6 | Commit Preview URL Branch Preview URL |
Nov 24 2026, 01:53 PM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
portal-oidc-web-playground | 8a97bb6 | Commit Preview URL Branch Preview URL |
Nov 24 2026, 01:54 PM |
This branch has not been deployed
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.
Here are some screenshots of the rebranded portal:
Events List
Edit Event
Event Stats
Participant View of Events
List of Participants
Adding Challenges
Check-in Section + Light Mode