Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance PlutoWebUI #28

Open
unixpunk opened this issue Aug 22, 2018 · 14 comments
Open

Enhance PlutoWebUI #28

unixpunk opened this issue Aug 22, 2018 · 14 comments
Assignees
Labels
cosmetic Typo's, graphics, etc enhancement New feature or request

Comments

@unixpunk
Copy link
Owner

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 unixpunk added enhancement New feature or request cosmetic Typo's, graphics, etc labels Aug 22, 2018
@unixpunk
Copy link
Owner Author

  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

@ImDroided
Copy link
Collaborator

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.

@unixpunk
Copy link
Owner Author

  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!

@ImDroided
Copy link
Collaborator

  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

@unixpunk
Copy link
Owner Author

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

@ImDroided
Copy link
Collaborator

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

@unixpunk
Copy link
Owner Author

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.

@ImDroided
Copy link
Collaborator

ImDroided commented Aug 29, 2018 via email

@unixpunk
Copy link
Owner Author

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

@ImDroided
Copy link
Collaborator

ImDroided commented Aug 29, 2018 via email

@unixpunk
Copy link
Owner Author

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

@ImDroided
Copy link
Collaborator

ImDroided commented Aug 29, 2018 via email

@unixpunk
Copy link
Owner Author

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.

@ImDroided
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cosmetic Typo's, graphics, etc enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants