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

feat(hubble): support highlighting and hints in query statements #384

Merged
merged 11 commits into from
Dec 15, 2022
Merged

feat(hubble): support highlighting and hints in query statements #384

merged 11 commits into from
Dec 15, 2022

Conversation

wanganjuan
Copy link
Contributor

Query statements support highlighting and hints

image

@imbajin imbajin changed the title Query statements support highlighting and hints feat: support highlighting and hints in query statements Nov 26, 2022
@imbajin imbajin changed the title feat: support highlighting and hints in query statements feat(hubble): support highlighting and hints in query statements Nov 26, 2022
imbajin
imbajin previously approved these changes Nov 26, 2022
Copy link
Member

@imbajin imbajin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this PR finished?

@wanganjuan
Copy link
Contributor Author

is this PR finished?

finished

@imbajin imbajin requested review from coderzc and javeme November 27, 2022 14:22
@@ -197,6 +201,8 @@ export const GremlinQuery: React.FC = observer(() => {
{
lineNumbers: true,
lineWrapping: true,
mode: { name: 'text/x-mysql' },
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like is mysql's hint config. I think that we should set config as gremlin's hint.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems right catch, thanks for ur reminder, would u also like to improve the FE module?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I'm learning the FE module codes

Copy link
Member

@imbajin imbajin Dec 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I'm learning the FE module codes

@lionztt any update for this PR? it should consider be merged and improve it later if no better solution now (due to the apache release next week)

@imbajin imbajin self-requested a review November 27, 2022 14:45
@wanganjuan wanganjuan closed this Dec 13, 2022
@wanganjuan
Copy link
Contributor Author

Add gremlin keyword hints, basic function
image

@wanganjuan wanganjuan reopened this Dec 13, 2022
@wanganjuan
Copy link
Contributor Author

Add gremlin keyword hints, basic function image

@imbajin

@imbajin imbajin merged commit 507d9a0 into apache:master Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants