Commit Graph

9 Commits

Author SHA1 Message Date
Alejandro Estrada
321ebd717b feat: add types for urqlCacheKeys (#20027) 2022-02-03 14:33:18 -05:00
Jessica Sachs
30a14ed65e feat: adding alert component with markdown (#19152)
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-12-02 22:42:02 -05:00
Tim Griesser
4e25061e8e feat: prerendering data for app load (#18704)
* feat: prerendering data for app load

* Fix deps

* Fix create-cypress-tests in build
2021-11-01 11:21:26 +10:00
Barthélémy Ledoux
6b14c621ee refactor(app): move runs page in the app (#18606)
* move runs to the app

* remove unused import

* fix routing to runs page

* fix some spacing

* make sure all the solid icons are available

* use the new icons in the runs

* Add and test some useful states

* make and use skeleton for runs

* fix spacing and containers

* fix filerow after refactoring

* fixes on config files

* best skeletton ever

* fix review design with ryan

* add a composables

* add the e2e tests of runs WIP

* remove progress circle

* merge runs page and runspage

* remove anti blinker

* yagni the props

* use main instead of div for runs page

* simplify icons architecture

* use a lookup map to get icons

* remove tabs from file

* fix: add a few more states

* Add runerror

* fixes for rendering mock cloud data in e2e (#18654)

Co-authored-by: ElevateBart <ledouxb@gmail.com>

* Fix could not find browser

* add data-cy flags and fix tests

* e2e tests added and passing

* fix tests

* remove RunError since we don't have the model yet

* all test shells are ready

* add necessary runs icons

* Make RunConnect component

* better render

* fix typecheck

* fix icon for runs page

* center the connect page vertically

* create the Empty page

* fix alignments

* fix the purple

* adjust copy button size

* final touches

* detail fixing

* better transition patterns

* fix scroll

* fix gql generation

* fix some unneeded changes

* fix some typescript

* fix last ts

* better tooling for copy button in shiki

* refactor: fix path to terminal prompt

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

* refactor: invert conditions in RunsConnect

* fix: make connect before checking if there is data

* fix-shrinking page

* fix: code tripping over export default

* fix one laste test

* fix: resolve the title of the project

* refactor: remove the "top" query

* fix: add the top 10 back... @tgriesser

* all component tests work and pass

* typo in comment

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>

* fix correclty

* change maybe projects back

* use transition from design system

* fix compoennt test

Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2021-11-01 10:43:52 +10:00
Mark Noonan
924ce03bd2 feat(unify): share header bar between launchpad and app (#18663)
* get basic header bar working in frontend-shared

* move basic header bar to /gql-components

* complete initial move of main header bar

* show header only on non-spec parts of runner

* clean up displayed names

* clean up variable name conflict

* fix testing doc generation for frontend-shared

* ignore auto-generated gql frontend-shared code

* minor changes

* add container for root header gql query

* test new page name display

* improve component names

* finish component rename

* add e2e health check for docs menu

* cleanup

* stop tracking generated folder

* restore original route names

* add page titles to route

* wire up browser picker

* a11y and styles for browser picker in header

* switch back to real name of route

* add alias for gql-components

* implement Lachlan's feedback
2021-10-29 00:51:21 +10:00
Tim Griesser
11ba5c53b1 chore: improving component test infra (#18378) 2021-10-06 14:21:13 -04: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
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
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