Lucas Bordeau
9c29c436b9
Feat/pagination front ( #2387 )
...
* Finished renaming and scope
* wip
* WIP update
* Ok
* Cleaned
* Finished infinite scroll
* Clean
* Fixed V1 tables
* Fix post merge
* Removed ScrollWrapper
* Put back ScrollWrapper
* Put back in the right place
2023-11-10 12:43:14 +01:00
Charles Bochet
e70ef58f97
Live code editor for UI docs ( #2351 )
...
* Docausaurus code live editor test
* Docusaurus sandpack test
* Fix setup
* Delete files
* Fixes
* Complete work
* Fix config
* Fix config
---------
Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-11-03 23:09:20 +01:00
Charles Bochet
b4af15467f
Fix data not loading on recordTable
2023-11-03 14:53:11 +01:00
Charles Bochet
1c5c71bc48
Reduce image size ( #2306 )
...
* Reduce image size
* Clean dependencies
* Clean dependencies
2023-10-31 21:43:16 +01:00
Lucas Bordeau
3f2e1b622e
Feat/show page metadata ( #2234 )
...
* Fix view fetch bug
* Finished types
* Removed console.log
* Fixed todo
* Working Object Show Page
* Minor fixes
* Fix custom object requests pending (#2240 )
* Fix custom object requests pending
* fix typo
* Fix various bugs
* Typo
* Fix
* Fix
* Fix
---------
Co-authored-by: Weiko <corentin@twenty.com>
2023-10-27 11:06:07 +02:00
brendanlaschke
6a72c14af3
Use zod instead of yup ( #2254 )
...
* use zod instead of yup
* doc
* lint
2023-10-27 10:26:32 +02:00
Thaïs
b30233d582
fix: generate metadata object and field names in camel case ( #2250 )
...
Fixes #2249
2023-10-26 17:27:52 +02:00
Thaïs
2b1945a3e1
feat: create custom object and update edited object names ( #2220 )
...
Closes #2155 , Closes #2153
2023-10-26 11:04:16 +02:00
gitstart-twenty
5acafe2fc6
Chore(front): Add more typeguards ( #2136 )
...
* Chore(front): Add more typeguards
Co-authored-by: Benjamin Mayanja V <vibenjamin6@gmail.com>
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>
* Remove source map generation to avoid warnings
---------
Co-authored-by: Benjamin Mayanja V <vibenjamin6@gmail.com>
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-24 09:26:47 +02:00
gitstart-twenty
0c79217ba0
Add an ESLint rule to prevent the usage of useRef other than for HTML elements. ( #2014 )
...
* Add an ESLint rule to prevent the usage of useRef other than for HTML elements
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Bump eslint version and rewrite rule
* Fix
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-14 11:32:46 +02:00
Lucas Bordeau
cafcfdc95e
Feat/front metadata request ( #1977 )
...
* wip
* Wip
* Wip
* Finished v1
* Fix from PR
* Removed unused fragment masking feature
2023-10-13 18:01:57 +02:00
gitstart-twenty
41ae30cada
Chore(front): Add storybook tests on meta-types/input/components ( #1987 )
...
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Fix the tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* modify props spread in stories
* Remove storybook-addon-mock
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-13 17:47:08 +02:00
Lucas Bordeau
cbadcba188
FieldDisplay & FieldInput ( #1708 )
...
* Removed view field duplicate types
* wip
* wip 2
* wip 3
* Unified state for fields
* Renaming
* Wip
* Post merge
* Post post merge
* wip
* Delete unused file
* Boolean and Probability
* Finished InlineCell
* Renamed EditableCell to TableCell
* Finished double texts
* Finished MoneyField
* Fixed bug inline cell click outside
* Fixed hotkey scope
* Final fixes
* Phone
* Fix url and number input validation
* Fix
* Fix position
* wip refactor activity editor
* Fixed activity editor
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-27 18:18:02 +02:00
Lucas Bordeau
3c4ab605db
Fix eslint-plugin-twenty ( #1640 )
...
* Fixed color rule
* Fixed naming
* Fix effect component rule
* Deactivated broken rules
* Fixed lint
* Complete eslint-plugin-twenty work
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-18 16:38:57 -07:00
Charles Bochet
7fa80c5f71
Fix eslint setup
2023-09-17 08:28:05 -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
Lucas Bordeau
84a27b148f
Feat/sidecar components ( #1578 )
...
* Added a new eslint plugin in TypeScript for Effect components
* Fixed edge cases
* Fixed lint
* Fix eslint
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-14 17:04:45 -07:00
Jérémy M
3a0f02f2f2
feat: table virtualization ( #1408 )
...
* feat: poc table virtualization
* feat: table virtualization
* feat: add overscan of 15
* fix: increase overscan to 50
* fix: dead code
* fix: debug mode
* feat: styled space
2023-09-04 13:33:02 +02:00
Mustajab Ikram
8bb4071f09
feat: add page titles using React Helmet ( #1321 )
...
* feat: add page titles using React Helmet
* refactor: extract page title logic to separate component
* fix: resolve review comments
* fix: resolve testing errors
2023-08-28 18:49:04 +02:00
Charles Bochet
67cf6cd7e2
Rework tel input ( #1316 )
...
* Rework tel input
* Fix lint
2023-08-25 20:54:00 +02:00
Mustajab Ikram
4f7e1fb60e
Feat/phone email link enhancements ( #1172 )
...
* feat: Add type guards for ViewField email values and definitions, update ViewFieldTypes & peopleViewFields
* feat: use ContactLink for EditablePhoneCell & create EditableEmailCell & EmailInputDisplay comp
* fix: set second value for field
* enhance: add edit btn for phone cell
* feat: install dependencies intl-tel-input
* feat: add phone cell input & connect intl-tel-input
* fix: resolve rebase errors
* fix: remove placeholder
* feat(storybook): create stories for EmailInputDisplay, PhoneInputDisplay, and PhoneEditableField components
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-08-25 18:42:22 +02:00
Weiko
9b34a0ff3d
Add styled component rule ( #1261 )
...
* Add StyledComponent rule
* update doc
* update doc
* update doc
2023-08-17 20:58:02 -07:00
Charles Bochet
dbf01c759d
Fix react-data-grid version to avoid compatibility issue
2023-08-16 14:38:17 -07:00
Jérémy M
8863bb0035
Import company and person from csv file ( #1236 )
...
* feat: wip implement back-end call csv import
* fix: rebase IconBrandTwitter missing
* feat: person and company csv import
* fix: test & clean
* fix: clean & test
2023-08-16 14:18:16 -07:00
Thaïs
8479205c2a
chore: fix @apollo/client version to 3.7.17 ( #1233 )
2023-08-16 10:02:09 -07:00
Charles Bochet
b503b53062
Fix tests and upgrade node_modules ( #1227 )
...
* Fix tests
* Fix tests
* Fix 0 in SortandFilterBar
2023-08-15 19:38:50 -07:00
Jérémy M
56cada6335
feat: wip import csv [part 1] ( #1033 )
...
* feat: wip import csv
* feat: start implementing twenty UI
* feat: new radio button component
* feat: use new radio button component and fix scroll issue
* fix: max height modal
* feat: wip try to customize react-data-grid to match design
* feat: wip match columns
* feat: wip match column selection
* feat: match column
* feat: clean heading component & try to fix scroll in last step
* feat: validation step
* fix: small cleaning and remove unused component
* feat: clean folder architecture
* feat: remove translations
* feat: remove chackra theme
* feat: remove unused libraries
* feat: use option button to open spreadsheet & fix stories
* Fix lint and fix imports
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-15 15:12:47 -07:00
gitstart-twenty
fc17a0639a
chore: New standard fields on People ( #1104 )
...
* Add New standard fields on People
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
* Add requested changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
---------
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
2023-08-09 11:36:03 -07:00
Lucas Bordeau
3666980ccc
Feat/generic editable board card ( #1089 )
...
* Fixed BoardColumnMenu
* Fixed naming
* Optimized board loading
* Added GenericEditableField
* Introduce GenericEditableField for BoardCards
* remove logs
* delete unused files
* fix stories
---------
Co-authored-by: corentin <corentin@twenty.com>
2023-08-08 20:08:37 -07:00
Charles Bochet
b6e1853d9f
Add @air/react-drag-to-select dependency ( #1083 )
2023-08-04 15:35:36 -07:00
Lucas Bordeau
b52745533a
Added unused imports and vars and fixed lint ( #929 )
2023-07-25 17:18:25 -07:00
Lucas Bordeau
a2ccb643ff
Optimize table loading ( #866 )
...
* wip
* wip
* Ok
* Deleted unused code
* Fixed lint
* Minor fixes
* Minor fixes
* Minor Fixes
* Minor merge fixes
* Ok
* Fix storybook tests
* Removed console.log
* Fix login
* asd
* Fixed storybook
* Added await
* Fixed await
* Added sleep for failing test
* Fix sleep
* Fix test
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-25 11:00:15 -07:00
Lucas Bordeau
21d5133564
Feat/improve mobile display ( #843 )
...
* Ok 1
* Finished
* Fix PR
* Fix PR
* Fix desktop
* Fix
* Fix absolute listen click outside
* console.log
* Fix according to code review
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-23 10:53:35 -07:00
Thaïs
56cff63c4b
docs: use ComponentDecorator ( #800 )
...
Related to #702
2023-07-21 12:02:21 -07:00
Charles Bochet
a972705ce6
Improve test coverage and refactor storybook arch ( #723 )
...
* Improve test coverage and refactor storybook arch
* Fix coverage
* Fix tests
* Fix lint
* Fix lint
2023-07-17 17:14:53 -07:00
Lucas Bordeau
d70234f918
Fix/table remove and mock data ( #653 )
...
* Removed tanstack react table
* Fixed remove table feature without tanstack table
* Fixed delete people and companies
* Fixed hotkeys on editable date cell
* Fixed double text
* Fixed company mock mode
* Fixed lint
* Fixed right click selection
2023-07-13 12:43:00 -07:00
Jérémy M
e7d48d5373
Add validation on onboarding flow inputs ( #556 )
...
* feat: wip react-hook-form
* feat: use react-hook-form for password login
* feat: clean regex
* feat: add react-hook-form on create workspace
* feat: add react-hook-form on create profile page
* fix: clean rebased code
* fix: rebase issue
* fix: add new stories to go over 65%
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-12 16:53:48 -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
Félix Malfait
94a913a41f
Add "show company / people" view and "Notes" concept ( #528 )
...
* Begin adding show view and refactoring threads to become notes
* Progress on design
* Progress redesign timeline
* Dropdown button, design improvement
* Open comment thread edit mode in drawer
* Autosave local storage and commentThreadcount
* Improve display and fix missing key issue
* Remove some hardcoded CSS properties
* Create button
* Split company show into ui/business + fix eslint
* Fix font weight
* Begin auto-save on edit mode
* Save server-side query result to Apollo cache
* Fix save behavior
* Refetch timeline after creating note
* Rename createCommentThreadWithComment
* Improve styling
* Revert "Improve styling"
This reverts commit 9fbbf2db00
.
* Improve CSS styling
* Bring back border radius inadvertently removed
* padding adjustment
* Improve blocknote design
* Improve edit mode display
* Remove Comments.tsx
* Remove irrelevant comment stories
* Removed un-necessary panel component
* stop using fragment, move trash icon
* Add a basic story for CompanyShow
* Add a basic People show view
* Fix storybook tests
* Add very basic Person story
* Refactor PR1
* Refactor part 2
* Refactor part 3
* Refactor part 4
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-09 22:25:34 -07: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
Charles Bochet
a975935f49
Connect profile picture upload to backend ( #533 )
...
* Connect profile picture upload to backend
* Fix tests
* Revert onboarding state changes
2023-07-07 17:50:02 -07:00
Jérémy M
1144bd13ed
feat: onboarding & profile edition ( #507 )
...
* feat: wip onboarding
* fix: generate graphql front
* wip: onboarding
* feat: login/register and edit profile
* fix: unused import
* fix: test
* Use DEBUG_MODE instead of STAGE and mute typescript depth exceed errors
* Fix seeds
* Fix onboarding when coming from google
* Fix
* Fix lint
* Fix ci
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-06 17:05:15 -07:00
Deepak Singh
6e1ffdcc72
feat: Skeleton loading #404 ( #458 )
...
* feat: Skeleton loading #404
* fix: skeleton loading
* fix: skeleton loading
* feat: Skeleton loading #404
* fix: skeleton loading
* fix: skeleton loading
* Update CompanyPickerSkeleton.tsx
* updated changes
2023-07-05 15:50:36 +02:00
Lucas Bordeau
820ef184d3
Refactor/filters ( #498 )
...
* wip
* - Added scopes on useHotkeys
- Use new EditableCellV2
- Implemented Recoil Scoped State with specific context
- Implemented soft focus position
- Factorized open/close editable cell
- Removed editable relation old components
- Broke down entity table into multiple components
- Added Recoil Scope by CellContext
- Added Recoil Scope by RowContext
* First working version
* Use a new EditableCellSoftFocusMode
* Fixes
* wip
* wip
* wip
* Use company filters
* Refactored FilterDropdown into multiple components
* Refactored entity search select in dropdown
* Renamed states
* Fixed people filters
* Removed unused code
* Cleaned states
* Cleaned state
* Better naming
* fixed rebase
* Fix
* Fixed stories and mocked data and displayName bug
* Fixed cancel sort
* Fixed naming
* Fixed dropdown height
* Fix
* Fixed lint
2023-07-04 13:54:58 +00:00
Jérémy M
433962321a
feat: onboarding ui flow ( #464 )
...
* feat: onboarding ui flow
* fix: route naming and auth
* fix: clean unused imports
* fix: remove react.fc
* fix: infra dev remove package.json
* fix: remove usefull memoization
* fix: button stories
* fix: use type instead of interface
* fix: remove debug
2023-06-30 06:26:06 +00:00
Charles Bochet
d6364a9fdd
Apply new theme ( #449 )
...
* Apply new theme
* Fix storybook
* Fixes
* Fix regressions
2023-06-26 19:13:04 -07:00
Jérémy M
c6708b2c1f
feat: rewrite auth ( #364 )
...
* feat: wip rewrite auth
* feat: restructure folders and fix stories and tests
* feat: remove auth provider and fix tests
2023-06-23 08:49:50 -07:00
Lucas Bordeau
e679f45615
Feat/single entity select relation picker ( #345 )
...
* - Implemented recoil scoped state
- Implemented SingleEntitySelect
- Implemented keyboard shortcut up/down select
* Added useRecoilScopedValue
* Fix storybook
* Fix storybook
* Fix storybook
* Fix storybook
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-21 13:29:07 -07:00
Sammy Teillet
96a53ad765
refactor: remove mappers ( #326 )
...
* refactor: remove mappers
* chore: generate graphql types
* lint: remove useless import
* Remove preset-react-create-app from storybook addons
* test: remove old tests
* Upgrade storybook version
* Remove sb preset-cra and add sb svgr loader
* chore: remove figma image url from storybook
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-19 14:07:16 +00:00
Charles Bochet
ffa8318e2e
Add Auth Index page ( #323 )
2023-06-18 00:18:13 +02:00