Coder Social home page Coder Social logo

griefmodz / statistic-counter Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 2.0 389 KB

A Replugged plug-in that has been ported from Powercord which introduces an interchangeable statistic counter in-between the home button and servers list.

Home Page: https://replugged.dev/install?identifier=xyz.griefmodz.StatisticCounter

License: MIT License

CSS 10.47% TypeScript 89.53%
guild-count online-friends-count replugged replugged-plugin server-counter

statistic-counter's People

Contributors

griefmodz avatar

Stargazers

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

Watchers

 avatar  avatar

statistic-counter's Issues

Guild scroller issue

With this plugin installed and loaded the guild scroller has some issues, clicking a guild that is lower in the list causes the list to scroll up to the top, not entering that guild. After hours of debugging I'm quite certain this plugin is the cause of the issue.

No Settings menu, no counter

Hey, i just installed your plugin. But for some reason, it is not working. I do not see the counter where it should be and in the plugins page in settings, there is no settings button with your plugin.
Something seems to be wrong here. Any idea? I tried reinstalling, but that did not help.
image

image

counter will always autorotate, regardless of settings

as the title says, the counter will rotate through the possible values even if autoRotation is specifically set to false.

i believe the issue is this line:

disable={activeCounter === nextCounter ?? !settings.get('autoRotation', false)}

the first condition of disabled will always be defined (and is apparently always false), so the second expression that reads the user's settings is never evaluated (in fact, when compiled from TS into JavaScript, it's entirely removed).

this appears to be an optimization for when there's only 1 counter available; perhaps you meant to use || (or) instead?

Broken..?

Not sure if this is just me but it doesn't seem to work with the latest Discord update. No crashes, just nothing happens..

Discord Crash on startup

As of a few hours ago, this plugin causes a crash when Discord starts up. The error is as follows along with the line.
TypeError: statusStore.getOnlineFriendCount is not a function
OnlineCount.jsx:28

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.