-
Notifications
You must be signed in to change notification settings - Fork 2
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
Investigate integration with SFOS Forum Viewer #36
Comments
@szopin, would you be open to implementing something like a small D-Bus api, or SFOS Share Action receiver in SFV, so that Bugger could call native SFV bits? That would be a bit cleaner (well...) than duplicating code. |
Whatever works for you is fine by me, sadly way out of my league I'm afraid. I'm happy to accept any PRs, just won't be able to help as have 0 experience with dbus outside of playing with it in terminal (action receiver first time I hear of) |
Yes I dont think that's an official term, I mean the thing that sits on the other end of a Sailfish.Share ShareAction and handles the data. I don't know whether there is documentation about it anywhere, but one can look at how the email app does it:
|
Interesting, if it's doable from QML only then a big plus as would increase my available troubleshooting time immensely. Text data should be no problem, not sure about file uploads, for picture upload had to workaround with imgbb as they accept base64 encoded data and qml has no support for binary strings, for logs maybe some kind of online pastebin could be used and links automatically generated (don't think discourse has attachments support, looks like only images) |
Yeah I have explored a couple of avenues, in that branch and a couple of local ones. There's issue #29 but it's stalled by the fact that I can launch email either pre-filling subject (mailto:), or adding files (ShareAction) but not both. Tried to work around the second by faking the email body but doing things like compression or MIME-encoding in JS is painful (for the user/CPU -- there's plenty of ready-to-use JS libraries that can do it) for non-trivial string lengths/file sizes. |
A third option could be a MIME scheme handler. If SFV registered itself as a handler for either 'https://forum.sailfishos.org' or maybe a custom scheme like
|
If we go with this custom scheme is probably better to avoid hijacking normal links to the forum |
Well, it could also be a viewed as a feature... |
With no UI accessible way of overriding those 'features' it kinda gets messy in sfos when every app registers itself (on my old jolla C I would get like 5-6 options and then due to some bug even Browser started showing twice... Not a good experience)
…On Thursday, 19 January 2023, Peter G. wrote:
> If we go with this custom scheme is probably better to avoid hijacking normal links to the forum
Well, it could also be a viewed as a feature...
--
Reply to this email directly or view it on GitHub:
#36 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***
--
Sent from my Jolla
|
Inspired by: szopin/harbour-sfos-forum-viewer#63 (comment)
Things like:
could be lifted from/done through SFV instead of a NIH implementation.
The text was updated successfully, but these errors were encountered: