openwisp / openwisp/openwisp-controller

[feature] Add pagination to Recent Commands tab on Device admin page

Open
#1,401 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

blocked enhancement
Dominant language
Python
Stars
773
Forks
315
Avg merge
2d 16h
Merged PRs (30d)
14

Description

Is your feature request related to a problem? Please describe.
The Recent Commands tab on the Device admin page shows all matching commands in a single stacked inline, which becomes impractical for devices with many commands. The current hardcoded limit (30 commands, 7-day window) was a stopgap, but removing these limits without pagination would result in an extremely long page.

Describe the solution you'd like
Investigate and implement a way to display the Recent Commands with pagination instead of loading all records at once.
The goal is to remove the hardcoded limits and show all commands for a device in a paginated, browsable interface while keeping the tab integrated into the existing Device admin workflow.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Device admin page and its Recent Commands tab, then trace the current query and the hardcoded 30-command and 7-day limits. Implement pagination while keeping the tab in the existing Device admin workflow; done means all matching commands can be browsed in pages without loading them into one long list.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
full-stack
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.