Skip to content

Show Tasks tab when no AI tasks are configured #19059

@johnstcn

Description

@johnstcn

Problem

Right now, when you have no templates configured for use with Tasks, the Tasks tab is invisible. This impedes discoverability of the feature. Additionally, because of how the React development server works, this means that you will never see the link to /tasks on port 8080 of develop.sh.

Proposed solution

  • Always show the link to /tasks in the top navbar
  • If no tasks-compatible templates are configured, show a CTA with a link to the tasks documentation
  • We should ensure that the existing env CODER_HIDE_AI_TASKS is still respected.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions