Commit Graph

24 Commits

Author SHA1 Message Date
Lachlan Miller
98a9c06c40 feat(unification): adding specs list for the app (#18391)
* wip

* wip

* Adding required icons and strings for spec list

* adding icons with some duplication

* wip

* fixing the colors and classes

* removing the Icon from usage in the button and input

* green => jade

* wip

* Fixes

* wip

* merge

* fixing no projects state

* Adding better spec pattern parsing

* Adding routing for the runner

* adding more tests

* update tests

* chore: lint

* update types

* types

* chore: align vue-i18n version

* update findSpecs

* remove old spec

* omit new properties returned from findSpecs

* fix test

* use different type

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-10-07 22:35:30 +10:00
Cesar
ad1d88e076 feat: add remove project button (#18381)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-10-06 16:27:01 -04:00
Shawn Taylor
5bf6d95a5b fix(launchpad): prevent code colors from leaking out of reporter (#18382)
* fix code colors leaking out of reporter

* remove imports

* change colors to match designs

* use tailwind syntax
2021-10-06 15:56:16 -04:00
Tim Griesser
11ba5c53b1 chore: improving component test infra (#18378) 2021-10-06 14:21:13 -04:00
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
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
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
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
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
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
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
Lachlan Miller
563a8a2fc8 bump to Vue 3.2.6 (#18098) 2021-09-15 00:33:45 -04:00
Cesar
1762caccd8 feat: add state for global mode (#18085)
* add state for global mode

* use GlobalEmpty over GlobalPage

* Add comment to clarify global type

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>

* Update server.ts

* make global non nullable

* move GlobalEmpty to Main.vue

* update ClientTestContext to have global

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-09-15 10:40:06 +10:00
Lachlan Miller
7261dec8e0 chore: add frontend-shared package (#18089)
* wip: shared frontend

* update

* update deps

* share client

* share urql client

* add codegen to app

* import client

* add foo

* add spec

* update

* remove old file

* remove duplicated files

* update files

* remove unused files
2021-09-15 01:19:13 +10:00