G r e y
810b2d23a4
refactor(site): use axios in non-swr endpoints ( #460 )
...
Summary:
Applies axios to login, logout and getApiKey
Impact:
POC of axios (#453 ) and testing axios
Additional details:
* add test:watch script
resolves : #453
2022-03-16 17:01:35 +00:00
dependabot[bot]
95160d0ee8
chore: bump prettier from 2.5.1 to 2.6.0 in /site ( #461 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.5.1...2.6.0 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 12:35:26 -04:00
dependabot[bot]
c3ccaccf32
chore: bump github.com/pion/webrtc/v3 from 3.1.24 to 3.1.25 ( #450 )
...
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc ) from 3.1.24 to 3.1.25.
- [Release notes](https://github.com/pion/webrtc/releases )
- [Commits](https://github.com/pion/webrtc/compare/v3.1.24...v3.1.25 )
---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 15:16:19 +00:00
G r e y
27749ce954
feat(site): add healthz page ( #458 )
...
Summary:
This is a port of v1 healthz page to v2
Impact:
A simple way to check site health (requires no auth). Good smoke test
for e2e.
2022-03-16 07:11:24 +00:00
G r e y
5a42e172f1
chore: add CODEOWNERS ( #459 )
...
Summary:
Partial port of v1 CODEOWNERS -> v2
Impact:
Coder FE will be pinged to review changes in site. We do not have a check that
requires an explicit approval, but it helps review cycle iteration
2022-03-16 07:00:45 +00:00
Bryan
d8e530e1ec
refactor: Add 'src' folder in 'site' ( #445 )
...
This refactoring re-organizes the `site` folder to have a nested `src` folder.
Originally, [we wanted to keep the directory structure shallow](https://github.com/coder/coder/pull/8#issuecomment-1009578910 ) - but there were two points that motivated this change to introduce the `src` level.
1. We have several non-`src` folders now (`e2e`, `static`, `html_templates`, `.storybook`)
2. Having a `src` folder makes it easier to run XState Typegen
So given those two data points - I believe it makes sense to revisit that and introduce a `src` folder.
2022-03-16 04:06:03 +00:00
Bryan
15beb98016
docs: Add additional commands ( #455 )
...
This adds a couple of missing pieces to the docs:
- More info about `./develop.sh`
- Steps to run the built coder binary manually
- Starting the server
- Logging in
- Creating a project
I attempted to keep them relatively agnostic so they wouldn't be out of date immediately when https://github.com/coder/coder/pull/422 is merged
2022-03-16 03:55:21 +00:00
G r e y
548b4f2c9f
chore: bump ts eslint ecosystem ( #457 )
2022-03-15 20:40:31 -07:00
Colin Adler
238251b83f
chore: update golang.org/x/crypto ( #447 )
...
See https://groups.google.com/g/golang-dev/c/me_6GQsdvHE/m/QFRpi96JAgAJ
2022-03-15 22:00:33 +00:00
Bryan
dfc353b1fd
fix: Fix storybook blockers ( #443 )
...
I was just testing `storybook` out on `main`, and saw some of the components had errors:
<img width="1564" alt="image" src="https://user-images.githubusercontent.com/88213859/158444846-773420f5-261a-4853-abe1-66521ed19901.png ">
There were two problems:
- The `<Workspace />` component had new arguments, that don't seem to be validated by `yarn storybook:build`
- The top-level `react-router-dom` is not available in storybook.
After fixing these, all the storybook components work:
<img width="1304" alt="image" src="https://user-images.githubusercontent.com/88213859/158445124-eec51500-967d-4e24-823f-c21f6ea63ba1.png ">
2022-03-15 11:29:32 -07:00
Bryan
97399f888d
docs: Fix typo in README.md ( #440 )
2022-03-15 15:55:02 +00:00
dependabot[bot]
7d617441de
chore: bump @playwright/test from 1.19.2 to 1.20.0 in /site ( #442 )
...
Bumps [@playwright/test](https://github.com/Microsoft/playwright ) from 1.19.2 to 1.20.0.
- [Release notes](https://github.com/Microsoft/playwright/releases )
- [Commits](https://github.com/Microsoft/playwright/compare/v1.19.2...v1.20.0 )
---
updated-dependencies:
- dependency-name: "@playwright/test"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 08:40:57 -07:00
dependabot[bot]
64f9e69978
chore: bump google.golang.org/api from 0.71.0 to 0.72.0 ( #441 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.71.0 to 0.72.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.71.0...v0.72.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 09:25:41 -05:00
Bryan
5e4d88a321
refactor: Move runtime dependencies out of devDependencies ( #439 )
...
@presleyp noticed that we have a lot of dependencies listed as `devDependencies` that should be actual `dependencies` - this PR moves them to the appropriate category.
Thanks for catching this @presleyp !
2022-03-14 17:24:26 -07:00
Bryan
cadc2989c8
refactor: Remove now-unnecessary express & http-proxy-middleware packages ( #437 )
...
I was investigating some of the test failures in https://github.com/coder/coder/pull/429 - and realized that we actually don't need the `http-proxy-middleware` package anymore (or the `express` package). Of course - the failures were unrelated to that change, so this doesn't fix the CI failures that were encountered.
`http-proxy-middleware` and `express` were needed for our custom NextJS dev server, but that code was removed in #348 , so those dependencies are no longer explicitly required. We should just remove them to avoid the maintenance overhead.
Another clean-up / follow-up from #348
2022-03-14 20:59:47 +00:00
dependabot[bot]
5d546472c7
chore: bump webpack-cli from 4.9.1 to 4.9.2 in /site ( #431 )
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 4.9.1 to 4.9.2.
- [Release notes](https://github.com/webpack/webpack-cli/releases )
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.9.1...webpack-cli@4.9.2 )
---
updated-dependencies:
- dependency-name: webpack-cli
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 13:31:19 -07:00
Bryan
20faf897c9
fix: Test flake when installing yarn dependencies on MacOS ( #436 )
...
This fixes #433 - a test flake in E2E (intermittent `ESOCKETTIMEDOUT` errors on MacOS).
The main issue is that, occasionally, for very large dependencies (like `@material-ui/icons`) - yarn can actually time out! We researched this in-depth in v1: https://github.com/coder/m/pull/10040 and fixed it successfully there, by increasing the timeout for yarn.
However, this also highlighted the fact that our `node_modules` caching behavior wasn't correct - we should very rarely see a timeout issue like this, because `@material-ui/icons` should be cached.
It turns out that we weren't falling back to the latest cached `node_modules` if there was a miss - so anytime the lock file changed, we'd invalidate the cache, and not restore the previous one. This can be improved by using the [`restore-keys`](https://github.com/coder/m/pull/10040 ) parameter of the [`@actions/cache`](https://github.com/actions/cache )... and in fact we already do this for the `go` dependencies.
So this fix does two things:
- Improve the caching behavior, such that we should rarely have to install `@material-ui/icons` (and other large dependencies)
- When we do have to install, update the timeout so that we can avoid random `ESOCKETTIMEDOUT` errors
2022-03-14 11:49:49 -07:00
dependabot[bot]
58a358b783
chore: bump eslint-plugin-react from 7.29.3 to 7.29.4 in /site ( #430 )
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.29.3 to 7.29.4.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.29.3...v7.29.4 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 11:16:50 -07:00
dependabot[bot]
d4b29029ba
chore: bump react-router-dom from 6.2.1 to 6.2.2 in /site ( #427 )
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Commits](https://github.com/remix-run/react-router/commits/v6.2.2/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 10:42:44 -07:00
dependabot[bot]
8dfdcc3bd7
chore: bump webpack from 5.65.0 to 5.70.0 in /site ( #428 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.65.0 to 5.70.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.65.0...v5.70.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 09:55:22 -05:00
G r e y
80577d0186
fix(site): rm duplicate mask-icon; refactor(site): reorder <head> ( #425 )
...
* fix(site): remove duplicate mask-icon
/favicon.svg should 404, but it's also a duplicate of the mask-icon
that has crossorigin="use-credentials"
refactor(site): link attribute ordering
I believe the former duplication of rel="mask-icon" was because the
crossorigin and rel attributes made it less readable.
* refactor(site): reorder link and meta tags
2022-03-13 20:24:50 -04:00
G r e y
60f3cf6552
chore: configure eslint vs code plugin ( #423 )
...
Summary:
The .eslintrc.yaml is located in site, rather than the root of the
repository. The VS Code plugin has a CWD of the repository root, so it
looks for tsconfig.test.json in the root rather in site.
See Also:
- https://github.com/microsoft/vscode-eslint/issues/196
- https://github.com/typescript-eslint/typescript-eslint/issues/251
2022-03-13 20:02:49 -04:00
G r e y
6c83907b1b
refactor(site): match v1 tsconfig; simplify tsconfig.test.json ( #426 )
...
* refactor(site): match v1 tsconfig
Summary of changes:
* ordered configurations for ease of readability
* allowJs removed -> not needed after Next.js
* noImplicitAny removed -> this is set to true by strict
* strictNullChecks removed -> this is set to true by strict
* removed lingering next-env.d.ts in include
* refactor(site): simplify tsconfig.test.json
Because that the base tsconfig was simplified when changing from
Next.js, this one now duplicates most of it. I still believe having a
separate tsconfig is a good idea for the purposes of separating tests
from source code. It especially can make it easier for eslint and jest
performance.
2022-03-13 19:54:35 -04:00
Bryan
ec077c6191
refactor: Migrate from Next.js to pure webpack config ( #360 )
...
Fix for #348 - migrate our NextJS project to a pure webpack project w/ a single bundle
- [x] Switch from `next/link` to `react-router-dom`'s link
> This part was easy - just change the import to `import { Link } from "react-router-dom"` and `<Link href={...} />` to `<Link to={...} />`
- [x] Switch from `next/router` to `react-router-dom`'s paradigms (`useNavigation`, `useLocation`, and `useParams`)
> `router.push` can be converted to `navigate(...)` (provided by the `useNavigate` hook)
> `router.replace` can be converted `navigate(..., {replace: true})`
> Query parameters (`const { query } = useRouter`) can be converted to `const query = useParams()`)
- [x] Implement client-side routing with `react-router-dom`
> Parameterized routes in NextJS like `projects/[organization]/[project]` would look like:
> ```
> <Route path="projects">
> <Route path=":organization/:project">
> <Route index element={<ProjectPage />} />
> </Route>
> </Route>
> ```
I've hooked up a `build:analyze` command that spins up a server to show the bundle size:
<img width="1303" alt="image" src="https://user-images.githubusercontent.com/88213859/157496889-87c5fdcd-fad1-4f2e-b7b6-437aebf99641.png ">
The bundle looks OK, but there are some opportunities for improvement - the heavy-weight dependencies, like React, ReactDOM, Material-UI, and lodash could be brought in via a CDN: https://stackoverflow.com/questions/50645796/how-to-import-reactjs-material-ui-using-a-cdn-through-webpacks-externals
2022-03-12 12:51:05 -08:00
dependabot[bot]
bf1f858c15
chore: bump @testing-library/react from 12.1.3 to 12.1.4 in /site ( #417 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 12.1.3 to 12.1.4.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v12.1.3...v12.1.4 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Carberry <kyle@coder.com>
2022-03-11 16:26:52 +00:00
dependabot[bot]
b5740b539e
chore: bump ts-loader from 9.2.7 to 9.2.8 in /site ( #420 )
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 9.2.7 to 9.2.8.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.2.7...v9.2.8 )
---
updated-dependencies:
- dependency-name: ts-loader
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-11 08:14:22 -08:00
dependabot[bot]
f500b5e2dd
chore: bump github.com/spf13/cobra from 1.3.0 to 1.4.0 ( #418 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-11 08:27:19 -06:00
dependabot[bot]
4921211073
chore: bump @types/react from 17.0.39 to 17.0.40 in /site ( #416 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 17.0.39 to 17.0.40.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-10 09:53:47 -06:00
Bryan
9f190418bb
fix: Update routes for project page, workspace creation page, and workspace page ( #415 )
...
Some API routes were updated in https://github.com/coder/coder/pull/401 , which impacted the UX - the flow is currently broken when trying to navigate to a project:
![2022-03-08 15 30 59](https://user-images.githubusercontent.com/88213859/157343533-3d08edf1-70d5-433b-b4a0-fe68875b1928.gif )
This fixes all the routes so that the complete project -> create workspace -> workspace page flow works:
![2022-03-08 16 18 57](https://user-images.githubusercontent.com/88213859/157348186-b9bde553-c602-484e-89bc-208a1d97f703.gif )
Because this had to touch a bunch of UI routes, I also opportunistically fixed #380 as part of this change.
Fixes #380
2022-03-09 13:22:43 -08:00
dependabot[bot]
ac387a1410
chore: bump github.com/go-playground/validator/v10 ( #409 )
...
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator ) from 10.10.0 to 10.10.1.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v10.10.0...v10.10.1 )
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Carberry <kyle@coder.com>
2022-03-08 13:24:12 -06:00
dependabot[bot]
3aa8bb80fc
chore: bump google.golang.org/api from 0.70.0 to 0.71.0 ( #414 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.70.0 to 0.71.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.70.0...v0.71.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 19:09:09 +00:00
Kyle Carberry
1d889c3c21
fix: Update ICE dependency to fix test flake ( #413 )
...
https://github.com/coder/coder/runs/5468864058?check_suite_focus=true#step:7:148
2022-03-08 18:57:28 +00:00
Kyle Carberry
45daa44a99
fix: TTY being GC'd before command is ran ( #412 )
...
* fix: TTY being GC'd before command is ran
* Fix reference to tty
2022-03-08 17:48:58 +00:00
Kyle Carberry
d37df894a4
fix: Use proper entrypoint for Docker image build ( #411 )
2022-03-08 16:01:38 +00:00
Kyle Carberry
6caceacfb4
fix: MacOS PTY flake when reading after command exists ( #410 )
...
The TTY wasn't bufferring properly because the FD was closed.
I did this initially to clone how creack/pty handles it, but it's
unnecessary because we get the entire PTY back to close.
2022-03-08 09:49:09 -06:00
Kyle Carberry
ca768e7e83
fix: Install goreleaser on deploy ( #408 )
2022-03-08 04:22:47 +00:00
Kyle Carberry
eea5b9dbf1
fix: Make deploy use new build scripts ( #406 )
2022-03-07 21:19:22 -06:00
Kyle Carberry
3eb6fb75d6
feat: Automate releases with goreleaser ( #404 )
2022-03-07 19:50:37 -06:00
Kyle Carberry
e1205a033f
fix: Test flake for resolving instance identity auth ( #405 )
2022-03-07 18:38:30 -06:00
Kyle Carberry
18c929c8ab
feat: Use open-source Terraform Provider ( #403 )
...
This removes our internal Terraform Provider, and opens
it to the world!
2022-03-07 17:39:00 -06:00
Kyle Carberry
bf0ae8f573
feat: Refactor API routes to use UUIDs instead of friendly names ( #401 )
...
* Add client for agent
* Cleanup code
* Fix linting error
* Rename routes to be simpler
* Rename workspace history to workspace build
* Refactor HTTP middlewares to use UUIDs
* Cleanup routes
* Compiles!
* Fix files and organizations
* Fix querying
* Fix agent lock
* Cleanup database abstraction
* Add parameters
* Fix linting errors
* Fix log race
* Lock on close wait
* Fix log cleanup
* Fix e2e tests
* Fix upstream version of opencensus-go
* Update coderdtest.go
* Fix coverpkg
* Fix codecov ignore
2022-03-07 11:40:54 -06:00
dependabot[bot]
330686f60a
chore: bump ts-node from 10.6.0 to 10.7.0 in /site ( #402 )
...
Bumps [ts-node](https://github.com/TypeStrong/ts-node ) from 10.6.0 to 10.7.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.6.0...v10.7.0 )
---
updated-dependencies:
- dependency-name: ts-node
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 09:03:59 -06:00
Kyle Carberry
55784d3565
fix: Remove ICEServer proxying from client to server ( #400 )
...
This made testing simple, but enabled insecure behavior. This allows
the listener to fetch ICEServers from a remote location, which will
likely be coderd.
2022-03-06 18:41:02 -06:00
dependabot[bot]
44d83e46ff
chore: bump eslint-plugin-react from 7.29.2 to 7.29.3 in /site ( #399 )
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.29.2 to 7.29.3.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.29.2...v7.29.3 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 08:43:16 -08:00
dependabot[bot]
73cb452b78
chore: bump @playwright/test from 1.17.2 to 1.19.2 in /site ( #396 )
...
Bumps [@playwright/test](https://github.com/Microsoft/playwright ) from 1.17.2 to 1.19.2.
- [Release notes](https://github.com/Microsoft/playwright/releases )
- [Commits](https://github.com/Microsoft/playwright/compare/v1.17.2...v1.19.2 )
---
updated-dependencies:
- dependency-name: "@playwright/test"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Carberry <kyle@coder.com>
2022-03-03 09:03:11 -06:00
dependabot[bot]
7137416072
chore: bump @types/react-dom from 17.0.12 to 17.0.13 in /site ( #397 )
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 17.0.12 to 17.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
---
updated-dependencies:
- dependency-name: "@types/react-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Carberry <kyle@coder.com>
2022-03-03 08:24:17 -06:00
dependabot[bot]
b214c341a4
chore: bump eslint-config-prettier from 8.4.0 to 8.5.0 in /site ( #395 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.4.0 to 8.5.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.4.0...v8.5.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 08:11:10 -06:00
Bryan
86994dacb1
feat: Initial E2E test framework for v2 ( #288 )
...
This brings an initial E2E test (really, an integration test - it's only running the server locally, as opposed to against a deployment - but it'd be easy to point playwright to a deployment).
Demo gif:
![test2](https://user-images.githubusercontent.com/88213859/156078517-6cb4ef84-337b-4e16-a8bc-aea7d06dcbcb.gif )
This test exercises a minimal flow for login:
- Run the `coderd` binary to start a server on 3000
- Create an initial user as part of setup
- Go through the login flow and verify we land on the projects page
It will be useful to have to ensure that #360 doesn't introduce a regression in the login flow
Future E2E tests that would be useful:
- Create a project & verify it shows in the UI
- Create a workspace and verify it shows in the UI
2022-03-02 09:26:53 -08:00
dependabot[bot]
2b0f4713f5
chore: bump @types/react-dom from 17.0.11 to 17.0.12 in /site ( #393 )
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 17.0.11 to 17.0.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
---
updated-dependencies:
- dependency-name: "@types/react-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Carberry <kyle@coder.com>
2022-03-02 16:25:33 +00:00
dependabot[bot]
73219ba8cc
chore: bump ts-node from 10.5.0 to 10.6.0 in /site ( #394 )
...
Bumps [ts-node](https://github.com/TypeStrong/ts-node ) from 10.5.0 to 10.6.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.5.0...v10.6.0 )
---
updated-dependencies:
- dependency-name: ts-node
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Carberry <kyle@coder.com>
2022-03-02 10:06:35 -06:00