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

Schema polling autoupdate #934

Merged
merged 51 commits into from Jan 27, 2019
Merged

Conversation

rohit-ravikoti
Copy link
Contributor

@rohit-ravikoti rohit-ravikoti commented Jan 23, 2019

Alternative option to #922.

This pr will automatically update the schema tab in place without scrolling to top and will NOT show the "Refresh to see changes" button when the schema changes.

schema-polling-small

rajinwonderland and others added 30 commits December 3, 2018 10:42
Fix for additional line-breaks after each item
Schema will now default to true for commentsDisabled
and commentDescription properties
* Schema only updates in state if it has changed
Fix for additional line-breaks after each item
@huv1k
Copy link
Collaborator

huv1k commented Jan 27, 2019

Thanks for a great job on this feature! I can't wait to start using it. 🚀

@huv1k huv1k merged commit 204fac7 into graphql:master Jan 27, 2019
cgxxv pushed a commit to cgxxv/graphql-playground that referenced this pull request Mar 25, 2022
* Merged from sdl-tabs https://github.com/Novvum/graphql-playground.git

* Added and integrated setting's key for 'schema.disableComments'

* Merged changes from disableComments branch

* Fixes and style changes matching @kuldar's design specs. Details on graphql#897 comments

* Still not able to cmd+save settings. Might be a deeper issue. However, save button saves disabled comments

* Added tabWidth prop to SideTab.tsx to provide specific widths for different tabs.

* Fix for Tab Spacing in collapsed state
Fix for additional line-breaks after each item

* ugly version is done

* moved icons to the left

* making polling global

* Updates for using 'esc' on keydown to close tabs

* added polling config

* Updated createSDL.tsx

Schema will now default to true for commentsDisabled
and commentDescription properties

* Fixed Electron

* Hiding reload icon if polling is enabled

* * Updated schema polling icon
* Schema only updates in state if it has changed

* code cleanup

* Merged from sdl-tabs https://github.com/Novvum/graphql-playground.git

* Added and integrated setting's key for 'schema.disableComments'

* Merged changes from disableComments branch

* Fixes and style changes matching @kuldar's design specs. Details on graphql#897 comments

* Added tabWidth prop to SideTab.tsx to provide specific widths for different tabs.

* Fix for Tab Spacing in collapsed state
Fix for additional line-breaks after each item

* ugly version is done

* moved icons to the left

* making polling global

* Updates for using 'esc' on keydown to close tabs

* added polling config

* Updated createSDL.tsx

Schema will now default to true for commentsDisabled
and commentDescription properties

* Fixed Electron

* Hiding reload icon if polling is enabled

* * Updated schema polling icon
* Schema only updates in state if it has changed

* code cleanup

* removed questiomark

* removed duplicate funciton

* updated files from upstream

* yarn.lock from upstream

* using printSchema instead of JSON.stringify to compare schemas

* reusing reload icon

* "Refresh to see changes" feature in SCHEMA tab

* disabled animation for polling

* changed polling icon and moved back to right side.

* automatically updating schema view without scrolling when schema updates

* moved reload icon back to the left

* automatically updating schema view without scrolling when schema updates

* more accurate schema diff checking
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.

None yet

2 participants