Commit Graph

3948 Commits

Author SHA1 Message Date
Mark Noonan dfdc537aa4 chore(launchpad): launchpad UI tweaks (#18369)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-10-06 11:31:42 -04:00
Cesar 98f2604abd feat: wire up add project button (#18320)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-10-06 07:42:40 -07:00
Jessica Sachs 20ca60c8a3 feat(unify): adding larger defaults for the Launchpad window (#18248) 2021-10-05 17:13:40 -04:00
Lachlan Miller 585a3e281a fix(app): allow launching app dev server w/o relying on supportFile to bundle deps (#18354)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-10-05 14:26:16 -04:00
Shawn Taylor 8e3bb327bf feat(unify): reporter dark theme (#18313) 2021-10-05 14:07:51 -04:00
Mark Noonan 999a68dc46 feat(launchpad): UNIFY-371 header menu (#18338) 2021-10-04 16:44:08 -04:00
Tim Griesser c200e95e14 chore: unify e2e tests launchpad (#18314) 2021-09-30 16:50:39 -04:00
Jessica Sachs d39b1694aa feat: improved DX and support for running component and e2e tests w/ gulp (#18135)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-09-30 12:11:47 -04:00
Lachlan Miller 2f5e53d442 feat(graphql): expose specs via graphql (#18288) 2021-09-29 14:24:58 -04:00
Tim Griesser b34c9c2b2b fix: assign default chosen browser & plugin initialization (#18287) 2021-09-28 17:31:51 -04:00
Cesar 1c58797637 feat: expose projects on global welcome page (#18263)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-09-28 13:36:09 -07:00
Jessica Sachs 338da82961 feat(frontend-shared): unifying frontend components, build tools, styles, test config, and more. (#18265)
* feat(frontend-shared): Adding shared components, styles, test tooling, build tooling, and plugins

* chore(launchpad): fix build for feat/fronted-shared-infra (#18267)

* wip: fix build

* fix tests

* modify tsconfig

* fix typing error

* simplify imports

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-09-28 17:48:18 +10:00
Lachlan Miller 377ef0aae9 chore(launchpad): lint vue files (#18212)
* work on linting vue

* update linting

* update linting

* linting npm/vue

* lint all vue files

* fix type check

* update lint

* lint
2021-09-28 11:37:50 +10:00
Tim Griesser 1d5b185c5b refactor: remove nexus-decorators, add data context (#18211)
- Add `@packages/data-context`
- Add `yarn gulp makePackage` for scaffolding a new server package
- Removes `nexus-decorators` in favor of regular Nexus, creating better separation between data & schema
- Possible to launch project in different browser types

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Cesar <cesaravitia@outlook.com>
2021-09-27 11:49:39 -04:00
Lachlan Miller 3a4b971e2f fix mountFragment tests 2021-09-27 13:39:10 +10:00
userquin 8614e97802 fix(unified-desktop-gui branch): initial installation on windows (#18247) 2021-09-25 14:18:17 -04:00
Jessica Sachs cf05740557 fix(unify): fixing icons and supporting router within the shared cypress commands package (#18237) 2021-09-24 15:55:21 -04:00
Mark Noonan 5f3c94073a feat(launchpad): improve layout and design (#18238)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-09-24 13:47:06 -04:00
Mark Noonan fdfc993bdb feat(launchpad): add design tokens from Figma (#18223)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-09-24 12:06:07 -04:00
Jessica Sachs 9fde5db7a0 fix(unify): appveyor windows issue + better icon types (#18226)
* fixing icon types and rimraf on windows

* typo. evil typo
2021-09-24 14:01:03 +10:00
Jessica Sachs bd0365d9f7 fixing broken ct tests 2021-09-23 16:51:21 -04:00
Tim Griesser 0d90510714 fix types 2021-09-23 16:15:40 -04:00
Lachlan Miller 8a2fb2aa36 remove old code 2021-09-23 18:47:04 +10:00
Lachlan Miller c9a7b4de76 merge in develop 2021-09-23 18:44:53 +10:00
Lachlan Miller f61303817d chore: bump deps (#18213)
* bump deps

* update path

* update imports
2021-09-23 16:53:02 +10:00
Jessica Sachs 7f8e757bc2 feat(app): icon library supporting Cy's custom icons (#18195)
* feat: adding navigation to the frontend app

* cleaning up markup

* Adding layout and navigation and pages

* setImmediate fix

* custom-icons wip

* supporting duotone icons

* Updated the readme

* We don't need the router in our component tests yet.

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-09-23 12:04:00 +10:00
Jessica Sachs 0eb5bce67e feat(app): adding navigation, pages, router, and layout (#18194)
* feat: adding navigation to the frontend app

* cleaning up markup

* Adding layout and navigation and pages

* setImmediate fix

* Removing createRouter from the shared commands for now

* update yarn.lock

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-09-23 11:42:17 +10:00
Lachlan Miller 48a22f5c18 fix(launchpad): fix bugs introduced by urql/graphcache (#18193) 2021-09-22 11:51:02 -04:00
Tim Griesser bad700b593 feat: add gulp makePackage, begin to scaffold data-context (#18186)
* add gulp makePackage, begin to scaffold data-context

* Don't type error on unused locals
2021-09-22 23:18:44 +10:00
Mark Noonan 3b8828907d feat(launchpad): Directory Upload in Global Mode (#18165)
* small html tweaks

* add basic implementation of vue3-file-selector

* add test for file upload

* update readme to reflect latest

* Update packages/launchpad/src/global/GlobalEmpty.vue

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* HTML tweaks

* add cypress-file-upload types

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-09-22 11:19:37 +10:00
Zach Bloomquist 0964ca2c7d chore(tests): fix flake in net stubbing/xhr/proxy logging tests (#18163) 2021-09-21 21:31:21 +00:00
Tim Griesser 2b57a2600c chore: remove nxs.gen.ts - should be created by codegen (#18184)
* chore: remove nxs.gen.ts - should be created by codegen

* Ensure the gen dir exists before adding files to it
2021-09-21 14:27:34 -04:00
Zach Bloomquist d6e4e22ab3 fix: add deprecation notice for win 32-bit (#18130)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-09-21 14:21:58 +00:00
Ben Kucera 9f9cf9e8b6 chore: fix broken firefox focus tests, bump resource class of chrome-beta job (#18133) 2021-09-21 09:34:48 -04:00
Cesar 0561f0b6da feat: persist project addition (#18113)
* add mutation to add a project

* await getProjectRoots

* move loading projects into its own mutation

* define mutations return as nonNull

* fix unit tests

* remove loadProjects mutation

* return Promise<LocalProject[]> from loadProjects mock

* add missing actions to TestActions
2021-09-21 10:50:21 +10:00
Tim Griesser 94541d4f18 feat: merging / delegating remote queries to cloud schema (#17875)
Changes:
- Pulls down & stitches in the "Cypress Cloud" schema from remote. Currently defaulted to "staging" so we can make quick fixes / iteration there
- Add dedicated type checking CircleCI job `check-ts`
- Adds [graphcache](https://formidable.com/open-source/urql/docs/graphcache/) to normalize the cache & provide better auto-reactivity when data changes
- Removes `LocalProject` / `DashboardProject` in favor of `Project` / `CloudProject`
- General cleanup of Vue components' GraphQL fragments
- Parallelizes launchpad tests & recording to new Cypress project: https://dashboard.cypress.io/projects/sehy69/runs
  - Did this b/c tests were frequently timing out, need to figure out the source of this
- Basic mocks for remote schema
2021-09-20 17:12:59 -04:00
Zach Bloomquist 1b989c5baa fix(open_project): remove unnecessary fn wrapping from tryToCalls (#18146) 2021-09-17 18:58:10 +00:00
Lachlan Miller 5f94486bc2 merge in develop 2021-09-17 15:01:44 +10:00
Lachlan Miller ec4748ca2d return all specs from findSpecs, improve types 2021-09-16 16:32:34 +10:00
Lachlan Miller 390e1a276b typescript 2021-09-16 11:58:22 +10:00
Lachlan Miller 1346fa9365 remove unused code 2021-09-16 11:54:07 +10:00
Lachlan Miller e403e587e9 Merge branch 'develop' into unified-desktop-gui 2021-09-16 11:37:41 +10:00
Lachlan Miller dc8a1a2696 resolve conflicts 2021-09-16 11:36:59 +10:00
Lachlan Miller efb40620a6 Merge pull request #18101 from cypress-io/chore/remove-legacy-javascripts-config
chore: remove legacy javascripts config option and related code
2021-09-16 11:17:56 +10:00
Lachlan Miller 2b66182a66 merge in develop and resolve conflicts 2021-09-16 10:27:24 +10:00
Jennifer Shehane f82c08e3ea fix: Update DRONE branch used for Dashboard (#18062) 2021-09-15 15:14:26 -05:00
Tim Griesser a851d797a8 feat: improved DX for unified-desktop-gui (#18099)
- Moves graphql-codegen config to the root, which will serve all packages needing it
- Adds gulpfile for coordinating scripts related to dev environment in launchpad app
- yarn dev from the root runs yarn gulp dev, which:
  Runs autobarrel for rolling up the @packages/graphql files
  Cleans the dist & cache for .vite
  Starts the a codegen watcher for Nexus
  Starts the graphql-codegen --watch & highlights output
  Starts vite servers for launchpad & app
  Starts electron watch.js
2021-09-15 11:54:14 -04:00
Lachlan Miller 8bda0a9d02 chore: merge in develop to unified-desktop-gui (#18103)
* merge in develop

* remove accidentally merged file

* update types
2021-09-15 16:24:28 +10:00
Lachlan Miller da74782454 remove legacy javascripts option 2021-09-15 15:32:22 +10:00
Lachlan Miller 563a8a2fc8 bump to Vue 3.2.6 (#18098) 2021-09-15 00:33:45 -04:00