Coder Social home page Coder Social logo

Comments (4)

jprjr avatar jprjr commented on July 20, 2024 1

I'm not sure - so as you add/remove accounts, that changes the amount of metadata fields on the screen. Initially, I tried to avoid doing that dynamically because I wasn't really all that great at JavaScript. But now that I've got more Javascript being used (like on the chat window), I think I could pull it off.

On the other hand, I do like having the settings separated into "stuff you rarely change" and "stuff you change all the time" - I rarely touch the add/remove accounts screen, but I'm in the edit metadata screen every time I stream, so I like having a screen of just the stuff I care about in that moment.

But on yet (a third) hand, I can see it being hard to remember which setting is on which screen. Maybe I could have one page with tabs, so I could have an "Accounts" tab, "webhooks" tab, "Custom Puller" tab, etc. I think that might be the best approach. I could make the "Stream Metadata" be the default tab

from multistreamer.

bugz8unny69 avatar bugz8unny69 commented on July 20, 2024

A first glance, it seems like trivial to implement, perhaps with Ajax https://www.w3schools.com/xml/ajax_xmlhttprequest_send.asp to avoid page refreshing. Especially when I go between pages as much as I do. Althougth Jquery might be more useful here. I could try looking at the code and provide a patch but I can't tell when I can provide one. By then, you probably push a commit first.

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

I got a good amount of work done on this yesterday - basically, each tab is more-or-less a part of the old form. Clicking to a different tab submits the form you're currently on, and loads up the new one. So, there's still page refreshing, but I figure it's still pretty decent, and way easier to find settings, and it was very fast for me to do - I got to keep using most of the old code instead of moving things into JavaScript

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

And done! I just pushed out ver 9.0.0 with the new, combined settings screen.

Be sure to run luarocks --tree=lua_modules install lua-resty-exec to make sure you're on at least version 2.0.0. Version 9.0.0 also contains a fix for #16, it relies on a newer version of lua-resty-exec

from multistreamer.

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.