Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sheets (Round 1) #326

Closed
wants to merge 45 commits into from
Closed

Sheets (Round 1) #326

wants to merge 45 commits into from

Conversation

obuchtala
Copy link
Contributor

@obuchtala obuchtala commented Aug 10, 2017

Rewrite of the former prototype with the aim to provide a restrictive version for Datatables very soon.

@obuchtala
Copy link
Contributor Author

obuchtala commented Aug 10, 2017

First version: having a very flexible approach using a view-port, which is by design embeddable and can be used for arbitrary large tables. Implemented scrolling and selections.

preview-stencila-sheets-selection

preview-stencila-sheets-scrolling

@obuchtala
Copy link
Contributor Author

Row and column selections:

preview-stencila-sheets-row-and-column-selections

@obuchtala
Copy link
Contributor Author

stencila-sheets-basic-editing

@obuchtala
Copy link
Contributor Author

obuchtala commented Aug 16, 2017

Keyboard nav:
stencila-sheets-keyboard-nav

@obuchtala
Copy link
Contributor Author

Need some sleep.

@nokome
Copy link
Member

nokome commented Aug 16, 2017

I'm unable to npm install this branch, even after doing rm -rf node_modules. Am I doing something wrong?

npm install
npm WARN prepublish-on-install As of npm@5, `prepublish` scripts will run only for `npm publish`.
npm WARN prepublish-on-install (In npm@4 and previous versions, it also runs for `npm install`.)
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.

> stencila@0.27.9 prepublish /home/nokome/stencila/source/stencila
> node make

Remove: build
Remove: tmp
Copy: ./node_modules/font-awesome -> ./build/font-awesome
Copy: ./vendor/brace.* -> ./build/lib/
Copy: ./vendor/vega* -> ./build/lib/
Copy: ./vendor/unified* -> ./build/lib/
Copy: ./node_modules/d3/build/d3.min.js -> ./build/lib/
Copy: ./node_modules/katex/dist/ -> ./build/katex
Copy: ./node_modules/substance/dist/substance.js* -> ./build/lib/
Copy: ./node_modules/stencila-mini/dist/stencila-mini.js* -> ./build/lib/
PostCSS:/home/nokome/stencila/source/stencila/src/pagestyle/stencila.css->/home/nokome/stencila/source/stencila/build/stencila.css
..finished in 237 ms.
Compiling schema 'SpreadsheetSchema'...

Error during execution of Command  custom
Error: Not supported yet
Stacktrace:
Error: Not supported yet
    at _processSequence (/home/nokome/stencila/source/stencila/node_modules/substance/dist/substance/xml/compileRNG.js:182:15)
    at _compile (/home/nokome/stencila/source/stencila/node_modules/substance/dist/substance/xml/compileRNG.js:97:15)
    at compileRNG (/home/nokome/stencila/source/stencila/node_modules/substance/dist/substance/xml/compileRNG.js:26:3)
    at CustomAction.execute [as _execute] (/home/nokome/stencila/source/stencila/make.js:299:25)
    at CustomAction.execute (/home/nokome/stencila/source/stencila/node_modules/substance-bundler/src/commands/CustomCommand.js:152:33)
    at CustomCommand._executeWithoutGlob (/home/nokome/stencila/source/stencila/node_modules/substance-bundler/src/commands/CustomCommand.js:51:19)
    at CustomCommand.execute (/home/nokome/stencila/source/stencila/node_modules/substance-bundler/src/commands/CustomCommand.js:40:19)
    at Bundler._next (/home/nokome/stencila/source/stencila/node_modules/substance-bundler/src/Bundler.js:289:30)
    at Bundler._step (/home/nokome/stencila/source/stencila/node_modules/substance-bundler/src/Bundler.js:330:12)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)

@michael
Copy link

michael commented Aug 17, 2017

@nokome you need to do an npm link setup using the improvements branch of Substance.

  1. in the substance repo do a node make
  2. then do npm link
  3. in the stencila repo do npm link substance

@nokome
Copy link
Member

nokome commented Aug 18, 2017

Thanks @michael it worked!

@obuchtala obuchtala force-pushed the sheets branch 2 times, most recently from fc58d69 to 4665696 Compare August 22, 2017 15:26
@obuchtala
Copy link
Contributor Author

obuchtala commented Sep 13, 2017

@nokome ^^ :)

@obuchtala
Copy link
Contributor Author

stencila-sheets-column-types

@obuchtala obuchtala changed the title WIP: Spreadsheets Sheets (Round 1) Sep 15, 2017
@obuchtala
Copy link
Contributor Author

First version of a linter:

stencila-sheet-linter

@obuchtala
Copy link
Contributor Author

We call this now the first round. Gonna merge this PR into develop.

@obuchtala
Copy link
Contributor Author

Closing this PR, because it was started on master.

@obuchtala obuchtala closed this Sep 15, 2017
@obuchtala obuchtala mentioned this pull request Sep 15, 2017
@obuchtala obuchtala deleted the sheets branch September 29, 2017 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants