Coder Social home page Coder Social logo

naramsim / githuboriginalstreak Goto Github PK

View Code? Open in Web Editor NEW
228.0 8.0 23.0 1.06 MB

Extension to get back current and longest streak. Original version :star: All Browsers :boom:

License: Mozilla Public License 2.0

CSS 3.99% JavaScript 96.01%
streak extension github

githuboriginalstreak's Introduction

GithubOriginalStreak icon

Build Status

Reverts GitHub contributions and streak. A browser extension.

  • Total Contributions
  • Longest Streak
  • Current Streak
  • Streaks no more limited to one year
  • New GitHub Design compatible
  • Compatible with the new dark theme

Browser support

chrome firefox opera

To download the extensions just click on the badges above, they will bring you to the appropriate store.

streak

Contributing

Please refer Contributing guidelines to enhance your contribution experience.

Contributors

Naramsim and sarbbottam

githuboriginalstreak's People

Contributors

cg-cnu avatar doppins-bot avatar gitter-badger avatar ifvictr avatar incognitojam avatar jeffersonribeiro avatar naramsim avatar sarbbottam avatar vunderkind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

githuboriginalstreak's Issues

Not showing streak again

Referencing: #89

Looks like this has stopped doing it's thing again.

Is this a known issue?

I've tried on Edge and Firefox and still showing 366 days as longest streak

current streak calculation

Looks like, the current streak is not being calculated correctly. Please refer the attached screenshot.

screen_shot_2016-06-13_at_4_22_11_pm

Anybody else having issues?

Did GitHub change something (again)? When enabled all I get is this at the top

image

and nothing at the bottom:

image

So having the extension 'swallows' their display which shows total count over last year (and nothing else):

image

Duplicates

Clicking a year then clicking overview creates a duplicate. Other than that I really enjoy using this!
duplicate

Only The Last 373 Days Are Counted

Hi, thank you very much for your awesome browser extension!

In the area which shows all the little green squares, I can see has 373 squares visible which represent the last 373 days. Likewise, the Longest Streak and Current Streak also show only 373, when my correct streak should be over 600 by now.

I have Chromium v50.0.2661.102 in Ubuntu v14.04 (64-bit). The same thing happens in Firefox.

Contributions in the last year
678 total
Jun 21 2015 - Jun 27 2016

Longest streak
373 days
Jun 21 – Jun 27

Current streak
373 days

Can you please help me to see my correct streak information? Thanks so much! :-)

Handle calendar rewriting

when someone click on repositories then to contributions the calendar is rewritten, but the streak not

Seems to no longer be working

I'm not sure if Github changed their markup or something, but i see no console errors, and the extension's UI never kicks in (as of a week or three ago)

Enhancement / Set Urls

I work somewhere were we run github enterprise, it would be cool to let us enter custom URLs. Secondarily, if somehow we could ignore the weekends. :D

No need for a module badge

Hey !

It seems that this addon for firefox adds a badge, like shown below

Screenshot 2019-11-15 at 15 04 06

But it really isn't needed, can it be removed ?

Regression when double clicking a year?

Hello, for some reason I believe I double-clicked on the year 2016 on my profile page, resulting in this:
screenshot 2016-10-11 23 44 14

Thinking this must be a transient issue, I refreshed the page, resulting in this:
screenshot 2016-10-11 23 44 43

But this streak is not right, as my streak starts on Jun 2, 2015:
screenshot 2016-10-11 23 43 44

I seemed to have broken my GithubStreaks plugin, so i uninstalled and re-installed it, and now I am neither able to click on options nor set the start date :( Please help me out, as I am almost at 500 now 💃

@Naramsim

Extension Has Stopped Working?

Some time over the weekend, my extension stopped showing my streak, now it just looks like a normal GitHub page w/out the extension installed.

I have tried disabling and then re-enabling the extension, the GitHub page view does not change at all.

Has something changed with GitHub that has temporarily broken the extension?

Thanks in advance! :-)

Contributions in the last year displays wrong date range

So, while the current streak and the longest streak show the right stats, the "Contributions in the last year" also shows the same stats. This isn't how GitHub used to show it IIRC. More like last one year (~ +/- 365 days). I would like to include that I did use the date setter, so not sure if it occurs otherwise :)

Screen:
screenshot 2016-08-25 20 39 01

It says "June 2, 2015 to Aug 25, 2016" while it should be something like "Aug 24, 2015 to Aug 25, 2016" :)

@Naramsim

P.S: Also thank you for this wonderful tool :)

Premature Streak Reset

wbraswell_20160717-github_streak_bug

The "Current Streak" should not be reset to "0 Days" until my local clock hits midnight. If it is not possible to check my current time zone, then delay streak reset until the very last time zone on Earth hits midnight.

As it is now, my Current Streak is almost always showing "0 Days" which is obviously incorrect, and is not the way the original Github streak software operated.

You can see in the attached screenshot that it is only 10pm in my local time zone, but already I have 2 empty squares showing up and a "0 Days" as my streak. I will also see "0 Days" as my Current Streak even if I check it in the morning instead of at night. So again, the Current Streak is incorrectly getting reset to "0 Days" at least 24 hours too early, which is quite a lot.

New Github design

Github has just released a new interface:

screenshot 30

The extension cannot select the element to attach the statistics. It was: #contributions-calendar.
Now it could be: .mb-5.border.border-gray-dark.rounded-1.py-3 or .js-contribution-graph

Probably we need to tweak some CSS

Strange rendering of "Current streak"

Before it works perfectly well, but now at this very moment it's not.

I'm still not sure what is the root cause of the problem. My current streak should be at 50 at this particular moment.

captured screenshot

Or you just see my Github profile.

Any way to use a personal token to avoid API rate limit?

Any way to use a personal token to avoid API rate limit? When using more than one Chrome extension that doesn't allow to use a personal token, when you spend a lot of time on GH, the rate limit is quickly reached: this would solved the problem if possible.

GithubOriginalStreak icon

GithubOriginalStreak icon looks vague compared to others.

screen shot 2016-06-08 at 10 21 31 pm

I have created this one

github

With the exact color and aspect ratio of

screen shot 2016-06-08 at 10 24 12 pm

Let me know, if you prefer the new one, I can share the SVG file and PNGs in different dimension

Firefox release?

Any plans for a new Firefox release? The version on AMO (v1.14.9, December 2019) appears to be missing a few updates available in the Chrome version (v1.14.10, December 2020).

Regression

On clicking on individual days on calendar, github streak is re-inserting itself. Please refer the animation

screen shot 2016-06-15 at 2 55 03 pm

regression

Not working

The extension doesn't seem to work for me. Although it was fine just a couple of days ago.

change streak color

In stead of
localStorage.setItem("blueSky", 1)
let's do
localStorage.setItem("color-scheme", "blue-sky")

Why?

Let's get fancier ...

multiple color-scheme, blue-sky, golden-orange, pinky-purple etc ...


And maybe later on from browser action? For example, user clicks on the extension icon, display a color scheme chooser. Whenever user updates the color-scheme, it is set to local-storage/color-scheme

  • Multiple color scheme
  • Browser action to change color scheme

Enhancement / Wishlist

  • remove generated files from source control
  • use moment.js
  • xo wrapper around eslint is awesome, no need to maintain explicit eslint configs
  • test
  • use npm scripts instead of gulp
  • beef up readme

Streak count broken again by GH?

Thanks again for fixing #86 last month. It looks like they are at it again as I back to 366 (== one year, rolling) rather that the high two-thousands it should show.

Can you work your magic again and catch up with whatever they changed?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.