Aasim Attia
a70a9281eb
Move frontend to Vite 5 ( #2775 )
...
* 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 >
2023-12-10 16:22:43 +01:00
gitstart-twenty
306344a190
Spreadsheet import front module ( #2862 )
...
* Spreadsheet import front module
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
* Automatically update table
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
* Add company import
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
* Fixes
* Hide import options on custom objects
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-09 11:01:01 +01:00
gitstart-twenty
7c40dc7b81
Add Keyboard navigation on IconPicker ( #2778 )
...
* Add Add Keyboard navigation on IconPicker
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add Keyboard navigation on IconPicker
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add Keyboard navigation on IconPicker
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add Keyboard navigation on IconPicker
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Implement IconPicker
* Remove onEnter clicked
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-09 10:45:40 +01:00
Charles Bochet
69f48ea330
Fix optimistic rendering issues on board and table ( #2846 )
...
* Fix optimistic rendering issues on board and table
* Remove dead code
* Improve re-renders of Table
* Remove re-renders on board
2023-12-05 22:29:27 +01:00
Kanav Arora
31f29582d0
2727-fix(front): CommandMenu and KeyboardMenu invoke handled ( #2783 )
...
* 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 >
2023-12-01 23:45:42 +01:00
Lucas Bordeau
74b077f3ca
Feat/error boundaries ( #2779 )
...
* - Changed to objectNameSingular always defined
- Added ErrorCatchAll
* - Added mock mode for companies logged out
- Added a proper ErrorBoundary component
* Removed react-error-boundary
* Implemented proper ErrorBoundary
* Fixes
* Change strategy about mocks
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-01 22:06:38 +01:00
Lucas Bordeau
d855a42eca
Fix/object record and metadata naming ( #2763 )
...
* Fixed object-record and object-metadata naming
* Fix post merge
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-29 13:45:57 +01:00
Kanav Arora
74e2464939
2495 fix cmdk removal and added toggle functionality ( #2528 )
...
* 2495-fix(front): cmdk removed; custom styles added
* 2495-fix(front): search issue fixed
* 2495-feat(front): Menu toggle funct added
* 2495-fix(front): onclick handler added
* 2495-fix(front): Focus with ArrowKeys added; cmdk removed
* Remove cmdk
* Introduce Selectable list
* Improve api
* Improve api
* Complete refactoring
* Fix ui regressions
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-28 18:50:23 +01:00
Charles Bochet
de5b86ee66
Fix Activity relation picker ( #2684 )
2023-11-23 23:29:27 +01:00
Charles Bochet
9dabe44d0f
Fix KeyboardShortcut menu, person upload picture ( #2669 )
...
* Fix KeyboardShortcut menu, person upload picture
* Fixes
2023-11-23 13:44:54 +01:00
Charles Bochet
ec3cfe6fdb
Add back pickers on all pages, fix command menu ( #2662 )
...
* Add back pickers on all pages, fix command menu
* Fix lint
2023-11-22 22:32:25 +01:00
Charles Bochet
f5e1d7825a
Removing Prisma and Grapql-nestjs-prisma resolvers ( #2574 )
...
* Some cleaning
* Fix seeds
* Fix all sign in, sign up flow and apiKey optimistic rendering
* Fix
2023-11-19 18:25:47 +01:00
Kanav Arora
279630052f
2294 feat(frontend): styling shortcut keys ( #2336 )
...
* 2294 feat(frontend): styling shortcut keys
* 2294 fix(front): pr requested changes
* Fix component interface
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-09 15:18:51 +01:00
Charles Bochet
3d483b5640
Improve first loading performance
2023-11-06 18:26:53 +01:00
brendanlaschke
c80eb5c0b0
Show icons for navigate commands ( #2184 )
...
- show icons for navigate commands
2023-10-23 10:28:01 +02:00
Charles Bochet
258685467b
Refactor UI folder ( #2016 )
...
* Added Overview page
* Revised Getting Started page
* Minor revision
* Edited readme, minor modifications to docs
* Removed sweep.yaml, .devcontainer, .ergomake
* Moved security.md to .github, added contributing.md
* changes as per code review
* updated contributing.md
* fixed broken links & added missing links in doc, improved structure
* fixed link in wsl setup
* fixed server link, added https cloning in yarn-setup
* removed package-lock.json
* added doc card, admonitions
* removed underline from nav buttons
* refactoring modules/ui
* refactoring modules/ui
* Change folder case
* Fix theme location
* Fix case 2
* Fix storybook
---------
Co-authored-by: Nimra Ahmed <nimra1408@gmail.com >
Co-authored-by: Nimra Ahmed <50912134+nimraahmed@users.noreply.github.com >
2023-10-14 00:04:29 +02:00
brendanlaschke
9282885233
Fix cmd menu tests ( #1739 )
...
* - fix tests
* - fixed header
* - lint
- fixed catalog menuitemcommand
* - fix prop destructuring in test
* - combine single/multiple create and goto commands
2023-09-27 15:19:33 +02:00
Ayush Agrawal
cd20a437d8
Fix: Command menu keeps the last input ( #1723 )
...
Fix/Command menu keeps the last input
2023-09-25 15:40:28 +02:00
brendanlaschke
20267f081a
Fix command menu keyboard input & refactor group ( #1706 )
...
* - fix command menu keyboard shortcuts
- refactor command groups
* - refactor the MenuItemCommand to use cmdk
* - fixed matching commands multiple displays
* - fixed array count problems react with boolean
2023-09-22 11:44:42 +02:00
Rishi Raj Jain
b5b46f923a
fix: Command bar is broken ( #1617 )
...
* Update CommandMenu.tsx
* remove broken states
* convert to array
* convert filter conditions
* empty condition
* finally
* update the logic
* add test
* lint
* move file
2023-09-21 11:18:44 -07:00
gitstart-twenty
00a3c8ca2b
Change to using arrow functions ( #1603 )
...
* Change to using arrow functions
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add lint rule
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-15 18:41:10 -07:00
gitstart-twenty
fb737e2021
Refactor icons passed as props with the new way ( #1492 )
...
* Refactor icons passed as props with the new way
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Update more files
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Fix according to review
* Fix according to review
* Fix according to review
* Fix chromatic regressions
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-10 11:39:17 -07:00
gitstart-twenty
878302dd31
[ESLint rule]: recoil value and setter should be named after their at… ( #1402 )
...
* Override unwanted changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
* Fix the tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-09-05 10:34:11 +02:00
Weiko
7d900ad1c6
Reorganize context/states/selectors in dedicated folders ( #1205 )
...
* Reorganize context/states/selectors in dedicated folders
* linter
2023-08-14 15:08:47 -07:00
Charles Bochet
e6b20b5ff2
Fix drag-performance ( #1184 )
...
* Fix drag-performance
* Fixes
* Fixes
* Fixes
* Fixes
2023-08-12 20:28:33 -07:00
Charles Bochet
b49c857dc5
Fix lint
2023-08-09 14:11:54 -07:00
Sunil Kumar Behera
4a388b8ed5
Add task and note create option in comand menu ( #1115 )
...
* add task and note create option in comand menu
* Re-run CIs
---------
Co-authored-by: Weiko <corentin@twenty.com >
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-08-09 14:09:32 -07:00
brendanlaschke
0ad35549ac
Fix hotkeys for tasks page ( #1034 )
...
- fix hotkeys for tasks
2023-08-01 22:11:07 -07:00
Charles Bochet
ade5e52e55
Clean and re-organize post table refactoring ( #1000 )
...
* Clean and re-organize post table refactoring
* Fix tests
2023-07-30 18:26:32 -07:00
brendanlaschke
20a1946b35
Changes to commands in search window ( #996 )
...
- changes to commands in search window
2023-07-30 13:29:10 -07:00
Jérémy M
3daebd0e0c
feat: search activities ( #972 )
2023-07-28 10:02:56 -07:00
310387
8c659b8b37
fix: 906 edit avatar style ( #923 )
...
* fix: 906 edit avatar style
* fix: 906 add avatar size enum and mapping for font and height
* fix: 906 remove unused vars
2023-07-27 16:37:12 -07:00
Charles Bochet
6ced8434bd
Uniformize folder structure ( #693 )
...
* Uniformize folder structure
* Fix icons
* Fix icons
* Fix tests
* Fix tests
2023-07-16 14:29:28 -07:00
Emilien Chauvet
91c8068db1
Enable column edition, and fix ordering ( #683 )
...
* Enable column edition, and fix ordering
* Move queries to services
* Add total amounts for board columns
* Refactor totals selector as a family
* Fix 0-index issue
* Lint
* Rename selector
* Remove useless header
* Address PR comments
* Optimistically update board column names
2023-07-15 19:32:16 -07:00
Félix Malfait
7959308e0b
Add search to cmd bar ( #667 )
...
* Move useFilteredSearchEntityQuery from relation picker to search module
* refactor duplicated code with useFilteredSearchCompanyQuery
* Implement similar pattern for people than for companies with useFilteredSearchEntityQuery
* Fix warning from a previous PR
* Enable search from menu
* Add companies to search
* Fix ESLint
* Refactor
* Fix according to peer review
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-07-15 15:23:37 -07:00
Charles Bochet
e93a96b3b1
Refactor hotkyes in its own lib folder ( #660 )
...
* Refactor hotkyes in its own lib folder
* Lint
* Fix PR comments
* rename hotkeysScope into hotkeyScope
2023-07-14 12:27:26 -07:00
Lucas Bordeau
5f98b70c6a
Fix/scope hotkeys ( #581 )
...
* WIP
* asd
* Fix
* Fix lint
* Removed console log
* asd
* Removed isDefined
* Fix/debounce company card onchange (#580 )
* Add internal state and debounce for editable text card
* Use debounce for date fields too
* Update refetch
* Nit
* Removed comments
* Ménage
---------
Co-authored-by: Emilien Chauvet <emilien.chauvet.enpc@gmail.com >
2023-07-11 01:53:46 +00:00
Lucas Bordeau
66dcc9b2e1
Feat/better hotkeys scope ( #526 )
...
* Working version
* fix
* Fixed console log
* Fix lint
* wip
* Fix
* Fix
* consolelog
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-07-07 18:53:05 -07:00
Félix Malfait
c871d1cc10
Commandbar and dark mode UI fixes ( #491 )
...
* Improve dark mode
* Improve commandbar style and add interactions
2023-07-01 08:38:45 -07:00
Félix Malfait
827d6390e4
Refactoring shortcuts and commandbar ( #412 )
...
* Begin refactoring shortcuts and commandbar
* Continue refacto hotkeys
* Remove debug logs
* Add new story
* Simplify hotkeys
* Simplify hotkeys
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-06-25 22:25:31 -07:00