Skip to content

feat(private): client-side scouting with user's own token (#52)#72

Open
Ahtisham992 wants to merge 1 commit into
Younesfdj:masterfrom
Ahtisham992:feat/private-mode
Open

feat(private): client-side scouting with user's own token (#52)#72
Ahtisham992 wants to merge 1 commit into
Younesfdj:masterfrom
Ahtisham992:feat/private-mode

Conversation

@Ahtisham992

Copy link
Copy Markdown

Closes #52

Adds opt-in private scouting that runs entirely client-side with the visitor's own GitHub token. Token is sent only to api.github.com, never to GitFut servers, kept only in memory.

New files: lib/private/clientScout.ts, components/private/PrivateButton.tsx, components/private/PrivateDialog.tsx, tests/clientScout.test.ts Modified: AppShell.tsx (mounts the button + dialog), ResultView.tsx (accepts isPrivate prop, hides sharing)

✅ npm run lint · npm run build · npm test (245 tests, 7 new) — all green.

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.

Private mode: scout your own private contributions, in the browser

1 participant