Commit Graph

1399 Commits

Author SHA1 Message Date
Gaurav
71dd6eb0a8
Fix: Email case sensitivity (#2229) 2023-10-31 12:41:20 +01:00
bosiraphael
a2e84db049
2282 Rename components to use the new naming convention part 3 (#2296)
part 3 of the renaming
2023-10-31 12:38:53 +01:00
bosiraphael
adeaa35e8d
2282 Rename components to use the new naming convention part 2 (#2295)
renaming part 2
2023-10-31 12:32:16 +01:00
Kanav Arora
b319ba66ac
2284 fix(frontend): layout shift in date input (#2292)
* fix(frontend): layout shift in date input

* Fix Inline Cell overlay being shifted

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-31 12:30:10 +01:00
bosiraphael
ec8389cecf
2282 Rename components to use the new naming convention part 1 (#2293)
renaming in progress
2023-10-31 12:12:52 +01:00
Thaïs
7fe569ec6a
fix: disable page shortcuts on TextArea focus (#2288)
Fixes #2275
2023-10-30 19:23:12 +01:00
Thaïs
3cdbe4f16e
fix: remove blank space below Object Settings cover image (#2285)
Fixes #2280
2023-10-30 19:22:23 +01:00
Thaïs
d30ed496e9
fix: display object plural labels in nav items (#2290)
Fixes #2289
2023-10-30 19:20:44 +01:00
Nimra Ahmed
a523190943
User guide & vale setup (#2260)
* 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

* introduce user guide & graphql api

* set up vale, added to docs

* vale config file

* revised backend best practices

* connecting zapier and twenty

* added warning for zapier
2023-10-30 18:01:58 +01:00
dependabot[bot]
7cb58eae4d
build(deps): bump @babel/traverse from 7.21.4 to 7.23.2 in /docs (#2255)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.4 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 17:59:47 +01:00
Thaïs
328c5cd184
test: add metadata object and field mocks (#2266) 2023-10-30 17:56:56 +01:00
martmull
236742e88c
Fix api keys refresh (#2283)
* Move code to dedicated function

* Format cached data with proper typename
2023-10-30 17:48:34 +01:00
Thaïs
3fc1b74d9c
feat: navigate to Object Detail page after custom object creation (#2277)
Closes #2276
2023-10-30 13:33:29 +01:00
Jérémy M
80a6223d7d
feat: custom objects delete one (#2278)
* feat: custom objects delete one

* fix: delete one issue
2023-10-30 12:05:03 +01:00
rbutler-us
6640f2a651
[Docs] Update 'self-hosting options' link on getting-started.mdx (#2267)
Update 'self-hosting options' link on getting-started.mdx

When browsing from: 
https://docs.twenty.com/start/getting-started/

The link with text "self-hosting options" lands on a 404 page with this address:
https://docs.twenty.com/start/getting-started/self-hosting

Adding '/start/' to the beginning of the URL fixes this. 

Note: if your browser automatically redirects from:
https://docs.twenty.com/start/getting-started/
to:
https://docs.twenty.com/start/getting-started

Then the relative document URL will work as expected. When adding the trailing slash, the link breaks.
2023-10-30 10:16:17 +01:00
Charles Bochet
d38497c46a
Refactor ObjectDataTable to work with new views system (#2274)
Complete work
2023-10-29 23:50:59 +01:00
Charles Bochet
9bab28912d
Complete Fix view work (#2272)
* Fix views

* Make view sorts and view filters functional

* Complete Company table view fix

* Fix model creation

* Start fixing board

* Complete work
2023-10-29 16:29:00 +01:00
Charles Bochet
685d342170
Migrate view field to new data model - Part 2 (#2270)
* Migrate view field to new data model

* Migrate view fields to new model
2023-10-28 19:13:48 +02:00
Charles Bochet
b591023eb3
Fix/metadata object and settings post merge (#2269)
* WIP

* WIP2

* Seed views standard objects

* Migrate views to the new data model

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-28 12:25:43 +02:00
Charles Bochet
afd4b7c634
Fix Views on People page (#2265)
* fetching viewId for url

* fixed option menu name input

* fix table import

* fix unnecessary rerenders

* people working

---------

Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-10-27 18:20:58 +02:00
martmull
35237c05f3
Fix cache management (#2264) 2023-10-27 18:20:11 +02:00
Weiko
acbcd2f162
Standard migration command (#2236)
* Add Standard Object migration commands

* rebase

* add sync-tenant-metadata command

* fix naming

* renaming command class names

* remove field deletion and use object cascade instead

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-10-27 18:08:59 +02:00
Thaïs
e488a87ce4
feat: save edited custom field (#2245)
Closes #2161

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-27 18:06:31 +02:00
Thaïs
40c5f72080
feat: save activated/disabled fields in New Field - Step 1 page (#2226)
* feat: save activated/disabled fields in New Field - Step 1 page

Closes #2170

* fix: fix objectSlug

* Console.log

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-27 17:59:57 +02:00
Thaïs
9681815cb3
test: fix SettingsObjectDisabledMenuDropDown storybook tests (#2257)
* test: fix SettingsObjectDisabledMenuDropDown storybook tests

* fix: fix BoardOptionsDropdownContent lint error
2023-10-27 17:49:14 +02:00
Lucas Bordeau
14ae8da424
Fix database experience (#2263) 2023-10-27 17:48:06 +02:00
Thaïs
3c6ce75606
feat: activate standard objects in New Object page (#2232)
* feat: activate standard objects in New Object page

Closes #2010, Closes #2173

* Pagination limit = 1000

* Various fixes

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-27 15:46:29 +02:00
Charles Bochet
ec3327ca81
Fix major rework on view (#2262) 2023-10-27 15:30:52 +02:00
Weiko
53e51aad52
Add prisma metadata seeds (#2259) 2023-10-27 13:57:11 +02:00
Thaïs
d7b0c1190a
feat: add Object Field Edit page sections (#2243)
Closes #2160, Closes #2163
2023-10-27 12:13:01 +02:00
Charles Bochet
d02dd69613
Fix filters and sorts on views (#2258) 2023-10-27 11:48:38 +02:00
Lucas Bordeau
1728045be4
Fixes (#2256) 2023-10-27 11:25:14 +02:00
Thaïs
3d5ee6d7ca
feat: remove disabled custom objects (#2247)
Closes #2147
2023-10-27 11:08:02 +02:00
Lucas Bordeau
3f2e1b622e
Feat/show page metadata (#2234)
* Fix view fetch bug

* Finished types

* Removed console.log

* Fixed todo

* Working Object Show Page

* Minor fixes

* Fix custom object requests pending (#2240)

* 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
Charles Bochet
5ba68e997d
Improve viewbar api (#2233)
* create scopes

* fix import bug

* add useView hook

* wip

* wip

* currentViewId is now retrieved via useView

* working on sorts with useView

* refactor in progress

* refactor in progress

* refactor in progress

* refactor in progress

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix code

* fix code

* wip

* push

* Fix issue dependencies

* Fix resize

---------

Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-10-27 10:52:26 +02:00
brendanlaschke
6a72c14af3
Use zod instead of yup (#2254)
* use zod instead of yup

* doc

* lint
2023-10-27 10:26:32 +02:00
Weiko
c04e866de3
Remove Metadata SoftDelete and page limit size (#2237)
* Remove Metadata SoftDelete and page limit size

* add cascade deletion

* add missing queryRunner release
2023-10-26 17:32:27 +02:00
Thaïs
b30233d582
fix: generate metadata object and field names in camel case (#2250)
Fixes #2249
2023-10-26 17:27:52 +02:00
Weiko
781a1de8f4
Fix custom object requests pending (#2240)
* Fix custom object requests pending

* fix typo
2023-10-26 12:20:03 +02:00
Lucas Bordeau
c335d19c97
Feat/add other metadata types v2 (#2224)
* Fix view fetch bug

* Finished types

* Removed console.log

* Fixed todo

* Reactivate no console

* Change no-console to warn
2023-10-26 12:07:43 +02:00
Thaïs
00dd046798
feat: create custom object field (#2225)
Closes #2171
2023-10-26 11:34:26 +02:00
martmull
fc4075b372
2062 view edit an api key (#2231)
* Add query to get api keys

* Add a link to apiKey detail page

* Reset generatedApiKey when leaving page

* Simplify stuff

* Regenerate key when clicking on button

* Simplify

* Fix test

* Refetch apiKeys when delete or create one

* Add test for utils

* Create utils function

* Enable null expiration dates

* Update formatExpiration

* Fix display

* Fix noteCard

* Fix errors

* Fix reset

* Fix display

* Fix renaming

* Fix tests

* Fix ci

* Fix mocked data

* Fix test

* Update coverage requiremeents

* Rename folder

* Code review returns

* Symplify sht code
2023-10-26 11:32:44 +02:00
Thaïs
2b1945a3e1
feat: create custom object and update edited object names (#2220)
Closes #2155, Closes #2153
2023-10-26 11:04:16 +02:00
Kanav Arora
0b33880cc9
feat(frontend): Object Field Edit page created (#2218)
* feat(frontend): Object Field Edit page created

* fix(frontend): PR requested changes done
2023-10-24 18:13:22 +02:00
Charles Bochet
20f5b9def7
Fix bug isRelation guard (#2217) 2023-10-24 17:33:38 +02:00
Charles Bochet
48c9ea855a Improve tests 2023-10-24 17:14:07 +02:00
Charles Bochet
d58b85df54 Complete deploy to render work 2023-10-24 16:53:40 +02:00
Abhishek Thory
bd0b886081
1259/add compact view in opportunities (#2182)
* icons added

* recoil family state added for checking compact view in each card

* recoil state added for toggle button. Wether compact view show or not

* menu item modifed for right side content

* compact view toggle added in dropdown options

* dropdown width increased because compact view text was  overflowing

* compact view added in boardcard

* new animation added for in and out

* compact view enabled state added

* old state deleted

* sizes added in toggle component

* removed extra added code form navigation

* toggle size added in menuitem toggle

* MenuItemToggle added instead of MenuItemNavigate

* Compact view improved
2023-10-24 16:24:25 +02:00
Alfred Louis
350410b0fe
fix: update dropdown width (#2181)
* fix: update dropdown width

* fix conflict

* refactor dropdown width state
2023-10-24 16:21:51 +02:00
Gaurav
dfc59b2751
Applied min-height to Data Model banner (#2214) 2023-10-24 16:18:55 +02:00