Commit Graph

1785 Commits

Author SHA1 Message Date
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
Thaïs
0048216abf
feat: add Settings/Accounts Connected Accounts section accounts list (#2953)
Closes #2887
2023-12-12 16:03:39 +01:00
Lucas Bordeau
2a4ab2ffd3
Feat/complete filter order by types (#2943)
* Fixed orderBy bug

* Fixed gitch select multiple record filter

* Fixed RelationPicker search

* Fixed OrderBy type

* WIP

* Finished RequestFilter typing

* Finished RequestFilter type

* Fixed missing import

* Changed naming
2023-12-12 15:56:21 +01:00
Jérémy M
8381869c7f
fix: workspace migration isNullable (#2939) 2023-12-12 15:18:37 +01:00
bosiraphael
6bc7a58902
2813 create message channel data model (#2952)
* create model

* finished model

* modidied visibility type to select

* changed back to TEXT

* handle instead of email

* handle instead of email

* handle instead of email

* modified according to comment
2023-12-12 15:14:18 +01:00
Jérémy M
44f1fe54e1
fix: use proper variable name (#2938) 2023-12-12 14:57:42 +01:00
Kanav Arora
032894e448
2946-fix: Postgres Makefile file path fix (#2947) 2023-12-12 14:57:00 +01:00
Thaïs
3ed92b2f80
feat: add Settings/Accounts/Emails Emails Sync section with empty state (#2941)
Closes #2823
2023-12-12 12:21:10 +01:00
Kanav Arora
4afa277690
2902-fix: record table column add behavior (#2936) 2023-12-12 12:17:29 +01:00
Thaïs
6792724281
feat: save Relation field description on creation (#2940)
Closes #2896
2023-12-12 11:28:09 +01:00
bosiraphael
95002f5f9a
Migrate connected account model (#2944)
* migrate-connectedAccount-model

* update accountOwerId

* prevent user from connecting multiple times with the same account

* Delete .yarn/releases/yarn-1.22.21.cjs

* Delete .yarnrc

* modified according to comments

* updates
2023-12-12 11:09:20 +01:00
Karishma Shah
3f422f9640
BugFix: display button title when escaping the "Import" flow (#2948)
pass in the button title correctly as a prop into StyledDialogButton
2023-12-12 10:46:54 +01:00
Weiko
d2a42c14d2
Add field create and delete migration to metadata sync (#2942)
add field create and delete migration to metadata sync
2023-12-11 17:42:09 +01:00
Jérémy M
b9de9f1a08
fix: add vscode workspace (#2937) 2023-12-11 15:45:45 +01:00
Charles Bochet
8d53c63801
Fix docker install (#2925)
* Fix docker install

* Move back twenty-eslint-plugin to eslint-plugin-twenty

* fix: add bundled yarn

* Improve makeifle structure

* Update commands and doc

* Add pg_graphql binaries

* Fix

---------

Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
2023-12-11 13:36:24 +01:00
Charles Bochet
44ef218fa5 Fix Docker postgres dev setup 2023-12-11 11:13:03 +01:00
Charles Bochet
7bc8a21485 Fix wrong yarn version being used 2023-12-11 11:07:03 +01:00
Charles Bochet
44baaee28e
Update scripts and documentation to use nx and new monorepo architecture (#2912)
* Update scripts and documentation to use nx and new monorepo architecture

* Start fixing docker

* Migrate eslint plugin and postgres setup

* Fix docker

* Fix patches

* Fix

* fix: wip try to fix the patches

* Apply patches

---------

Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
2023-12-11 10:54:57 +01:00
Kanav Arora
f91bb35573
2921-fix: readme img path fix (#2922) 2023-12-11 08:33:14 +01:00
Charles Bochet
5bdca9de6c
Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
Aasim Attia
a70a9281eb
Move frontend to Vite 5 (#2775)
* merge squashed

- A couple of CJS modules into ESM (config mostly)
- Vite complains about node.js modules: fixed `useIsMatchingLocation.ts`
	> or use rollupOptions in vite.config.ts
	> ref: f0e4f59d97/vite.config.js (L6)
- Adjust Storybook to work with Vite: use @storybook/test
- Use SWC for jest tranformations
- Remove unused deps:
	- ts-jest: replaced with @swc/jest, typecheck by `tsc`
	- babel plugins
	- @svgr/plugin-jsx: not used
	- @testing-library/user-event: handled by @storybook/test
	- @typescript-eslint/utils: was not plugged in
	- tsup, esbuild-plugin-svgr: will look into that later
- Install Vite required deps, and remove craco/webpack deps
- Adjust SVG to work with Vite as components
- Fixed `Step.tsx`: I dont know if one should be swaped for the other,
  but there should be no slash
- Initial formating and linting:
	- removed empty object params
	- sorting imports, etc..

* prettier: fix pattern

* coverage: sb coverage report isnt working

* Add missing pieces

* `yarn lint --fix`

* fix: scripts permissions

* tsc: cut errors in half

* fix: remove `react-app-env.d.ts`

* tsc: all fixed, except `react-data-grid` types issue

* eslint: ignore env-config.js

* eslint: Align ci with config

* msw: bypass testing warnings

ref: https://stackoverflow.com/questions/68024935/msw-logging-warnings-for-unhandled-supertest-requests

* rebase: and fix things

* Adjust to current `graphql-codegen` no ESM support

* Remove vite plugin and use built-in methods

* rebase: and some fixes

* quick fix + `corepack use yarn@1.22.19`

* Fix build errors

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-10 16:22:43 +01:00
Charles Bochet
f24541beda
Release 0.2.1 (#2879) 2023-12-09 11:05:38 +01:00
gitstart-twenty
306344a190
Spreadsheet import front module (#2862)
* Spreadsheet import front module

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>

* Automatically update table

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>

* Add company import

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>

* Fixes

* Hide import options on custom objects

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@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 <charles@twenty.com>
2023-12-09 11:01:01 +01:00
gitstart-twenty
7c40dc7b81
Add Keyboard navigation on IconPicker (#2778)
* Add Add Keyboard navigation on IconPicker

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

* Add Keyboard navigation on IconPicker

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

* Add Keyboard navigation on IconPicker

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

* Add Keyboard navigation on IconPicker

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>

* Implement IconPicker

* Remove onEnter clicked

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-09 10:45:40 +01:00
brendanlaschke
130e4c8313
Update Blocknote (#2872)
* - update blocknote
- fix line break in notes

* - fixed parsing body error on image block

* add feature flag
2023-12-09 10:40:54 +01:00
Nimra Ahmed
3913e1b6a0
input component ui docs (#2873) 2023-12-09 10:39:50 +01:00