Doc Changes made#3309
Conversation
|
@Aryan-Agarwal-creator is attempting to deploy a commit to the jhasourav07's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
👋 Hey @Aryan-Agarwal-creator, welcome to CommitPulse! 🎉 Thanks for opening your first pull request — this is a big deal and we appreciate the effort! While you wait for a review, please double-check:
A maintainer will review your PR shortly. Hang tight! 🚀 |
|
Hey @Aryan-Agarwal-creator! Saw your work on GSSoC 2026. We are building TermUI, a TypeScript terminal UI framework with React-style hooks and JSX, rendered entirely in the terminal. We have 99 unassigned GSSoC issues open, including well-scoped bug fixes with clear repro steps. Your TypeScript background transfers directly. Karanjot, TermUI maintainer |
Description
Fixes #3308
This PR improves project documentation by adding missing JSDoc comments to exported utility functions and updating middleware documentation to accurately reflect protected routes.
Changes Made (Documentation Only — No Logic Changes)
utils/urls.tsAdded JSDoc for
getOrigin()Documents origin resolution priority chain:
window.location.originAdded JSDoc for
getDashboardUrl()@paramand@returnsutils/tracking.tsAdded JSDoc for
trackUser()utils/dashboardPeriod.tsAdded JSDoc for
resolveDashboardPeriod()Added JSDoc for
shiftDashboardPeriod()Added JSDoc for
dashboardPeriodToSearchParams()middleware.ts/api/compareto the protected routes list to match the middleware matcher configurationImpact
Pillar
Visual Preview
N/A – Documentation-only changes with no UI or SVG modifications.
Checklist before requesting a review:
CONTRIBUTING.mdfile.localhost:3000/api/streak?user=YOUR_USERNAME).npm run formatandnpm run lintlocally and resolved all errors (CI will fail otherwise).feat(themes): ...,fix(calculate): ...).README.mdif I added a new theme or URL parameter. (Not applicable)