0a7a0ac6cb
Refactor/context and scopes ( #1602 )
...
* Put onImport in a context
* Refactored RecoilScopeContexts
* Refactored naming
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-15 12:51:46 -07:00
55ead78fbf
Fix: Bug with auto scroll ( #1599 )
...
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-09-15 17:52:43 +02:00
955deaf878
feat: improve table options dropdown view name input ( #1604 )
...
- Always show view name input in dropdown
- Edit current view name by default
- Add focus style
- Reset view edit mode on dropdown close
Closes #1540
2023-09-15 17:26:00 +02:00
2461a387ce
feat: persist board card fields ( #1566 )
...
Closes #1538
2023-09-14 15:06:15 -07:00
8627416d60
Refator/sorts dropdown ( #1568 )
...
* WIP
* Fixed lint
* Ok for sorts
* Fixed on dropdown toggle
* Fix lint
2023-09-13 16:38:11 -07:00
a392a81994
fix: hover behaviour on table cells ( #1557 )
...
* edit button focus fix
* cell feedback fix
* using theme prop
* isHovered prop drill
* edit button component
* refactor editable cell
* import fix
* index fix (merge issue)
2023-09-13 16:31:59 -07:00
28e12d492c
feat: toggle board field visibilities ( #1547 )
...
Closes #1537 , Closes #1539
2023-09-13 11:58:52 +02:00
84b474c3cc
Number display formatting ( #1556 )
...
* number display formatting
* - add tests
2023-09-13 10:12:25 +02:00
9b5e24105b
Refactor/display input part 2 ( #1555 )
...
* Email - Money - Number
* Date
2023-09-12 11:04:26 -07:00
564a7c97b1
refactor: improve SingleEntitySelect empty option ( #1543 )
...
Closes #1331
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-11 17:27:17 -07:00
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
88c6d0da2a
feat: add Opportunities Views dropdown ( #1503 )
...
* feat: add Opportunities Views dropdown
Closes #1454
* feat: persist Opportunities view filters and sorts
Closes #1456
* feat: create/edit/delete Opportunities views
Closes #1455 , Closes #1457
* fix: add missing Opportunities view mock
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-09-10 19:07:14 -07:00
8ea4e6a51c
feat: reset table column resizing on ViewBar Cancel button click ( #1520 )
...
* feat: reset table column resizing on ViewBar Cancel button click
Closes #1500
* Fix according to PR
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-10 18:51:24 -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
392c8052b2
Fixed Table view dropdown ( #1497 )
2023-09-07 22:39:53 +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
08b56ec7e2
fix: can't set ARR of company to empty ( #1474 )
2023-09-06 11:22:42 +02:00
f332c3bee2
Fix View update button not being displayed in View Bar ( #1469 )
2023-09-06 10:37:29 +02:00
c05d24d249
fix: table view dropdown should have a minimum width ( #1467 )
2023-09-06 10:37:02 +02:00
85c8139c05
fix: double text chip show null value ( #1460 )
2023-09-05 17:55:29 +02:00
aad4f99f52
fix: view dropdown incorrect button position and floating icon button doesn't match design ( #1458 )
...
* fix: view dropdown incorrect button position
* fix: className instead of style drill down
* fix: view drop down width
2023-09-05 17:45:05 +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
2eac5df05b
fix: big view name is not handled ( #1439 )
...
* fix: big view name is not handled
* fix: smaller max size
2023-09-04 17:47:32 +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
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