Allow editing settings in Query-to-File
This issue requires some experience with JavaFX.
The Query-to-File interface has a config.properties file where certain settings need to be specified. It would be great to integrate these settings into the JavaFX based user interface. Some settings (like the path to fuse binary or the Polypheny-DB host address) should be configurable on startup.
Hi @vogti, I'm trying to understand the requirement. Please correct me if I'm wrong.
- When Main program is run, JavaFX based user interface has to come up with TextFields to enter settings (host address, port, etc.)
- Once the fields are entered and submitted, the application will start using the given settings.
- Should default values be configured incase some of the fields are left blank while submitting?
Hi @PrakruthiSomashekar, welcome to Polypheny! Would you like to take care of this issue?
- Exactly
- Exactly
- It makes sense to have default values. I would suggest pre-filling all input fields with these default values. It might be beneficial to keep a settings file and take the default values from that file.
It would be great if you can take care of this issue.
Thanks @vogti! happy to contribute:) Can you please suggest parameters from this list for input?
- reconnectionTimeout
- host
- port
- fuseCapacityGB
- libraryPath
fyi, I've picked these from config.properties file
Perfect :) I have assigned the issue to you. I think 2, 3 and 5 should definitely be configurable on startup. Regarding 5: The idea is that this should be determined automatically in future (trying different typical locations depending on the operating system). Nevertheless, it is always possible that the system has a very special configuration which requires manually specifying the location of the fuse binary.
@vogti, please review the PR mentioned below. Thanks. https://github.com/polypheny/Query-to-File/pull/3
@PrakruthiSomashekar Thank you for the PR. You may want to join our Discord server via the following link: https://discord.gg/xuBXEy4g
Hi, This issue has not been worked in a while, could I be assigned to it if it hasn't been solved yet?
Hi Shyam, yes please
On Tue, Mar 26, 2024, 7:56 AM Shyam Sai Bethina @.***> wrote:
Hi, This issue has not been worked in a while, could I be assigned to it if it hasn't been solved yet?
— Reply to this email directly, view it on GitHub https://github.com/polypheny/Polypheny-DB/issues/307#issuecomment-2020660757, or unsubscribe https://github.com/notifications/unsubscribe-auth/APARDC7CKYJ7UPOZUY2NNEDY2GECFAVCNFSM42EB4II2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBSGA3DMMBXGU3Q . You are receiving this because you were mentioned.Message ID: @.***>