Drifty icon indicating copy to clipboard operation
Drifty copied to clipboard

[FEATURE] Add Settings menu for Drifty GUI

Open SaptarshiSarkar12 opened this issue 1 year ago • 33 comments

Is your feature request related to a problem? Please describe.

Presently, Drifty GUI does not have any option to set preferences like Last Download folder, Auto-Paste link etc.

Describe the solution you'd like.

A settings window can be created which will contain the list of preferences with a checkbox and the preferences can be set accordingly using the Preferences and AppSettings class.

Screenshots

No response

Additional information

Anyone who wish to work on this issue, feel free to comment below and I will assign you with the task.

SaptarshiSarkar12 avatar Sep 26 '23 07:09 SaptarshiSarkar12

Hello 👋! Thank you very much for raising an issue 🙌! The maintainers will get back to you soon for discussion over the issue! 🚀

Meanwhile you can also discuss about the project in our Discord Server 😀

github-actions[bot] avatar Sep 26 '23 07:09 github-actions[bot]

Hey @SaptarshiSarkar12 , Let me take up this for you.

Rajeshkeshoju avatar Oct 01 '23 07:10 Rajeshkeshoju

Sure @Rajeshkeshoju, you can start working on this issue. I am assigning you with the task.

SaptarshiSarkar12 avatar Oct 01 '23 07:10 SaptarshiSarkar12

@SaptarshiSarkar12, Could you list the prefs required for the settings menu precise.

Rajeshkeshoju avatar Oct 01 '23 08:10 Rajeshkeshoju

@Rajeshkeshoju The preferences to be set are -

  • Downloads Folder
  • App Theme / Background Colour (We have to discuss on this)
  • Enable/Disable Auto-Paste link option

If you have anything else to add, please let me know.

SaptarshiSarkar12 avatar Oct 01 '23 08:10 SaptarshiSarkar12

@Rajeshkeshoju Have you started working on it? Did you face any problem?

SaptarshiSarkar12 avatar Oct 04 '23 12:10 SaptarshiSarkar12

@SaptarshiSarkar12 can i work on this ???

kavyarishi19 avatar Oct 13 '23 16:10 kavyarishi19

As @Rajeshkeshoju is not responding and is inactive, so, @kavyarishi19 can work on this issue. I am assigning the task to @kavyarishi19.

SaptarshiSarkar12 avatar Oct 13 '23 17:10 SaptarshiSarkar12

You can discuss on the changes you wish to bring in our Discord server.

SaptarshiSarkar12 avatar Oct 13 '23 17:10 SaptarshiSarkar12

@kavyarishi19 How much work is done? Did you face any problem?

SaptarshiSarkar12 avatar Oct 20 '23 14:10 SaptarshiSarkar12

@kavyarishi19 Do you still wish to work on it? You seem to be inactive for a long period of time.

SaptarshiSarkar12 avatar Nov 13 '23 15:11 SaptarshiSarkar12

can you provide a sample screenshot so as to get a clear understanding of the issue? @SaptarshiSarkar12

the-shivam-gupta avatar Nov 26 '23 03:11 the-shivam-gupta

@the-shivam-gupta A settings window needs to be created which will set some settings for Drifty. It will look something like this :point_down: SETTINGS

For Theme, Dark theme will be a dark blue gradient and for Light theme, it will be as it is present now. The buttons will also be dark (Need to think on this). If you have any more setting options, you think we can set, please mention those.

SaptarshiSarkar12 avatar Nov 26 '23 07:11 SaptarshiSarkar12

So you basically need a new page in which all these things should be added right?

the-shivam-gupta avatar Nov 26 '23 09:11 the-shivam-gupta

@the-shivam-gupta Yeah, it should be a part of Drifty GUI application - it must be a separate window.

SaptarshiSarkar12 avatar Nov 26 '23 09:11 SaptarshiSarkar12

Ok, I have tried to run your website but it's the mixture of next and Java I think and due to which I won't get a clear understanding of where and which IDE should I use. Basically I use codespaces to contribute to open source. So can u guide me a little about that?

the-shivam-gupta avatar Nov 26 '23 09:11 the-shivam-gupta

@the-shivam-gupta You should cd into the Website directory and then run :point_down:

SaptarshiSarkar12 avatar Nov 26 '23 09:11 SaptarshiSarkar12

@SaptarshiSarkar12 Do you want it like this :

image

the-shivam-gupta avatar Nov 26 '23 10:11 the-shivam-gupta

@the-shivam-gupta Please note that the settings window should be a part of Drifty GUI application and it has nothing to do with the website.

SaptarshiSarkar12 avatar Nov 26 '23 10:11 SaptarshiSarkar12

path: src/main/java/GUI Do I have to create a setting folder and make a java file in it and add things that you suggested on this?

the-shivam-gupta avatar Nov 26 '23 11:11 the-shivam-gupta

Yes, you need to create a JavaFX Application window in src/main/java/GUI/Forms directory. @the-shivam-gupta Do you want to work on this issue?

SaptarshiSarkar12 avatar Nov 26 '23 16:11 SaptarshiSarkar12

Ya assign it to me

the-shivam-gupta avatar Nov 26 '23 16:11 the-shivam-gupta

Okay @the-shivam-gupta. Thank you for your interest in working on this issue :smile:!

SaptarshiSarkar12 avatar Nov 26 '23 16:11 SaptarshiSarkar12

Hey @SaptarshiSarkar12, how would I run the java file? I have used the "java fileName" but I got an error. Would you plz help me in it.

image

the-shivam-gupta avatar Nov 27 '23 16:11 the-shivam-gupta

@the-shivam-gupta

  • Using VS Code will not help. You should at least use IntelliJ Idea Community Edition.
  • Please note that it is a JavaFX App. So, you should not use any AWT components otherwise the build will fail.

SaptarshiSarkar12 avatar Nov 27 '23 17:11 SaptarshiSarkar12

@the-shivam-gupta Did you face any problem? Were you able to do the work?

SaptarshiSarkar12 avatar Dec 08 '23 13:12 SaptarshiSarkar12

Sorry for the gap in between I have been doing other works so I won't give time for this issue and will start working on it now.

the-shivam-gupta avatar Dec 08 '23 16:12 the-shivam-gupta

It's okay @the-shivam-gupta.

SaptarshiSarkar12 avatar Dec 08 '23 17:12 SaptarshiSarkar12

when I'm trying to run the GUI application on my PC I'm encountering an error. Also, tried to reinstall and run but the error remains the same:

image

the-shivam-gupta avatar Dec 09 '23 13:12 the-shivam-gupta

@the-shivam-gupta According to this answer, you need to install Visual Studio C++ Redistributable to run the GUI application. By default it is installed in most windows machine. But in some machines, it might not have been installed. You can download the file and install it from here.

SaptarshiSarkar12 avatar Dec 09 '23 14:12 SaptarshiSarkar12