8c21dc8bba
Refactor fast follow on column move feature ( #1665 )
...
* Refactor fast follow on column move feature
* Fix lint
2023-09-19 16:42:11 -07:00
321488ad3c
feat: Column title menus ( #1616 )
...
* view field index to float
* gql codegen and package.json
* list implementation
* db call
* reposition logic
* lint fix
* edge case fix
* review changes
* handleColumnMove refactor
* dropdown recoil scope
* rename props
* Update server/src/database/migrations/20230727124244_add_view_fields_table/migration.sql
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-09-19 15:27:02 -07:00
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
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
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
28e12d492c
feat: toggle board field visibilities ( #1547 )
...
Closes #1537 , Closes #1539
2023-09-13 11:58:52 +02: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
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
5c7660f588
feat: create default opportunities view on workspace creation + add seed data ( #1461 )
...
Closes #1314
2023-09-06 12:05:33 +02:00
b3887c6bcc
fix: use correct table view when switching workspaces ( #1447 )
...
Closes #1441
2023-09-05 12:40:45 +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
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
6eadd1d132
refactor: create/update/delete one view instead of many ( #1384 )
...
Closes #1359
2023-08-30 15:35:18 +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
209e8b64d9
feat: create default views on workspace creation + add views seed ( #1313 )
...
Closes #1311
2023-08-25 21:17:28 +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
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
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
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
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