Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

mentionable users fall back #1888

Merged
merged 7 commits into from
Jan 8, 2019
Merged

mentionable users fall back #1888

merged 7 commits into from
Jan 8, 2019

Conversation

vanessayuenn
Copy link
Contributor

resolves #1872

If GithubLoginModel cannot retrieve mentionable users for whatever reason, we fall back to fill UserStore from recent git commit authors, so the co-author dropdown isn't left empty.

@vanessayuenn vanessayuenn requested review from a team and removed request for a team January 7, 2019 18:38
@vanessayuenn vanessayuenn changed the title mentionable users fall back [wip] mentionable users fall back Jan 7, 2019
@codecov
Copy link

codecov bot commented Jan 7, 2019

Codecov Report

Merging #1888 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1888      +/-   ##
==========================================
- Coverage   91.22%   91.21%   -0.01%     
==========================================
  Files         196      196              
  Lines       10745    10747       +2     
  Branches     1574     1575       +1     
==========================================
+ Hits         9802     9803       +1     
- Misses        943      944       +1
Impacted Files Coverage Δ
lib/models/user-store.js 99.2% <100%> (+0.01%) ⬆️
lib/git-shell-out-strategy.js 87.52% <0%> (-0.18%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f2fe2d...f982959. Read the comment docs.

Copy link

@annthurium annthurium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for fixing this, @vanessayuenn !

Great example of writing just enough code to solve the problem.

Failing tests need to be fixed before merge, obvi, but other than that, ship it!

@vanessayuenn vanessayuenn changed the title [wip] mentionable users fall back mentionable users fall back Jan 8, 2019
@vanessayuenn vanessayuenn merged commit fda1aa0 into master Jan 8, 2019
@vanessayuenn vanessayuenn deleted the vy/fall-back-gitlog-users branch January 8, 2019 12:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fall back to loading commit authors in UserStore
2 participants