Commit Graph

5 Commits

Author SHA1 Message Date
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
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
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
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
98b80be59a fix: rename testApolloClient -> testUrqlClient, add apollo.config.js (#17948) 2021-08-31 18:36:18 -04:00