Code Monkey home page Code Monkey logo

summary-widget's People

Contributors

alimgiray avatar fwolfst avatar nolimits4web avatar peti2001 avatar

Stargazers

 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

summary-widget's Issues

Failed to execute 'define' on 'CustomElementRegistry

When I try to use any CodersRank widget in app with js built by webpack, I get following error:

app.js:5132 Uncaught TypeError: Failed to execute 'define' on 'CustomElementRegistry': parameter 2 is not of type 'Function'.
    at Module../resources/js/app.js (app.js:5132)
    at __webpack_require__ (app.js:52999)
    ....

Surprisingly, widgets (mostly) work, but due to code errors caused by this other stuff (like Vue components) doesn't work.

How can I get around it?

Full code can be seen here:
https://github.com/apsg/gackowski.edu.pl/blob/main/resources/js/app.js

Feature request: Show badges on user selected languages, not on the highlighted 3.

Let the user decide which badges to show. Displaying only the highlighted 3 badge makes the widget not very informative.

Proposal:

  1. Default behaviour = display the highlighted badges.
  2. Allow the user to show all the badges.
  3. Allow the user to choose arbitrarily which badges to show. This I suppose would need a list of languages as a parameter.
  4. Allow the user, if show-all-badges chosen, to hide a list of badges.

I may help to implement this if someone gives me a hand initially to understand how the codebase/project is structured/intended. Thank you.

Widget doesn't work as an image

widget with screen shot summary does not work for GitHub Readme

The widget using the link below does not work for GitHub README and it doesnt work from browser:

https://cr-ss-service.azurewebsites.net/api/ScreenShot?widget=summary&username=GITHUB_USERNAME

I tried working with issue #5 and the solution for the the issue doesnt work either - neither does caching as I do not control request headers, I just want to use in the README.

How can I make it work in a basic implementation using my username?

Error Fetching Resource for widget

<img
  src="https://cr-ss-service.azurewebsites.net/api/ScreenShot?widget=summary&username=YOUR_USERNAME&badges=2&show-avatar=false&style=--header-bg-color:%23000;--border-radius:10px"
/>

is no longer working and the Error Fetching Resource pops up

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.