Monorepo for Tangled tangled.org

all: rework the profile activity panel with commit repos, forks and dates #4682

Closed eti.tf
targeting master from eti/profile-activity
Closed opened by and assigned to eti.tf
targeting master from eti/profile-activity

This reworks the activity panel on profile pages. Pick a month and you now see which repos got commits, the issues and pull requests with a preview on hover, and the repos created or forked that month, each with how long ago it happened.

The activity panel with a month open and an issue preview showing its description and labels

The backend needs a review. getProfileActivity now also returns the repos with commits each month, the repo a fork came from, and when each repo, issue and pull request was created. Bobbin builds this in profile_activity.rs, and tests/aggregation.rs covers it. I edited the Go struct in api/org_tangled/actorgetProfileActivity.go by hand instead of running lexgen, so please check it.

It also fixes a crash when creating a repo: RepoCreationForm read page.data after the page had rendered.

The bobbin tests pass, the Go code builds and passes go vet, and the profile tests and stories pass.

Commits 8

web/profile: stop sweeping the line when hovering a data point
web/profile: drop the border around the selected month name
web/profile: soften the press scale on full-width activity rows
web/profile: keep the selected month column color on hover
web/profile: rework the activity month panel rows and ticket previews
all: return fork upstreams and creation dates in profile activity
web/repo: read the primary knot and spindle during render
all: show commit and repo details in the profile activity panel