aurweb/templates/partials
Kevin Morris fc28aad245
feat(FastAPI): add pkgbase comments (new, edit)
In PHP, this was implemented using an /rpc type 'get-comment-form'.
With FastAPI, we've decided to reorganize this into a non-RPC route:
`/pkgbase/{name}/comments/{id}/form`, rendered via the new
`templates/partials/packages/comment_form.html` template.

When the comment_form.html template is provided a `comment` object,
it will produce an edit comment form. Otherwise, it will produce a new
comment form.

A few new FastAPI routes have been introduced:

- GET `/pkgbase/{name}/comments/{id}/form`
    - Produces a JSON response based on {"form": "<form_markup>"}.
- POST `/pkgbase/{name}/comments'
    - Creates a new comment.
- POST `/pkgbase/{name}/comments/{id}`
    - Edits an existing comment.

In addition, some Javascript has been modified for our new routes.

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-10-02 16:59:10 -07:00
..
account add /accounts/ (get, post) routes 2021-07-01 11:08:56 -07:00
packages feat(FastAPI): add pkgbase comments (new, edit) 2021-10-02 16:59:10 -07:00
tu Eradicate the dedupe_qs filter 2021-08-31 14:44:29 -07:00
widgets feat(FastAPI): add templates/partials/widgets/pager.html 2021-09-19 12:44:19 -07:00
account_form.html fix: /account/{name}/edit Account Type selection 2021-09-08 17:36:37 -07:00
archdev-navbar.html [FastAPI] remove unused Requests navbar item 2021-06-26 01:10:20 -07:00
body.html port over base HTML layout from PHP to FastAPI+Jinja2 2021-06-05 19:50:51 -07:00
error.html add passreset routes 2021-06-05 20:11:17 -07:00
footer.html port over base HTML layout from PHP to FastAPI+Jinja2 2021-06-05 19:50:51 -07:00
head.html FastAPI: use internal typeahead and remove jquery 2021-06-29 22:56:48 -07:00
layout.html FastAPI: use internal typeahead and remove jquery 2021-06-29 22:56:48 -07:00
meta.html port over base HTML layout from PHP to FastAPI+Jinja2 2021-06-05 19:50:51 -07:00
navbar.html port over base HTML layout from PHP to FastAPI+Jinja2 2021-06-05 19:50:51 -07:00
set_lang.html port over base HTML layout from PHP to FastAPI+Jinja2 2021-06-05 19:50:51 -07:00