d02dd69613
Fix filters and sorts on views ( #2258 )
2023-10-27 11:48:38 +02:00
1728045be4
Fixes ( #2256 )
2023-10-27 11:25:14 +02:00
3f2e1b622e
Feat/show page metadata ( #2234 )
...
* Fix view fetch bug
* Finished types
* Removed console.log
* Fixed todo
* Working Object Show Page
* Minor fixes
* Fix custom object requests pending (#2240 )
* Fix custom object requests pending
* fix typo
* Fix various bugs
* Typo
* Fix
* Fix
* Fix
---------
Co-authored-by: Weiko <corentin@twenty.com >
2023-10-27 11:06:07 +02:00
5ba68e997d
Improve viewbar api ( #2233 )
...
* create scopes
* fix import bug
* add useView hook
* wip
* wip
* currentViewId is now retrieved via useView
* working on sorts with useView
* refactor in progress
* refactor in progress
* refactor in progress
* refactor in progress
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fix code
* fix code
* wip
* push
* Fix issue dependencies
* Fix resize
---------
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2023-10-27 10:52:26 +02:00
f1670f0cf4
Feat/metadata datatable types ( #2175 )
...
* Handled new url v2 type
* Fixed refetch queries
* wip
* Ok delete but views bug
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-21 14:07:18 +02:00
258685467b
Refactor UI folder ( #2016 )
...
* Added Overview page
* Revised Getting Started page
* Minor revision
* Edited readme, minor modifications to docs
* Removed sweep.yaml, .devcontainer, .ergomake
* Moved security.md to .github, added contributing.md
* changes as per code review
* updated contributing.md
* fixed broken links & added missing links in doc, improved structure
* fixed link in wsl setup
* fixed server link, added https cloning in yarn-setup
* removed package-lock.json
* added doc card, admonitions
* removed underline from nav buttons
* refactoring modules/ui
* refactoring modules/ui
* Change folder case
* Fix theme location
* Fix case 2
* Fix storybook
---------
Co-authored-by: Nimra Ahmed <nimra1408@gmail.com >
Co-authored-by: Nimra Ahmed <50912134+nimraahmed@users.noreply.github.com >
2023-10-14 00:04:29 +02:00
7af306792b
feat: add Table and TableSection components ( #1849 )
...
* refactor: rename ui/table to ui/data-table
* feat: add Table and TableSection components
Closes #1806
2023-10-04 17:46:14 +02:00
965a6b7c57
Fix: Table / Board createView bug ( #1782 )
...
* fix createView for tables and board page
* removed residual console.log from InlineCell component
2023-10-02 17:23:30 +02:00
cbadcba188
FieldDisplay & FieldInput ( #1708 )
...
* Removed view field duplicate types
* wip
* wip 2
* wip 3
* Unified state for fields
* Renaming
* Wip
* Post merge
* Post post merge
* wip
* Delete unused file
* Boolean and Probability
* Finished InlineCell
* Renamed EditableCell to TableCell
* Finished double texts
* Finished MoneyField
* Fixed bug inline cell click outside
* Fixed hotkey scope
* Final fixes
* Phone
* Fix url and number input validation
* Fix
* Fix position
* wip refactor activity editor
* Fixed activity editor
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-27 18:18:02 +02:00
46ad36061e
feat: reorder kanban columns ( #1699 )
...
* kaban header options
* gql codegn
* moveColumn hook refactor
* BoardColumnContext addition
* saved board columns state
* db call hook update
* lint fix
* state change first db call second
* handleMoveTableColumn call
* codegen lint fix
* useMoveViewColumns hook
* useBoardColumns db call addition
* boardColumns state change from BoardHeader
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-27 15:59:44 +02:00
8639cb921e
Chore: corrects syntax for type only imports ( #1716 )
...
* chore: removes replaces 'import type xxx from 'xxx'' with 'import { type xxx} from 'xxx'''
* chore: remove typed imports
* chore: remove typed imports
* chore: cleanup
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-09-26 11:47:35 +02:00
1c3897848f
fix: fix table columns resize glitches on slow network ( #1707 )
...
Fixes #1580
2023-09-22 19:45:29 +02:00
ab0cdbf960
feat: persist table columns on change ( #1697 )
...
* feat: persist table columns on change
Closes #1580
* fix: fix drag-and-select on Table Options dropdown toggle
2023-09-21 13:15:57 -07:00
a20ca95f32
feat: reset Recoil state on logout ( #1675 )
...
Closes #1452
2023-09-20 15:26:11 +02:00
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
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
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
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
9027406fdf
feat: create ViewField model ( #961 )
...
* feat: create ViewField model
- Created ViewField prisma model
- Added ViewField server resolvers for findMany/updateOne
- Added getViewFields/updateViewField graphql queries
Closes #849
* chore: update node version in .nvmrc files
2023-07-27 09:12:26 -07:00