-
Notifications
You must be signed in to change notification settings - Fork 21
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
FIX #42: Edge labels disappear when cluster is opened #43
FIX #42: Edge labels disappear when cluster is opened #43
Conversation
thanks for the contribution @channeladam, taking a look at this now 😄 |
@channeladam looks like the Travis CI build failed. https://travis-ci.com/visjs-community/visjs-network/builds/97133771 could you run these commands to fix the build? cd visjs-network
# install yarn js package manager, if not already installed
# https://yarnpkg.com/lang/en/docs/install/#alternatives-stable
curl -o- -L https://yarnpkg.com/install.sh | bash
# install js dependencies, if not already installed
yarn
# format code
yarn format
# add, commit, & push the result
git add .
git commit -m "yarn format"
git push |
Thanks - sorry - I didn't know about the yarn format command... Now the build is failing with gulp... Pretty sure I didn't cause that one! ? :) Looks like yarn is trying to upgrade gulp from 3.9.1 to 4.0.0 and it is breaking... 6.99s$ yarn add gulp |
ah! thanks for getting this far. will have a look. |
here's that gulp failure in the Travis logs https://travis-ci.com/visjs-community/visjs-network/builds/97236784 |
huh, the tests pass for me when I check out your branch locally 🤔 git checkout -b channeladam-fix-cluster-open-missing-edge-labels master
git pull https://github.com/channeladam/visjs-network.git fix-cluster-open-missing-edge-labels
yarn install
yarn test
# ...
243 passing (3s)
4 pending
✨ Done in 4.79s. let's have a look and see why the tests fail in the Travis environment. |
…ulp-version-for-travis specify gulp@3.9.1 in travis config
@channeladam thanks for finding this bug in our travis config 😅 when you have a moment, could you run these commands to apply the fix to your branch? cd visjs-network
git checkout master
git remote add upstream git@github.com:visjs-community/visjs-network.git
git pull upstream master
git checkout fix-cluster-open-missing-edge-labels
git rebase master
git push alternately, you could also just look at the diff here and add the new line to |
….com/channeladam/visjs-network into fix-cluster-open-missing-edge-labels
fantastic, thanks for updating this PR @channeladam let's get this fix in! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
💌 Thanks @channeladam for your contribution! |
Fixes #42.
Automated tests updated to prove the solution.