hashicorp / hashicorp/nomad

Job Editor UI: `job-editor.hbs` has `mode="javascript"` instead of `ruby`

Open
#16,110 0 comments 0 reactions 0 assignees View on GitHub
theme/ui type/bug
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

For, for example job templates, leads to a worse experience with syntax highlighting

(we probably want `mode` to be a passed value, as there are time where it's appropriate to be javascript, for example job definition route)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in job-editor.hbs and inspect how the editor is used for job templates and the job definition route. Confirm which contexts need Ruby or JavaScript highlighting, then verify that the template editor uses the appropriate mode without changing the route that requires JavaScript.

Written by the indexing model from the issue text.

Assessment

Tech stack
handlebars, javascript, ruby
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.