Skip to content

AutoComplete, Dropdowns and User Form Reordering in Django Admin #36704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

musanaeem
Copy link

Related Issue

Description

This PR adds the following to the admin panel:

  • Reordering of User Page (Student Application) and addition of sections to make it look more organized and cleaner.
  • Addition of Autocomplete fields in the Waffle Utils application in the Waffle Flag and Course ID fields.
  • Addition of Autocomplete fields in the Site Configuration application in the custom 'Enabled Features' field. These values will be used to create the site values json. Additionally custom entries can also be made using the 'Extra Site Values' field.
  • Addition of Dropdown and Autocomplete fields in the Course Date Signals application in the Org and Org Course/Course fields respectively.

These changes are to improve user experience when using the admin panel for the 'Student', 'Waffle Utils', 'Site Configuration' and 'Course Date Signals' Applications.

Screenshots

Student:

  • Categorized Fields into Sections
image image image

Waffle Utils:

  • Waffle Flag Autocomplete
image - Course ID Autocomplete image

Site Configuration:

  • Autocomplete
image - Auto-compute Site Values Before Save image After Save image

Course Date Signals:

  • Dropdown Addition
image
  • Autocomplete
image image

Supporting information

N/A

Testing instructions

  • Check out the musa/admin-revamp-dropdown branch.
  • Install the required package by running either:
    1. pip install -r requirements/dev.txt, or
    2. pip install django-autocomplete-light inside your container.
  • Navigate to http://local.openedx.io:8000/admin/auth/user/.
  • Try adding a new user or updating an existing one to test the single select Autocomplete functionality.

Deadline

None

Other information

  1. This change adds one package to the environment:
  • django-autocomplete-light

Test Cases

  • Pending

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants