Commit Graph

103 Commits

Author SHA1 Message Date
Kanav Arora
ffcdace113
2980-Fix: CommandGroup background (#2985)
* 2980-fix: CommandGroup background

* Box Shadow fix

* suggested color fixes

* Fix related to design dicussion: add border + make everything background secondary

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-19 15:41:58 +01:00
Varrooo
0f7ddd2f14
Fixs/reviews setups (#3067)
* update syntax to POSIX

The function keyword is not recognize by every POSIX-compliant shell.  The function keyword is a bashism, a bash extension. POSIX syntax does not use function and mandates the use of parenthesis.

This commit fixes the two issues :
./linux/provision-postgres-linux.sh: 9: function: not found
./linux/provision-postgres-linux.sh: 15: Syntax error: "}" unexpected

* update path init.sql

* update steps numbers yarn setup

There were two number 3's, everything should be correct now.

* delete useless -e
2023-12-19 15:20:13 +01:00
Weiko
e799c84233
Add sync driver for queue messages (#3070)
* Add sync driver for queue messages

* rename moduleRef

* use switch instead
2023-12-19 13:30:40 +01:00
Félix Malfait
fff51a2d91
Basic data enrichment (#3023)
* Add Enrich to frontend

* Naive backend implementation

* Add work email check

* Rename Enrich to Quick Action

* Refactor logic to a separate service

* Refacto to separate IntelligenceService

* Small fixes

* Missing Break statement

* Address PR comments

* Create company interface

* Improve edge case handling

* Use httpService instead of Axios

* Fix server tests
2023-12-18 15:45:30 +01:00
martmull
576492f3c0
3035 improve rest api syntax (#3047) 2023-12-18 13:46:21 +01:00
brendanlaschke
b36d86e52c
Fix tag border color Relations (#3034)
- fix tag theme types
- fix color for tag border
2023-12-18 08:44:12 +01:00
Deepak Kumar
2507da1b25
feat: Add feature flags to Select & Rating custom fields (#3037)
* Add feature flag key for select and rating

* Use feature flag boolean to decide if select & rating are enabled

* Enable select and rating in demo & core
2023-12-18 08:38:25 +01:00
Charles Bochet
65f05ff43a
Fix documentation layout broken because of mixed rest api doc styles (#3043) 2023-12-18 08:32:35 +01:00
Deepak Kumar
3609c0939d
GH-3028 Update filter key and JSON parse assignee selected filter on tasks page (#3045)
GH-3028 update key and JSON parse assignee selected filter on tasks page
2023-12-18 08:16:38 +01:00
Félix Malfait
f6041f560d
Readme update with demo (#3042) 2023-12-17 16:26:54 +01:00
Cao Z.H
18b2e2b748
Fix: keep the filter edition open if it is empty (#2986)
Co-authored-by: 曹志浩 <caozhihao@quyiyuan.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-15 21:39:17 +01:00
Charles Bochet
72929d1de6
Fix docusaurus style overriden by spotlight/element (rest api playground) (#3033)
* Fix docusaurus style overriden by spotlight/element (rest api playground)

* Fix spacing

* Fix spacing
2023-12-15 19:45:34 +01:00
Kanav Arora
2ea0e0c4e8
2982-feat: Clear SelectableList reset scoped state (#2987)
* 2982-feat: Clear SelectableList reset scoped state

* State fixes as suggested in pr

* State fixes as suggested in pr

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-15 18:36:32 +01:00
martmull
3ac4102c3c
2915 rest api documentation (#3020)
* Init rest-api page

* Add ugly form to fetch open api schema

* Clean code

* Make the form design more acceptable

* Update doc

* Use local storage

* Update design

* Add isLoading

* Fix typo

* Fix long lines

* Code review returns

* Remove staging and local url from servers
2023-12-15 18:13:13 +01:00
Thaïs
9f6d476351
feat: add Show Page Emails preview (#2964)
* feat: add Show Page Emails preview

Closes #2928

* refactor: review - rename StyledContainer to StyledCardContent
2023-12-15 17:03:34 +01:00
brendanlaschke
1e33959733
Fix modified files DangerCI (#3025)
- fix modified files
2023-12-15 17:02:10 +01:00
bosiraphael
f95c56b1cb
2880 timebox create a poc to fetch emails from the gmail api (#2993)
* create empty service

* getting threads is working

* insert message channel

* save threads in the db

* clean

* fetch messages

* create a service to fetch a batch of messages

* batch messages

* use httpService instead

* parse batch

* base 64 decoding working

* solve parsing bug

* saving messages is working

* bug to fix in fetchAllByBatches

* fetching all messages is working but not saving yet

* fecth 500 messages and threads is working

* remove unused package and console log

* set direction to incoming

* fix bug after merging main
2023-12-15 16:35:56 +01:00
Thaïs
ac3c517c82
feat: add Show Page Emails tab (#2962)
* feat: add Show Page Emails tab

Closes #2926, Closes #2927

* feat: review - disable Emails tab if messaging not enabled

* refactor: review - add FeatureFlagKey type

---------

Co-authored-by: Thais GUIGON <thaisguigon@macbook-pro.home>
2023-12-15 16:31:03 +01:00
Charles Bochet
3659f12fba
Fix ExceptionHandler requiring httpAdapter (#3021) 2023-12-15 16:07:35 +01:00
Charles Bochet
064e47b59a
Fix CIs (#3004)
* Fix CIs

* Fix docs

* Fix eslint-build

* Move file

* Move back

* Fix server ci

* Fix server ci

* Fix server ci

* Fix server ci

* Deactivate e2e tests

* Fix front

* Fix front

* Fix front

* Add twenty-zapier and twenty-utils to the yarn project

* fix

* fix

* Remove pull_request trigger
2023-12-15 15:40:04 +01:00
Nimra Ahmed
6e09ae61f9
Remaining UI docs (#2997)
* remaining UI docs

* completed ui component docs

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-15 11:36:28 +01:00
Thaïs
1eb5bebaf7
feat: select default Unit for Currency field (#2996)
Closes #2347

Co-authored-by: Thais GUIGON <thaisguigon@macbook-pro.home>
2023-12-15 11:01:06 +01:00
gitstart-twenty
5f7442cf23
Add jest tests for twenty-front (#2983)
* Add jest tests for twenty-front

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

* Fix tests

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-15 10:53:20 +01:00
gitstart-twenty
af9d3fb217
On RecordTable, if I have no records, the Record Table Layout is not broken (#2911)
* On RecordTable, if I have no records, the Record Table Layout is not broken

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

* Revert scrollbar changes

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

* fix + button

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

* Revert unwanted changes

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

* Merge main

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

* On RecordTable, if I have no records, the Record Table Layout is not broken

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

* Add bottom border

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

* Always show + button

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

* Refactor according to review

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

* Fix according to PR

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.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: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-15 10:35:26 +01:00
Charles Bochet
b04c787540
Update Jest configuration for frontend (#2994) 2023-12-14 20:08:03 +01:00
Charles Bochet
e22b242ef8 Fix multiselect on activities 2023-12-14 19:05:10 +01:00
Weiko
36164ab59b
Add pg-boss worker poc (#2991)
* Add pg-boss worker poc

* add Example job

* add retry limit

* rename MessageQueue
2023-12-14 18:57:25 +01:00
Lucas Bordeau
468744298b
Fix hook bug (#2995)
* Fix hook bug

* Fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-14 18:54:23 +01:00
brendanlaschke
7f3d5e0e82
fix note card display (#2989) 2023-12-14 16:01:45 +01:00
Lakshay saini
45deb468cc
feat:added an empty page with the route: /settings/accounts/new. (#2960)
* feat:added an empty page with the route: /settings/accounts/new.

* chore: addressed PR feedback, added Storybook page

* fix: lint fixes

---------

Co-authored-by: Lakshay saini <lakshay.saini@finmo.net>
2023-12-14 14:56:49 +01:00
Charles Bochet
73e03dd0c4 Fix bug IconPicker 2023-12-14 14:41:51 +01:00
Charles Bochet
fd3b7ccd9a Fix 404 page missing on production container build 2023-12-14 13:12:24 +01:00
Thaïs
a10f353a4c
feat: redirect to Plan Required page if subscription status is not active (#2981)
* feat: redirect to Plan Required page if subscription status is not active

Closes #2934

* feat: navigate to Plan Required in PageChangeEffect

* feat: add Twenty logo to Plan Required modal

* test: add Storybook story

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-14 12:39:22 +01:00
Charles Bochet
8916dee352
Fix Icon Lazy Loading (#2984)
Fix Icon picker
2023-12-14 12:13:02 +01:00
Kanav Arora
ed2cd408bf
Use SelectableList in RelationPicker, SingleEntitySelectBase and MultipleEntitySelect (#2949)
* 2747-fix: conditional updation of selectedItemId

* 2747-fix: bug in toggling

* 2747-feat: SingleEntitySelectBase list changed to SelectableList

* 2747-feat: MultipleEntitySelect use SelectableList

* Fix lint

* 2747-fix: onEnter property fix for SingleEntitySelectBase

* 2747-fix: onEnter property fix for MultipleEntitySelect

* yarn fix in twenty-front

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-14 12:10:58 +01:00
Kanav Arora
4673a302c7
2951-fix: Editing view filters button fix (#2954)
* 2951-fix: Editing view filters button fix

* Fixed lint

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-13 18:00:43 +01:00
Thaïs
856b78abc7
feat: add Settings/Accounts/Emails Emails Sync section accounts list (#2957)
Closes #2888

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-13 17:37:12 +01:00
Charles Bochet
9eddaffac4
Fix Tsup setup to fuel docs with twenty-ui components (#2978) 2023-12-13 16:40:31 +01:00
gitstart-twenty
e08790c344
Fix command menu keyboard navigation (#2908)
* Fix CommandMenu

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

* Refactor according to review

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

* Refactor according to review

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

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-13 16:39:03 +01:00
Lucas Bordeau
bded46444d
Added ability to edit filter and sort chip directly (#2968)
* - Added EditableSortChip
- Fixed EditableFilterChip onRemove not closing

* Added missing script in dependencies

* Linted files

* Finished fixing lint
2023-12-13 15:24:06 +01:00
martmull
e3e42be723
Add generate openapi schema for rest api (#2923)
* Add generate openapi schema for rest api

* Split method in utils

* Add paramters

* Add error response

* Update description of filter and order by

* Add get/id routes

* Add delete route

* Use components

* Fix Typo

* Add tags

* Add create query

* Add required field

* Add update query

* Add body request example

* Add 201 on create request

* Add servers

* Fix failing test

* Add open-api endpoint

* Update description

* Return base schema if no auth

* Code review returns

* Use open-api/types

* Fix tag

* Use components for parameters

* Improve response examples

* Improve axios error message

* Fix tests
2023-12-13 14:58:34 +01:00
martmull
366ae0d448
2893 add data wrapper for mysql (#2970)
* Add mysql_fdw to postgres dockerfile

* Name and run detached docker containers

* Fix naming
2023-12-13 14:56:52 +01:00
Charles Bochet
9182efc57a
Fix MSW and storybook setup (#2976)
* Fix MSW and storybook setup

* Fix

* Fix

* Fixes

* Fix

* Fix

* Fix
2023-12-13 14:37:55 +01:00
Charles Bochet
34b5bfc34f Fix build linter issues 2023-12-12 23:19:29 +01:00
Charles Bochet
08599f3d1c Fix build linter issues 2023-12-12 23:18:16 +01:00
Charles Bochet
2496431703
[Wip] Update CI CD (#2945)
* Update CI and CD scripts

* Fix docker docs build

* Fix CD

* Fix CD

* Update front build and add postgres intel pg_graphql files

* Fix postgres install

* Fix

* Update docs
2023-12-12 22:38:40 +01:00
bosiraphael
6594055317
Create empty command (#2963)
* create empty command

* update description

* rebase

---------

Co-authored-by: corentin <corentin@twenty.com>
2023-12-12 18:22:19 +01:00
Weiko
f126bd95d6
Add featureFlag gateDecorator for sync-metadata (#2956)
* Add featureFlag gateDecorator for sync-metadata

* remove gate exampels

* gate messaging objects

* gate messaging recipient object

* add missing gate
2023-12-12 17:34:59 +01:00
bosiraphael
6977fd4ce2
2812 create message recipient data model (#2961)
* create message-recipient

* connections with other models

* add to index

* fix file name
2023-12-12 17:05:09 +01:00
bosiraphael
a21fc4976b
2811 create message thread data model (#2955)
* create message thread

* link message threads and message

* add ton index.ts

* finished models

* header mail id

* update icon

* modifications

* update externalId
2023-12-12 16:08:51 +01:00