Commit Graph

1367 Commits

Author SHA1 Message Date
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
martmull
d61511262e
2060 create a new api key (#2206)
* Add folder for api settings

* Init create api key page

* Update create api key page

* Implement api call to create apiKey

* Add create api key mutation

* Get id when creating apiKey

* Display created Api Key

* Add delete api key button

* Remove button from InputText

* Update stuff

* Add test for ApiDetail

* Fix type

* Use recoil instead of router state

* Remane route paths

* Remove online return

* Move and test date util

* Remove useless Component

* Rename ApiKeys paths

* Rename ApiKeys files

* Add input text info testing

* Rename hooks to webhooks

* Remove console error

* Add tests to reach minimum coverage
2023-10-24 16:14:54 +02:00
Ruslan
b6e8fabbb1
chore: added .dockerignore and fixed start:prod (#2099) (#2211)
added .env to .dockerignore and fixed start:prod
2023-10-24 14:41:52 +02:00
Charles Bochet
d5610fdb5b Fix build script 2023-10-24 11:40:52 +02:00
Nimra Ahmed
515ef25a72
Changes to documentation (#2209)
* 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
2023-10-24 11:36:43 +02:00
gitstart-twenty
5acafe2fc6
Chore(front): Add more typeguards (#2136)
* 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
Tom Avalexing
80d558559f
fix unauthenticated (#2203)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-24 08:54:45 +02:00
Marcel Kaiser
2b590a1c33
fix: issue Button-with-'IconChevronDown'-in-'TableUpdateViewGroupButton'-has-incorrect-size (#2201)
changed button size
issue #3Button-with-'IconChevronDown'-in-'TableUpdateViewGroupButton'-has-incorrect-size-#1522
2023-10-24 08:35:29 +02:00
Thaïs
7a3338b4de
feat: save edited custom object (#2204)
Closes #2153

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-10-24 08:33:35 +02:00
Thaïs
291feae595
feat: activate, disable and erase fields in Object Detail (#2200)
* feat: activate and disable objects

Closes #2144, Closes #2148, Closes #2154

* feat: activate, disable and erase fields in Object Detail

Closes #2158

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-10-24 08:30:13 +02:00
Thaïs
26e8cd76be
feat: activate and disable objects (#2194)
Closes #2144, Closes #2148, Closes #2154
2023-10-24 08:07:00 +02:00
David Pham
f94886d150
Fix issue 2130: text overflow on setting member page (#2192) 2023-10-23 12:42:22 +02:00
Tom Avalexing
28e9b16ee6
Fix Boolean field for hotkey (#2067)
* Fix Boolean field for hotkey

* make via hook

* typo

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-23 11:43:09 +02:00
Pallavi Varshney
aaa8ec574d
#2133 added comments icon and count on notes tab (#2186)
* fix

* #2133 added comments icon and count on notes tab

* reverted changes in people-filters.tsx
2023-10-23 11:23:37 +02:00
brendanlaschke
c80eb5c0b0
Show icons for navigate commands (#2184)
- show icons for navigate commands
2023-10-23 10:28:01 +02:00
Charles Bochet
42af74eb46
Build render (#2188)
* Build for arm and amd

* Add scripts

* Add scripts
2023-10-22 23:47:43 +02:00
Charles Bochet
e67b2d23ae Fix port missing while building pg_database_url for render 2023-10-22 12:42:52 +02:00
Ruslan
a5fe256d7e
chore: inject enviroment at the ./front deployment phase (#2174) (#2179)
* chore: inject enviroment at the deployment phase (#2174)

* 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
Charles Bochet
1954ed5e3a
Add tests and raise coverage on pages (#2180)
* Add tests and raise coverage on pages

* Fix lint
2023-10-21 20:09:08 +02:00
Lucas Bordeau
f1670f0cf4
Feat/metadata datatable types (#2175)
* Handled new url v2 type

* Fixed refetch queries

* wip

* Ok delete but views bug

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 14:07:18 +02:00
Ujwal Kumar
598fda8f45
feat: add new object standard available section (#2111)
* feat: add new object standard available section

* Fix feedback comments received on PR

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 13:40:11 +02:00
Thaïs
34bbbdff41
feat: add New Field Step 2 form (#2138)
Closes #2001

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 13:28:15 +02:00
David Pham
c90cf1eb8f
Fix issue 2126: DataTable '+' button dropdown positioning glitch (#2150)
* Fix issue 2126: DataTable '+' button dropdown positioning glitch

* Simplify code

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 12:51:53 +02:00
David Pham
9e9eca22a4
Fix issue 2151: Dropdown menu of header table does not close after hide column (#2177)
* Fix issue 2151: Dropdown menu of header table does not close after hide column

* Remove dropdown scope

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 12:07:50 +02:00
Rustam M
6d8effabbf
fix: value changes every render (#2115)
* fix: value changes every render

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 11:49:50 +02:00
Abhishek Thory
159d2978d0
Favorite: computeNewPosition fixed (#2134) 2023-10-21 11:31:32 +02:00
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