Page MenuHomePhabricator

Improve the layout and speed of the Admin interface
Open, LowPublic

Description

There are two problems with Wikilink's admin interface:

  • Some pages are very slow to load, particularly those which fetch the entire user list
  • It's slow to navigate because we don't keep any data in-line in other apps.

To solve the load speed issue we could load user data via raw_id_fields (https://docs.djangoproject.com/en/2.2/ref/contrib/admin/#django.contrib.admin.ModelAdmin.raw_id_fields) on the organisation page.

To improve the layout, we should have Collections be on the Organisation view via InlineModelAdmin. Likewise, we should add URLPatterns inline on Collection pages. See https://docs.djangoproject.com/en/2.2/ref/contrib/admin/#inlinemodeladmin-objects

Event Timeline

Samwalton9 triaged this task as Low priority.Jul 29 2019, 12:41 PM
Samwalton9 created this task.
Samwalton9 added a project: good first bug.
17ncs1 added a subscriber: 17ncs1.Aug 28 2019, 2:44 PM
17ncs1 removed a subscriber: 17ncs1.
Urbanecm added a subscriber: Urbanecm.

Hello everyone, I think this task is too broad for Google Code-In. Tasks should be clear in what is required to get the work approved, so the student knows what they need to do. You can, however, split this into several tasks, one per each improvement. You can inspire in task's description at T230935.

Samwalton9 added a comment.EditedTue, Oct 15, 2:53 PM

Great point! I'll make this clearer - haven't had a chance to do so for this year's GCI yet.

Samwalton9 renamed this task from Improve Admin interface to Improve the layout and speed of the Admin interface.Wed, Oct 16, 7:04 AM
Samwalton9 updated the task description. (Show Details)