Skip to content

Nikhill/dashboard cont#13

Open
NikhillA wants to merge 29 commits into
listserv-check/Nikhillfrom
nikhill/dashboard-cont
Open

Nikhill/dashboard cont#13
NikhillA wants to merge 29 commits into
listserv-check/Nikhillfrom
nikhill/dashboard-cont

Conversation

@NikhillA

@NikhillA NikhillA commented May 5, 2026

Copy link
Copy Markdown
Collaborator

Summary This PR adds the UI for various pages on the Loop dashboard (home, subscriptions, bookmarks, profile, org page). This pages were created using already made cards and components shared from previous development.

This pull request is the first step towards implementing feature dashboard

  • implemented X
  • fixed Y

Remaining TODOs:
Check BE connectivity

  • resolve bug 1
  • implement Z

Depends on #{number of PR}

Test Plan

Screenshot 2026-05-05 at 7 45 05 PM Screenshot 2026-05-05 at 7 44 48 PM

Notes

Breaking Changes

  • Database schema changes
  • Other change that could cause problems (Detailed in notes)

anchen9 and others added 29 commits March 13, 2026 14:15
- accomodate shared design system components
- have dashboard + extension split
Remove broken feed Toggle, move SearchBar into feed header, swap
hardcoded Landing hex for secondary-500 token, add Manrope to font
link. Wire RoutedHome with client-side sample posts / side panels
(Convex schema has no post table yet). New playwright helper for
/home screenshots.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Brings in DS component polish (Avatar, Button, Cards, DateBadge, Logo,
SearchBar/Panel, SideBar, Tags, Toggle), new components (Bookmark,
Dropdown, OrgHoverCard), token updates, shared fallbackColors util,
prettier config, and README/CI tweaks.

Conflict resolutions:
- Kept HEAD monorepo layout: all DS code lives under shared/ui,
  apps/dashboard imports via @app/ui barrel.
- Moved annie's root src/components/* + src/utils/* under shared/ui/src/.
- Dropped stray pre-monorepo root files (src/App.tsx, src/main.tsx,
  vite.config.ts) — replaced long ago by apps/dashboard equivalents.
- Rewrote DesignSystem.tsx imports to use @app/ui and @app/ui/assets/*
  subpath; added ./assets/* to shared/ui package exports.
- Extended shared/ui/src/index.ts to re-export Bookmark, Dropdown,
  OrgHoverCard.
- Added lucide-react as peer dep (shared/ui) and dep (apps/dashboard) —
  multiple DS components rely on it.
- Root package.json keeps workspace-dispatch scripts; added prettier
  format / format:check scripts + dev deps.
- Kept Manrope font link addition from previous commit.
- Dropped annie's committed .env (contained a rotated Gemini API key —
  pre-existing leak on source branch, addressed separately). Added
  .env / .env.local to .gitignore.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@anchen9 anchen9 left a comment

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.

Great work overall Nikhill on implementing the dashboard frontend! (Also great work to Megan for the initial wiring)! The dashboard's looking great and really appreciate your work this semester!


const ALLOWED_EMAIL_DOMAIN = "@cornell.edu";

export const { auth, signIn, signOut, store, isAuthenticated } = convexAuth({

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.

Great job working with convex auth & checking for non-cornell emails!

);
}

export const currentUser = query({

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 wonder if this non-cornell user logic could be consolidated with the code in convex/auth.ts?

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.

Very useful having some dev only tools and shortcuts, but I think this file is inhibiting some local testing for auth on the fakeSignIn function! We can probably either implement an override or remove the shortcuts before implementing auth fixes!

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.

4 participants