open-nomad/ui/app
Buck Doyle 2d344179d3
Migrate preview deployments from Netlify to Vercel (#9471)
This adds:

* a script for building and deploying the Ember UI and Storybook to
  Vercel
* configuration for that deployment
* a header link to the UI to link to Storybook when built with
  STORYBOOK_LINK=true

It also removes a file used to configure Netlify redirects.

The Netlify setup had two “sites”: nomad-storybook and nomad-ui. I
attempted to replicate that here but ran into some platform limitations
with Vercel: two “projects” cannot share the same root directory without
also sharing the same vercel.json that lets us specify configuration
such as the rewrite needed to handle deep linking into the Ember UI. I
tried having Storybook use /ui/storybook as the root directory (and
adding a symbolically-linked package.json to bypass Vercel’s refusal
to build without it) but that produced broken Storybook deployments.

This instead combines the two projects into one
(nomad-storybook-and-ui), defaults to forwarding / to /ui/, and
adds the header link to the UI to navigate to Storybook.

Rather than have a complex build script in the Vercel configuration UI,
this delegates to a script in the repository.
2020-12-07 08:33:49 -06:00
..
abilities Fix job detail crash when recommendations off (#9269) 2020-11-06 08:21:38 -06:00
adapters Add DAS UI code from enterprise (#9192) 2020-10-29 07:46:42 -05:00
components Migrate preview deployments from Netlify to Vercel (#9471) 2020-12-07 08:33:49 -06:00
controllers Add DAS namespaces toggle and fix empty card bug (#9337) 2020-11-30 08:18:44 -06:00
helpers New all-icons helper that's really only meant for development use 2020-10-26 12:25:34 -07:00
initializers
mixins Improve global search UX (#8249) 2020-06-25 08:51:52 -05:00
models Add summary-filtering field 2020-11-09 09:28:40 -06:00
modifiers Quick window resize modifier 2020-10-15 02:54:13 -07:00
routes Merge pull request #9294 from hashicorp/f-ui/das-filter-toggle 2020-11-11 14:04:25 -08:00
serializers csi/api: populate ReadAllocs/WriteAllocs fields (#9377) 2020-11-25 16:44:06 -05:00
services Fix job detail crash when recommendations off (#9269) 2020-11-06 08:21:38 -06:00
styles Add DAS namespaces toggle and fix empty card bug (#9337) 2020-11-30 08:18:44 -06:00
templates Migrate preview deployments from Netlify to Vercel (#9471) 2020-12-07 08:33:49 -06:00
utils Make the style-string property glimmer safe 2020-10-30 16:14:31 -07:00
app.js Update to Ember 3.16/Data 3.12 (#8319) 2020-07-09 11:37:00 -05:00
breakpoints.js
index.html
router.js Add DAS subroute and copy button (#9201) 2020-11-04 12:22:24 -06:00