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

Allow disabling default storage sources #76

Open
Splitwirez opened this issue Jun 3, 2020 · 6 comments
Open

Allow disabling default storage sources #76

Splitwirez opened this issue Jun 3, 2020 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@Splitwirez
Copy link
Collaborator

Strange as this may sound, not everyone is going to want all of the storage sources Jaya currently includes. They may not use DropBox, for example. I think we should allow the user to turn these storage sources off, to accomodate this need.

@Splitwirez Splitwirez added the enhancement New feature or request label Jun 3, 2020
@waliarubal
Copy link
Owner

This is in my mind, I will extend the plugin (storage source providers) infrastructure to enable/disable them via settings.

@waliarubal waliarubal self-assigned this Jun 3, 2020
@Splitwirez
Copy link
Collaborator Author

Excellent. I think onscreen ToggleSwitches next to the entries in the Plugins list would be a good approach for exposing the option to the user in the UI.

@waliarubal
Copy link
Owner

Can you style checkbox to look like toggle switch?

@Splitwirez
Copy link
Collaborator Author

Can you style checkbox to look like toggle switch?

ToggleSwitches are functionally different from CheckBoxes - you can drag/swipe a ToggleSwitch to the left or right end to explicitly set it to one state or the other, which is not true of CheckBoxes. I already intend to port my WPF ToggleSwitch control to Avalonia for my Mechanism library, so perhaps we could use that implementation once it takes shape?

@waliarubal
Copy link
Owner

Okay, we just need true and false state of it. Checkbox has an intermediate too which won't be of any use for us in this implementation. I will achieve this with checkbox for now which we can replace with switch control once you have done it.

But I pretty much feel that checkbox can be styled as switch based on IsChecked property ignoring the intermediate state or treating it as false.

@Splitwirez
Copy link
Collaborator Author

That should work for now, yes.

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

No branches or pull requests

2 participants