mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-29 22:05:29 +00:00
4a374d755e
This modifies the `nodeDescription` code for the Git plugin so that when given a Git commit, it will hyperlink to that commit on GitHub. It does this by looking up the corresponding `RepoId`s from the newly-added `commitToRepoId` field in the `Repository` (#884). Per a [suggestion in review], rather than hardcoding the GitHub url logic in the Git plugin, we provide them via a `GitGateway`. [suggestion in review]: https://github.com/sourcecred/sourcecred/pull/887#issuecomment-424059649 When no `RepoId` is found, it errors to console and does not include a hyperlink. When multiple `RepoId`s are available, it chooses to link to one arbitrarily. (In the future, we could amend this behavior to add links to every valid repo). This behavior is tested. Test plan: I ran the application on newly-generated data and verified that it sets up commit hyperlinks appropriately. Also, see unit tests.
35 lines
1.4 KiB
Markdown
35 lines
1.4 KiB
Markdown
# Changelog
|
||
|
||
## [Unreleased]
|
||
- Hyperlink Git commits to GitHub (#887)
|
||
- Relicense from MIT to MIT + Apache-2 (#812)
|
||
- Display short hash + summary for commits (#879)
|
||
- Hyperlink to GitHub entities (#860)
|
||
- Add GitHub reactions to the graph (#846)
|
||
- Detect references to commits (#833)
|
||
- Detect references in commit messages (#829)
|
||
- Add commit authorship to the graph (#826)
|
||
- Add `MentionsAuthor` edges to the graph (#808)
|
||
<!-- Please add new entries to the _top_ of this section. -->
|
||
|
||
## [0.1.0]
|
||
- Organize weight config by plugin (#773)
|
||
- Configure edge forward/backward weights separately (#749)
|
||
- Combine "load graph" and "run pagerank" into one button (#759)
|
||
- Store GitHub data compressed at rest, reducing space usage by 6–8× (#750)
|
||
- Improve weight sliders display (#736)
|
||
- Separate bots from users in the UI (#720)
|
||
- Add a feedback link to the prototype (#715)
|
||
- Support combining multiple repositories into a single graph (#711)
|
||
- Normalize scores so that 1000 cred is split amongst users (#709)
|
||
- Stop persisting weights in local store (#706)
|
||
- Execute GraphQL queries with exponential backoff (#699)
|
||
- Introduce a simplified Git plugin that only tracks commits (#685)
|
||
- Rename cred explorer table columns (#680)
|
||
- Display version string in the app's footer
|
||
- Support hosting SourceCred instances at arbitrary gateways, not just
|
||
the root of a domain (#643)
|
||
- Aggregate over connection types in the cred explorer (#502)
|
||
- Start tracking changes in `CHANGELOG.md`
|
||
|