Commit Graph

1005 Commits

Author SHA1 Message Date
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
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
80d558559f fix unauthenticated (#2203)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-24 08:54:45 +02:00
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
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
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
26e8cd76be feat: activate and disable objects (#2194)
Closes #2144, Closes #2148, Closes #2154
2023-10-24 08:07:00 +02:00
f94886d150 Fix issue 2130: text overflow on setting member page (#2192) 2023-10-23 12:42:22 +02:00
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
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
c80eb5c0b0 Show icons for navigate commands (#2184)
- show icons for navigate commands
2023-10-23 10:28:01 +02:00
42af74eb46 Build render (#2188)
* Build for arm and amd

* Add scripts

* Add scripts
2023-10-22 23:47:43 +02:00
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
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
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
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
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
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
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
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
159d2978d0 Favorite: computeNewPosition fixed (#2134) 2023-10-21 11:31:32 +02:00
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
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
943731fed8 Fix visual regressions 2023-10-20 00:04:51 +02:00
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
5ce8b4c73c fix: favourite button background (#2128)
update:favourite button background
2023-10-19 17:54:36 +02:00
2f0da64e1b feat: get object metadata from backend in Object Edit (#2125)
Closes #2009
2023-10-19 17:14:29 +02:00
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
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
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
2b8a81a05c Created two new env variables (#2120)
* created the two env variables

* modify according to comments
2023-10-19 14:57:16 +02:00
c04f6bf371 Fix import style (#2118) 2023-10-19 12:05:31 +02:00
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
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
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
5bfb540e6a Fix graphql query import (#2108) 2023-10-18 18:31:47 +02:00
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
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
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
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
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
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
6e90554ae7 feat(frontend): New Object Field Step 2 Added Cancel Save Button (#2092) 2023-10-17 21:11:34 +02:00
462a5a6738 danger zone section added in object edit page (#2093) 2023-10-17 21:10:47 +02:00
34c9259683 Fix linter 2023-10-17 21:09:15 +02:00
8894c52202 feat: add Object Edit form (#2090)
Closes #1910
2023-10-17 21:03:59 +02:00
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
a40516df83 Added metadata creation (#2086)
* Reworked metadata creation

* Fix from PR

* Removed consolelog
2023-10-17 20:59:41 +02:00
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
d19011f882 Use SaveAndCancelButtons in SettingsObjectNewFieldStep1 (#2088)
* Use SaveAndCancelButtons in SettingsObjectNewFieldStep1

* refactor to introduce SettingsHeaderContainer
2023-10-17 16:32:21 +02:00