Skip to content

Stop opening the token owner on / and hide traffic UI without snapshots - #7

Merged
puppe1990 merged 1 commit into
mainfrom
feat/no-default-me-hide-traffic
Sep 11, 2026
Merged

puppe1990 merged 1 commit into
mainfrom
feat/no-default-me-hide-traffic

Conversation

@puppe1990

Copy link
Copy Markdown
Owner

Summary

  • `/` no longer redirects to the GitHub token owner (`/u/{me}/all`). It stays the empty lookup.
  • Charts tab and traffic sort options only show when the loaded catalog has traffic snapshots. Other profiles keep Stars sort and no Charts.

Test plan

  • `npm run test:fe` (34 tests)
  • `go test ./... -race -count=1`
  • `golangci-lint run ./...`
  • Browser: `/` is 200 without redirect; profile without traffic has no Charts/unique sorts

The home page stays a username lookup instead of redirecting to the
authenticated user. Charts and traffic sorts only appear when the
loaded catalog has GitHub traffic snapshots.
@puppe1990
puppe1990 merged commit 57ed8a3 into main Sep 11, 2026
4 checks passed
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.

1 participant