Comments (1)
I think I'd keep this off by default.
This could work by JavaScript adding a "refresh every 10s / 60s / 5m" UI widget to each cell - when selected, every x seconds a POST request is made back to the server with just the SQL for that cell (or maybe the cell reference if it's a saved dashboard - support this just for saved dashboards may be easier).
The backend knows how to return the rendered widget template for just this one item, which can then be innerHTML
updated on the page.
from django-sql-dashboard.
Related Issues (20)
- The dashboard admin list view links to change views that the user may not have permission to use HOT 1
- Document permissions needed to edit a dashboard
- Make "export all to csv/tsv" button available on saved dashboards to users with execute_sql permission HOT 3
- If a column is called "group" (or other reserved words) the example link to the table doesn't work HOT 11
- Smarter sorting that doesn't keep nesting the sorts HOT 4
- Update the screenshot in the documentation to show the new cog menus HOT 3
- Run tests against multiple PostgreSQL versions HOT 15
- Greater ability to customise widgets
- Users without "execute_sql" can potentially view dashboards, but can't see a list of them
- Dashboards with "group" permission can't be seen by superusers not in the group
- Detect if write queries are possible and show an ugly warning message HOT 1
- Error: Object of type datetime is not JSON serializable HOT 6
- Support non-string parameters and default values HOT 1
- Allow the <br> tag in HTML
- Error on initial install: 'relation "django_sql_dashboard_dashboard" does not exist' HOT 1
- Figure out a way to display a title for individual queries/charts HOT 1
- Ability to customize individual cell rendering within tables - like widgets but at the table cell level HOT 6
- Error during "docker-compose up"
- .json extension to get JSON of a dashboard HOT 10
- Expose errors in .json mode HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-sql-dashboard.