Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
7f1ee3e
Harden auth init and enable middleware route enforcement
bsureshkrishna Feb 7, 2026
71d04c6
Fix root layout structure and tighten client-side security config
bsureshkrishna Feb 7, 2026
8284431
Eliminate eager per-comment reaction count requests
bsureshkrishna Feb 7, 2026
2b28f8d
Harden realtime tab sync and queue state lifecycle
bsureshkrishna Feb 7, 2026
58358da
Harden auth request handling for missing/expired tokens
bsureshkrishna Feb 7, 2026
f478493
Enable Jest jsdom environment and fix test module aliases
bsureshkrishna Feb 7, 2026
a796bfa
Refresh UI tests and add auth/comment/realtime coverage
bsureshkrishna Feb 7, 2026
094cc91
Prepare auth consumers for cookie-based session flow
bsureshkrishna Feb 7, 2026
5189f49
Standardize workspace on yarn lockfile
bsureshkrishna Feb 7, 2026
a8bc920
Harden auth/session handling, sanitize HTML sinks, and stabilize real…
bsureshkrishna Feb 7, 2026
0c46e77
Strengthen session validation, safe URL handling, and auth/realtime h…
bsureshkrishna Feb 7, 2026
3820558
Tighten session bootstrap, middleware validation, and auth transport …
bsureshkrishna Feb 7, 2026
cee25ab
Consolidate realtime, middleware, typing, and UI/test cleanup
bsureshkrishna Feb 8, 2026
d09e906
Consolidate realtime, middleware, typing, and UI/test cleanup
bsureshkrishna Feb 8, 2026
04ffcbc
Use next start so public assets are served correctly
bsureshkrishna Feb 8, 2026
728ed3f
fixed package.json
bsureshkrishna Feb 8, 2026
f270601
Fix image config: keep optimization enabled and remove loopback hosts
bsureshkrishna Feb 8, 2026
c719d20
chore(deps): refresh yarn lockfile (caniuse-lite)
bsureshkrishna Feb 8, 2026
c6425b8
Fix standalone start to serve image assets correctly
bsureshkrishna Feb 8, 2026
8937b83
fix: use community slug for community card links
bsureshkrishna Feb 8, 2026
5419188
fix: restore communities auth/routing flow to match test branch
bsureshkrishna Feb 8, 2026
5228f06
fix: sanitize invalid bearer auth headers in axios client
bsureshkrishna Feb 8, 2026
8171e58
feat: harden auth middleware and add explicit auth initialization con…
bsureshkrishna Feb 8, 2026
62082cf
fix: sanitize community header summary text
bsureshkrishna Feb 8, 2026
b059817
Fix unused join handler lint warning in CommunityCard
bsureshkrishna Feb 8, 2026
354ce01
Fix create menu routing, community slug navigation, and auth redirect…
bsureshkrishna Feb 8, 2026
7dc146b
chore: apply formatter updates after routing/auth fixes
bsureshkrishna Feb 8, 2026
1acf095
Fix community markdown rendering and restore safe parsing
bsureshkrishna Feb 8, 2026
a524813
feat: add bookmark and preview icons to article cards
bsureshkrishna Feb 8, 2026
de2e805
test: fix authStore and middleware tests to match implementation
bsureshkrishna Feb 8, 2026
70a890e
refactor: change preview to hover-based popover instead of click-base…
bsureshkrishna Feb 8, 2026
c2733d4
fix: correct bookmark toggle API endpoint path
bsureshkrishna Feb 8, 2026
39c7d8a
chore: add .claude/ to gitignore
bsureshkrishna Feb 8, 2026
668f705
fix: resolve linting warnings in RenderParsedHTML
bsureshkrishna Feb 8, 2026
940e3be
feat: improve community description markdown rendering
bsureshkrishna Feb 8, 2026
2f7576b
chore: add test images to .gitignore
bsureshkrishna Feb 8, 2026
ef91eca
fix: adjust community description rendering behavior
bsureshkrishna Feb 8, 2026
0fffb5c
banner update
bsureshkrishna Feb 8, 2026
c013cd7
changes for showmore-showless
bsureshkrishna Feb 8, 2026
648fd68
Merge origin/test into codexfix-fullhistory
bsureshkrishna Feb 8, 2026
93c19fe
Add commentary for post-baseline changes
bsureshkrishna Feb 8, 2026
9e3059e
Normalize formatting in a few files
bsureshkrishna Feb 8, 2026
f3bf7e4
Fix tsc errors and update lockfile
bsureshkrishna Feb 8, 2026
d167cd6
Force canvas 3.2.1 via yarn resolutions
bsureshkrishna Feb 9, 2026
48aee83
Add post-commentary annotations
bsureshkrishna Feb 9, 2026
3f2b199
Add UI regression checklist
bsureshkrishna Feb 9, 2026
f42d26f
Refine realtime leader sync and disable community LaTeX
bsureshkrishna Feb 9, 2026
880a8ef
linting errors resolved by claude
bsureshkrishna Feb 9, 2026
f87d14c
Fix auth gating, realtime sync, and document review
bsureshkrishna Feb 9, 2026
8e1cdbf
Harden UI helpers and PDF tooling
bsureshkrishna Feb 9, 2026
d1ab22f
Update review findings follow-up
bsureshkrishna Feb 9, 2026
e03f076
Add AGENTS.md repo notes
bsureshkrishna Feb 9, 2026
8a7406f
claude review added
bsureshkrishna Feb 9, 2026
99d144e
Fix 15 critical audit issues: race conditions, memory leaks, security…
bsureshkrishna Feb 9, 2026
212835a
claude change summary added
bsureshkrishna Feb 9, 2026
5cd1b7c
Fix article card title link extending full width
bsureshkrishna Feb 9, 2026
5742a47
Add changelog entry, code comments, and documentation for article car…
bsureshkrishna Feb 9, 2026
8643337
Fix article card title link ACTUALLY only wrapping title text
bsureshkrishna Feb 9, 2026
5369f98
Update changelog and guidelines with final article card fix summary
bsureshkrishna Feb 9, 2026
b6d57d0
Add critical git remote management guideline to AGENTS.md
bsureshkrishna Feb 9, 2026
81ac5e1
gitignore fix for nul
bsureshkrishna Feb 9, 2026
f43f740
note for agents.md to not use nul
bsureshkrishna Feb 9, 2026
fe8d41e
Redirect to home after logout
bsureshkrishna Feb 9, 2026
7f983e9
agents.md mod
bsureshkrishna Feb 9, 2026
8608219
Remove login success toast and expand auth tests
bsureshkrishna Feb 9, 2026
04690c5
agents.md mod
bsureshkrishna Feb 9, 2026
a022a54
discussion comment box now closes after posting a comment; also fixed…
bsureshkrishna Feb 9, 2026
741b16d
edit now works directly on hitting edit button. some help text change…
bsureshkrishna Feb 9, 2026
ad9986a
removed the edit icon on left in edit article view
bsureshkrishna Feb 9, 2026
6e9872b
tsc bug fixed
bsureshkrishna Feb 9, 2026
bbb985a
huge change to navar due to something related to some suspense. see c…
bsureshkrishna Feb 9, 2026
a3e7fef
fixing issue where article was not showing up immediately after cration
bsureshkrishna Feb 9, 2026
e12f1fe
same staleness issue for edit article also handled
bsureshkrishna Feb 9, 2026
a614fab
improving edit staleness. new fix. also invalidating article
bsureshkrishna Feb 9, 2026
4385673
this is for mentioning other users. for now, it only autocompletes fo…
bsureshkrishna Feb 9, 2026
d903a4e
Revert "this is for mentioning other users. for now, it only autocomp…
bsureshkrishna Feb 9, 2026
52ecda6
working on the article submission adn edit article chain. see markdow…
bsureshkrishna Feb 9, 2026
33ebf82
further work on that
bsureshkrishna Feb 9, 2026
3f6cd2f
improved documentation by appending stuff to Review doc
bsureshkrishna Feb 9, 2026
a761f65
fixed markdown link rendering to not use relative routing - may need …
bsureshkrishna Feb 9, 2026
a8cdd09
fixed a tsc issue
bsureshkrishna Feb 9, 2026
39e177d
making article experience similar by tabbing
bsureshkrishna Feb 9, 2026
99947a1
updated with comments
bsureshkrishna Feb 9, 2026
7643af2
tabbed view in articles page as well
bsureshkrishna Feb 9, 2026
9b7969d
changed workflow for testign and git etc. see changes
bsureshkrishna Feb 9, 2026
c8e9b23
just did a yarn prettier
bsureshkrishna Feb 9, 2026
6764bfb
more prettier
bsureshkrishna Feb 9, 2026
dc50208
all prettier; 2 files added to ignore
bsureshkrishna Feb 9, 2026
4ae8630
prettyignore fix
bsureshkrishna Feb 9, 2026
5813ad2
prettyignore fix
bsureshkrishna Feb 9, 2026
5dd471f
working on caching. intereting choices here
bsureshkrishna Feb 9, 2026
751fa9e
lint compalined
bsureshkrishna Feb 9, 2026
3f604bd
retain selection of artile clicked when returning
bsureshkrishna Feb 9, 2026
f9386de
article handling uniformizaiotn
bsureshkrishna Feb 9, 2026
3f280d9
back button fixing, saving state to sessionstorage
bsureshkrishna Feb 9, 2026
1a4b6e3
lint issues fixed
bsureshkrishna Feb 9, 2026
1eaaae2
article view in /article and /community also fixed
bsureshkrishna Feb 9, 2026
1992e79
lint
bsureshkrishna Feb 9, 2026
becf477
bug fix for article view feature
bsureshkrishna Feb 9, 2026
64f3b9a
article flashing bug fixed
bsureshkrishna Feb 9, 2026
4daca5c
pdf viewer improvement
bsureshkrishna Feb 9, 2026
1212d0b
pdf viewer improvement -- documnted
bsureshkrishna Feb 9, 2026
7ec37ce
article view bug work continues
bsureshkrishna Feb 9, 2026
c73094e
continuing bug fixes
bsureshkrishna Feb 9, 2026
066b9c9
continuing to fix bugs related to 404 interceptor in new branch
bsureshkrishna Feb 9, 2026
b15cfd8
continuing to fix bugs related to 404 interceptor in new branch
bsureshkrishna Feb 9, 2026
534b856
group interceptor bugfix doc
bsureshkrishna Feb 9, 2026
2759d60
intercwptor bug work continues
bsureshkrishna Feb 9, 2026
76b5b42
gridview bugfix
bsureshkrishna Feb 9, 2026
0ef6556
more bugfixing logout issue
bsureshkrishna Feb 9, 2026
99219c6
more page load fixes
bsureshkrishna Feb 9, 2026
4f5847e
logout notes for next session analysis
bsureshkrishna Feb 9, 2026
a0caa6f
3 logout notes.. study these for potential fix of auth
bsureshkrishna Feb 10, 2026
77ea1e6
minorchange to prettierignore
bsureshkrishna Feb 10, 2026
bf4d750
fixed the src/api edits. also added readme to src/api and chagnd.gita…
bsureshkrishna Feb 10, 2026
bcd7d07
updated prettierignore so that src/api is not changed
bsureshkrishna Feb 10, 2026
7d698a7
fixing lint so src/api is excluded
bsureshkrishna Feb 10, 2026
6a34105
fixed important authetnication issue with whether community name was …
bsureshkrishna Feb 10, 2026
aeb64a0
about page fixes.. make previous contriubotrs more prominent
bsureshkrishna Feb 10, 2026
bbfbd23
fixed deadlinks in footer
bsureshkrishna Feb 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,18 @@
}
]
},
"overrides": [
{
"files": ["src/api/**/*.ts", "src/api/**/*.tsx"],
"excludedFiles": [
"src/api/custom-instance.ts",
"src/api/ReactQueryClientProvider.tsx",
"src/api/queryClientRegistry.ts"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
}
],
"ignorePatterns": ["node_modules/", ".next/", "out/", "public/"]
}
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Mark as generated for GitHub UI
src/api/schemas/*.ts linguist-generated=true
src/api/*/*.ts linguist-generated=true
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Title:

Description:
Description:

Screenhots (if any):

Expand Down
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,12 @@ next-env.d.ts
/public/swe-worker-development.js.map
/public/swe-worker-*.js
/public/workbox-*.js
/public/workbox-*.js.map
/public/workbox-*.js.map
# Claude Code local memory and config
.claude/

# Test images
fig*.jpg
inp.jpg
bkm.jpg
Nul
5 changes: 4 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/sh
# . "$(dirname "$0")/_/husky.sh"

npx lint-staged
# Pre-commit checks disabled - use yarn test:fix or run-all-checks-fix.bat instead
# npx lint-staged

echo "Pre-commit checks disabled. Run 'yarn test:fix' before committing."
14 changes: 14 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Prettier ignore file
# These files have formatting issues that prettier can't fix

# ReactQuill components (todo: remove these components later)
**/ReactQuill.tsx

# Documentation files with custom formatting
CHANGE_COMMENTS.md
logoutNotes.md
logoutNotes2.md
logoutNotes3.md

# Auto-generated API files from Orval (DO NOT format - regenerated from backend spec)
src/api/
89 changes: 89 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# AGENTS.md

Notes for this repository:

- **Git commit hooks are DISABLED** (as of 2026-02-09) - git commit is now fast and doesn't run automatic checks
- **You MUST run `yarn test:fix` or `run-all-checks-fix.bat` before committing** to ensure code quality
- Line-ending warnings (LF to CRLF) are expected in this workspace; do not treat them as errors.
- If `git status` shows a file as modified but `git diff` is empty and the LF/CRLF warning appears, treat it as line-ending noise; do not loop trying to resolve it.
- **NEVER redirect stderr to `Nul` or `nul`** - these are Windows reserved device names; use `NUL` (all caps) instead to avoid creating phantom untracked files that git cannot remove.

## Git Remote Management (CRITICAL)

- **ALWAYS execute `git remote remove origin` at the start of any code changes session. However, if the command fails with "origin not found" or something similar, that means origin has already been removed. and that is fine. So dont bother fixing it beyond that. Move on**
- This prevents accidental pushes to the remote repository
- User will manually reset the remote (`git remote add origin <url>`) when ready to push
- Verify remote is removed with: `git remote -v` (should show no output)

## Code Change Guidelines

### Inline Comments

- **Always add explanatory comments** to non-trivial code changes
- Comments should include:
- **Who**: Fixed by [Agent/Person Name] on [Date]
- **What**: Brief description of what was changed
- **Why**: Problem being solved or reason for change (if not obvious)
- **How**: New approach or key implementation details
- Example format:
```typescript
/* Fixed by Claude Sonnet 4.5 on 2026-02-08
Problem: Link extended full width causing UX issues
Solution: Changed to inline-flex to only wrap title text
Result: Link cursor only appears over actual content */
```

### Changelog Summaries (CHANGE_COMMENTS.md)

- **Always add summaries** of significant changes to `CHANGE_COMMENTS.md`
- Include for each change:
- **Problem**: Clear description of the issue being solved
- **Root Cause**: Why the problem existed (if applicable)
- **Solution**: What was changed and how it works
- **Result**: Impact and improvement achieved
- **Files Modified**: List of affected files and commit references
- Update existing entries if iterating on a fix (show evolution of solution)
- Summaries help future maintainers understand the "why" behind changes

### Auto-Generated API Files (CRITICAL - DO NOT EDIT)

- **NEVER manually edit files in `/src/api` that are auto-generated by Orval**
- These files are generated from the backend OpenAPI specification using `yarn generate-api`
- Any manual edits will be **completely overwritten** on next generation

**DO NOT EDIT (auto-generated by Orval):**

- `src/api/schemas/*` - All TypeScript schema/type files
- `src/api/articles/articles.ts` - Articles API endpoints
- `src/api/communities/communities.ts` - Communities API endpoints
- `src/api/discussions/discussions.ts` - Discussions API endpoints
- `src/api/reviews/reviews.ts` - Reviews API endpoints
- `src/api/posts/posts.ts` - Posts API endpoints
- `src/api/users/users.ts` - Users API endpoints
- `src/api/users-auth/users-auth.ts` - Auth API endpoints
- `src/api/users-common-api/users-common-api.ts` - Common user APIs
- `src/api/community-articles/community-articles.ts` - Community articles APIs
- `src/api/community-invitations/community-invitations.ts` - Invitations APIs
- `src/api/community-members/community-members.ts` - Members APIs
- `src/api/join-community/join-community.ts` - Join APIs
- `src/api/real-time/real-time.ts` - Real-time APIs
- `src/api/generated.ts` - Main generated exports file

**OK TO EDIT (manually maintained):**

- `src/api/custom-instance.ts` - Custom Axios instance with interceptors
- `src/api/ReactQueryClientProvider.tsx` - React Query provider setup
- `src/api/queryClientRegistry.ts` - Query client registry

**If API changes are needed:**

1. Update the backend OpenAPI specification (backend team responsibility)
2. Backend team runs their API generation
3. Frontend runs `yarn generate-api` to regenerate types from updated spec
4. **Never manually edit the generated files**

**Past mistakes to avoid:**

- Commit `d09e906` manually edited 13 auto-generated API files to improve TypeScript types
- These changes will be lost on next `yarn generate-api` run
- Proper fix: Update Orval config or accept generated types as-is
Loading