Commit Graph

1757 Commits

Author SHA1 Message Date
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
Charles Bochet
9d4ed323a7
Fix optimistic rendering (#2882)
* Release 0.2.1

* Optimistic rendering fixes

* Fix optimistic rendering

* Fix issues on Tasks

* Fix Opportunity picker and relation picker
2023-12-09 10:38:37 +01:00
martmull
e7bdb17128
Fix missing Wrappers version in dockerfile (#2899) 2023-12-08 17:48:37 +01:00
Lucas Bordeau
52859e18ed
Picker and MultiSelect fixes (#2883)
* Fixed orderBy bug

* Fixed gitch select multiple record filter

* Fixed RelationPicker search

* Fixed OrderBy type
2023-12-08 17:42:40 +01:00
martmull
9b7d7b29ed
Update token verification and fix typo (#2889)
* Update token verification and fix typo

* Fix typo
2023-12-08 17:42:08 +01:00
Weiko
a48c9293f6
Fix missing isNullable (#2892)
* Fix missing isNullable

* fix
2023-12-08 16:33:34 +01:00
Weiko
b68f5cda97
Fix relation between standard objects (#2878) 2023-12-08 15:50:12 +01:00
martmull
88abb11448
Add postgres_fdw to database (#2854)
* Add postgres_fdw to database

* Add wrappers to database

* Add cp
2023-12-08 14:43:52 +01:00
bosiraphael
7535c84e3d
2814 timebox create a poc to test the gmail api (#2868)
* create gmail strategy and controller

* gmail button connect

* wip

* trying to fix error { error: 'invalid_grant', error_description: 'Bad Request' }

* access token working

* refresh token working

* Getting the short term token from the front is working

* working

* rename token

* remove comment

* rename env var

* move file

* Fix

* Fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-08 13:13:56 +01:00
Charles Bochet
d4613c87f6 Fix infinite loop on sign in 2023-12-08 13:00:59 +01:00
Lucas Bordeau
e89546466c
Feat/object metadata item identifiers (#2865)
* Moved pure UI object fields to ui folder

* Moved pure UI object fields to ui folder 2

* Updated graphql metadata schema and fixed typing issues

* Added a new hook to create a record identifier mapper

* Fixed merge main
2023-12-08 12:29:01 +01:00
Weiko
53b6005d73
Improve Metadata sync setup (#2874)
* Improve Metadata sync setup

* add missing IsNullable()

* add composite fields types
2023-12-08 12:27:47 +01:00
Jérémy M
63196f866f
fix: relation on self not working (#2875) 2023-12-08 12:06:31 +01:00
Thaïs
326b29b699
feat: add Settings/Accounts Connected Accounts section with empty state (#2870)
Closes #2817
2023-12-08 11:17:07 +01:00
Thaïs
56a93d2ead
feat: save Select field options (#2869)
Closes #2704
2023-12-08 11:15:52 +01:00
Thaïs
1f40c45140
feat: add Settings/Accounts/Emails page (#2867)
Closes #2819
2023-12-08 11:10:09 +01:00
Tenzin Mahabir
921366f5b3
Feature: Add Empty State Display for Tables (#2841)
* Added empty state display for when object table is empty

* Added functionality to add button for empty state

* Fixed positioning of empty state

* Renamed style containers for empty state

* Added empty state display for when object table is empty

* Added functionality to add button for empty state

* Fixed positioning of empty state

* Renamed style containers for empty state

* Addressed PR comments by using createRecord prop and numberOfTableRowsState
2023-12-08 10:59:42 +01:00
Jérémy M
cf334ada0e
feat: exceptions handlers (#2855)
* feat: wip exception handlers

* feat: exception capturer

* fix: rename exception-capturer into exception-handler

* fix: remove unused variable
2023-12-08 10:18:50 +01:00
Charles Bochet
6c83953633
Fix Infinite loop on invite route (#2866) 2023-12-07 19:26:07 +01:00
Weiko
5efc2f00b9
Sync metadata generate migrations (#2864)
* Sync Metadata generates migrations

* add execute migrations

* fix relations + add isActive on creation

* fix composite fields migration

* remove dependency

* use new metadata setup for seed-dev

* fix rebase

* remove unused code

* fix viewField dev seeds

* fix isSystem
2023-12-07 19:22:34 +01:00
Matheus Sanchez
590912b30f
feat: Adding className as a prop (#2847)
* Adding className as a prop to use emotion

* Adding className to feedback and input components
2023-12-07 18:48:37 +01:00
Jérémy M
d70f8deeec
Fix/enum validation (#2863)
* fix: SELECT enum can have a color key

* fix: "findOneOrFail" of undefined

* feat: alter column migration store previous metadata informations

* fix: enum validation extra keys
2023-12-07 17:04:49 +01:00
Lucas Bordeau
145b432dc6
Moved pure UI object fields to ui folder (#2861)
* Moved pure UI object fields to ui folder

* Moved pure UI object fields to ui folder 2
2023-12-07 16:27:39 +01:00
martmull
4fecf6d8b9
Fix api rest (#2860)
* Throw an error if workspace id has no object

* Request only plurial object names

* Fix tests

* Fix query

* Handle graphql errors

* Fix comment
2023-12-07 14:10:24 +01:00
Thaïs
62fa55eae6
feat: add Settings/Accounts Settings section (#2853)
Closes #2818
2023-12-07 12:43:38 +01:00
Lucas Bordeau
a8ecc23cbe
Chore/move records related to record folder (#2859)
* WIP

* Finished multi select filter

* Cleaned console log

* Fix naming

* Fixed naming

* Moved RelationPicker folder

* Moved EntitySelect components

* Moved story

* Moved RelationPicker non component folders

* Moved everything else
2023-12-07 12:43:10 +01:00
bosiraphael
ef536ebb06
2809 create connected account data model (#2856)
* create connectedAccount model

* finished

* fix comma
2023-12-07 12:32:49 +01:00
martmull
3cd1ec21e6
Throw an error if workspace id has no object (#2857)
* Throw an error if workspace id has no object

* Request only plurial object names

* Fix tests

* Fix query

* Handle graphql errors
2023-12-07 12:32:29 +01:00
Lucas Bordeau
06936c3c2a
Feat/multi relation filter (#2858)
* WIP

* Finished multi select filter

* Cleaned console log

* Fix naming

* Fixed naming
2023-12-07 12:08:48 +01:00