Git Product home page Git Product logo

custard's People

Contributors

beauvais avatar drj11 avatar ehg avatar frabcus avatar matthewhughes avatar morty avatar pwaller avatar sean-duffy avatar stevenmaude avatar zarino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

custard's Issues

Tool order should be better

In particular "view data" at the top.

While we have few tools, we can just curate this order for everyone.

When custard fails it gives bad gateway message

e.g. when I had broken mongodb entry for my username (because chris edited API key at same time I changed password), and it was crashing during login.

All I got was a "bad gateway" error.

As a user, I would expect some kind of error message (doesn't have to be pretty right now - but something saying it is just an error in the web app code, rather than the whole site is broken which bad gateway looks like).

As a developer, I'd expect logs on the servers with the error stack trace in etc.

"Spreadsheet Tool!" is a confusing name

Both for its name in github "spreadsheet-tool", and on the button to use it.

spreadsheet-view-tool would be a better repository name

And in use the button should be something more like "View data" or "View table of data"

Editing dataset name, box isn't long enough

I was editing a short default name to "People who responded to ScraperWiki survey", and it had to scroll.

Could have just a longer minimum default when editing the name. (Or more fancily, have it expand as you type).

Spreadsheet upload tool failure error isn't helpful

I got this error "Oh no! We received an error from the extraction script: The column name must be of unicode or str type. The column name ("41035.9381944") is of type <type 'float'>. If this error doesn't make sense, try "unicode('41035.9381944')".

I think it should show the erro from the extraction script in a technical section formatted differently below.

The main error should say that it couldn't import it, and clearly explain what kind of spreadsheets it can import. e.g. They must have one table at most in each tab, with a clear heading.

No second chance when deleting datasets

When deleting a dataset from 'My datasets' by clicking the x I don't get a second chance, or warning about deleting data, or an "Are you sure?".

Would be nice to have an undo.

Delete or hide datasets

I made a couple of Highrise datasets I don't care about, and it's really annoying clutter.

I'd like some way of deleting them. (I don't care much for now if all it does is hide them from the user interface)

click "about scraperwiki", get pig

When i click the "About ScraperWiki" link the left-hand navigation panel, I get a picture of a pig.

I am disappoint.

(the link in the A element looks correct, it must be some funky push-state URL handling code)

Login cookies only last 24 hours for me

I've been actively using x.scraperwiki.com, nevertheless I still have to login each day. Right now it has prompted me to login, and my cookie is like this:

x.scraperwiki.com
Name: connect.sid
Content: s%3AsHuOccFb5vY0GMOolIwpBL24.zwwlocaLPltUfGseKasfdFsi%2BgIUNzOx4n4ohfsXZWE
Domain: x.scraperwiki.com
Path: /
Send for: Any kind of connection
Accessible to script: No (HttpOnly)
Created: Wednesday, February 6, 2013 10:48:06 AM
Expires: Thursday, February 7, 2013 10:48:03 AM

I'm on latest stable Chrome on OSX.

Too much duplication in tools

There's no way of reusing common html elements (eg: the SSH instructions that are shown by the newdataset-tool, newview-tool and view-source-tool).

Stuff breaks when existing cobalt users create a custard account

When I go to /tools and choose "Code a dataset" it takes me to a new page /dataset/cl3jyki/settings which is blank. I have the following errors in my console

POST http://boxecutor-live-0.scraperwiki.net/cl3jyki/exec 403 (Forbidden) jquery.min.js:2
POST http://boxecutor-live-0.scraperwiki.net/box/dnbl2ni 403 (Forbidden) jquery.min.js:2
POST http://boxecutor-live-0.scraperwiki.net/dnbl2ni/exec 403 (Forbidden) jquery.min.js:2

Presumably the follow on errors when I go to My Datasets and select the dataset followed by Code my own view are related, they're:

POST http://boxecutor-live-0.scraperwiki.net/hhqajry/exec 403 (Forbidden) jquery.min.js:2
POST http://boxecutor-live-0.scraperwiki.net/box/elxposa 403 (Forbidden) jquery.min.js:2
POST http://boxecutor-live-0.scraperwiki.net/elxposa/exec 403 (Forbidden)

IDs in examples will be different because I tried this a few times ;)

Dataset order not what users expect

I had some Pocket data, and it was at top right left of my other three datasets.

Then I added a View to the Pocket dataset. It jumped in "My Datasets" to appear at the top right, right of my other three datasets.

I expect it to stay in a consistent order when I add a view.

I don't want error handling for exec endpoint repeated everywhere

Would be good to have some kind of standard for this (e.g. success outputs JSON without an error key, failure is any other output, or whatever), and a simple exec wrapper which displays nice errors for you, and calls a passed in function on success.

There are lots of cases where you don't expect exec to fail, and just want to quickly call it.

Tool links on /tools are not helpful

When visiting /tools I get a list of 3 tools (Highrise, Code a dataset, and Upload a spreadsheet). I've no idea what Highrise does. Would be nice to have a brief description of what the tool does.

Exec endpoint doesn't cd to /home for you

It would be lovely if it did, and encourage people to run scripts by doing tool/foo.py (rather than cd /home/tool; ./foo.py which puts scraperwiki.sqlite in the wrong place with default Dumptruck settings)

Spreadsheet imported end screen is rubbish

When you successfully import a spreadsheet it just says 'Spreadsheet imported! Please navigate to your dataset somehow. (Yes, this needs to be improved)"

Just improving the message to clearly tell you where to navigate to find it might be better!

/api/status could have a "notice" type

Not sure what it should be called.

It would mean that there's been no error, but the dataset isn't fully updated yet. e.g. while crawling a backlog of data (due to large volumes in big scrapers, or due to API rate limiting)

Not completely sure if it is needed, but Zarino mentioned it earlier, and I vaguely felt a need for it just now in the Twitter scraper.

Arguably, it is an error if a backlog hasn't been caught up with!

Two different scraperwiki.json files

It was confusing to me for there to be two files both called scraperwiki.json - one for the box and one for the tool manifest.

Not sure what to do about it! Maybe rename the box one?

Dataset settings page should be further down breadcrumb

When I'm on the settings page, I tried clicking on the dataset name in the breadcrumb trail to go back to the dataset page. This let you edit the name...

I'd expect it to have an extra "settings" entry at the end of the breadcrumb, and the dataset name take me back to the dataset page.

Bad error message when no box-level scraperwiki.json

Make a view, go to it. SSH into it and wipe the top level "scraperwiki.json" file (the one with the database and publish token in it).

The screen is just blank - it should show an error message.

The Javascript error behind the scenes is no more helpful:
Uncaught SyntaxError: Unexpected token c app-c5e5898bdef82296875b73146d71fe1b.js:1
(anonymous function) app-c5e5898bdef82296875b73146d71fe1b.js:1
l jquery.min.js:2
c.fireWith jquery.min.js:2
T jquery.min.js:2
r jquery.min.js:2

Code a dataset tool names datasets after itself

When I use the "Code a Dataset!" tool, the dataset it creates should be called "New dataset" or something, not "Code a Dataset!"

It's confusing when the tool, and the thing it creates, both have the same name.

/api/status should give an error for invalid types

Valid types are "ok" and "error". At the moment, anything else defaults to "ok".

I think it should be an error to give other types.

(As an aside, I think a blank message is acceptable, the user interface should be good at displaying well if it has a blank message)

Prompt when SSH'd in could show me which box I'm in

Just seeing the random letters for the box is quite confusing. When I look through my terminal windows I'm not confident I'm in the right box.

Would like something in the prompt, or at least in MOTD when logging in, to confirm which dataset it is by showing the dataset name in full.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.