Code Monkey home page Code Monkey logo

Comments (7)

badlogic avatar badlogic commented on August 16, 2024 1

I just implemented the settings stuff, see

https://heisse-preise.io/settings.html, site/settings.js/html, and site/models/settings.js.

Just dump whatever settings you want in there :p

Enjoy your holidays!

from heissepreise.

badlogic avatar badlogic commented on August 16, 2024 1

A sticky chart would be nice.

from heissepreise.

iantsch avatar iantsch commented on August 16, 2024

Sticky Headers: I'd like to get it back, my Tailwind CSS knowledge is limited.
Mobile Table Headers: Not opinionated about it.

from heissepreise.

badlogic avatar badlogic commented on August 16, 2024

@iantsch I really, really don't like the sticky header. It gets in my way constantly.

I'm open to adding settings for that kind of stuff that we store in local storage. Suggestion:

  • Little settings icon in footer
  • Click on icon leads to a very very simple settings page, think old.reddit.com settings. Just a few checkboxes.
  • Add a settings.js file plus Settings class to models/ with a load() method and getters (or plain property access)
  • views that have settings fetch them from the settings model. Sticky header setting would be processed by items-filter.js.

Re: mobile table headers, yeaaahhhh. I might have fucked up there. Don't know enough tailwind either.

Sorry for the late reply, repo notifications were off.

from heissepreise.

iantsch avatar iantsch commented on August 16, 2024

I'm off again for a couple of days, will tackle both things next week. Of course if anyone else wanna tackle this... Drop a comment 🙃

from heissepreise.

iantsch avatar iantsch commented on August 16, 2024

#110 will add sticky chart and sticky search, inkluding a settings toggle (chart per default enabled, search disabled)

from heissepreise.

iantsch avatar iantsch commented on August 16, 2024

Added missing task to the same PR, future discussion should be done in the PR, closing Issue

from heissepreise.

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.