openwisp / openwisp/openwisp-utils

[change] Refactor ReceiveUrlAdmin to inherit CopyableFieldAdmin

Open
#344 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
93
Forks
104
Avg merge
14h 10m
Merged PRs (30d)
22

Description

It would be good to change ReceiveUrlAdmin to be based on the logic of CopyableFieldAdmin to reduce repetition of JS and python logic.

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 ReceiveUrlAdmin and CopyableFieldAdmin in the openwisp-utils source, then compare their Python and JavaScript logic to identify the repeated behavior. Done means ReceiveUrlAdmin is based on CopyableFieldAdmin and the duplicated logic is removed without changing existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, javascript, python
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.