Repository navigation
feat: pin a commit to your profile - #90
Merged
Merged
Conversation
…le-commit # Conflicts: # resources/js/components/commit-feed.tsx # routes/web.php
…le-commit # Conflicts: # app/Http/Controllers/UserController.php
This was referenced Oct 20, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: pin a commit to your profile
An older commit can now stay above the normal profile log. Owners can use Pin and Unpin in their commits' existing action row. One commit is pinned per account; pinning another replaces it in one atomic update.
The pinned row keeps the author's current lane color, reply controls, permalink, and moderation badge, with a quiet Pinned label. It appears once, above the chronological log on the Commits tab. The Replies tab keeps its existing query, parent context, pagination, and empty states, with no pin or pin controls. Pin changes return to the top and reset the cursor log so previously loaded pages cannot retain duplicate entries.
Behavior and decisions
users.pinned_commit_idfield gives each account one slot. Pin replacement is one SQL update; unpin checks the commit ID so an old request cannot clear a newer replacement. No changes to mirrored GitHub identity.Screenshots
All content below is fictional local developer demo data, captured against a separate local SQLite database.
The Replies tab has no pinned row or pin controls.
Interactive flow
Pin a commit, replace it with another, then unpin. This is the real UI and HTTP flow.
Watch the MP4
Validation
f25e464, including profile tabs, inline stars, private bookmarks, and S3 support. Inspected all automatic merges and resolved the four tab/star conflicts.git diff --checkpassed.Deployment and limits
Run the new nullable foreign-key migration with the normal deployment. No feature dependency changes. The production merge retains its existing S3 dependencies. No production/staging data was accessed or changed. Captures use Chrome with mobile viewport emulation, not physical mobile devices. No full test suite was run.
Temporary login routes and browser failure screenshots were removed before committing. The demo database, seed/capture scripts, and media stayed outside the application repository.