Page MenuHomePhabricator

Upload Wizard: Allow integration of "community tools"
Open, LowPublicFeature

Description

I think the following situations should trigger an event: (arguments to pass)

  • Switch to a new page (page-DOM-object, page caption)
  • Success:
    • Upload (file name, UI-upload-item-DOM-object)
    • Publish (file name, UI-upload-item-DOM-object)
  • Error:
    • Upload (file name, UI-upload-item-DOM-object, raw API-response)
    • Publish (file name, UI-upload-item-DOM-object, raw API-response)

... and perhaps more like "before publish"

How an implementation could look like? What do I imagine:
$(document).triggerHandler('upwiz',
'community event',
'error',
'publish',
upload.name,
<DOM NODE>,
jqXHR.response
)


Version: unspecified
Severity: enhancement

Details

Reference
bz38428

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:44 AM
bzimport added a project: UploadWizard.
bzimport set Reference to bz38428.
bzimport added a subscriber: Unknown Object (MLST).

Bug 38427 was closed, hence this gets the generic heading. Events or hooks, handlers or whatever is required but in a well-thought frame. Description was a suggestion, not more.

MarkTraceur lowered the priority of this task from Medium to Low.Dec 3 2015, 6:23 PM

I like the idea, but we really need to fix UploadWizard before expanding it like this.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:14 AM
Aklapper removed a subscriber: wikibugs-l-list.