{"push_id":1795277135,"size":4,"distinct_size":1,"ref":"refs/heads/jimmc-live-pydatalab","head":"9da99ec09d01d505132015b1d8238cb49d42873c","before":"5b2597c6ec446fa2a37813662c4a22e3a3dcdade","commits":[{"sha":"4bbc2c148c973fa433224d4821a9b2b4f5f28e34","author":{"name":"chmeyers","email":"9139a847c2284bbe586294153f98480cb7368b3e@users.noreply.github.com"},"message":"Don't require future to be installed for creategpu. (#1417)","distinct":false,"url":"https://api.github.com/repos/googledatalab/datalab/commits/4bbc2c148c973fa433224d4821a9b2b4f5f28e34"},{"sha":"d9f0d3290fa4b03667e934268f01d0cb60242434","author":{"name":"Yasser Elsayed","email":"74006f08fc97f2a9c38129945fc80556613c6f7c@users.noreply.github.com"},"message":"Ground work for experimental UI with Polymer+TS (#1416)\n\nThis change adds the infrastructure needed to build a Polymer 2.0 front end with Typescript. It adds an environment variable DATALAB_EXPERIMENTAL_UI that can be passed to the container to turn on this UI. The new frontend resources are kept under sources/web/datalab/polymer/*, and are built into build/static/experimental/* so the old static resources aren't changed.\r\n\r\nTwo new build dependencies are introduced: bower, which is currently the main package manager used by Polymer, and polymer-cli, which is a toolbox for creating, linting, building, and serving polymer apps. These can probably be factored into a single build system later, but for now, I'm using the cli to build the static files, and optionally bundling/minifying them.\r\n\r\nThis change breaks off a piece of the UI I'm building to make code review easier, so only one element is added here: the datalab shell element, which will contain other elements introduced later.\r\n\r\n** Typescript:\r\nAs of now, there's officially no good solution for building Polymer 2.0 apps with Typescript, so the solution I have isn't perfect. I added a type declaration file (third_party/externs/ts/polymer/polymer.d.ts) that I adapted from Polymer 1.0 that seems to be covering all the main scenarios I tested, and referenced that file in the tsconfig file so those types are seen by all elements without explicitly referencing it. I also could not find a module loader that will work with this setup, since the javascript generated by the tsc transpiler using ES6 as target (which is needed by Polymer 2.0) uses es6 modules, which aren't natively supported by any browser yet, and will need a polyfill. So for now, we'll have to reference the javascript files explicitly in the HTML of the element importing them.\r\n\r\n* init polymer ui redo\r\n\r\n* basic toolbar and sidebar\r\n\r\n* add selected attributes for sidebar and button\r\n\r\n* rename toolbar-button to sidebar-button\r\n\r\n* use app-layout elements instead of paper-toolbar\r\n\r\n* wrap everything in datalab-app element\r\n\r\n* move polymer files into polymer-redo dir\r\n\r\n* hook up click events in sidebar-button and datalab-sidebar\r\n\r\n* strip down the sidebar to only the list of buttons, so it can be embedded anywhere\r\n\r\n* hook up iron-pages and switch pages on client\r\n\r\n* get rid of sidebar-button, use iron-selector, and set up client routing\r\n\r\n* add svg logo\r\n\r\n* added settings pane\r\n\r\n* fix css issues with scrolling\r\n\r\n* added help dialog\r\n\r\n* move dialogs to top-level to avoid stacking context trap\r\n\r\n* add iron-pages for file services\r\n\r\n* add missing bower dependency\r\n\r\n* using tabs instead of iron-selector, styling\r\n\r\n* started on new design\r\n\r\n* sidebar fixes to match new design, shared styles\r\n\r\n* add file list header and toolbar\r\n\r\n* adding polymer build configs\r\n\r\n* move paper-dialogs into toolbar element, style fixes\r\n\r\n* move polymer inside web sources directory\r\n\r\n* start serving polymer scripts from datalab\r\n\r\n* fix build break and load both old and new interfaces\r\n\r\n* started on content manager\r\n\r\n* fix idletimeout issues\r\n\r\n* use absolute heights in preparation for item-list element\r\n\r\n* initial item-list element, with multi-selection and highlight\r\n\r\n* add striping and hover to item-list\r\n\r\n* add navigation to datalab-files, still need backward navigation\r\n\r\n* added nav icons, breadcrumbs next\r\n\r\n* working breadcrumbs\r\n\r\n* working backward/forward nav\r\n\r\n* added progress bar, thinner breadcrumb borders\r\n\r\n* add folder/file icon to list, color fixes\r\n\r\n* clicking opens notebooks, + refresh button, refresh every 10s\r\n\r\n* generalize item-list for both files and sessions\r\n\r\n* working sessions page, using ApiManager\r\n\r\n* added an env var for experimental ui\r\n\r\n* redirect base path to /files\r\n\r\n* cleanup\r\n\r\n* added simple polymer ts definition file\r\n\r\n* cleanup\r\n\r\n* adding experimental to gitignore\r\n\r\n* first element in typescript: datalab-app, other ts cleanup\r\n\r\n* datalab-toolbar is now in typescript\r\n\r\n* datalab-sidebar is now in typescript\r\n\r\n* item-list is now in typescript\r\n\r\n* started on ApiManager ts conversion\r\n\r\n* rename custom_elements to components\r\n\r\n* datalab-files and datalab-sessions are now in typescript\r\n\r\n* complete migration to typescript\r\n\r\n* remove most elements planning for the review\r\n\r\n* remove redundant copy from build\r\n\r\n* prepend base path, fix path references\r\n\r\n* pr fixes, turn off experimental UI by default in run script","distinct":false,"url":"https://api.github.com/repos/googledatalab/datalab/commits/d9f0d3290fa4b03667e934268f01d0cb60242434"},{"sha":"a874766f916caec775f0a973411edac4b272c030","author":{"name":"Jim McBeath","email":"1a6ab992dee3a8dd9ff55f36cc0fe48de3e8edd9@google.com"},"message":"Remove 'static/' prefix from local module references.","distinct":false,"url":"https://api.github.com/repos/googledatalab/datalab/commits/a874766f916caec775f0a973411edac4b272c030"},{"sha":"9da99ec09d01d505132015b1d8238cb49d42873c","author":{"name":"Jim McBeath","email":"f27a17fc90c00d8c248d8510a1084221738b492b@j.jimmc.org"},"message":"Merge branch 'master' into jimmc-live-pydatalab","distinct":true,"url":"https://api.github.com/repos/googledatalab/datalab/commits/9da99ec09d01d505132015b1d8238cb49d42873c"}]}
{"actor":{"display_login":"jimmc"}}