1a71f61d24
Fix column not being saved properly ( #1429 )
...
* Fix email column not being saved
* Fix URL fields not being clearable
* Fix phone number clearing
2023-09-04 15:42:10 +02:00
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
a46210bb80
Implement Optimistic Effects ( #1415 )
...
* Fix person deletion not reflected on Opportunities POC
* Fix companies, user deletion
* Implement optimistic effects
* Implement optimistic effects
* Implement optimistic effects
* Fix accoding to PR
2023-09-04 10:56:48 +02:00
ae072b6ce5
refactor: index ViewField by viewId and key ( #1416 )
...
* refactor: index ViewField by viewId and key
Closes #1413
* refactor: rename ViewField properties
2023-09-04 10:55:03 +02:00
85155a634f
Fix view edit button ( #1381 )
...
- fix view edit button as described
2023-08-30 15:08:27 +02:00
4aae22ab34
feat: allow adding available pre-defined table columns to views ( #1371 )
...
* feat: allow adding available pre-defined table columns to views
Closes #1360
* fix: allow creating views with the same name for the same table
* refactor: code review
- rename things
- move handleColumnVisibilityChange to useTableColumns hook
2023-08-30 11:33:21 +02:00
96c41563cf
chore: Make a twenty Eslint Rule to make sure that icons are imported from @/ui/icons ( #1370 )
...
Fix the imports
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com >
2023-08-29 13:40:17 +02:00
2b3e96b9ea
fix: do not allow removal of last table view ( #1366 )
...
Closes #1358
2023-08-29 10:03:56 +02:00
74919eff7a
refactor: add ColumnDefinition type ( #1357 )
...
* refactor: add ColumnDefinition type
Closes #1193
* refactor: code review - rename things
* fix: fix wrong import and lint
2023-08-28 18:33:03 +02:00
1b187350c0
Refactor buttons ( #1257 )
...
* Refactor buttons
* Complete components creation
* Complete refactoring
* fix lint
* Complete button work
2023-08-26 23:59:45 +02:00
36cbafe4cc
Unset companies and owners ( #1185 )
...
* unselect users and companies
* Icon now works with theme
---------
Co-authored-by: vboxuser <vboxuser@Ubu.myguest.virtualbox.org >
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-08-25 21:28:17 +02:00
209e8b64d9
feat: create default views on workspace creation + add views seed ( #1313 )
...
Closes #1311
2023-08-25 21:17:28 +02:00
67cf6cd7e2
Rework tel input ( #1316 )
...
* Rework tel input
* Fix lint
2023-08-25 20:54:00 +02:00
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
432fea0ee3
feat: create view from current table columns + persist view fields on… ( #1308 )
...
feat: create view from current table columns + persist view fields on Update View button click
Closes #1302 , Closes #1307
2023-08-25 18:21:27 +02:00
5a5ee1ff8d
Fix merge issue view filters
2023-08-25 12:48:37 +02:00
c3d6451dd0
feat: create view from selected filters and sorts + switch to newly created view on view creation ( #1301 )
...
* feat: create view from selected filters and sorts
Closes #1292
* refactor: use selector to obtain table filters where query option
* refactor: activate exhaustive deps eslint rule for useRecoilCallback
* feat: switch to newly created view on view creation
Closes #1297
* refactor: code review
- use `useCallback` instead of `useRecoilCallback`
- rename `useTableViews` to `useViews`
- move filter-n-sort selectors to /states/selector subfolder
2023-08-25 12:43:21 +02:00
de569f4c06
Scroll behavior part 2 ( #1304 )
...
* Fix layout issues introduced by scroll behavior
* Complete scrollbar work
2023-08-25 12:38:45 +02:00
e373d17a2a
Feat: The scrollbar should fade away when the scroll is finished or not started ( #1269 )
...
* The scrollbar should fade away when the scroll is finished or not started
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
* Complete scroll work
* Fix pr
* Fix pr
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-08-25 01:13:53 +02:00
baf92d6d65
Chore: New standard fields on Companies ( #1276 )
...
* New standard fields on Companies
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* New standard fields on Companies
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add requested changes
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Make some fields hidden by default
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add minor refactors
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
---------
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-08-24 17:36:12 +02:00
615018654a
Add optimistic rendering for table relations ( #1296 )
...
* Add optimistic rendering for table relations
* fix pr
* fix pr
* fix pr
* Fix PR
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-08-24 17:29:26 +02:00
b0c2881ec0
Selected row background ( #1299 )
...
selected row background
2023-08-24 16:21:12 +02:00
6c418a63bc
move canPersistFiltersScopedState & canPersistSortsScopedState to selectors folder
2023-08-24 16:01:41 +02:00
0cac598f0c
feat: disable Update View button if filters and sorts are up to date ( #1293 )
...
Closes #1291
2023-08-24 15:59:32 +02:00
bf05e5917d
Hotfix dropdown option not opened on create view
2023-08-24 14:32:02 +02:00
252f1c655e
Feat/hide board fields ( #1271 )
...
* Renamed AuthAutoRouter
* Moved RecoilScope
* Refactored old WithTopBarContainer to make it less transclusive
* Created new add opportunity button and refactored DropdownButton
* Added tests
* Deactivated new eslint rule
* Refactored Table options with new dropdown
* Started BoardDropdown
* Fix lint
* Refactor dropdown openstate
* Fix according to PR
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-08-24 13:19:42 +02:00
74ab0142c7
feat: persist view filters and sorts on Update View button click ( #1290 )
...
* feat: add viewFilters table
Closes #1121
* feat: add Update View button + Create View dropdown
Closes #1124 , #1289
* feat: add View Filter resolvers
* feat: persist view filters and sorts on Update View button click
Closes #1123
* refactor: code review
- Rename recoil selectors
- Rename filters `field` property to `key`
2023-08-23 18:20:43 +02:00
9b34a0ff3d
Add styled component rule ( #1261 )
...
* Add StyledComponent rule
* update doc
* update doc
* update doc
2023-08-17 20:58:02 -07:00
a24e1e4dc9
feat: delete views from views dropdown ( #1234 )
...
Closes #1129
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-08-16 14:27:03 -07:00
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
aa1f9bcab3
removed unused files, unnecessary exports and renamed ownProps ( #1225 )
...
* remove unused files and rename ownProps
* restore unused icons
2023-08-15 17:02:02 -07:00
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
4e654654da
feat: add views dropdown (list, add & edit views) ( #1220 )
...
Closes #1218
2023-08-15 12:08:02 -07:00
e9619ec1ac
Fix merge conflict
2023-08-14 19:35:09 -07:00
24e5132029
Moving queries into dedicated files ( #1210 )
...
* Moving queries into dedicated files
* fix ci
2023-08-14 19:31:20 -07:00
656f1af15c
feat: I can hide/show filter bar and add filters directly from filter bar ( #1173 )
...
* I can hide/show filter bar and add filters directly from filter bar
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add requested changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Revert breaking changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-08-14 19:12:11 -07:00
e3dc3b3e4a
Cosmetic refactoring on context menu ( #1209 )
...
* Cosmetic refactoring on context menu
* Fix lint
* Fix lint
* Fix lint
* Fix lint
* Fix lint
* Fix lint
2023-08-15 02:34:23 +02:00
444d9a9ca1
Merge branch 'brendanlaschke-context-menu-vertical'
2023-08-14 15:46:42 -07:00
45687f5100
Fix conficts
2023-08-14 15:43:55 -07:00
43b0945028
Reorganize context/states/selectors in dedicated folders ( #1205 )
...
* Reorganize context/states/selectors in dedicated folders
* linter
2023-08-14 15:29:47 -07:00
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
cbd0d0a724
- rename entries hooks
...
- tests
- move useeffects to sub components
2023-08-14 23:52:36 +02:00
a7f4326419
- moved states
2023-08-14 22:12:29 +02:00
39bbe02c86
Merge commit 'cd3a32e55503dc1e6b9873d812dd401bf7d51045' into context-menu-vertical
2023-08-14 22:00:49 +02:00
5fdd8e0793
Fix boardcard selected state and fix table new row being added on top
2023-08-13 10:49:28 -07:00
e6b20b5ff2
Fix drag-performance ( #1184 )
...
* Fix drag-performance
* Fixes
* Fixes
* Fixes
* Fixes
2023-08-12 20:28:33 -07:00
8cf6db8c65
fix-on-dropdown-menu-width ( #1181 )
2023-08-12 17:26:47 -07:00
09ab1300a3
Remove unused components ( #1180 )
...
* Remove unused components
* Fix company not being created issue
* Fix company not being created issue
* Fix company not being created issue
* Optimize rendering
* Optimize rendering
2023-08-12 16:29:18 -07:00
3978ef4edb
feat: change column visibility on add ( #1174 )
...
* feat: change column visibility on add
* refactor: extract views business logic from table
2023-08-11 12:38:20 -07:00
cca68d72f4
Merge branch 'main' into context-menu-vertical
2023-08-11 10:40:31 +02:00