PlutoWeb icon indicating copy to clipboard operation
PlutoWeb copied to clipboard

Enhance PlutoWebUI

Open unixpunk opened this issue 7 years ago • 14 comments

Some suggestions for the PlutoWebUI are:

  1. List out all current settings somewhere on the screen or in an overlay from a link, just the text like plutoweb.conf (except without the 'export')

  2. The defaults filled in for the settings on the UI should always be the current active settings when you refresh the page, this way if you change only one, it never resets any others.

  3. Have the status of (either) which daemon is currently running OR a running/stopped flag next to each daemon (I can help with commands to identify this one or I can make a script that will tell you certain things about the running daemon if you want, like pid and maybe port number?)

  4. We should also add a LeanTRX daemon button, but instead of it setting the program to SoapyRemote, it can set it to none instead. (The word none) It can have a link to /leantrx there too.

unixpunk avatar Aug 22 '18 03:08 unixpunk

  1. Set the OpenWebRx and dump1090 tabs at the top of the main page to use the ip variable value from settings.txt (last line) for the url and for openwebrx, use the web_port variable value (below ppm). This is how we can get our links to (almost) always work. I pull the IP from each interface and decide which to use.

@ImDroided :) You asked, lol

unixpunk avatar Aug 24 '18 02:08 unixpunk

Starting to work on this. It has been a hell of a few weeks.

No. 1 should be doable

No. 2 there is no way to do that unless you save the settings as the page loads those values from settings.txt the java array loads from that file and populates the fields. Might be possible but not in its current state.

No.3 Yes I need a entry in settings.txt for the current running app and I can display that on the page.

No. 4 This will work just fine.

No.5 this should be fine also.

I will start working on this a little tonight and more tomorrow after the kiddo goes to bed.

ImDroided avatar Aug 28 '18 03:08 ImDroided

  1. I think maybe it doesn't do them all? I haven't tested a lot with the freq, etc but for updates and restart, do those fill in right then? Maybe I'm wrong if they are all loading from settings.txt.

  2. I guess you could just use line 1 of settings.txt and either highlight the section for the running one or put it in a status box up top, don't think it has to be fancy. If you want to list the port for openwebrx, its in the file already, so is the system ip and hostname if you want to use in links.

Sweet thanks!

unixpunk avatar Aug 28 '18 03:08 unixpunk

  1. Yea it loads all stuff from settings.txt even selects the correct bullet selection for current settings i.e running app, updates.....

  2. Yea I guess I could use that. you should add LearnTRX to the settings.sh so it displays nicely

ImDroided avatar Aug 28 '18 04:08 ImDroided

  1. leantrx will work on the next build as a program name, go ahead and use it for a button, etc.

unixpunk avatar Aug 29 '18 01:08 unixpunk

Ok I already have this done I'm currently trying to get number 1 and 3 working

ImDroided avatar Aug 29 '18 02:08 ImDroided

OK cool, check index and settings pages, I changed all references from zip to tgz. Do a fresh pull. Next thing I'll push is an image once its done along with both update.zip and update.tgz. We will keep making both until 3.0 is released, then we'll stop making zips.

unixpunk avatar Aug 29 '18 02:08 unixpunk

Uh oh. I have been working on the web I can't do a pull without messing up what I have.

On Aug 28, 2018 9:43 PM, "unixpunk" [email protected] wrote:

OK cool, check index and settings pages, I changed all references from zip to tgz. Do a fresh pull. Next thing I'll push is an image once its done along with both update.zip and update.tgz. We will keep making both until 3.0 is released, then we'll stop making zips.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/unixpunk/PlutoWeb/issues/28#issuecomment-416805242, or mute the thread https://github.com/notifications/unsubscribe-auth/ANVzadR-1qqR9o02yNeFBz4ewuXH_vIbks5uVf_ugaJpZM4WG7L3 .

ImDroided avatar Aug 29 '18 03:08 ImDroided

You'll be fine, just commit your changes before you pull.

unixpunk avatar Aug 29 '18 03:08 unixpunk

It will overwrite what you did it I'll just change those lines on my end also then it should be fine. Looks like you only changed a few lines in em.

On Tue, Aug 28, 2018, 10:23 PM unixpunk [email protected] wrote:

You'll be fine, just commit your changes before you pull.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/unixpunk/PlutoWeb/issues/28#issuecomment-416811429, or mute the thread https://github.com/notifications/unsubscribe-auth/ANVzaeLzn8J5kbTaxYYTw8pQejshQ26Mks5uVglEgaJpZM4WG7L3 .

ImDroided avatar Aug 29 '18 03:08 ImDroided

It should merge them, no? but ya, just change any reference of .zip to .tgz

unixpunk avatar Aug 29 '18 03:08 unixpunk

I'm not sure if it will merge em or not maybe I'll try it to see.

On Tue, Aug 28, 2018, 10:35 PM unixpunk [email protected] wrote:

It should merge them, no? but ya, just change any reference of .zip to .tgz

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/unixpunk/PlutoWeb/issues/28#issuecomment-416813126, or mute the thread https://github.com/notifications/unsubscribe-auth/ANVzaZv0kZbJyTW9rWXn5xWsefsHeUlgks5uVgwYgaJpZM4WG7L3 .

ImDroided avatar Aug 29 '18 03:08 ImDroided

Did any of these items make the latest commits? If you can get these in sometime then I can make a new image and we'll call it 3.0.

unixpunk avatar Sep 19 '18 04:09 unixpunk

number 4 was the latest commit. Ill work on the others a bit tomorrow.

ImDroided avatar Sep 19 '18 04:09 ImDroided