GithubHelp home page GithubHelp logo

Comments (5)

KevzPeter avatar KevzPeter commented on August 11, 2024 1

I've added XP based sorting, just add a "sort" parameter to the end.
eg: ![Duolingo Stats](https://duolingo-stats-card.vercel.app/api?id=23141883&sort=xp)

You can try it out!

from duolingo-stats-card.

iltafah avatar iltafah commented on August 11, 2024 1

@KevzPeter Amazing, now it shows the progress based on XP

Screen Shot 2024-02-25 at 6 40 48 PM

from duolingo-stats-card.

iltafah avatar iltafah commented on August 11, 2024

I deleted the Arabic language the green one from Duoling settings and the German appeared, but not sure why it doesn't show in the middle since I have the highest score on it
Screen Shot 2024-02-24 at 11 42 38 PM

from duolingo-stats-card.

KevzPeter avatar KevzPeter commented on August 11, 2024

Hey @iltafah

The stats card works by filtering your top 3 languages based on the number of crowns you've earned in each course, and displays them from left to right.

You can earn XP through timed challenges, speaking exercises etc. that don't necessarily progress your skill path (i.e, unlocking crowns).
So some users may have a lot of crowns and less XP for a particular course, or few crowns and A LOT of XP (German in your case).

I'll update the README page to make it clearer on what basis the languages are displayed.

Would you like XP based filtering instead ? I can tweak the code to accept a query param from the user

from duolingo-stats-card.

iltafah avatar iltafah commented on August 11, 2024

Ah got it, that would be great if you added this feature so the user can either show it based on XP or number of crowns.
Thaks for the answer much appreciated.

from duolingo-stats-card.

Related Issues (2)

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.