Closed alishamohanty closed 4 months ago
2 attributes job-type
and base-path
are added at handlers.
job-type
: Clearly distinguish the current page to highlight the header link in navbar.
Cleaner approach than checking for subroute?
fn which checked if the current route is part of uri.
Possible case when sub-route won't work as expected if the id/queue-name have other type of job name.
Ex: /enqueued/queue/deadqueue/c9afc736-980f-4fb5-a97e-dbb6d6042ba3
would highlight both enqueued
and dead
base-path
: Helps in creating base url for hyperlink or action url in forms for common components.
View dead jobs in console:
View here to check console in staging.