aurweb/templates/partials/packages
Kevin Morris 5cf7062092
feat(FastAPI): add /packages (get) search
In terms of performance, most queries on this page win over
PHP in query times, with the exception of sorting by Voted or
Notify (https://gitlab.archlinux.org/archlinux/aurweb/-/issues/102).
Otherwise, there are a few modifications: described below.

* Pagination
    * The `paginate` Python module has been used in the FastAPI
      project
      here to implement paging on the packages search page. This
      changes how pagination is displayed, however it serves the
      same purpose. We'll take advantage of this module in other
      places as well.
* Form action
    * The form action for actions now use `POST /packages` to
      perform. This is currently implemented and will be
      addressed in a follow-up commit.
* Input names and values
    * Input names and values have been modified to satisfy the
      snake_case naming convention we'd like to use as much as
      possible.
    * Some input names and values were modified to comply with
      FastAPI Forms: (IDs[<id>]) -> (IDs, <id>).

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-09-19 12:44:19 -07:00
..
widgets [FastAPI] Modularize homepage and add side panel 2021-08-17 19:58:32 -07:00
actions.html jinja2: rename filter 'urlencode' to 'quote_plus' 2021-08-31 13:28:54 -07:00
comment.html implement /packages/{name} as its own route 2021-07-27 20:48:40 -07:00
comments.html [FastAPI] bugfix: remove use of scalar() in plural context 2021-08-17 20:59:38 -07:00
details.html routers.packages: Simplify some existence checks 2021-08-09 23:42:54 -07:00
package_metadata.html [FastAPI] include DepArch in dependency list 2021-08-30 18:48:53 -07:00
pkgbase_metadata.html add /pkgbase/{name} route 2021-07-27 20:48:40 -07:00
requests.html routers.html: add authenticated dashboard to homepage 2021-08-17 21:59:13 -07:00
results.html fix(FastAPI): voted/notified query efficiency 2021-09-19 00:34:08 -07:00
search.html feat(FastAPI): add /packages (get) search 2021-09-19 12:44:19 -07:00
search_actions.html feat(FastAPI): add /packages (get) search 2021-09-19 12:44:19 -07:00
search_results.html feat(FastAPI): add /packages (get) search 2021-09-19 12:44:19 -07:00