teragrep / ajs_01

User interface for Teragrep
Apache License 2.0
0 stars 0 forks source link

Hide Jobs, Helium and Cluster pages if they're unabled #151

Open kortemik opened 1 year ago

kortemik commented 1 year ago

ID <233> Reporter <@ronja-ui>

Currently, Teragrep shows Jobs page even if it's not enabled from configs. This leads to results where the Jobs page infinitely loads results never getting anything.

In addition, Helium and Cluster pages are currently out-commented.

To avoid out-commented code and confusing UX, make those pages hidden (ng-if or ng-show) if they are not enabled from configs.

kortemik commented 1 year ago

User <@BVVLD> Date <[2022-07-12T07:12:42Z]>

A good place to insert the check for the access rights: app.js ... $routeProvider ...

.when('/jobmanager', { templateUrl: '/app/jobmanager/jobmanager.html', controller: 'JobManagerCtrl', })

kortemik commented 1 year ago

User <@BVVLD> Date <[2022-07-19T07:17:20Z]>

Currently cannot be solved by front-end-only.