feat: Add "Requests" filter option for package name

- Add package name textbox for filtering requests (with auto-suggest)
- Make "x pending requests" a link for TU/Dev on the package details page

Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
moson-mo 2023-05-08 18:22:16 +02:00
parent acdb2864de
commit f24fae0ce6
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296
7 changed files with 109 additions and 8 deletions

View file

@ -0,0 +1,6 @@
document.addEventListener('DOMContentLoaded', function() {
const input = document.getElementById('id_filter_pkg_name');
const form = document.getElementById('todolist_filter');
const type = 'suggest-pkgbase';
typeahead.init(type, input, form);
});