#1634 closed defect (bug) (fixed)
Admin interface should be more friendly and less time consuming [AJAX]
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.6 |
Component: | Administration | Keywords: | AJAX JS admin bg|has-patch bg|2nd-opinion |
Focuses: | Cc: |
Description
The admin panels that consist largely of tables or lists of data can be made more dynamic with some happy AJAX. Ideally, both adding new items and deleting pre-existing ones should be done on the fly without a page reload.
The attached patch allows for on the fly deletion of posts, pages, categories, comments, moderated comments, links and link categories. Complete with pretty colors.
TODO: Addition of categories, links and link cats (will wait until links get overhauled).
TODO: Wrap HTML calls to JS in if statements to prevent loading of superfluous content on pages that don't need it.
NOTE: New PHP file does not check_admin_referer()!
Attachments (2)
Change History (9)
#3
@
20 years ago
Great idea!
Does it have no-JS fallback?
It'd be great to be able to go through comments and do stuff like "Set as spam" or "Approve" on the fly.
Also, we could add post_meta on the fly.
#4
@
20 years ago
It should fall back on no-JS and on no-AJAX.
post_meta and the like will likely happen eventually. This ticket will just track addition/deletion from the above lists.
#5
@
20 years ago
list-manipulation2.diff makes list deletion compatible with IE.
As an aside, I titled this ticket miserably :)
grab trs or lis from id="the-list" or "the-list-x" ("x" for "extra" - splices some bits off). Do things with them.