1
1
mirror of https://github.com/twentyhq/twenty.git synced 2024-12-25 21:13:01 +03:00
Commit Graph

121 Commits

Author SHA1 Message Date
bosiraphael
73db5eb35d
fix-svgr-issue-with-tsup () 2023-11-10 18:25:14 +01:00
Lucas Bordeau
9c29c436b9
Feat/pagination front ()
* Finished renaming and scope

* wip

* WIP update

* Ok

* Cleaned

* Finished infinite scroll

* Clean

* Fixed V1 tables

* Fix post merge

* Removed ScrollWrapper

* Put back ScrollWrapper

* Put back in the right place
2023-11-10 12:43:14 +01:00
Charles Bochet
e70ef58f97
Live code editor for UI docs ()
* Docausaurus code live editor test

* Docusaurus sandpack test

* Fix setup

* Delete files

* Fixes

* Complete work

* Fix config

* Fix config

---------

Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-11-03 23:09:20 +01:00
Charles Bochet
1c5c71bc48
Reduce image size ()
* Reduce image size

* Clean dependencies

* Clean dependencies
2023-10-31 21:43:16 +01:00
Lucas Bordeau
3f2e1b622e
Feat/show page metadata ()
* Fix view fetch bug

* Finished types

* Removed console.log

* Fixed todo

* Working Object Show Page

* Minor fixes

* Fix custom object requests pending ()

* Fix custom object requests pending

* fix typo

* Fix various bugs

* Typo

* Fix

* Fix

* Fix

---------

Co-authored-by: Weiko <corentin@twenty.com>
2023-10-27 11:06:07 +02:00
brendanlaschke
6a72c14af3
Use zod instead of yup ()
* use zod instead of yup

* doc

* lint
2023-10-27 10:26:32 +02:00
Thaïs
b30233d582
fix: generate metadata object and field names in camel case ()
Fixes 
2023-10-26 17:27:52 +02:00
Thaïs
2b1945a3e1
feat: create custom object and update edited object names ()
Closes , Closes 
2023-10-26 11:04:16 +02:00
gitstart-twenty
5acafe2fc6
Chore(front): Add more typeguards ()
* Chore(front): Add more typeguards

Co-authored-by: Benjamin Mayanja V <vibenjamin6@gmail.com>
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>

* Remove source map generation to avoid warnings

---------

Co-authored-by: Benjamin Mayanja V <vibenjamin6@gmail.com>
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-24 09:26:47 +02:00
Ruslan
a5fe256d7e
chore: inject enviroment at the ./front deployment phase () ()
* chore: inject enviroment at the deployment phase ()

* Dockerfile CMD env.sh
* env.sh generates env-config.js file
* index.html imports env-config.js
* front/src/config/index.ts imports REACT_APP_SERVER_BASE_URL

* Upgrade Dockerfiles

* Add compute pg_database_url for render

* fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-22 12:36:36 +02:00
gitstart-twenty
dee9807eb3
Chore(front): Create Storybook tests for the DropdownMenu component ()
* Chore(front): Create Storybook tests for the DropdownMenu component

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

* Fix the tests

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

* Simplify Dropdown

* Remove console.log

---------

Co-authored-by: Benjamin Mayanja V <vibenjamin6@gmail.com>
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-20 21:19:43 +02:00
Charles Bochet
d0df7e4d3b
Update version to 0.1.5 ()
* Update version to 0.1.5

* Temporariliy lower code coverage
2023-10-19 16:21:09 +02:00
Nimra Ahmed
a6542719df
Addresses issue ()
* refactored Storybook UI

* refactored Storybook UI

* removed extra cards from the doc, added card for ui components

* added hover behavior to doc page & made it look selected

* separate storybook docs and tests

* separating storybook tests and docs
2023-10-16 22:06:07 +02:00
gitstart-twenty
0c79217ba0
Add an ESLint rule to prevent the usage of useRef other than for HTML elements. ()
* Add an ESLint rule to prevent the usage of useRef other than for HTML elements

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

* Bump eslint version and rewrite rule

* Fix

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-14 11:32:46 +02:00
Lucas Bordeau
cafcfdc95e
Feat/front metadata request ()
* wip

* Wip

* Wip

* Finished v1

* Fix from PR

* Removed unused fragment masking feature
2023-10-13 18:01:57 +02:00
Charles Bochet
c433eb5d93
Bump version to 0.1.4 () 2023-10-04 10:51:59 +02:00
Lucas Bordeau
cbadcba188
FieldDisplay & FieldInput ()
* Removed view field duplicate types

* wip

* wip 2

* wip 3

* Unified state for fields

* Renaming

* Wip

* Post merge

* Post post merge

* wip

* Delete unused file

* Boolean and Probability

* Finished InlineCell

* Renamed EditableCell to TableCell

* Finished double texts

* Finished MoneyField

* Fixed bug inline cell click outside

* Fixed hotkey scope

* Final fixes

* Phone

* Fix url and number input validation

* Fix

* Fix position

* wip refactor activity editor

* Fixed activity editor

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-27 18:18:02 +02:00
Charles Bochet
b0973afc64 Fix deploy CI 2023-09-19 16:57:22 -07:00
Charles Bochet
645f2b42c2
Boost CI ()
* Boost CI

* Split CI tests in 2

* Try caching node modules

* Try caching node modules

* Try caching node modules

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Separate jest tests

* Fix typo

* Re-order tests jobs
2023-09-18 19:07:38 -07:00
Lucas Bordeau
3c4ab605db
Fix eslint-plugin-twenty ()
* Fixed color rule

* Fixed naming

* Fix effect component rule

* Deactivated broken rules

* Fixed lint

* Complete eslint-plugin-twenty work

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-18 16:38:57 -07:00
Charles Bochet
7fa80c5f71 Fix eslint setup 2023-09-17 08:28:05 -07:00
gitstart-twenty
00a3c8ca2b
Change to using arrow functions ()
* Change to using arrow functions

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

* Add lint rule

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-15 18:41:10 -07:00
Lucas Bordeau
84a27b148f
Feat/sidecar components ()
* Added a new eslint plugin in TypeScript for Effect components

* Fixed edge cases

* Fixed lint

* Fix eslint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-14 17:04:45 -07:00
Andrea Giacon
47151525ce
chore: bump Twenty version to 0.1.3 in front/package.json ()
chore: Update package version in package.json

An increment in version number was made in the application's package.json file, from 0.1.2 to 0.1.3. This update was necessary as part of the new release preparation encompassing changes made in the codebase since the last version.
2023-09-07 22:45:51 +02:00
Lucas Bordeau
28ca9a9e49
Refactor/new menu item ()
* wip

* finished

* Added disabled

* Fixed disabled

* Finished cleaning

* Minor fixes from merge

* Added docs

* Added PascalCase

* Fix from review

* Fixes from merge

* Fix lint

* Fixed storybook tests
2023-09-06 16:41:26 +02:00
Jérémy M
3a0f02f2f2
feat: table virtualization ()
* feat: poc table virtualization

* feat: table virtualization

* feat: add overscan of 15

* fix: increase overscan to 50

* fix: dead code

* fix: debug mode

* feat: styled space
2023-09-04 13:33:02 +02:00
Mustajab Ikram
8bb4071f09
feat: add page titles using React Helmet ()
* feat: add page titles using React Helmet

* refactor: extract page title logic to separate component

* fix: resolve review comments

* fix: resolve testing errors
2023-08-28 18:49:04 +02:00
Charles Bochet
f8e3dd3f6b Fix tests 2023-08-25 22:12:41 +02:00
Charles Bochet
67cf6cd7e2
Rework tel input ()
* Rework tel input

* Fix lint
2023-08-25 20:54:00 +02:00
Mustajab Ikram
4f7e1fb60e
Feat/phone email link enhancements ()
* feat: Add type guards for ViewField email values and definitions, update ViewFieldTypes & peopleViewFields

* feat: use ContactLink for EditablePhoneCell & create EditableEmailCell & EmailInputDisplay comp

* fix: set second value for field

* enhance: add edit btn for phone cell

* feat: install dependencies intl-tel-input

* feat: add phone cell input & connect intl-tel-input

* fix: resolve rebase errors

* fix: remove placeholder

* feat(storybook): create stories for EmailInputDisplay, PhoneInputDisplay, and PhoneEditableField components

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-08-25 18:42:22 +02:00
Weiko
0cab6a11d2
Set 3 workers for storybook coverage ()
* Set 3 workers for storybook coverage

* fix

* fix

* fix

* change ubuntu-latest to ci-4-cores

* fix
2023-08-17 12:00:45 -07:00
Charles Bochet
dbf01c759d Fix react-data-grid version to avoid compatibility issue 2023-08-16 14:38:17 -07:00
Jérémy M
8863bb0035
Import company and person from csv file ()
* 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
8479205c2a
chore: fix @apollo/client version to 3.7.17 () 2023-08-16 10:02:09 -07:00
Jérémy M
56cada6335
feat: wip import csv [part 1] ()
* feat: wip import csv

* feat: start implementing twenty UI

* feat: new radio button component

* feat: use new radio button component and fix scroll issue

* fix: max height modal

* feat: wip try to customize react-data-grid to match design

* feat: wip match columns

* feat: wip match column selection

* feat: match column

* feat: clean heading component & try to fix scroll in last step

* feat: validation step

* fix: small cleaning and remove unused component

* feat: clean folder architecture

* feat: remove translations

* feat: remove chackra theme

* feat: remove unused libraries

* feat: use option button to open spreadsheet & fix stories

* Fix lint and fix imports

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-15 15:12:47 -07:00
Weiko
239d036813
Upgrade /front version and display the version in settings navbar ()
* Upgrade /front version and display the version in settings navbar

* fix

* fix version

* restore center

* add icon

* Fix styled components

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-14 17:40:10 -07:00
gitstart-twenty
fc17a0639a
chore: New standard fields on People ()
* 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
Lucas Bordeau
3666980ccc
Feat/generic editable board card ()
* Fixed BoardColumnMenu

* Fixed naming

* Optimized board loading

* Added GenericEditableField

* Introduce GenericEditableField for BoardCards

* remove logs

* delete unused files

* fix stories

---------

Co-authored-by: corentin <corentin@twenty.com>
2023-08-08 20:08:37 -07:00
Charles Bochet
b6e1853d9f
Add @air/react-drag-to-select dependency () 2023-08-04 15:35:36 -07:00
Lucas Bordeau
d9f6ae8663
Feat/generic editable cell all types ()
* Added generic relation cell

* Deactivated debug

* Added default warning

* Put back display component

* Removed unused types

* wip

* Renamed to view field

* Use new view field structure to have chip working

* Finished

* Added a temp feature flag

* Added double text chip cell

* Ok

* Finished tables

* Fixed icon size

* Fixed bug on date field

* Use icon index

* Fix

* Fixed naming

* Fix

* removed file from merge

* Fixed tests

* Coverage
2023-07-29 14:48:43 -07:00
Lucas Bordeau
b52745533a
Added unused imports and vars and fixed lint () 2023-07-25 17:18:25 -07:00
Lucas Bordeau
a2ccb643ff
Optimize table loading ()
* wip

* wip

* Ok

* Deleted unused code

* Fixed lint

* Minor fixes

* Minor fixes

* Minor Fixes

* Minor merge fixes

* Ok

* Fix storybook tests

* Removed console.log

* Fix login

* asd

* Fixed storybook

* Added await

* Fixed await

* Added sleep for failing test

* Fix sleep

* Fix test

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-25 11:00:15 -07:00
Lucas Bordeau
21d5133564
Feat/improve mobile display ()
* Ok 1

* Finished

* Fix PR

* Fix PR

* Fix desktop

* Fix

* Fix absolute listen click outside

* console.log

* Fix according to code review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-23 10:53:35 -07:00
Charles Bochet
742791bd92
Fix tests ()
* Fix tests

* Fix tests

* Fix tests
2023-07-22 23:29:58 -07:00
Charles Bochet
1ae5c703f5 lower functions coverage temporarily 2023-07-22 00:39:22 -07:00
Thaïs
56cff63c4b
docs: use ComponentDecorator ()
Related to 
2023-07-21 12:02:21 -07:00
Charles Bochet
a972705ce6
Improve test coverage and refactor storybook arch ()
* Improve test coverage and refactor storybook arch

* Fix coverage

* Fix tests

* Fix lint

* Fix lint
2023-07-17 17:14:53 -07:00
Charles Bochet
b76047d255
Fix ImageInput object-fit, fix People page title () 2023-07-17 06:25:41 +00:00
Lucas Bordeau
d70234f918
Fix/table remove and mock data ()
* Removed tanstack react table

* Fixed remove table feature without tanstack table

* Fixed delete people and companies

* Fixed hotkeys on editable date cell

* Fixed double text

* Fixed company mock mode

* Fixed lint

* Fixed right click selection
2023-07-13 12:43:00 -07:00
Lucas Bordeau
734e18e01a
Refactor/remove react table ()
* Refactored tables without tan stack
* Fixed checkbox behavior with multiple handlers on click
* Fixed hotkeys scope
* Fix debounce in editable cells
* Lowered coverage

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-13 17:08:13 +00:00