Code Monkey home page Code Monkey logo

Comments (5)

loserbot avatar loserbot commented on July 25, 2024 3

Or most recently updated to the top!

from nyt-2020-election-scraper.

NickHeiner avatar NickHeiner commented on July 25, 2024

Agreed that Alaska doesn't need to be the top result. 😄

from nyt-2020-election-scraper.

mr-ransel avatar mr-ransel commented on July 25, 2024

Uhhh, at a glance think we just need buttons like:
<button id='{state_slug}_up' class='btn btn-secondary btn-sm' style='float:right'>Move Up</button><button id='{state_slug}_down' class='btn btn-secondary btn-sm' style='float:right'>Move Down</button> at the end of each colspan-ing table header, to populate a default array order in localStorage and then a smidge of JS at the end to move items up and down in that localStorage list with listeners on the button clicks, and then re-order the tables by state_slug I guess on-trigger and again after every Live Update?

@samczsun will that play nice with your live updating change?

from nyt-2020-election-scraper.

bojanrajkovic avatar bojanrajkovic commented on July 25, 2024

Seems complicated, for very little gain, especially with the ability to shrink tables.

from nyt-2020-election-scraper.

fractionalhare avatar fractionalhare commented on July 25, 2024

I am -1 on this. I think if this was destined for more than the six remaining states it would be worth looking into more. But at the moment this tool isn't intended for high generalizability beyond this race. Moreover we already have the option to shrink tables to make it faster to get to other states.

from nyt-2020-election-scraper.

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.