Closed Bug 305526 Opened 19 years ago Closed 3 years ago

Move publish code from resources into base

Categories

(Calendar :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1710548

People

(Reporter: mvl, Unassigned)

References

Details

Attachments

(1 file)

Bug 285016 fixed publishing for calendar / sunbird, but it should be fixed for
lighting too. The code and UI can be moved into base/content.
There already is some UI in base/content.  See bug 293710 for that aspect.
Unfortunately, I do not have cycles to work on Calendar stuff these days (just as it's getting to the good part!), so I am a bad owner for these bugs.  To delete the tragically-large chunk of bugspam, search for gregorianabdication.
Assignee: shaver → nobody
Assignee: nobody → mschroeder
Version: Trunk → unspecified
Assignee: mschroeder → nobody
Attached patch Patch v1 — — Splinter Review
This patch basically copies over resources/content/publishDialog.js and resources/content/publishDialog.xul to base/content and replaces the code that is currently in base/content/calendar-publish-dialog.js and base/content/calendar-publish-dialog.xul

I left resources/content/publish.js out of this patch. For this I'll file a bug for a cvs copy resources/content/publish.js -> base/content/calendar-publish.js in case I get a positive review for the patch here.
Assignee: nobody → bugzilla
Status: NEW → ASSIGNED
Attachment #316982 - Flags: review?(mvl)
I'm against just moving over files from resources/ to base/content. I'd much rather see

* Code style fixes
* Clean up comments
* General overhaul

(In reply to comment #3)
> I left resources/content/publish.js out of this patch. For this I'll file a bug
> for a cvs copy resources/content/publish.js -> base/content/calendar-publish.js
> in case I get a positive review for the patch here.

Don't forget to change the openDialog() call in calendar-publish.js from publishDialog.xul to calendar-publish-dialog.xul.
Comment on attachment 316982 [details] [diff] [review]
Patch v1

I won't have time for this review.
Attachment #316982 - Flags: review?(mvl)
(In reply to comment #4)
> I'm against just moving over files from resources/ to base/content. I'd much
> rather see
> 
> * Code style fixes
> * Clean up comments
> * General overhaul

Philipp, how do you propose that we go from here? Should I obsolete the patch? IMO moving the files over to calendar/base/content has value in itself, as it brings us closer to obsoleting calendar/resources/content/ which gets emptier every day.

Taking over. Simon, any objections?
Assignee: bugzilla → mschroeder
Component: Internal Components → General
QA Contact: base → general
Summary: move publish ui code into base → Move publish code from resources into base
It's all yours.
Martin, whats the status of this bug? I'd like to get this one fixed as its low hanging fruit and the double code (base vs resources) just confused me. I can live with only a quick code style/comments cleanup for now.
Martin, are you still on this?
Assignee: mschroeder → nobody
Status: ASSIGNED → NEW
Assignee: nobody → mschroeder
Status: NEW → ASSIGNED
Assignee: mschroeder → nobody
Status: ASSIGNED → NEW
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: