-
Notifications
You must be signed in to change notification settings - Fork 27
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
Update dependencies #481
Update dependencies #481
Changes from all commits
316b15a
9a8436c
7221e7a
fabcdcb
21ead91
54fab8c
04d701a
d88bed4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |
|
||
<script> | ||
import gql from 'graphql-tag' | ||
import { introspectionQuery, print } from 'graphql' | ||
import { getIntrospectionQuery as getGraphQLIntrospectionQuery, print } from 'graphql' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changed in GraphQL 15. Luckily they didn't remove the functionality. Note that we already have a function in this module called |
||
|
||
import Mutation from '@/components/cylc/Mutation' | ||
|
||
|
@@ -255,7 +255,7 @@ export default { | |
// we are only interested in mutations so can make our life | ||
// a little easier by restricting the scope of the default | ||
// introspection query | ||
const fullIntrospection = gql(introspectionQuery) | ||
const fullIntrospection = gql(getGraphQLIntrospectionQuery()) | ||
const mutationQuery = gql(` | ||
query { | ||
__schema { | ||
|
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.
I'm updating the Graph dependencies, assuming they won't require us to change anything in the Graph component or view 👍 if they demand further work, I will remove these changes to simplify the PR, since we may choose a different library for handling Graphs in Cylc UI.
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.
I think we may want to remove the graph view next release, pending @oliver-sanders massive re-do. Probably not good to have a barely-usable POC graph view with wrong look-and-feel alongside our nice (and now performant, post deltas) tree view. (n-distance windows might save graph view performance, but still have the other problems...).
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.
At least removing dependencies and code is easier. Just need to remember to remove not only
cytoscape-
dependencies, but also thetippy
I think. Would be nice if there were dependency groups in NPM, or if at least we could add comments topackage.json
(JSON limitation)