tmcw / stickshift Goto Github PK
View Code? Open in Web Editor NEWA clean & modern SQL data interface.
License: ISC License
A clean & modern SQL data interface.
License: ISC License
Need to uncouple state between components to fix this. Or possibly use PureRenderMixin
/cough / cc @yhahn /////
We can check if the x-column has duplicate values and remove the stacked-bars option preemptively.
This would be a good, clean place to try out redux for the first time.
This is more an issue for people who are not so advanced yet with node.
I didn't have browserify
installed so it took me a while to get stickshift running. Maybe add npm install -g browserify
as a requirement in README.md
?
For those new to browserify
(like me): run browserify site.js -o bundle.js
before running node example_server.js
.
(Probably the same for watchify
. :))
When you click lists, and there aren't any saved queries, the Error retrieving queries: 404 appears. To the left there is an X that is basically pointless. To hide the error, you have to reclick list.
Is this even a kind of thing this tool should think about? Listing and displaying tables varies significantly between mysql/postgres/sqlite so it isn't an easy fix.
Something like
StickShift(element, config);
Charted is the gold standard, need to do the math to make bar spacing perfecto
I'm getting zero byte downloads of both csv and json exports.
could be fun, basically this requires some pure-javascript sql server implementation
This is pretty doable - pull lat and lon fields from a result, display with mapbox gl.
I modified example_server.js
to query my database, and that is working fine. However, I am having trouble connecting to my GitHub repo branch to store the queries.
This is my modified site.js
:
var Stickshift = require('./src/index.js');
var cookie = require('cookie');
Stickshift(
document.getElementById('page'),
{
endpoint: 'http://localhost:3000/query',
branch: 'db',
username: 'tanner-agi',
access_token: 'MYGITHUBTOKEN',
repo: 'example-repo'
});
Clicking the List button returns "No Queries Saved" before quickly switching to "Error retrieving queries: 404".
I double checked that my repo and the branch are created. I think my issue lies in the access_token
. In my GitHub account, I went to Settings -> Applications -> Personal Access Tokens and created a new token, which is what I set to access_token
. I tried giving the application token various levels of permissions, but no luck. I noticed that in the README, access_token
is referred to as token
, so I tried that but it still didn't work.
Should I be using GitHub's Personal Access Tokens? Or should I be registering a developer application?
@tmcw I tried to swap out the basemap on a fork and then run stickshift-app locally with the dependency updated. Unfortunately the old tileset lives on like a ghost, now unmentioned in the codebase.
Is this like the world's most aggressive tile cache or is something else going on?
It would be nice to not require sqlite3 as a dependency since it's only used for the dev server
kind of gnarly but would make installation straightforwarder
Upstream: https://github.com/mapbox/hubdb/issues/5
Like descriptions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.