Giter Club home page Giter Club logo

pnid_houbolt's People

Contributors

dfarnainekl avatar j4n1s avatar lupro avatar markuspinter avatar renezwiletitsch avatar spaceteamofficial avatar stefanhamminga avatar

Watchers

 avatar  avatar  avatar

pnid_houbolt's Issues

Interacting with popup inputs doesn't actually do anything

Interacting with popup inputs calls js methods like onDigitalCheck, but those functions are empty right now, nothing happens.
The functions need to update their own popup and send out data to the LLServer to actually send out this data

fix updatePopup for gui state popups

popups that are shared between elements via an "input_reference" field from kicad currently don't correctly update their values. They update based on a value from one of the pnid elements instead of listening to the input reference variable (which would be something like a computed state on llsever side). This probably needs work on the logic that runs updatePopups (this logic needs to also check popups for suitable state names, because the computed states don't have a corresponding pnid element, just a corresponding popup)

fix popup hitboxes for non-chromium based browsers

Only chromium seems to support pointer-events="bounding-box", on firefox and other non-chromium based browsers opening a popup is only possible by hitting an svg line directly (or hitting a text or other filled svg component)
probably best way to implement it, is to create invisible svg <rect> as hitboxes for each component (in the kicad library definitions of the components).

This would even improve the usability of the pnid behavior in chromium based browsers, as right now the automatically generated bounding box is often too large in actual use (eg: when text for a pnid element gets large it may make the bounding box overlap another pnid element so ideally we'd want to exclude the text from bounding box calculations.

popup slider value output broken

While moving the slider the value output doesn't move anymore (in popup refactor). I think this broke during popup refactoring, but I have no clue why/where/how it broke

clicking on sensor letter doesn't open popup

the sensor letter (the "P" on pressure sensors, the "T" on temp sensors, ...) seems to catch the click from the popup hitbox. maybe a z-index thing, maybe put it into the group. for creating the bounding box. investigate

Feature to dismiss log entries/messages

Maybe also a button for dismissing similar messages in the future? (How should "similar" be defined? same message type? Same exact message? Maybe need message IDs for internal errors to be able to filter those out if exact messages aren't wanted)

In UI config editing

move configs back to file and allow editing through the UI (maybe in popups?)

Implement settings menu

I'm thinking of more and more features that could benefit from client side settings (stored in cookies? localstorage?)
eg:

  • Theme choice (dark / light)
  • Dev vs Prod setup with different behavior on things like the log box (in prod/live the "info" category isn't needed)
  • For things like stream having the log box disabled can be nice

All this in a neat and tidy settings menu with popup (top right corner?)

Discuss if needed/wanted or should/could be done differently (could instead handle all this via URL parameters)

dynamic popup creation

right now popups and popup layouts are hardcoded, should be created dynamically via the popup field in the config file. this popup field should support several "lines" that allow for settings and displaying different things (eg: setting the value of the element's statevalue variable while displaying the graph of the value or allowing to set several values via the popup)

popups not closing properly

after implementing the popup close animation the destroy code isn't called properly anymore and the popups are left as hidden (display: none) but still existant in the DOM. right now this creates no problems in functionality or usability, but could be an issue later and frankly, it's just not nice behavior.

Do proper code documentation

Use something like doxygen or a tool like it to make proper in-code documentation (in addition to the readme.md high level/usage documentation)

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.