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

cmd/bosun replace textarea with aceeditor in expr #2266

Conversation

@KozzyKoder
Copy link
Contributor

@KozzyKoder KozzyKoder commented Jun 12, 2018

Hello,

We have UX troubles trying to utilize Expr editor which is basically just textarea: it doesn't have syntax highlight and monospace font.
That's why we've implemented AceEditor to expr editor.

this is reimplementation of another PR
which seems to be abandoned: #2201

Thanks!

@kylebrandt
Copy link
Member

@kylebrandt kylebrandt commented Jun 28, 2018

I do like changing this to the ace editor, however I'd like to see two changes:

  • The expression page supports "shift-enter" to execute the expression, would like to keep that ability
  • I think the default height should be a little smaller (although probably a few more lines then current) so by default there is more screen real estate for results.

Loading

@kylebrandt
Copy link
Member

@kylebrandt kylebrandt commented Jun 28, 2018

Oh, also the bosun logo animation seems to keep going until you run an expression, I think there is stop JS function to stop that on load

Loading

@KozzyKoder
Copy link
Contributor Author

@KozzyKoder KozzyKoder commented Jun 28, 2018

@kylebrandt fixed review issues

Loading

@kylebrandt kylebrandt merged commit 4ec829a into bosun-monitor:master Jun 28, 2018
1 check passed
Loading
@KozzyKoder KozzyKoder deleted the vpestov/replace-textarea-with-ace-editor branch Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants