Commit Graph

173 Commits

Author SHA1 Message Date
Charles Bochet
037d071896
Fix: Wrong type in env variables front support (#1368) 2023-08-29 11:35:45 +02:00
Thaïs
2b3e96b9ea
fix: do not allow removal of last table view (#1366)
Closes #1358
2023-08-29 10:03:56 +02:00
josoriomarin
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
Thaïs
209e8b64d9
feat: create default views on workspace creation + add views seed (#1313)
Closes #1311
2023-08-25 21:17:28 +02:00
gitstart-twenty
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
Thaïs
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
Thaïs
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
Jérémy M
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
Thaïs
4e654654da
feat: add views dropdown (list, add & edit views) (#1220)
Closes #1218
2023-08-15 12:08:02 -07:00
Charles Bochet
7a330b4a02
Add foreign key constraints and perform on Cascade Delete (#1219) 2023-08-15 11:52:23 -07:00
gitstart-twenty
8f7044207d
On Company Show, in team section, I can detach a person from a company (#1202)
* On Company Show, in team section, I can detach a person from a company

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* On Company Show, in team section, I can detach a person from a company

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Temporary fix disconnect optional relations

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Refactor the PR logic

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Refactor the dropdown

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
2023-08-15 08:40:25 -07:00
Charles Bochet
35ea6b5a2f
Remove activityType and Id (#1179)
* Remove activityType and Id

* Fix tests

* Fix tests
2023-08-11 17:31:54 -07:00
Charles Bochet
007e42a2e6
Re-add constraints (#1177) 2023-08-11 15:04:01 -07:00
Charles Bochet
285bf773de
Integrate favorites into release (#1168) 2023-08-10 15:42:58 -07:00
Aditya Pimpalkar
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
Charles Bochet
fb0f9b7807
Fixes before deploy (#1167) 2023-08-11 00:09:52 +02:00
Charles Bochet
5300952b1a Remove breaking change foreign key 2023-08-10 12:55:40 -07:00
Thaïs
80a562d90d
feat: persist view sorts (#1154)
Closes #1122
2023-08-10 10:10:02 -07:00
Thaïs
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
Charles Bochet
510c466271
Add WSL instruction and IDE setup instruction (#1150)
* Add WSL instruction and IDE setup instruction

* Fix setup

* Fix setup

* Fix

* Update docs/docs/developer/additional/ide-setup.mdx

Co-authored-by: Weiko <corentin@twenty.com>

---------

Co-authored-by: Weiko <corentin@twenty.com>
2023-08-09 22:24:15 -07:00
gitstart-twenty
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
Charles Bochet
b49c857dc5 Fix lint 2023-08-09 14:11:54 -07:00
gitstart-twenty
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
gitstart-twenty
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
brendanlaschke
2b166927d1
Replace default colors for headers in Boards (#1128)
- replace colors for headers
2023-08-09 17:28:55 +02:00
dependabot[bot]
77d356f78a
Bump file-type from 13.0.0 to 16.5.4 in /server (#1105)
Bumps [file-type](https://github.com/sindresorhus/file-type) from 13.0.0 to 16.5.4.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v13.0.0...v16.5.4)

---
updated-dependencies:
- dependency-name: file-type
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 14:15:07 -07:00
Charles Bochet
2d5ad60aeb Fix login issue 2023-08-05 09:42:31 -07:00
Charles Bochet
6008789a17
Wrap up Front chat (#1085)
* Wrap up Front chat

* Wrap up Front chat
2023-08-04 19:22:54 -07:00
gitstart-twenty
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
Weiko
04297b0556
Add viewFields delete in Workspace delete resolver (#1082) 2023-08-04 15:23:56 -07:00
Thaïs
417ca3d131
feat: add table columns (#1056)
* feat: add table columns

Closes #879

* refactor: ComponentProps first
2023-08-04 10:07:31 -07:00
Charles Bochet
057fa0ae04 Remove constraint activity morph relations foreign keys 2023-08-03 16:50:09 -07:00
Emilien Chauvet
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
Thaïs
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
Corentin
efbc346b48
[server] set local setup as default in .env.example (#1045) 2023-08-01 19:40:17 -07:00
Emilien Chauvet
813fd5a067
Fix env variables for dev setup (#1031) 2023-08-01 12:05:05 +02:00
Charles Bochet
7a6a75a958 Rename SIGN_IN_PREFILLED env variable 2023-07-31 19:21:08 -07:00
Charles Bochet
8b8e4ac4a5
A few polish on tasks (#1023)
A few polishing on tasks
2023-07-31 18:15:08 -07:00
Jérémy M
f111440e00
feat: implement user impersonation feature (#976)
* feat: wip impersonate user

* feat: add ability to impersonate an user

* fix: remove console.log

* fix: unused import
2023-07-31 15:47:29 -07:00
Félix Malfait
b028d9fd2a
Add deploy buttons and clean environment variables (#974)
* add render.yaml

* Clean environment variables



---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-31 14:36:04 -07:00
Félix Malfait
5c376cbabb
Add profile pictures to people and fix account/workspace deletion (#984)
* Fix LinkedIn URL not redirecting to the right url

* add avatars for people and seeds

* Fix delete account/workspace

* Add people picture on other pages

* Change style of delete button

* Revert modal to previous size

* Fix tests
2023-07-28 15:40:03 -07:00
Charles Bochet
557e56492a
Various fixes on table, board, tasks (#983)
* Misc fixes

* Misc fixes

* Misc fixes

* Fix login
2023-07-28 15:20:32 -07:00
gitstart-twenty
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
Charles Bochet
2cc63e14aa Fix storybook tests 2023-07-27 23:40:54 -07:00
Jérémy M
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
gitstart-twenty
fcdde024a3
feat: Add workspace delete feature (#896)
* Add workspace delete feature

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add fixes and refactors

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add more fixes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add workspace delete mutation

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Complete v1 of deletion

Co-authored-by: Benjamin Mayanja <vibenjamin6@gmail.com>

* Revert unwanted changes

Co-authored-by: Benjamin Mayanja <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Update debouce import

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Fix server e2e tests on CI #3

* Fix server e2e tests on CI #4

* Fix server e2e tests on CI #5

* Added generic relation cell (#969)

* Added generic relation cell

* Deactivated debug

* Added default warning

* Put back display component

* Removed unused types

* fix: 906 edit avatar style (#923)

* fix: 906 edit avatar style

* fix: 906 add avatar size enum and mapping for font and height

* fix: 906 remove unused vars

* chore: optimize size of front docker image (#965)

* Enable to drag under New button on pipeline (#970)

* Add minor fix

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
Co-authored-by: 310387 <139059022+310387@users.noreply.github.com>
Co-authored-by: Lucas Vieira <vieiralucas4@gmail.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-07-27 22:19:20 -07:00
Charles Bochet
3b796ee68c Fix server e2e tests on CI #5 2023-07-27 15:38:50 -07:00
Charles Bochet
e7eecd5b54 Fix server e2e tests on CI #4 2023-07-27 15:22:10 -07:00
Charles Bochet
61205c2cb0 Fix server e2e tests on CI #1 2023-07-27 11:53:00 -07:00
Jérémy M
157e5b9a2e
feat: implement e2e test for CompanyResolver (#944)
* feat: wip e2e server test

* feat: use github action postgres & use infra for local

* feat: company e2e test

* feat: add company e2e test for permissions

* Simplify server e2e test run

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-27 09:48:40 -07:00