gitbar icon indicating copy to clipboard operation
gitbar copied to clipboard

Track a daily contribution goal

Open KCreate opened this issue 9 years ago • 5 comments

I've added the feature to track daily contribution goals. This adds the following environment variables to the .env config file:

  • CONTRIBUTION_GOAL_DAILY_TRACKING - enable / disable
  • CONTRIBUTION_GOAL_DAILY - The daily contribution goal

If CONTRIBUTION_GOAL_DAILY_TRACKING is set to true, the app now behaves as follows:

  • If the daily contributions are 0, the emoji is set to 💔
  • If the daily contributions are lower than the daily goal, the emoji is set to 📈
  • If the daily contributions are higher or equal than the daily goal, the emoji is set to ⭐

This pull request also fixes a bug where setting CONTRIBUTION_GOAL_TRACKING to false would still show the contribution goal.

screenshot 2016-06-07 at 19 03 10

Any more thoughts on this?

KCreate avatar Jun 07 '16 17:06 KCreate

Are there any updates on this?

KCreate avatar Jun 13 '16 11:06 KCreate

Bump

KCreate avatar Dec 11 '16 15:12 KCreate

hey @KCreate Thanks for this, I've got it up and running. I'm not sure @Shikkic is going to merge your PR though 🙁

Roland0 avatar Mar 16 '17 13:03 Roland0

He probably forgot about it :disappointed:

KCreate avatar Mar 16 '17 13:03 KCreate

Hey @Shikkic, if you have no objections I would love to maintain Shikkic/gh-scrape and Shikkic/gitbar . Please let me know what you think about this.

KCreate avatar Apr 13 '17 11:04 KCreate