Coder Social home page Coder Social logo

"Star" fiddles about esfiddle HOT 16 CLOSED

esfiddle avatar esfiddle commented on June 12, 2024
"Star" fiddles

from esfiddle.

Comments (16)

ageddesi avatar ageddesi commented on June 12, 2024

Maybe you should consider braking this task down further for example.

  • add api calls
  • add stars to the page
  • create a hall of fame page

from esfiddle.

joshghent avatar joshghent commented on June 12, 2024

@ageddesi Done, yeah it was a quite a big task so I've said to just add the functionality to begin with and then we can proceed from there.

from esfiddle.

ageddesi avatar ageddesi commented on June 12, 2024

@joshghent I would like to give this a go over the weekend :) ⭐️

from esfiddle.

joshghent avatar joshghent commented on June 12, 2024

@ageddesi All yours my friend 👍

from esfiddle.

ageddesi avatar ageddesi commented on June 12, 2024

How do we envision this implementation.
Are we imagining that anybody can star a fiddle. (how do we define a user, ip etc)
Then do we have a tally against a fiddle for the amount of stars it has...

from esfiddle.

joshghent avatar joshghent commented on June 12, 2024

@ageddesi Very good questions. Looking back at this, I think we maybe need to postpone it until we have a login for users (via github). Then when someone tries to star a fiddle it will ask them to sign in with github. I will make a new issue to add a github signin.

Unless you have any ideas on how we can make this work? I am very open to suggestions

from esfiddle.

ageddesi avatar ageddesi commented on June 12, 2024

I think allowing users to login before Staring fiddles is a good idea also allows us to do a lot more in terms of private fiddles etc.

from esfiddle.

ageddesi avatar ageddesi commented on June 12, 2024

Do we want a fiddle shows how many stars it has? and this will go up when you click on it to star it?

from esfiddle.

asiyani avatar asiyani commented on June 12, 2024

Ya I think it's a good idea, in user model I have added field where we can store fiddle no..
We need to create field in fiddle model to increament no of starts.... I forgot to do this :)

from esfiddle.

ageddesi avatar ageddesi commented on June 12, 2024

I will do that as part of the work for this so no need to worry.

from esfiddle.

joshghent avatar joshghent commented on June 12, 2024

@ageddesi The github signin has now been done (thanks @asiyani). Let me know if you are still able to do this! We are very keen to add this feature.

from esfiddle.

ageddesi avatar ageddesi commented on June 12, 2024

I still would like to do this but have no free time now until next weekend. If someone wants to pick up in the meantime that is cool with me, otherwise I will pick it back up after.

from esfiddle.

joshghent avatar joshghent commented on June 12, 2024

@ageddesi Hey did you get round to this at all? No problem if not 😀

from esfiddle.

ageddesi avatar ageddesi commented on June 12, 2024

Sorry I did not not I was also hit with the flu this week and still not recovered :( I am still happy for someone else to pick this up in the meantime.

from esfiddle.

asiyani avatar asiyani commented on June 12, 2024

HI I am working on this one at the moment...

from esfiddle.

joshghent avatar joshghent commented on June 12, 2024

@asiyani Brilliant, thanks dude.
@ageddesi 🤒 Ah that sucks dude! Hope you've recovered from the flu! Get better soon! 👍

from esfiddle.

Related Issues (20)

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.