Commit Graph

1324 Commits

Author SHA1 Message Date
gitstart-twenty
dee9807eb3
Chore(front): Create Storybook tests for the DropdownMenu component (#2157)
* 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
David Pham
eea7470571
Fix Issue 2127: DataTable column head menu is badly positioned (#2135)
* update dropdownPlacement and dropdownOffset

* use default position
2023-10-20 17:44:22 +02:00
Nimra Ahmed
cb6ee90fa6
Doc addition & changes (#2152)
* 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

* fixed spelling errors in docs

* Final round of edits for frontend, added backend folder architecture

* Created CODE_OF_CONDUCT.md

* Add code of conduct to contributing.md

* doc changes

* fixed broken links

* doc addition and changes
2023-10-20 15:47:44 +02:00
Weiko
cc9ffb16ad
Add standardObject seeds (#2140)
* Add standardObject seeds

* use for of
2023-10-20 14:35:25 +02:00
martmull
993be61ee2
fix 2049 timebox 1j zapier integration 4 define and implement a first trigger for zapier app (#2139)
Update dotenv dependency
2023-10-20 11:43:27 +02:00
Charles Bochet
14a5a91499 Fix server typescript depth error 2023-10-20 00:20:47 +02:00
Charles Bochet
943731fed8 Fix visual regressions 2023-10-20 00:04:51 +02:00
Abhishek Thory
08772b4456
1721/feature/drag and drop favorites (#2097)
* prisma schema updated: added index in favorite

* update abilitiy added for favorite

* update one favorite resolver added

* update on favorite mutation added

* updateFavoriteOrder added

* Draglist added in favorite

* nav item convert to div from button: because it was not working dragable with button

* changed index to position

* position added in getFavorites query

* added recoil state for favorites

* reordering updated according to new method

* Use accurate type

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-19 23:35:23 +02:00
Ruslan
f6b5943fc6
chore: Pre build docker images (#2099) (#2131)
chore: LABEL to link images source to github
2023-10-19 22:57:00 +02:00
martmull
e9092162e0
2049 timebox 1j zapier integration 4 define and implement a first trigger for zapier app (#2132)
* Add create company trigger

* Refactor

* Add operation in subscribe

* Add create hook api endpoint

* Add import of hook module

* Add a test for hook subscribe

* Add delete hook api endpoint

* Add delete hook test

* Add findMany hook route

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-19 22:48:34 +02:00
Kirthi Bagrecha Jain
5ce8b4c73c
fix: favourite button background (#2128)
update:favourite button background
2023-10-19 17:54:36 +02:00
Thaïs
2f0da64e1b
feat: get object metadata from backend in Object Edit (#2125)
Closes #2009
2023-10-19 17:14:29 +02:00
Thaïs
f35ea19f4d
feat: get object metadata from backend in Object Detail and New Field… (#2122)
* feat: get object metadata from backend in Object Detail and New Field - Step 1

Closes #2008

* refactor: add useLazyLoadIcon hook
2023-10-19 16:58:18 +02:00
Nimra Ahmed
bea9d0835b
Doc changes (#2124)
* 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

* fixed spelling errors in docs

* Final round of edits for frontend, added backend folder architecture

* Created CODE_OF_CONDUCT.md

* Add code of conduct to contributing.md

* doc changes

* fixed broken links
2023-10-19 16:32:29 +02:00
Charles Bochet
d0df7e4d3b
Update version to 0.1.5 (#2123)
* Update version to 0.1.5

* Temporariliy lower code coverage
2023-10-19 16:21:09 +02:00
martmull
f4e192afb3
Add dotenv in zapier app (#2121)
* Add dotenv in zapier app

* Add zapier cli also
2023-10-19 15:49:09 +02:00
Thaïs
514692ca1f
feat: get active and disabled objects from backend in Objects Setting… (#2119)
* feat: get active and disabled objects from backend in Objects Settings page

Closes #2005

* refactor: add useObjectMetadata hook
2023-10-19 15:47:31 +02:00
Jérémy M
3e83cb6846
feat: conditional filtering & aggregation support & data ordering support (#2107)
* feat: wip

* feat: add filter on findOne

* fix: tests & small bug

* feat: add test and support aggregation

* feat: add order by support

* fix: fix comments

* fix: tests
2023-10-19 15:24:36 +02:00
bosiraphael
2b8a81a05c
Created two new env variables (#2120)
* created the two env variables

* modify according to comments
2023-10-19 14:57:16 +02:00
Charles Bochet
c04f6bf371
Fix import style (#2118) 2023-10-19 12:05:31 +02:00
martmull
b904397599
Fix api keys (#2116)
* Distinguish local env variables

* Remove api token secret
2023-10-19 11:07:40 +02:00
Charles Bochet
09fe29e559 Fix mac os script 2023-10-19 10:54:24 +02:00
Arijit
e90301098a
Fix: hotkey scope not correctly set (#2094)
* technical input fix

* use previous hotkey instead for onblur
2023-10-18 19:46:21 +02:00
Lucas Bordeau
c590300bf1
Feat/metadata with datatable v2 (#2110)
* Reworked metadata creation

* Wip

* Fix from PR

* Removed consolelog

* Post merge

* Fixed seeds

* Wip

* Added dynamic routing

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-18 19:41:02 +02:00
Tom Avalexing
830dfc4d99
add clicking on dropdown menu test (#2103)
* add clicking on dropdown menu test

* add play function
2023-10-18 18:42:48 +02:00
Lucas Bordeau
5bfb540e6a
Fix graphql query import (#2108) 2023-10-18 18:31:47 +02:00
bosiraphael
44099cf8fd
1801 objects settings add activate option to disabled menu (#2104)
* wip creating dropdown

* wip styling the dropdown

* wip

* Fix wrong gap in MenuItems

* add handleActivate and handleErase functions

* remove unused styled component

* add story

* modified according to comment
2023-10-18 18:21:03 +02:00
Thaïs
3971454190
feat: add New Object Custom form (#2105)
* feat: add New Object Custom form

Closes #1808

* fix: fix lint error
2023-10-18 18:12:46 +02:00
Weiko
7fbef6d60d
Add Tenant initialisation service (#2100)
* Add Tenant initialisation service

* few fixes

* fix constraint

* fix tests

* update metadata json with employees and address

* add V2

* remove metadata.gql
2023-10-18 18:01:52 +02:00
Nimra Ahmed
1cd91e60fa
Doc changes (#2106)
* 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

* fixed spelling errors in docs

* Final round of edits for frontend, added backend folder architecture

* Created CODE_OF_CONDUCT.md

* Add code of conduct to contributing.md
2023-10-18 18:00:52 +02:00
martmull
51a06b3ebd
2052 zapier integration 5 deploy twenty zapier app into the public repository (#2101)
* Add create_company Zap action

* Add testing for that action

* Core review returns
2023-10-18 17:56:40 +02:00
Lucas Bordeau
547a17b145
Feat/metadata add update and delete on frontend (#2102)
* Reworked metadata creation

* Wip

* Fix from PR

* Removed consolelog

* Post merge

* Fixed seeds
2023-10-18 16:48:11 +02:00
Ruslan
21c2834f52
Chore: Deploy to Render updated (#2033) (#2098)
Deploy to Render updated (#2033):

* postgres as a pserv (private service) compiled with pg_graphql
* default credentials (todo to fix), but postgres in a private network
* added FRONT_BASE_URL to server env
* added Dockerfile for postgres in infra/prod/postgres
* for server added dockerCommand with yarn database:setup
2023-10-18 13:54:12 +02:00
bosiraphael
f95c9d3df8
1761 objects settings add a cover image (#2096)
* add image

* overflow hidden

* add close button

* add animation to cover image

* use cookie to store user preference

* refactor to have a reusable component called AnimatedFadeOut

* corrected close button position

* modified according to comments
2023-10-18 13:02:44 +02:00
Ayush Agrawal
a1a2309140
Chore: Edit button on cells should be guessed by the field's type (#1952)
* created custom hook to get Icon Component as per field type

* Fix conflicts

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-17 22:42:57 +02:00
gitstart-twenty
2c1ad1661a
Fix(front): notes relation picker (#2034)
* Fix notes relation picker

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

* fix import

---------

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-17 22:13:25 +02:00
Kanav Arora
6e90554ae7
feat(frontend): New Object Field Step 2 Added Cancel Save Button (#2092) 2023-10-17 21:11:34 +02:00
Abhishek Thory
462a5a6738
danger zone section added in object edit page (#2093) 2023-10-17 21:10:47 +02:00
Charles Bochet
34c9259683 Fix linter 2023-10-17 21:09:15 +02:00
Thaïs
8894c52202
feat: add Object Edit form (#2090)
Closes #1910
2023-10-17 21:03:59 +02:00
martmull
54735c4880
2038 zapier integration 1 initialize a zapier app with a twenty related account (#2089)
* Add doc for Zapier development

* Add twenty-zapier package

* Install zapier packages

* Update doc

* Add twenty-zapier app

* Update doc

* Update apiKey slug

* Update integration

* Update create people to person

* Update version

* Fix lint

* Remove useless comments

* Update docs

* Update version

* Update naming

* Add prettier

* Simplify docs

* Remove twenty related stuff from public doc

* Use typescript boilerplate

* Update details
2023-10-17 21:00:20 +02:00
Charles Bochet
01e9545a59
Move shadow style from TableCell and InlineCell to FieldInputs (#2078)
* Move shadow style from TableCell and InlineCell to FieldInputs

* Move overlay to inputs

* Complete work
2023-10-17 20:59:56 +02:00
Lucas Bordeau
a40516df83
Added metadata creation (#2086)
* Reworked metadata creation

* Fix from PR

* Removed consolelog
2023-10-17 20:59:41 +02:00
Jérémy M
c4fa36402b
feat: add default filter types (#2087)
* feat: add default filter types

* fix: fields doesn't need to be a function
2023-10-17 17:57:02 +02:00
Saba Shavidze
1549664416
feat: created new Developers Page in Settings (#2071)
* feat: created new Developers Page in Settings

* update styled according to the updated design

* update styled according to the updated design

* remove unused color import from TableCell component

* update pl based on comments

* update pl based on comments

* update pl based on comments

* update pl based on comments

* update pl based on comments

* update pl based on comments

* update pl based on comments
2023-10-17 17:28:18 +02:00
Aasim Attia
88438e8094
apply database:init (#2079) 2023-10-17 16:39:48 +02:00
bosiraphael
d19011f882
Use SaveAndCancelButtons in SettingsObjectNewFieldStep1 (#2088)
* Use SaveAndCancelButtons in SettingsObjectNewFieldStep1

* refactor to introduce SettingsHeaderContainer
2023-10-17 16:32:21 +02:00
Jayraj Rodage
1aefaced1d
Fixed icon for single New note & New task buttons (#2082) 2023-10-17 16:08:17 +02:00
Weiko
1344e78acb
Remove singular/plural from field-metadata (#2085)
* Remove singular/plural from field-metadata

* revert removing id from create input

* remove console log

* remove console log

* codegen

* missing files

* fix tests
2023-10-17 15:21:58 +02:00
bosiraphael
0d6386bc8d
1809 new object add cancel and save buttons (#2081)
* create save and cancel buttons and their stories

* add SaveAndCancelButtons to the New Object page

* add onSave and onCancel

* modified according to comments
2023-10-17 14:55:41 +02:00