#11700 closed Uncategorized (fixed)
actions and list_editables in popups problematic
| Reported by: | Owned by: | Simon Meers | |
|---|---|---|---|
| Component: | contrib.admin | Version: | dev | 
| Severity: | Normal | Keywords: | design_ux, sprintdec2010 | 
| Cc: | Gonzalo Saavedra, sehmaschine@… | Triage Stage: | Ready for checkin | 
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
IMHO, actions should not be visible in popups. list_editable should also not work, because
- in popups, one is able to select and add elements. changing an element is not possible. so, why is it possible to change elements on the level of a change-list?
- moreover, delete_selected_confirmation doesn´t handle popups correctly.
Attachments (1)
Change History (14)
comment:1 by , 16 years ago
| Resolution: | → invalid | 
|---|---|
| Status: | new → closed | 
comment:2 by , 16 years ago
| Resolution: | invalid | 
|---|---|
| Status: | closed → reopened | 
| Triage Stage: | Unreviewed → Design decision needed | 
| Version: | 1.1 | 
In light of the recent discussions regarding the state of Django's design, I'm reopening and marking this DDN.
comment:3 by , 16 years ago
| Keywords: | design_ux added | 
|---|
comment:4 by , 16 years ago
A tip for those who need to hide actions in popups:
class FooAdmin(admin.ModelAdmin):
    def get_actions(self, request):
        actions = super(ShowInListAdmin, self).get_actions(request)
        if request.REQUEST.has_key('pop'): # hide actions in popups
            actions.clear()
        return actions
comment:5 by , 15 years ago
| Has patch: | set | 
|---|---|
| milestone: | → 1.3 | 
| Owner: | changed from to | 
| Status: | reopened → new | 
| Triage Stage: | Design decision needed → Accepted | 
| Version: | → SVN | 
by , 15 years ago
| Attachment: | 11700.diff added | 
|---|
comment:6 by , 15 years ago
| Cc: | added | 
|---|
comment:7 by , 15 years ago
| Keywords: | sprint_dec_2010 added | 
|---|
comment:8 by , 15 years ago
| Keywords: | sprintdec2010 added; sprint_dec_2010 removed | 
|---|
comment:9 by , 15 years ago
| Triage Stage: | Accepted → Ready for checkin | 
|---|
comment:10 by , 15 years ago
| Cc: | added | 
|---|
comment:11 by , 15 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
comment:13 by , 12 years ago
| Easy pickings: | unset | 
|---|---|
| Severity: | → Normal | 
| Type: | → Uncategorized | 
| UI/UX: | unset | 
  Note:
 See   TracTickets
 for help on using tickets.
    
If you have a design opinion, take it up on django-dev. As fair warning - abstract suggestions aren't going to get much traction unless you're willing to back them up with code.