]> git.ipfire.org Git - thirdparty/patchwork.git/commit
views: Move js code to separate file
authorRaxel Gutierrez <raxel@google.com>
Mon, 23 Aug 2021 18:28:30 +0000 (18:28 +0000)
committerStephen Finucane <stephen@that.guru>
Fri, 1 Nov 2024 15:47:20 +0000 (15:47 +0000)
commit0cea2e4a9f418b2da7d8ca2a0236563ae737415c
tree56ec4cfc6bc418a5c4c34f43780778e1a076b6c7
parent09613eb541a59d9fd64f0e34908a86b9e037f8dd
views: Move js code to separate file

Move patch-list related JS code to a new patch-list.js file, to
make the JavaScript easy to read and change in one place. This makes
automatic code formatting easier, makes it more straightforward to
measure test coverage and discover opportunities for refactoring, and
simplifies a possible future migration to TypeScript if the project
chooses to go in that direction.

No user-visible change should be noticed.

Signed-off-by: Raxel Gutierrez <raxel@google.com>
Signed-off-by: Stephen Finucane <stephen@that.guru>
[stephenfin: Addressed merged conflicts]
htdocs/README.rst
htdocs/js/patch-list.js [new file with mode: 0644]
patchwork/templates/patchwork/partials/patch-list.html