-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Direct links to Google Drive/Dropbox configuration pages from external storage config #22214
Conversation
By analyzing the blame information on this pull request, we identified @icewind1991, @jancborchardt, @Henni and @Xenopathic to be potential reviewers |
@Xenopathic great idea. It would be better if it was a link, because it's more compact and also intuitively tells you that it will redirect you to some page. I don't like it being in the middle of the config, it's messy. Maybe first try making it a link, then maybe with some CSS hackery we can teleport the link to some other location |
great idea! 👍 |
Nice! @Xenopathic since it’s a design-related pull request, do you mind putting in a screenshot so @owncloud/designers and other designers can more easily review? Thanks! |
@PVince81 A link is the wrong item to use IMHO, since the behaviour of the button changes depending if there's an app key/client ID set or not. If not, it takes the user to the place they can configure a new Dropbox/GDrive app. Otherwise, it takes them directly to that app (at least with Dropbox). This also means it won't work just being at the top, above all storages... How it looks at the moment: How I want it to look: |
Thanks @Xenopathic, early-headsup and think of shared hosting users are always good. |
@Xenopathic in this case it could still be a link, but the text needs to change depending on the conditions you mentioned. It's like two links, but only one is displayed at a time. |
We're past feature freeze, moving this to 9.1 |
@Xenopathic 9.1 is open now, can you continue this ? 😄 |
1121fc6
to
b61fdbe
Compare
I like that better! 👍 |
Maybe it should rather be an icon-help instead of icon-settings, as we use that throughout settings for external doc links. :) |
@jancborchardt I considered it, but I feel that the settings icon makes more sense, since you want to configure the service-side of the storage. It's not a documentation link. |
Ok, works for me. |
@DeepDiver1975 Ready to merge |
Conflicts ahead 😦 |
dcc2a55
to
ac27163
Compare
@Xenopathic you forgot to shout "rebased!" |
Tested, works 👍 Great addition! |
@carlaschroder you might want to add a hint for this in the docs #22214 (comment) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
There always seemed to be a disconnect between setting up a Google Drive/Dropbox storage on ownCloud and setting it up on the hosting provider (setting up an app etc). This PR adds a button to those backends that open the relevant configuration page directly, making it easier to use. @carlaschroder You'll probably like this
However, there's a problem that the buttons appear at the beginning of the configuration section, before the authentication fields. There's probably some fancy CSS that would fix it, or maybe we need to create a
div
within the configuration cell that always remains at the end, but I don't have time to implement that. I wanted to get the changes as far as I got pushed here.cc @PVince81 @icewind1991