Add a few flourishes to the Datasette UI
Project description
datasette-ui-extras
Add a few flourishes to the Datasette UI.
This plugin collects UI tweaks that people have proposed for Datasette.
Compared to core Datasette, this plugin is more willing:
- to use features that require more modern browsers
- to add features that require storing state (e.g., a visitor's preferences about how to view a table)
- to require JavaScript
- to release UI changes
I think these are generally reasonable tradeoffs -- as a plugin that users opt-in to, we have the luxury of being more aggressive in our minimum requirements and release cadence.
If Datasette makes a breaking change, the plugin may stop working. In that case, you can uninstall the plugin while waiting for a fix.
OK, that's enough disclaimers.
Installation
Install this plugin in the same environment as Datasette.
datasette install datasette-ui-extras
Usage
TBD
Features
- facets are re-styled (inspired by datasette#1159)
- tables have "sticky" headers (
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-ui-extras
python3 -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for datasette_ui_extras-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d07b72938ead1486c7857a1d5360df8cefe3c0cbcca307866e0f5dd5e576b3aa |
|
MD5 | ef8b2233ec8f8c79b98dd71a6105711d |
|
BLAKE2b-256 | ea6dc32bb085e8bb128bf54abe06cdcb1bdb83b3efd70d85eb8b3eca2ad1a716 |