GithubHelp home page GithubHelp logo

capstone's People

Contributors

adamwiggins avatar ept avatar jeffpeterson avatar julsh avatar mjtognetti avatar mmcgrana avatar orionz avatar pvh avatar szymonkaliski 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  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  avatar  avatar

capstone's Issues

Disable delete at bottom of board (at least)

Moving an item to the "bottom" of the board should not delete it, because the shelf is logically there.

We should perhaps also disable delete at the sides (because this currently conflicts with the gesture for creating a new board). But let's start with at least preventing deletion at the bottom.

`yarn clean` fails

ink-and-switch/capstone $ yarn clean
yarn run v1.10.1
$ rm -r dist .data
rm: .data: No such file or directory
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Should probably be -rf or remove the .data target.

"Send to capstone" without Capstone running just opens the Capstone app

Currently if you "Send to capstone" but the Capstone app isn't running, the send action appears to open the Capstone app, but not receive the transfer.

Ideally it'd both open the app and receive the transfer.

If that's not possible it's less obvious what to do. But probably not say "OK" but then not actually complete the transfer.

Double-nested boards are ugly

Steps to reproduce: make a board inside another board, then zoom out to your root board. Weird icon appears in it:

image

Better would probably be to render the second layer board as a blank rectangle.

Production build blocks web clipping

I see this error in my console: "Unchecked runtime.lastError while running tabs.executeScript: Could not load file 'content.js' for content script. It isn't UTF-8 encoded."

TS errors in `HTML.tsx`

ERROR in /Users/matt/Workspace/ink_and_switch/capstone/src/components/HTML.tsx
ERROR in /Users/matt/Workspace/ink_and_switch/capstone/src/components/HTML.tsx(91,3):
TS1117: An object literal cannot have multiple properties with the same name in strict mode.

ERROR in /Users/matt/Workspace/ink_and_switch/capstone/src/components/HTML.tsx
ERROR in /Users/matt/Workspace/ink_and_switch/capstone/src/components/HTML.tsx(91,3):
TS2300: Duplicate identifier 'Fullscreen'.

Child

Fullscreen defined twice in style: https://github.com/inkandswitch/capstone/blob/master/src/components/HTML.tsx#L91

Clipped webpage forever in "loading..." state

I pressed the "Clip to Capstone" button on this URL: http://www.vldb.org/2019/?important-dates on Chrome on desktop, and saw the scaled-down webpage correctly show up in Capstone on that computer. However, on the Pixelbook (having previously been connected to the same workspace URL), the shelf displays only a white rectangle containing the text "Loading...". I have tried this with a few different webpages, and it doesn't always happen, but does seem to happen reasonably frequently. It seems to be accompanied by the following exception in the console:

ClientPeer.ts:58 protocol.onerror ED-Hr Error: Remote timed out
    at d._ontimeout (index.js:453)
    at d.i (events.js:165)
    at d.r.emit (events.js:78)
    at d._kick (index.js:196)
    at index.js:96
a.on.e @ ClientPeer.ts:58

protocol.onerror %s
a.on.e | @ | worker.js:8

Uncaught Error: change.seq (5) != feed.length (8)

Reported by Martin:

index.ts:202 Uncaught Error: change.seq (5) != feed.length (8) for 647C4XLAc4YKUt1JczmbRjGZZ66ZBQYPeVqXtpjVtkTq
    at Array.t.append.n (index.ts:202)
    at index.js:59
    at o (index.js:12)
    at a (index.js:40)
    at d.i [as _callback] (index.js:1218)
    at d.callback (index.js:161)
    at d.onwrite (index.js:156)
    at FileWriter.t.onwriteend (index.js:127)

Cards didn't move from shelf to board

STR:

  • import card
  • drag to board
  • notice that resizing the shelf makes the cards move up and down
  • check DOM tree in inspector
  • see that the cards are still on the shelf!

Unclear what it means to resize the shelf in the desktop app

It's unclear what it means to resize the shelf in the desktop app, especially since it doesn't have scroll bars in any configuration nor does it enforce aspect ratio.

My suggestion until we have something designed to handle resizing is: force a fixed size of the window that yields a content space with aspect ratio equal to the full shelf (and show the full shelf in that content space).

It should not be possible to zoom out from the outermost board

We need a more complete design here, but to start it should either:

  • Not be possible to zoom out at all
  • Limit you to a small amount of zoom, perhaps leaving a 1cm border of blank space around the board at it's greatest extent (in this case, it should also animate zooming back in that small amount on release)

cc @GokcenK

Webclips feedback

  • The black border and the corner radius on the web clip preview cards is thicker than it's supposed to be. The border stroke is 1px and the radius is 6px (these are 2x values). Here's a side by side comparison (the one on left is from the app, the right one is from the design doc)

image

  • The url on the zoomed-in view is also bigger than the design. Here's the values from the design doc:
    • Roboto medium 24 (2x value)
    • Bar height is 60px (also 2x)

The app gets into an unusable state if you load a workspace URL into capstone on Pixelbook

Repro steps are straightforward.

  1. Uninstall the capstone extension
  2. Install the extension
  3. Right-shift to see debug menu
  4. Paste a workspace URL into the debug panel from a fresh capstone on your desktop
  5. Put something on the shelf from your desktop machine (it should appear visible on the pixelbook)
  6. Try moving that card onto the board you're looking at. (It won't work but it will appear to.

Result:
See that the card hasn't actually been relocated -- if you resize the shelf the card moves up and down with it!

Board zoom out geometry is incorrect

The board zoom out animation should look just like the zoom in animation, in reverse.

Currently the board that's being zoomed away from is handled correctly, but the enclosing board doesn't move during the animation, which is the part that's incorrect.

Cards flash "Loading..." when zooming out.

If an outer board has a non-trivial number of images (say, 10) and you zoom out towards it from an inner board, when the zoom is complete all the cards on the outer board will flash "Loading..." and be blank for a bit before filling in.

This breaks the zooming illusion and slows down the user.

Zoom threshold is incorrect

Currently, if you start to zoom into a board just a tiny bit and then let go, it snaps into the inner board.

Instead, it should go back to the outer board. (In either direction, it should be animated.)

We can set the threshold at 50% of the way zoomed in for now (more zoomed in than this = go to inner board, less zoomed in = go to outer board) and then play with it from there.

Cards from clipper are all placed in the same place on the shelf

Cards from the clipper are all placed on the the exact same position on the shelf.

This makes it hard to see what you've clipped and to pick something other than the most recently clipped item up.

We suggest laying them out as you might papers on a desk - most overlapping but with enough peeking out from under successive card that you can know everything you've clipped at a glance and select any one directly. See screenshot below.

screenshot 2018-10-25 at 13 58 57

Visual strokes only draw if the stroke was started on an element with a stroke listener

If you start a stroke on an element which isn't wrapped in a StrokeRecognizer the strokes aren't drawn. Two examples are:

  • Pinch to go fullscreen on a text card, try to draw with pen. No stroke
  • Open archive, draw a stroke which doesn't begin on a card. No stroke. (For now, the archive will soon have a StrokeRecognizer to create boards)

We might decide to do nothing about this. Just calling it out.

Paste isn't working

STR:

  • copy content
  • click in capstone
  • Press Ctrl-V

Result:
Nada.
Expected:
Content appears on shelf.

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.