-
Notifications
You must be signed in to change notification settings - Fork 2.8k
console: fix visiting view modify page overwriting raw sql content #4810
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
Merged
rikinsk
merged 18 commits into
hasura:master
from
soorajshankar:fix/raw-sql-persist-data-#4798
May 29, 2020
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
d851a27
Raw SQL preserve editor values #4798
soorajshankar 38cfb44
changelog
soorajshankar 9651787
Update CHANGELOG.md
soorajshankar 43a1d38
replaced ace editor with code block> view
soorajshankar 467732e
Merge branch 'master' into fix/raw-sql-persist-data-#4798
rikinsk 99c4a27
TS migration
soorajshankar 98309b5
jsdoc and Alert moved to common components
soorajshankar 3ffbb1e
remove jsdoc from Alert tsx file
soorajshankar 1a6bf24
Seperated ViewDefinitions into tsx file
soorajshankar ae6de04
Moved viewDefSQL to tables/modify in redux
soorajshankar b6298cf
cypress tests > match with editor debounce time
soorajshankar 12a1968
optimised raw sql tests
soorajshankar 7db732e
sync with master
soorajshankar a6aad5c
reverted preserve rawSQL localstoreage logic
soorajshankar 6f298c9
review comments #4810
soorajshankar 3c4956e
Merge branch 'master' of https://github.com/hasura/graphql-engine int…
soorajshankar 3879e81
Merge branch 'master' into fix/raw-sql-persist-data-#4798
c0cc2fe
review comments #4810
soorajshankar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| import React from 'react'; | ||
|
|
||
| export type AlertType = 'warning' | 'danger' | 'success'; | ||
|
|
||
| interface AlertProps { | ||
| type: AlertType; | ||
| text: string; | ||
| } | ||
|
|
||
| const Alert: React.FC<AlertProps> = ({ type, text }) => ( | ||
| <div className={`hidden alert alert-${type}`} role="alert"> | ||
| {text} | ||
| </div> | ||
| ); | ||
|
|
||
| export default Alert; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.