Review Request 120005: Plugins specific settings
Ronny Yabar Aizcorbe
ronnycontacto at gmail.com
Thu Sep 11 01:39:20 UTC 2014
> On Aug. 30, 2014, 7:04 p.m., Aleix Pol Gonzalez wrote:
> > src/main/res/values/strings.xml, line 76
> > <https://git.reviewboard.kde.org/r/120005/diff/2/?file=308640#file308640line76>
> >
> > Is that really something you'd want as a configuration? Maybe the UI should just be extended?
>
> Albert Vaca Cintora wrote:
> I like the patch to be able to have settings per-plugin, and even though I agree with you that this doesn't make much sense as a setting, I can't see a way to put it in the normal UI. Do you have any idea?
>
> Aleix Pol Gonzalez wrote:
> A long tap could open a dialog asking how much it needs to jump, for example.
>
> Ronny Yabar Aizcorbe wrote:
> Yes, because maybe in the future, there will be other settings to add.
>
> Aleix Pol Gonzalez wrote:
> That's not how engineering works. You don't do things in case you need them eventually, but you do the things you need.
>
> If you guys agree this is needed I won't oppose, but I don't really see it yet.
Aleix. If you think this is not neccesary at the moment, that's fine. However, I disagree and this is my position:
Having settings per-plugin is something we are going to need in the near future, IMHO. We just need to enable/disable plugin settings.
For the Mpris plugin fast forward/rewind, I just followed the Android Design Settings Guidelines[0]:
It is actually a user preference? (Information and actions are not user preferences) Yes.
Would users change it a lot? No.
Is there a right answers for the majority of users? No.
"Make it a setting".
Dependency: "Use this pattern for a setting that changes availability based on the value of another setting".
If you enable a Plugin settings with this change, it opens another subscreen: "so that your main settings screen isn't cluttered by lots of disabled items".
In the case of the Mpris plugin, I think we should change that hardcoded time value. I asked some KDE Connect users and they would like this feature, it's used as a setting in many apps. Imagine if you are watching a movie, playing a long multimedia file, etc.
I choose the "Multiple choice" pattern: "Use this pattern for a setting that needs to present a discrete set of options, from which the user can choose only one."
Anyway, please, tell me if this goes or not, to start working on my other patches :)
Thanks
[0] http://developer.android.com/design/patterns/settings.html
- Ronny
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120005/#review65566
-----------------------------------------------------------
On Aug. 30, 2014, 11:04 a.m., Ronny Yabar Aizcorbe wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120005/
> -----------------------------------------------------------
>
> (Updated Aug. 30, 2014, 11:04 a.m.)
>
>
> Review request for kdeconnect.
>
>
> Repository: kdeconnect-android
>
>
> Description
> -------
>
> Added support for specific plugin UI settings. Added interval time preferences to fast forward or rewind a multimedia file instead of harcording the time.
>
>
> Diffs
> -----
>
> src/main/AndroidManifest.xml 499e92e
> src/main/java/org/kde/kdeconnect/Plugins/BatteryPlugin/BatteryPlugin.java 7761c21
> src/main/java/org/kde/kdeconnect/Plugins/ClibpoardPlugin/ClipboardPlugin.java 68315ff
> src/main/java/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java 491e694
> src/main/java/org/kde/kdeconnect/Plugins/MprisPlugin/MprisActivity.java b219e07
> src/main/java/org/kde/kdeconnect/Plugins/MprisPlugin/MprisPlugin.java 3884392
> src/main/java/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java adc4825
> src/main/java/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java 51d2028
> src/main/java/org/kde/kdeconnect/Plugins/Plugin.java a91016a
> src/main/java/org/kde/kdeconnect/Plugins/PluginFactory.java 8d046cc
> src/main/java/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java eee7bf9
> src/main/java/org/kde/kdeconnect/Plugins/SharePlugin/SharePlugin.java b0c28cb
> src/main/java/org/kde/kdeconnect/Plugins/TelephonyPlugin/TelephonyPlugin.java d26409a
> src/main/java/org/kde/kdeconnect/UserInterface/PluginSettingsActivity.java PRE-CREATION
> src/main/java/org/kde/kdeconnect/UserInterface/SettingsActivity.java e1599c5
> src/main/res/values/arrays.xml PRE-CREATION
> src/main/res/values/strings.xml bec4a22
> src/main/res/xml/plugin_mpris_preferences.xml PRE-CREATION
>
> Diff: https://git.reviewboard.kde.org/r/120005/diff/
>
>
> Testing
> -------
>
> Checked and tested. Works well.
>
>
> Thanks,
>
> Ronny Yabar Aizcorbe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20140911/0577b774/attachment.html>
More information about the KDEConnect
mailing list