GithubHelp home page GithubHelp logo

gklyne / shuffl Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 81.33 MB

Automatically exported from code.google.com/p/shuffl

License: Other

JavaScript 89.52% HTML 9.17% CSS 1.09% Shell 0.22% Python 0.01% Brainfuck 0.01%

shuffl's People

Watchers

 avatar  avatar

shuffl's Issues

Shuffl load/save error handling needs improving

If there is an I/O error during load/save of the workspace, the program can end 
up in an 
unpredictable and unreported error state. Take steps to catch erroros and 
report them, maybe in 
the form of a progress dialog while load/store is being performed.

Original issue reported on code.google.com by [email protected] on 17 Sep 2009 at 4:47

Load/save logic should prohibit attempt to save to non-atompub URI

Workspace and card data can be loaded from an arbitrary URI that does not 
respond to AtomPub 
requests.  In such cases, "Save" operations should be disabled, requiring 
instead a "Save new...".

Also, prevent editing cards that cannot be saved.

Also, prevent moving or editing cards in an unsaveable workspace.

This logic should probably be implemented along with a plug-in framework for 
backend storage, 
and refactoring the load logic to accept a storage object rather than just a 
URI.

Original issue reported on code.google.com by [email protected] on 18 Sep 2009 at 6:00

Resizable card cannot be scrolled by dragging scroll bar

To reproduce:
Create a card of type freetext.
Populate with several lines of text so that text is longer than display area
Try to scroll:  the up/down arrows in the scroll bar work OK, but attempting to 
drag the scroll bar 
handle simply results in dragging the card around.

This is probably caused by the card-drag handler intercepting the scrollbars 
drag handler.  I need 
to determine how to (a) change priority of intercept, or (b) disable 
card-dragging for the scrollbar 
area.

Original issue reported on code.google.com by [email protected] on 30 Sep 2009 at 5:06

Provision to delete cards

Shuffl currently has no provision for deleting cards from a workspace.

I'm currently thinking that dragging to a rubbish bin in the stockbar should 
remove the card from 
the workspace, but preserve its data until such time as the rubbish is emptied. 
 It should be 
possible to drag items back from the rubbish area to the workspace.

Original issue reported on code.google.com by [email protected] on 30 Sep 2009 at 9:12

CLA for conributors

The project needs a CLA in order to be able to accept third party
contributions.

The attached is a CLA document that has already been approved by the
University of Oxford legal peeps, I have checked that they are happy for
you to use it for Shuffl as well.

The CLA leaves copyright with the contributor but grants permission to
release the contribution under an open source licence.

Note that this is only an individual CLA, we also need to create a
corporate CLA. This is an even simpler document and I will take one through
Oxfords legal team ASAP.

Original issue reported on code.google.com by ross.gardler on 30 Sep 2009 at 10:23

Attachments:

Handling many statements generate "Statements exist for multiple subjects - JRON representation not determined"

What steps will reproduce the problem?
1.  var rdfdatabank = jQuery.rdf.databank()
            .base("")
            .prefix("rdf", "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
            .prefix("shuffl", "http://purl.org/NET/Shuffl/vocab#")
            .add("<http://example.com/card#id_1> rdf:type shuffl:Card")
            .add("<http://example.com/card#id_1> shuffl:id \"id_1\"")
             .add("<http://example.com/card#id_2> rdf:type shuffl:Card")
            .add("<http://example.com/card#id_2> shuffl:id \"id_2\"")
            ;
2. var jron = jQuery.RDFtoJRON(rdfdatabank);
3. alert (JSON.stringify(jron));

What is the expected output? What do you see instead?

The JRON output containing 4 triples instead an exception is generated.
What version of the product are you using? On what operating system?
The latest version.

Please provide any additional information below.
The bug is located in this bloc of code :
550 for (subjkey in rdfsubjects)
551 {
552 var stmt = statements_toJRON(databank, rdfsubjects, bnodeobjects, subjkey, 
jron);
553 if (stmt) statements.push(stmt);
554 };
555 if (statements.length == 1)
556 {
557 $.extend(jron, statements[0]);
558 }
559 else
560 {
561 var e = "Statements exist for multiple subjects - JRON representation not 
determined";
562  log.error(e);
563 for (var i = 0 ; i < statements.length ; i += 1)
564 {
565  log.debug("- ["+i+"]: "+$.toJSON(statements[i]));
566 }
567 throw e;
568 };
569 return jron;
570 } 

Original issue reported on code.google.com by [email protected] on 7 Mar 2011 at 1:11

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.