Use new Drag'n'Drop API in Calendar
Categories
(Calendar :: Internal Components, task, P1)
Tracking
(Not tracked)
People
(Reporter: sipaq, Assigned: khushil324)
References
Details
Attachments
(2 files, 6 obsolete files)
29.97 KB,
patch
|
khushil324
:
review+
|
Details | Diff | Splinter Review |
19.35 KB,
patch
|
khushil324
:
review+
|
Details | Diff | Splinter Review |
Comment 1•16 years ago
|
||
Reporter | ||
Comment 2•16 years ago
|
||
Comment 3•16 years ago
|
||
Comment 4•16 years ago
|
||
Comment 5•16 years ago
|
||
Comment 6•16 years ago
|
||
Updated•15 years ago
|
Reporter | ||
Comment 7•14 years ago
|
||
Comment 8•14 years ago
|
||
Comment 9•13 years ago
|
||
Comment 10•12 years ago
|
||
Comment 11•12 years ago
|
||
Comment 12•12 years ago
|
||
Comment 13•12 years ago
|
||
Comment 14•8 years ago
|
||
Comment 15•8 years ago
|
||
Comment 16•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 17•5 years ago
|
||
Assignee | ||
Comment 18•5 years ago
|
||
I found that drag and drop function is not working for the calendar sidebar i.e. today pane. And this is the case for both trunk and ESR 68. Do you know any bugs filed for this?
Comment 19•5 years ago
|
||
Bug 419343 and bug 536526 are the ones I find from a quick search. (I don't know what is expected wrt dnd and the today pane.)
Assignee | ||
Comment 20•5 years ago
|
||
Assignee | ||
Comment 21•5 years ago
|
||
Apply this patch over Bug-437711_improve-dnd-today-pane-0.patch.
In the Calendar, we can not attach any file in the attachment for the event or task. We can only attach the “URI” in the attachments as iCal/CalDav supports that only. So right now, If you drop any file, it will take a URI of the file. I and Paul had a discussion on the Matrix. We found out that we can attach any file as inline binary encoded content according to iCal/CalDav documentation: https://tools.ietf.org/html/rfc2445#section-4.8.1.1. I am going to open a bug for this and carry on the discussion there.
Assignee | ||
Updated•5 years ago
|
Comment 22•5 years ago
|
||
Assignee | ||
Comment 23•5 years ago
|
||
Assignee | ||
Comment 24•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 25•5 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #22)
should this be transData.data?
It will be the same. I have just changed the variable name and used the previously writen code.
Updated•5 years ago
|
Comment 26•5 years ago
|
||
Updated•5 years ago
|
Comment 27•5 years ago
|
||
Comment 28•5 years ago
|
||
Assignee | ||
Comment 29•5 years ago
|
||
Assignee | ||
Comment 30•5 years ago
|
||
Assignee | ||
Comment 31•5 years ago
|
||
(In reply to Paul Morris [:pmorris] from comment #26)
Let's be consistent about "flavour" vs "flavor", although I see the current
code already is not consistent... hmpf, well, if we can make it consistent
at least within these functions while we're here, let's do that. (Either
spelling is fine with me, as long as we stick with one here.)
It will create confusion in these patches. I am planning to submit a 3rd patch with these changes.
Comment 32•5 years ago
|
||
Comment 33•5 years ago
|
||
Comment 34•5 years ago
|
||
(In reply to Khushil Mistry [:khushil324] from comment #31)
It will create confusion in these patches. I am planning to submit a 3rd patch with these changes.
Makes sense to me, thanks.
Assignee | ||
Comment 35•5 years ago
|
||
(In reply to Paul Morris [:pmorris] from comment #32)
I tested it out by dragging: 1. email messages from within TB, 2. links from
those email messages, 3. files from an OS window, 4, url string from a text
editor outside of TB. When I dragged these items to the today pane it
worked as expected for 1, 2, and 3 (the new event or task dialog opened with
the items included). Number 4 didn't work for me anywhere. I'm not
positive that 4 is even expected to work? When dragging anything to the
calendar and task buttons it did not work consistently for me. It seems
these are not regressions but things that also weren't working before
(right?) so let's work on them in a follow-up bug or bugs.
Now I realized, I am not able to see "calendarTaskButtonDNDObserver" and "calendarCalendarButtonDNDObserver" being used in the task and calendar buttons. They are just used in Today Pane Sidebar.
Assignee | ||
Comment 36•5 years ago
•
|
||
(In reply to Paul Morris [:pmorris] from comment #33)
No changes here right? Just rebased I assume? I looked but didn't notice
anything that changed from the previous version.
Yes, just the rebasing.
Assignee | ||
Comment 37•5 years ago
|
||
Assignee | ||
Comment 38•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 39•5 years ago
|
||
First, apply Bug-437711_improve-dnd-today-pane-3.patch and then Bug-437711_use-new-dnd-calendar-3.patch.
Comment 40•5 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/40262b53174b
Improve dnd operations in Today Pane. r=pmorris
https://hg.mozilla.org/comm-central/rev/9aa142882f18
Use new Drag'n'Drop API in Calendar. r=pmorris
Updated•5 years ago
|
Description
•