hashicorp / hashicorp/nomad

UI: Move task group route under its own job route

Open
#6,495 0 comments 0 reactions 1 assignee Claimed by @DingoEatingFuzz View on GitHub
theme/ui type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

Currently the router looks like this:

```
this.route('jobs', function() {
this.route('run');
this.route('job', { path: '/:job_name' }, function() {
this.route('task-group', { path: '/:name' });
this.route('definition');
this.route('versions');
this.route('deployments');
this.route('evaluations');
this.route('allocations');
this.route('edit');
});
});
```

Which mostly works but it has a couple minor issues.

1. Task groups share the same namespace as the other routes, meaning a task group named "definition" or "versions" etc. creates a route ambiguity.
2. Task groups share a loading template with jobs despite having different subnavs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.