Feat(application): the environment bar, editing in modals, and a project picker (13/21)

Merged
BR
16d ago
+4299-2810

Stack 13/21 · after #964 · next #966

Targets main but builds on #964, so the earlier stack commits show here too: review the last commit only. Merge after #964.

Description of your changes

  • Environment bar: one bar for an environment's views, filters and actions, with its Application as YAML and a status that reloads itself.
  • Editing in modals: components, sources, policies and triggers are added and edited in a modal, from a Configure group in the tab row.
  • Project picker: pick a project once and every view follows it. New Service is a single form.
  • Faster list: the application list filters by health and reads every status in a few calls rather than one per app.

13-environment

13-modal

Fixes #

I have:

  • Read and followed KubeVela's contribution process.
  • Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
  • Run yarn lint to ensure the frontend changes are ready for review.
  • Run make reviewableto ensure the server changes are ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

Special notes for your reviewer

  • On a project with 21 applications the list went from about 70 API calls to about 7.