a766c60aa5
Reafactor/UI input and displays ( #1544 )
...
* WIP
* Text field
* URL
* Finished PhoneInput
* Refactored input sub-folders
* Boolean
* Fix lint
* Fix lint
* Fix useOutsideClick
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-11 17:11:20 -07:00
9be069bedc
Fixed bug for refectch activities and create activity on the currently filtered user. ( #1493 )
...
* Fixed bug for refectch activities and create activity on the currently filtered user.
* Refactor optimistif effect
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-10 23:02:51 -07:00
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
df17da80fc
refactor: add ViewBar and move view components to ui/view-bar ( #1495 )
...
Closes #1494
2023-09-08 11:57:16 +02:00
ccb57c91a3
refactor: move view recoil states to ui/view-bar folder ( #1482 )
...
* refactor: move view recoil states to ui/view-bar folder
Closes #1481
* refactor: rename some view related Recoil states and selectors
2023-09-08 11:26:15 +02:00
d6b89359f5
refactor: rename ui/filter-n-sort to ui/view-bar ( #1475 )
...
Closes #1473
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-09-06 16:46:02 +02:00
28ca9a9e49
Refactor/new menu item ( #1448 )
...
* wip
* finished
* Added disabled
* Fixed disabled
* Finished cleaning
* Minor fixes from merge
* Added docs
* Added PascalCase
* Fix from review
* Fixes from merge
* Fix lint
* Fixed storybook tests
2023-09-06 16:41:26 +02:00
f332c3bee2
Fix View update button not being displayed in View Bar ( #1469 )
2023-09-06 10:37:29 +02:00
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
7bced2b49b
Unselect table rows using esc key or click outside ( #1420 )
...
* unselect table rows by esc or clickoutside of tablebody
* exclude action-bar
* exclude context-menu
* added enums, handled touch listener
2023-09-05 09:56:07 +02:00
d04c661ffd
Fix buttons and z-index ( #1438 )
...
* Fix buttons
* Remove useless code
2023-09-04 17:52:03 +02:00
a1e6e46388
fix: allow access to the Update View button when a table column can be persisted ( #1433 )
...
Closes #1432
2023-09-04 17:08:04 +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
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
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
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
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
b0c2881ec0
Selected row background ( #1299 )
...
selected row background
2023-08-24 16:21:12 +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
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
4e654654da
feat: add views dropdown (list, add & edit views) ( #1220 )
...
Closes #1218
2023-08-15 12:08:02 -07:00
24e5132029
Moving queries into dedicated files ( #1210 )
...
* Moving queries into dedicated files
* fix ci
2023-08-14 19:31:20 -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
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
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
accfaafcfa
- refactored to use multiple states
2023-08-11 10:27:31 +02:00
80a562d90d
feat: persist view sorts ( #1154 )
...
Closes #1122
2023-08-10 10:10:02 -07:00
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
1bf44e0188
Fixes table header ( #1087 )
...
* Wrap up Front chat
* Wrap up Front chat
* Disable entity selectionwhen starting from menu
2023-08-04 19:27:48 -07:00
5e6351e099
Drag To Select Table ( #1064 )
...
* - added drag to select on EntityTable
* - moved dragToSelect to own component
* - convert DragSelect to a generic component
* - fixed unused vars
* formatting
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-08-04 16:16:01 -07:00
c6bec40c90
feat: show/hide table columns ( #1078 )
...
Closes #813
2023-08-04 10:44:46 -07:00
417ca3d131
feat: add table columns ( #1056 )
...
* feat: add table columns
Closes #879
* refactor: ComponentProps first
2023-08-04 10:07:31 -07:00
2b21e05524
Improve mouse tracking ( #1061 )
...
* Improve mouse tracking
* Fix lint
* Fix regression on Filters
* Fix according to review
2023-08-03 10:36:11 -07:00
3807d62aeb
feat: persist resized column widths ( #1017 )
...
* feat: persist resized column widths
Closes #981
* test: mock company and person view fields
2023-08-02 11:48:14 -07:00
a90cbac5e6
Fix table mock mode ( #1007 )
2023-07-31 10:50:02 +02:00
58e5d24261
feat: add column resizing ( #975 )
...
* feat: add column resizing
Closes #817
* Use mouse up and down instead of dragging
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-07-30 20:38:38 -07:00