Closed tmaxmax closed 3 years ago
Project | Eseuri |
Status | Passed |
Commit | 636e1d4610 |
Started | Apr 28, 2021 10:10 AM |
Ended | Apr 28, 2021 10:11 AM |
Duration | 01:18 💡 |
OS | Linux Ubuntu - 16.04 |
Browser | Custom chromium 90 |
View run in Cypress Dashboard ➡️
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard
This PR installs
urql
as the GraphQL client used in the application. It also implements work summaries fetching for the homepage and the search page and fixes the Hasura endpoint passed to Vite in development.The changes also add a TypeSelector component, which is used to encapsulate the work type picker logic. The search functionality is revamped: debounced navigation to not spam browser history, reactive query and navigation based on input, not on the
keyup
event and input trimmed in the SearchBar component to ensure the same input behaviour in both the home and search pages.A
getLayout
utility function for retrieving the layout context is also added to the Layout component's module, due to the fact that obtaining the layout's context implied a lot of boilerplate (imports for Svelte'sgetContext
, and the Layout's context key and context interface, and explicit typing forgetContext
afterwards).It also adds an
.editorconfig
, to ensure consistent line endings and indentation.