* merge squashed
- A couple of CJS modules into ESM (config mostly)
- Vite complains about node.js modules: fixed `useIsMatchingLocation.ts`
> or use rollupOptions in vite.config.ts
> ref: f0e4f59d97/vite.config.js (L6)
- Adjust Storybook to work with Vite: use @storybook/test
- Use SWC for jest tranformations
- Remove unused deps:
- ts-jest: replaced with @swc/jest, typecheck by `tsc`
- babel plugins
- @svgr/plugin-jsx: not used
- @testing-library/user-event: handled by @storybook/test
- @typescript-eslint/utils: was not plugged in
- tsup, esbuild-plugin-svgr: will look into that later
- Install Vite required deps, and remove craco/webpack deps
- Adjust SVG to work with Vite as components
- Fixed `Step.tsx`: I dont know if one should be swaped for the other,
but there should be no slash
- Initial formating and linting:
- removed empty object params
- sorting imports, etc..
* prettier: fix pattern
* coverage: sb coverage report isnt working
* Add missing pieces
* `yarn lint --fix`
* fix: scripts permissions
* tsc: cut errors in half
* fix: remove `react-app-env.d.ts`
* tsc: all fixed, except `react-data-grid` types issue
* eslint: ignore env-config.js
* eslint: Align ci with config
* msw: bypass testing warnings
ref: https://stackoverflow.com/questions/68024935/msw-logging-warnings-for-unhandled-supertest-requests
* rebase: and fix things
* Adjust to current `graphql-codegen` no ESM support
* Remove vite plugin and use built-in methods
* rebase: and some fixes
* quick fix + `corepack use yarn@1.22.19`
* Fix build errors
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
* create gmail strategy and controller
* gmail button connect
* wip
* trying to fix error { error: 'invalid_grant', error_description: 'Bad Request' }
* access token working
* refresh token working
* Getting the short term token from the front is working
* working
* rename token
* remove comment
* rename env var
* move file
* Fix
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
* Moved pure UI object fields to ui folder
* Moved pure UI object fields to ui folder 2
* Updated graphql metadata schema and fixed typing issues
* Added a new hook to create a record identifier mapper
* Fixed merge main
* Added empty state display for when object table is empty
* Added functionality to add button for empty state
* Fixed positioning of empty state
* Renamed style containers for empty state
* Added empty state display for when object table is empty
* Added functionality to add button for empty state
* Fixed positioning of empty state
* Renamed style containers for empty state
* Addressed PR comments by using createRecord prop and numberOfTableRowsState
* WIP
* Finished multi select filter
* Cleaned console log
* Fix naming
* Fixed naming
* Moved RelationPicker folder
* Moved EntitySelect components
* Moved story
* Moved RelationPicker non component folders
* Moved everything else
* fix: several Navigation Bar and Drawer fixes
Fixes#2821
- Fix navigation drawer animations
- Fix navigation bar positioning
- Do not display navigation drawer collapse button on mobile
- Refactor code and rename componentst
* Fix storybook test
* fix: fix NavigationDrawerHeader elements space-between
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
* feat: seed companies and people data
* init DataSeedDemoWorkspaceCommand to handle:
- seedCoreSchema()
- seedMetadataSchema()
* feature: Seed workspace with demo data
- delete workspace
- initDemo() with prefillWorkspaceWithDemoObjects()
* added companies-demo.ts with data
* added people-demo.ts with data
* added workspaceId to seedFeatureFlags()
* delete previous CoreSchema before seedCoreSchema
* added workspaceMemberPrefillData
* getDemoWorkspaces() to get DEMO_WORKSPACES from config
* defined DemoSeedUserIds
- created core/demo/ to keep modified seedCoreSchema() there
- DemoSeedUserIds with new set of users and Ids
* generateOpportunities() to seed demo opportunities (limit = 50)
* Code review and fixes
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
* 2727-fix(front): CommandMenu and KeyboardMenu invoke handled
* Fix Command Menu and bug on metadata re-render
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
* feat: improve mobile display by tab bar and other changes
* fix: remove unused declaration in mobile navigation
* fix: update desktop navbar stories title
* fix: retrieve old titles for desktop-navbar stories
* fix: styles, manage active tabs
* fix: styles, manage active tabs
* fix: styles, manage active tabs
* fix: styles, manage active tabs
* fix: styles, manage active tabs
* fix: styles, manage active tabs
* fix: styles, manage active tabs
* fix: styles, manage active tabs
* fix: update logic for tab bar menu icons
* fix: remove Settings icon for mobile
* fix: resolve comments in pl
* feat: rework mobile navigation bar
* Fix
* Fixes
---------
Co-authored-by: Thaïs Guigon <guigon.thais@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
* 2394-feat(front): create new record on click of plus icon
* 2394-feat(front): fix of Icon Button
* 2394-fix: PR fixes
---------
Co-authored-by: Charles Bochet <charles@twenty.com>