08772b4456
1721/feature/drag and drop favorites ( #2097 )
...
* prisma schema updated: added index in favorite
* update abilitiy added for favorite
* update one favorite resolver added
* update on favorite mutation added
* updateFavoriteOrder added
* Draglist added in favorite
* nav item convert to div from button: because it was not working dragable with button
* changed index to position
* position added in getFavorites query
* added recoil state for favorites
* reordering updated according to new method
* Use accurate type
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-19 23:35:23 +02:00
2b8a81a05c
Created two new env variables ( #2120 )
...
* created the two env variables
* modify according to comments
2023-10-19 14:57:16 +02:00
1344e78acb
Remove singular/plural from field-metadata ( #2085 )
...
* Remove singular/plural from field-metadata
* revert removing id from create input
* remove console log
* remove console log
* codegen
* missing files
* fix tests
2023-10-17 15:21:58 +02:00
d64f167b3b
Feat/front temp seed custom objects ( #2070 )
...
* wip
* Fixed bugs
* Added flexible backend test
2023-10-16 22:04:41 +02:00
cafcfdc95e
Feat/front metadata request ( #1977 )
...
* wip
* Wip
* Wip
* Finished v1
* Fix from PR
* Removed unused fragment masking feature
2023-10-13 18:01:57 +02:00
77997674e5
Feat: Add "All assignees" in Task team member dropdown ( #1763 )
...
* implemented all select option FilterDropdownEntitySearchSelect and enabled it for tasks page filter
* created new filter operand IsNotNull for make a select all qraphql query, added internal state for tracking isAllEntitySelected
* used filterCurrentlyEdited to track if isAllEntitySelected is selected
* fixed filter button icon SelectAll Icon
2023-10-03 16:55:31 +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
f60c209e39
Chore(backend): Enable attaching attachments to companies and people (backend) ( #1726 )
...
Enable attaching attachments to companies and people (backend)
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-09-26 11:39:13 +02:00
1c3897848f
fix: fix table columns resize glitches on slow network ( #1707 )
...
Fixes #1580
2023-09-22 19:45:29 +02:00
708391460c
Fix optimistic effects to work with fragments ( #1683 )
...
* Fix optimistic effects to work with fragments
* Regenerate
2023-09-20 16:13:54 -07:00
103fb701e7
Chore: Use Fragments as types ( #1670 )
...
* Use Fragments as types
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Use Fragments as types in GraphQL queries and mutations
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-09-20 10:58:59 +02: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
549335054a
Chore: Duplicate certain user fields to workspaceMember ( #1514 )
...
* Move certain user fields to workspaceMember
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Merge main
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Update the generated GraphQL
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Update hooks
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Rework typing
* Fix tests
* Remove console logs
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-15 17:32:58 -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
5c7660f588
feat: create default opportunities view on workspace creation + add seed data ( #1461 )
...
Closes #1314
2023-09-06 12:05:33 +02:00
732b5a5ddf
fix: avatar disappear when editing a person ( #1440 )
2023-09-05 09:52:06 +02:00
96a0f30e98
feat: delete pipeline stage ( #1412 )
...
* feat: delete pipeline stage
Closes #1396
* refactor: code review
- Use string literal instead of enum
* docs: disable CircularProgressBar Chromatic snapshots
2023-09-04 16:39:01 +02:00
f29d843db9
feat: add board options dropdown and pipeline stage creation ( #1399 )
...
* feat: add board options dropdown and pipeline stage creation
Closes #1395
* refactor: code review
- remove useCallback
2023-09-04 11:37:31 +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
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
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
2e01efb8f3
Fix: Profile picture does not appear after signin ( #1285 )
...
* fix: add missing field `avatarUrl` to `UserQueryFragment`
* feat: add avatarUrl to UserQueryFragment
2023-08-23 08:46:05 +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
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
35ea6b5a2f
Remove activityType and Id ( #1179 )
...
* Remove activityType and Id
* Fix tests
* Fix tests
2023-08-11 17:31:54 -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
0490c6b6ea
feat: Favorites ( #1094 )
...
* Adding the favorite button
* favorites services and resolvers
* favorites schema
* favorite ability handler
* favorite module export
* front end UI
* front end graphql additions
* server ability handlers
* server resolvers and services
* css fix
* Adding the favorite button
* favorites services and resolvers
* favorites schema
* favorite ability handler
* favorite module export
* front end UI
* front end graphql additions
* server ability handlers
* server resolvers and services
* css fix
* delete favorites handler and resolver
* removed favorite from index list
* chip avatar size props
* index list additions
* UI additions for favorites functionality
* lint fixes
* graphql codegen
* UI fixes
* favorite hook addition
* moved to ~/modules
* Favorite mapping to workspaceMember
* graphql codegen
* cosmetic changes
* camel cased methods
* graphql codegen
2023-08-10 15:24:45 -07:00
80a562d90d
feat: persist view sorts ( #1154 )
...
Closes #1122
2023-08-10 10:10:02 -07:00
6b3a538c07
Feature/optmistically render table create & remove ( #1156 )
...
* Add optimistic updates on company table
* Add optimistic rendering for tables too
* Fix schema
2023-08-10 09:37:24 -07:00
0f364cc9e7
feat: add views and viewSorts tables ( #1131 )
...
* feat: add views table
Closes #1120
* feat: add viewSorts table
Closes #1120
2023-08-10 09:14:28 -07:00
a2891e50e6
[opportunities] fix poc being removed after pipeline update ( #1148 )
2023-08-10 02:52:36 +02:00
cd831af53d
Use dedicated EditableFieldEntityIdContext for editable fields instead of CardIds ( #1145 )
...
* Use dedicated EntityIdContext for editable fields instead of CardIds
* update context name
* remove unused hook
2023-08-10 01:32:28 +02:00
7dcbc56e69
feat: Add the workspace logo on Twenty logo on the invited route ( #1136 )
...
* Add the workspace logo on Twenty logo on the invited route
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com >
* Add minor refactors
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com >
* Refactor the invite logic
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com >
2023-08-09 15:00:07 -07:00
fc17a0639a
chore: New standard fields on People ( #1104 )
...
* Add New standard fields on People
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Add requested changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
---------
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
2023-08-09 11:36:03 -07:00
b557766eb0
feat: I can upload a photo on person show page ( #1103 )
...
* I can upload a photo on person show page
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com >
* Add requested changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com >
2023-08-09 11:29:10 -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
6008789a17
Wrap up Front chat ( #1085 )
...
* Wrap up Front chat
* Wrap up Front chat
2023-08-04 19:22:54 -07:00
57c465176a
Add support chat ( #1066 )
...
* Add support chat
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Refactor the chat logic
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add HMAC signing
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Update the button styles
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Update the button styles
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Refactor the chat logic
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Fix the chat not loading
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Fix the chat not loading
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add requested changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add requested changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add requested changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add requested changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add requested changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-08-04 16:52:59 -07:00
ed1662223a
[Refactor] Activity morph: first phase ( #1075 )
...
* Add company and person on update and create
* Enable reading with error management on commentable ID
* [CHECKPOINT] backward-compatible
* Migrate data for activity targets
* Revert "Migrate data for activity targets"
This reverts commit f89bc30689655c83cd5370331fec41b59d03fdb9.
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-08-04 15:33:50 -07:00
0d16053c31
[tasks] add empty state and new task button ( #1072 )
...
* [tasks] add empty state
* add refetch + use spacing for padding
* create task auto assigned with dueAt as today
* add unscheduled tasks section
* remove unnecessary assigneeId fetching
* remove unnecessary refetchQueries
* add refetch for delete task
* rename createCommentMutation to deleteActivityMutation in activityActionBar
2023-08-04 11:04:06 -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
11e7266f8a
[FilterDropdownEntitySearchSelect] add missing displayAvatarUrl ( #1071 )
...
* [FilterDropdownEntitySearchSelect] add missing displayAvatarUrl
* add missing avatarUrl in activities
* remove console.log
2023-08-03 19:27:04 -07:00
21e3d8fcac
Refactor: Morph strategy on PipelineProgress ( #1065 )
...
* Deprecate pipelineprogress backref on person to improve naming
* Remove deprecated point of contact fields
* Add company and person entities on pipelineprogress
* Migrate data from old progressable to new entity fields
* Codegen frontend
* Use company Id, deprecate progressableId
* Get rid of deprecated progressableId field
* Remove deprecated progressableType field from pipeline progress
* Remove useless migrations
2023-08-03 09:08:35 -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