Comments (10)
looking at this now
from declarativewidgets.
I don't think that this is easily 100% fixable. We could add the force
flag on the link tag to get the package to install.
The problem is that we won't be able to register the element at all because the browser already has it registered. It seems that only a page refresh would do.
from declarativewidgets.
Understand about the page refresh -- makes sense. But I think this is still an issue then. I can change a package
reference to point to a different version, refresh the page, and it still won't install the new version (since it already exists in bower).
from declarativewidgets.
One risk here is that there is no way to guarantee that the version requested is there the next time you run the notebook. If another notebook forces the installation of a different version, your requested version would be lost since bower
uses a flat directory structure (only one version of a package is kept).
from declarativewidgets.
One solution would be to have one bower_components
dir per notebook. That way, each notebook would be fully in control of what is installed and what it uses. Only downside is that there would be a lot of duplication.
from declarativewidgets.
The bower install API allows the form <name>=<package>#<version>
. This could be used to install different dependency versions under the covers so that different notebooks can use different versions. The <name>
could be the package name with a version string.
For example, if the user wanted iron-list 1.0.1
, widgets could do:
bower install iron-list-1.0.1=iron-list#1.0.1
This could work with the global bower_install
.
from declarativewidgets.
@peller have abandoned this issue. If so, I would like to remove the in progress tag. This is not high priority and could hurt more than help.
from declarativewidgets.
+1
from declarativewidgets.
+1 to providing some means of forcing an install of an already installed bower package. I am currently developing a notebook where I am using some hacks/fixes to some of our components and some third party components. Every time I find something else I need to fix I need to go to the container (which I don't own) and have the packages removed so my updates can be downloaded.
from declarativewidgets.
Related to #145
from declarativewidgets.
Related Issues (20)
- declarativewidgets not working HOT 5
- Documentation not found HOT 1
- Need to modify scala build to install toree from apache's dist server and not pypi HOT 3
- R declarative widgets donβt actually depend on SparkR HOT 4
- Move to https://github.com/jupyter-widgets? HOT 7
- Error enabling on OSX with matplotlib 2.0 installed
- Associated repo website is 404 HOT 2
- Changing DataFrame Limit HOT 3
- widgets failing to load after notebook closed and reopened HOT 1
- dom-bind-behavior bug against Polymer 1.9
- urth-import fails with POLYMER package ECONFLICT
- urth-viz-table, selectionIndex property doesn't work
- Install declarativewidgets without "pip install"
- Link to latest docs is broken HOT 2
- Edit license and rename file to LICENSE
- Date Picker
- Broken links
- Is declarative widgets maintained? HOT 13
- Some extension like Explorer visualization HOT 1
- Why was it retired? Are there any follow-up projects like this? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from declarativewidgets.