Commit Graph

1674 Commits

Author SHA1 Message Date
Jérémy M
4a96ae225e
feat: easier makefile commands (#2077)
* feat: easier makefile commands

* fix: cleaner command
2023-10-17 10:38:10 +02:00
Nimra Ahmed
a6542719df
Addresses issue #1906 (#2074)
* 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
Lucas Bordeau
d64f167b3b
Feat/front temp seed custom objects (#2070)
* wip

* Fixed bugs

* Added flexible backend test
2023-10-16 22:04:41 +02:00
Weiko
c06a8a9213
Add soft delete to metadata (#2072) 2023-10-16 22:04:17 +02:00
gitstart-twenty
07ae0fa76c
Chore(server): Enable local database installation on MacOS (#2057)
* Enable local database installation on MacOS

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

* Fix script

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-16 22:02:37 +02:00
Thaïs
8a64903933
feat: add active/disabled fields table to New Field - Step 1 page (#2069)
Closes #1785
2023-10-16 18:16:25 +02:00
bosiraphael
3dae11b6e4
Create page Object Field Step 2 (#2068)
* create page

* change runs-on param
2023-10-16 18:02:39 +02:00
bosiraphael
e147e7aebb
1997 new object field step 1 create page (#2054)
* add ObjectNewField page

* add story

* refactored to include step1

* replaced step1 by step-1 and fix onCLick behavior

* refactor stories

* refactoring in progress

* refactor SettingsPageContainer

* refactor SettingsPageContainer
2023-10-16 17:11:09 +02:00
Weiko
525603227a
Add default db schema for seeded workspace (#2061)
* Add default db schema for seeded workspace

* fix

* add if not exists

* add metadata seeds

* use setup-db for e2e

* fix tests
2023-10-16 16:59:46 +02:00
Tom Avalexing
c324a0a4f4
Support ongoing efforts on setting-> object (#2065) 2023-10-16 16:59:30 +02:00
Tom Avalexing
70aef9bb28
Refactor sortsOrderBy & filtersWhere on CompanyTable & PeopleTable (#2064) 2023-10-16 16:49:37 +02:00
Charles Bochet
b128d53b58
Refactor settings > data model section (#2031) 2023-10-15 19:00:07 +02:00
apurvagurme
e9d0c8a928
feat: add about block in object detail page (#2028) 2023-10-15 18:08:16 +02:00
Kanav Arora
9c855ff8b5
feat: New Object - Add Object type section #1918 (#1985)
* feat: New Object - Add Object type section #1918

* fix: dark mode border color

* feat: New Object - Add Object type section #1918

* fix: dark mode border color

* Requested changes in the PR

* fix(new object): requested changes in the PR

* fix(1985): border color
2023-10-15 17:48:27 +02:00
Charles Bochet
7bb971f538 run ci sb-modules on github basic machine 2023-10-15 17:47:14 +02:00
brendanlaschke
0cd644266b
Add S3 endpoint env variable (#2017)
* - add s3 endpoint

* fix .lock

* new line
2023-10-15 17:36:44 +02:00
Ruslan
e69a355cbb
Fix docker db init / reset for Windows (#1981) (#2023)
* removed checking if docker is running with /dev/null
2023-10-15 17:36:18 +02:00
Charles Bochet
ba3094b448 Fix script windows init.sql 2023-10-15 16:45:17 +02:00
Saba Shavidze
31d67c1092
fix: remove console logs on frontend side (#2030)
fix: remove console logs
2023-10-15 16:34:07 +02:00
Arijit
9296443e34
Fix: alter role code (#2029)
fix: alter role code
2023-10-15 16:31:56 +02:00
Akassh
ffd2758ebb
Repoint README link for local env dev set up. (#2025) 2023-10-15 09:18:16 +02:00
brendanlaschke
3c9cd9ff4a
Add release command (#2022)
add release command
remove unescessary yarn.lock
2023-10-14 23:04:35 +02:00
Charles Bochet
160b7039d9 Complete win script setup 2023-10-14 22:43:17 +02:00
Charles Bochet
986082d7a7 Complete win script setup 2023-10-14 22:41:18 +02:00
Nimra Ahmed
fa9303f545
Refactored Storybook UI (#2020)
* refactored Storybook UI

* refactored Storybook UI

* removed extra cards from the doc, added card for ui components
2023-10-14 21:22:47 +02:00
Charles Bochet
04090446cc Update install on docker 2023-10-14 14:03:37 +02:00
Charles Bochet
77729e4d4b
Update installation doc (#2019)
* Update installation doc

* Update install scripts

* Update install scripts
2023-10-14 13:43:45 +02:00
Ruslan
77c88bda6e
Fix bug where "metadata" scheme was not created automatically (#1971) and (#1831) (#2018)
* Fix bug where "metadata" scheme was not created automatically (#1971)

* logging on

* testing on render

* render upadte

* added setup-db.ts and updated package.json
2023-10-14 11:48:55 +02:00
gitstart-twenty
0c79217ba0
Add an ESLint rule to prevent the usage of useRef other than for HTML elements. (#2014)
* 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
Charles Bochet
258685467b
Refactor UI folder (#2016)
* Added Overview page

* Revised Getting Started page

* Minor revision

* Edited readme, minor modifications to docs

* Removed sweep.yaml, .devcontainer, .ergomake

* Moved security.md to .github, added contributing.md

* changes as per code review

* updated contributing.md

* fixed broken links & added missing links in doc, improved structure

* fixed link in wsl setup

* fixed server link, added https cloning in yarn-setup

* removed package-lock.json

* added doc card, admonitions

* removed underline from nav buttons

* refactoring modules/ui

* refactoring modules/ui

* Change folder case

* Fix theme location

* Fix case 2

* Fix storybook

---------

Co-authored-by: Nimra Ahmed <nimra1408@gmail.com>
Co-authored-by: Nimra Ahmed <50912134+nimraahmed@users.noreply.github.com>
2023-10-14 00:04:29 +02:00
Lucas Bordeau
a35ea5e8f9
Feat/front forge graphql query (#2007)
* wip

* Wip

* Wip

* Finished v1

* Wip

* Fix from PR

* Removed unused fragment masking feature

* Fix from PR

* Removed POC from nav bar

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-13 22:27:57 +02:00
Charles Bochet
3ef9132525
Refactor icon picker to use shared styled dropdown menu (#1998) 2023-10-13 18:06:47 +02:00
Lucas Bordeau
cafcfdc95e
Feat/front metadata request (#1977)
* wip

* Wip

* Wip

* Finished v1

* Fix from PR

* Removed unused fragment masking feature
2023-10-13 18:01:57 +02:00
gitstart-twenty
41ae30cada
Chore(front): Add storybook tests on meta-types/input/components (#1987)
* Add storybook tests on meta-types/input/components

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

* Add storybook tests on meta-types/input/components

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

* Add storybook tests on meta-types/input/components

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

* Add storybook tests on meta-types/input/components

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

* Add storybook tests on meta-types/input/components

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

* Fix the tests

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

* modify props spread in stories

* Remove storybook-addon-mock

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-13 17:47:08 +02:00
Gaurav
acde034a1d
Replaced eslint rule twenty/no-spread-props to react/jsx-props-no-spreading (#1976)
* Replaced eslint rule twenty/no-spread-props to react/jsx-props-no-spreading

* Disable props spread on external libraries

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-13 16:52:19 +02:00
David Kramer
d56c5fcbf6
Two cells can be focused at the same time in the tables Fixes #1826 (#1866)
Co-authored-by: kramer <david.kramer@gmail.com>
Co-authored-by: Ayush Agrawal <54364088+AyushAgrawal-A2@users.noreply.github.com>
Co-authored-by: AyushAgrawal-A2 <ayushagl06@gmail.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-13 16:37:36 +02:00
Ruslan
2a9d94c5a2
Improve docker db init / reset (#1981) (#1984)
* renamed volume name db_data to twenty_db_data
* named postgres container_name: twenty_postgres

make provision-postgres does:
* checking if docker is running
* stop the container postgres twenty_postgres
* prune the volume twenty_db_data
* rebuild the image every time, use --build
2023-10-13 15:57:01 +02:00
bosiraphael
30aeea9eec
1909 object edit add icon section (#1995)
* wip

* wip

* wip

* wip

* wip

* remove hardcoded values and use theme values

* add styles to StyledContainer

* fix iconPicker bug

* wip

* refactor IconPicker to include IconButton

* close IconPicker on click outside

* close IconPicker on escape and enter

* refactor to use DropDownMenu

* refactor to use DropDownMenu

* modify default icon

* Refactor to use useIconPicker hook

* fix WithSearch story

* reinitialized searchString state on close

* create and update stories for the iconPicker

* remove comments

* use theme for gap

* remove align-self

* fix typo in icon

* fix type any

* fix merge conflicts

* remove experimental css properties
2023-10-13 15:29:30 +02:00
Thaïs
818efd72d0
feat: add Fields table to Object Detail page (#1988)
* feat: add Fields table to Object Detail page

Closes #1815

* refactor: add ObjectFieldDataType
2023-10-13 11:51:11 +02:00
flo merian
bd9a6c56fe
doc: Update README.md with quick links in the Features section (#1994)
Added quick links in the Features section
2023-10-13 11:37:34 +02:00
Subash-Lamichhane
92b34a76a2
fixed typo in docs\docs\contributor\frontend\advanced\best-practices.mdx (#1993) 2023-10-13 09:18:58 +02:00
Nimra Ahmed
13db1bd0a6
Improvements to the doc (#1989)
* Added Overview page

* Revised Getting Started page

* Minor revision

* Edited readme, minor modifications to docs

* Removed sweep.yaml, .devcontainer, .ergomake

* Moved security.md to .github, added contributing.md

* changes as per code review

* updated contributing.md

* fixed broken links & added missing links in doc, improved structure

* fixed link in wsl setup

* fixed server link, added https cloning in yarn-setup

* removed package-lock.json

* added doc card, admonitions

* removed underline from nav buttons
2023-10-13 09:13:13 +02:00
Jérémy M
4e993316a6
feat: conditional schema based on column map instead of column field (#1978)
* feat: wip conditional schema based on column map instead of column field

* feat: conditionalSchema columnMap and singular plural

* fix: remove uuid fix

* feat: add name and label (singular/plural) drop old tableColumnName
2023-10-12 18:28:27 +02:00
martmull
8fbad7d3ba
1043 timebox prepare zapier integration (#1967)
* Add create api-key route

* Import module

* Remove required mutation parameter

* Fix Authentication

* Generate random key

* Update Read ApiKeyAbility handler

* Add findMany apiKey route

* Remove useless attribute

* Use signed token for apiKeys

* Authenticate with api keys

* Fix typo

* Add a test for apiKey module

* Revoke token when api key does not exist

* Handler expiresAt parameter

* Fix user passport

* Code review returns: Add API_TOKEN_SECRET

* Code review returns: Rename variable

* Code review returns: Update code style

* Update apiKey schema

* Update create token route

* Update delete token route

* Filter revoked api keys from listApiKeys

* Rename endpoint

* Set default expiry to 2 years

* Code review returns: Update comment

* Generate token after create apiKey

* Code review returns: Update env variable

* Code review returns: Move method to proper service

---------

Co-authored-by: martmull <martmull@hotmail.com>
2023-10-12 18:07:44 +02:00
Charles Bochet
6b990c8501
Refactor input arch (#1982) 2023-10-12 17:41:50 +02:00
Alfred Louis
09fd5b6454
fix:remove line break (#1986) 2023-10-12 17:40:56 +02:00
Charles Bochet
3b9ceade76
Fix token not being refreshed (#1975)
* Fix token not being refreshed

* Fix token not being refreshed

* v2

* Fix
2023-10-11 17:12:39 +02:00
bosiraphael
b2352212fc
1867 timebox add storybook tests on meta typesinputcomponents (#1972)
* working on DateFieldInput story

* wip

* wip

* wip

* Fix story

* Fix other story

* finish stories for BooleanFieldInput and DateFieldInput

* reorganize stories in UI/Field in Input and Display folders

* unite FieldDisplayContextProvider and FieldInputContextProvider in one file FieldContextProvider

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-11 16:55:55 +02:00
Thaïs
c52b297612
feat: add New Object page (#1970)
Closes #1919
2023-10-11 15:45:59 +02:00
Lucas Bordeau
22451a68b3
Refactor/scope and context (#1960)
* wip

* Test with Dropdown

* wip

* wip

* Finished removing DropdownRecoilScopeContext

* Fix from PR
2023-10-11 15:35:47 +02:00