Repository navigation
Summarize default commit messages in the history list - #224
Merged
Merged
Conversation
Mistium
force-pushed
the
commit-list-summaries
branch
from
November 21, 2026 01:58
35a6452 to
24d58fc
Compare
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.
Follows #223 (merged).
Most MistWarp commits keep the default message "Updated project", so a project's history is a list of identical rows. The history list now asks the API (MistWarp/api#81) to summarise each commit:
Details
use-commit-summaries.js):commit-summary.js):Intl.ListFormatin the community locale;aria-labeluses the same title.Screenshots
These use real summaries for the public project
p1790295130360345000J3JZRS, produced by the #81 Go code from itsworkspace.mwpand routed in with Playwright. Two rows were given written messages to show that case.Before: every row says "Updated project".

After, Chromium, light. Default messages are replaced, and written messages keep a summary on the meta line.

After, Firefox, dark.

After, phone width (390px).

Checks
The
node.js.ymlsteps were run locally, since GitHub Actions don't run here:check-conventions --base=origin/commit-changes-view;i18n:editor:checkandi18n:community:check;check:community-css;deps:check;test:unit:ci: 4094 passed;build:deployandvalidate-deploy.New tests are in
test/unit/community-commit-summary.test.jsx(sentences, headline choice, graph rendering) andtest/unit/community-commit-summaries-hook.test.jsx(batching and the cap, project switch, retry after failure).Preview: https://commit-list-summaries.scratch-gui.pages.dev/project/p1790295130360345000J3JZRS#history (shows plain messages until #81 is deployed).
Version: 3.7.0 (from #223) → 3.8.0, a new backwards-compatible feature.