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
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
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
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
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
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
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
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
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
5fdd8e0793
Fix boardcard selected state and fix table new row being added on top
2023-08-13 10:49:28 -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
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
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
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
d9f6ae8663
Feat/generic editable cell all types ( #987 )
...
* Added generic relation cell
* Deactivated debug
* Added default warning
* Put back display component
* Removed unused types
* wip
* Renamed to view field
* Use new view field structure to have chip working
* Finished
* Added a temp feature flag
* Added double text chip cell
* Ok
* Finished tables
* Fixed icon size
* Fixed bug on date field
* Use icon index
* Fix
* Fixed naming
* Fix
* removed file from merge
* Fixed tests
* Coverage
2023-07-29 14:48:43 -07:00
f4b8a3decb
Added generic relation cell ( #969 )
...
* Added generic relation cell
* Deactivated debug
* Added default warning
* Put back display component
* Removed unused types
2023-07-27 16:28:42 -07:00
011d9e840f
Feat/improve editable cell ( #959 )
...
* Removed isSomeInputInEditMode
* Removed console.log
* Added a first version of generic cell text
* Removed metadata from entity table V1
* Fix
* Fix
* Fix
2023-07-26 22:53:57 -07:00
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
6ced8434bd
Uniformize folder structure ( #693 )
...
* Uniformize folder structure
* Fix icons
* Fix icons
* Fix tests
* Fix tests
2023-07-16 14:29:28 -07:00