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
e9092162e0
2049 timebox 1j zapier integration 4 define and implement a first trigger for zapier app ( #2132 )
...
* Add create company trigger
* Refactor
* Add operation in subscribe
* Add create hook api endpoint
* Add import of hook module
* Add a test for hook subscribe
* Add delete hook api endpoint
* Add delete hook test
* Add findMany hook route
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-19 22:48:34 +02:00
8fbad7d3ba
1043 timebox prepare zapier integration ( #1967 )
...
* Add create api-key route
* Import module
* Remove required mutation parameter
* Fix Authentication
* Generate random key
* Update Read ApiKeyAbility handler
* Add findMany apiKey route
* Remove useless attribute
* Use signed token for apiKeys
* Authenticate with api keys
* Fix typo
* Add a test for apiKey module
* Revoke token when api key does not exist
* Handler expiresAt parameter
* Fix user passport
* Code review returns: Add API_TOKEN_SECRET
* Code review returns: Rename variable
* Code review returns: Update code style
* Update apiKey schema
* Update create token route
* Update delete token route
* Filter revoked api keys from listApiKeys
* Rename endpoint
* Set default expiry to 2 years
* Code review returns: Update comment
* Generate token after create apiKey
* Code review returns: Update env variable
* Code review returns: Move method to proper service
---------
Co-authored-by: martmull <martmull@hotmail.com >
2023-10-12 18:07:44 +02: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
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
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
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
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
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
d142376ef9
feat: I can delete my account easily ( #977 )
...
* Add support for account deletion
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add more fixes
Co-authored-by: Benjamin Mayanja <vibenjamin6@gmail.com >
* Add more fixes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-07-28 10:09:43 -07:00
d0641084f9
feat: rename comment thread into activity ( #939 )
...
* feat: rename commentThread into activity server
* feat: rename commentThread into activity front
* feat: migration only create tables
feat: migration only create tables
* Update activities
* fix: rebase partial fix
* fix: all rebase problems and drop activity target alter
* fix: lint
* Update migration
* Update migration
* Fix conflicts
* Fix conflicts
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-07-27 23:22:16 -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
51cfc0d82c
feat: refactoring casl permission checks for recursive nested operations ( #778 )
...
* feat: nested casl abilities
* fix: remove unused packages
* Fixes
* Fix createMany broken
* Fix lint
* Fix lint
* Fix lint
* Fix lint
* Fixes
* Fix CommentThread
* Fix bugs
* Fix lint
* Fix bugs
* Fixed auto routing
* Fixed app path
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-07-25 16:37:22 -07:00
ce3e023a00
feat: server lint import & order ( #750 )
2023-07-19 14:01:32 +02:00
10f7b08fdc
Add attachments ( #733 )
...
* Add attachments v1
* Refacto
* Add Policy checks
* Fix tests
* Remove generated files from git
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-07-18 15:24:03 -07:00
c529c49ea6
Workspace member ( #552 )
...
* fix: clean small back-end issues
* fix: apollo factory causing infinite loop on token renew
* feat: small refactor and add ability to remove workspace member
* fix: test
2023-07-10 09:25:11 +00:00
be7731b71a
Upload Workspace logo during onboarding ( #542 )
...
* Upload image
* Upload image
* Fix tests
* Remove pictures from seeds
* Fix storybook
* Fix storybook
* Fix storybook
2023-07-08 16:46:04 -07:00
db5dfb3bdf
Enable opportunity card deletion ( #490 )
...
* Add checkbox
* Add state management for selected opportunities
* Use recoil for selected items state, show action bar
* Deduplicate code
* Add delete action
* Enable delete
* Add color for selected cards
* update board state on delete
* Add stories
* Enable empty board
* Fix story
* Handle dark mdoe
* Nits
* Rename module
* Better naming
* Fix naming confusion process<>progress
2023-07-03 23:11:39 +02:00
a6b2fd75ba
Enable comment deletion on CommentDrawer ( #460 )
...
* Enable comment deletion on people and companies page
* Add storybook test
2023-06-27 18:00:14 +02:00
9c21975d2b
Fix comment creation bug ( #371 )
2023-06-24 11:18:13 -07:00
703f31632d
Fix permissions
2023-06-22 15:38:33 -07:00
1b8b78d615
Various fixes ( #362 )
2023-06-22 14:57:08 -07:00
c4ad0171b0
feat: add missing abilities ( #354 )
...
feat: add all missing abilities rules on resolvers
2023-06-22 11:09:17 -07:00
ca283a2196
feat: prisma typed select ( #347 )
...
* feat: wip prisma gql select
* feat: stronger api using decorator
* feat: add PrismaSelect everywhere
* fix: remove unused
* fix: remove seed debug
2023-06-22 11:17:31 +02:00
817d6dcb05
Add ability to associate a new company to pipeline ( #350 )
...
* Add ability to associate a new company to pipeline
* Fix tests
2023-06-21 22:31:19 -07:00
b179d1f1f0
feat: wip casl policies ( #334 )
...
* feat: wip casl policies
* feat: add ability guard on pipeline resolvers
* fix: test
2023-06-20 19:31:11 -07:00