Staging instance, all changes can be removed at any time

Skip to content

Draft: Experimental: Use Django tags to create UI components

Jayesh requested to merge jayeshv/swh-web:exp-tags into master

Create re-usable UI components with Django tags.

example: Simple single item revision widget and a paginated directory and search widgets. Base component types are: Single Item Component and Paginated Component. Components are capable of fetching and rendering its own data and are Context aware. GraphQL is used as the backend.

This approach could improve code re-usability and can be faster, at least in some cases. It will also make pagination simpler with a re-usable pattern along with template cache.

2023-12-05T13_34_54_788997220+01_00

2023-12-05T13_35_35_329676193+01_00

Edited by Jayesh

Merge request reports

Loading