DeCOMtaminate FileLink
Categories
(Thunderbird :: FileLink, enhancement)
Tracking
(Not tracked)
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(5 files, 3 obsolete files)
239.25 KB,
patch
|
Fallen
:
feedback+
|
Details | Diff | Splinter Review |
7.90 KB,
patch
|
Fallen
:
review+
jorgk-bmo
:
approval-comm-beta+
jorgk-bmo
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
79.57 KB,
image/png
|
Details | |
249.96 KB,
patch
|
Paenglab
:
review+
Paenglab
:
ui-review+
|
Details | Diff | Splinter Review |
247.47 KB,
patch
|
Details | Diff | Splinter Review |
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Work in progress. It passes all the tests but I'm not totally happy with it. There are all sorts of unneeded bits lying around now and I think some of the methods could be improved.
What I've done, in short:
- Made a proper distinction between providers and accounts. This has been super confusing. A provider is now just an object with some fields and an "initAccount" method.
- Changed the UI so the add account dialog has gone away. I haven't made anything different happen for an unconfigured account yet, but this will need to be fixed.
- Removed as much XPCOM stuff as possible.
- Updated all the in-tree implementations and tests to match.
Assignee | ||
Comment 2•6 years ago
|
||
I've just discovered that the Box provider is broken since I changed the Hightail provider and loaded them both in the same scope. So if you try to use it you're gonna have a bad time.
Assignee | ||
Comment 3•6 years ago
|
||
Further updates. I still haven't done anything with unconfigured accounts.
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
We never use new_account_url, and plan to stop using settings_url, so I want to mark them as deprecated. I've also added a bunch of missing descriptions.
Assignee | ||
Comment 6•6 years ago
|
||
I haven't mentioned, because I've been massively sidetracked, that attachment 9041369 [details] [diff] [review] is complete apart from the Hightail management UI. There are further things I want to do (namely replace the callback mess with promises), but this is a good place to pause.
Updated•6 years ago
|
Comment 7•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
What do you want me to land here? This thing? Doesn't look like it would change anything functionally.
Assignee | ||
Comment 9•6 years ago
|
||
Attachment 9041629 [details] [diff]. It might not look like much but it will tell extension developers that what they're spending their time developing is going to disappear in a few months.
Comment 10•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/df9638be9883
Mark some cloud file provider properties as deprecated in the schema. r=philipp DONTBUILD
Updated•6 years ago
|
Comment 11•6 years ago
|
||
Assignee | ||
Comment 12•6 years ago
|
||
Assignee | ||
Comment 13•6 years ago
|
||
(In reply to Philipp Kewisch [:Fallen] [:📆] from comment #7)
<script type="application/javascript" src="chrome://messenger/content/protovis-r2.6-modded.js"/> <script type="application/javascript"
src="chrome://messenger/content/cloudfile/Box/management.js"
If you can make any of these script type="module" I think that will help us
further on when it is used more widely.
Neither are modules, although I don't really understand your point so maybe I'm missing something.
Assignee | ||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
Assignee | ||
Comment 16•6 years ago
|
||
That aside, importing a file for side effects sounds a bit strange to me. Maybe consider exporting something and then registering in the caller?
It's hardly without precedent, and exporting something just to use it once is rather messy in this case.
Assignee | ||
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
This is the same patch with the CSS changes added for Mac and Windows.
Yes, I don't think a user will have too many different providers installed. But could the Add button be removed for the provider that is already added? Then only the not added providers are shown to add.
WeTransfer shows no icon in the list and on the button.
Comment 19•6 years ago
|
||
(In reply to Richard Marti (:Paenglab) from comment #18)
Created attachment 9044298 [details] [diff] [review]
1511945-cloudfile-decom-4.diffThis is the same patch with the CSS changes added for Mac and Windows.
Yes, I don't think a user will have too many different providers installed. But could the Add button be removed for the provider that is already added? Then only the not added providers are shown to add.
WeTransfer shows no icon in the list and on the button.
I don't know if it is reasonable, but I could see someone adding a "home" and "work" account for the same provider? I'm not sure you'd even be able to tell the difference in the UI anywhere though.
Comment 20•6 years ago
|
||
(In reply to Patrick Cloke [:clokep] from comment #19)
I don't know if it is reasonable, but I could see someone adding a "home" and "work" account for the same provider? I'm not sure you'd even be able to tell the difference in the UI anywhere though.
Good catch. The label is editable.
Comment 21•6 years ago
|
||
My concern is that we'd end up with button overflow if the user does add more than just a few providers, or their Thunderbird is resized fairly small. The UI should behave gracefully if the user does something we don't expect, as far as possible. Could we maybe use buttons as is if there are less than 4 providers, and turn it into a menu if there are more? (4 being arbitrary)
We will want to allow for more than one account per provider, so we might need to add a provider-specified differentiator to the list.
Assignee | ||
Comment 22•6 years ago
|
||
(In reply to Philipp Kewisch [:Fallen] [:📆] from comment #21)
My concern is that we'd end up with button overflow if the user does add more than just a few providers, or their Thunderbird is resized fairly small. The UI should behave gracefully if the user does something we don't expect, as far as possible. Could we maybe use buttons as is if there are less than 4 providers, and turn it into a menu if there are more? (4 being arbitrary)
Yes, but I'm going to ship this first.
Assignee | ||
Comment 23•6 years ago
|
||
(In reply to Richard Marti (:Paenglab) from comment #18)
WeTransfer shows no icon in the list and on the button.
I see this now and I'm certain it's not caused by this bug.
Comment 24•6 years ago
|
||
When is the second part going to land? We're thinking about TB 66 beta 2.
Comment 25•6 years ago
|
||
OK, the second part has string changes, so I'll just take the first part to beta. Sorry about the noise.
Assignee | ||
Comment 26•6 years ago
|
||
I do not want the second part on beta anyway.
Assignee | ||
Comment 27•6 years ago
|
||
A few changes.
Comment 28•6 years ago
|
||
TB 66 beta 2:
https://hg.mozilla.org/releases/comm-beta/rev/543cc9e2a444a74e035224aca7f1ea77bbcfe05d (part 1).
Comment 29•6 years ago
|
||
Assignee | ||
Comment 30•6 years ago
|
||
I forgot this had leave-open. Will do stage 2 in another bug.
Description
•