Commit Graph

931 Commits

Author SHA1 Message Date
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
6b990c8501 Refactor input arch (#1982) 2023-10-12 17:41:50 +02:00
09fd5b6454 fix:remove line break (#1986) 2023-10-12 17:40:56 +02:00
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
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
c52b297612 feat: add New Object page (#1970)
Closes #1919
2023-10-11 15:45:59 +02:00
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
a342af74d1 feat: add Object Edit page (#1968)
Closes #1907
2023-10-11 15:34:10 +02:00
7731525317 feat: add Object Detail page breadcrumb (#1962)
Closes #1814
2023-10-11 12:12:19 +02:00
4555b66d96 Fix long text issue on people dropdown picker (#1923)
* Fix long text issue on people dropdown picker

* Fix checkmark shrink for long text

* remove width to not shrink image

* fix: remove width 100% from StyledMenuItemLabel
2023-10-11 12:11:09 +02:00
6a3002ddf9 Fix dnd on Options->Fields dropdown. (#1921)
fix dnd
2023-10-10 16:25:06 +02:00
04091a4ce0 Fix login modal not aligned 2023-10-10 16:06:55 +02:00
bf397bc6ec Update the frontend to adhere to the custom eslint rule twenty/no-spread-props (#1958)
* Update the frontend to adhere to the custom eslint rule `twenty/no-spread-props`

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

* Update the frontend to adhere to the custom eslint rule `twenty/no-spread-props`

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

* resolve bug with data-testid

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-10-10 15:40:49 +02:00
5dddd77eb3 added stories RawLink, SocialLink, and ContactLink and deleted story … (#1957)
* added stories RawLink, SocialLink, and ContactLink and deleted story for PrimaryLink

* add play function to link tests

---------

Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-10-10 14:58:07 +02:00
612bd57d5b Write Storybook tests for front/src/modules/ui/field/meta-types/display components (#1932)
* Write Storybook tests for front/src/modules/ui/field/meta-types/display components

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

* Write Storybook tests for front/src/modules/ui/field/meta-types/display components

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

* Write Storybook tests for front/src/modules/ui/field/meta-types/display components

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

* add EllipsisDisplay component

* add EllipsisDisplay component

* modified ComponentDecorator to pass a minWidth parameter to test ellipsis

* add ellipsis test to all components

* add ellipsis to links

* removed minWidth and set it to 'unset' if the width is not defined

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com>
Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-10-10 12:39:19 +02:00
18c8f26f38 Feat: Adjust the overlay style for changing the phone number's country (#1876)
* switched to dropdown menu component

* Use latest dropdown container

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-09 23:38:09 +02:00
c37a39febb Fix tests 2023-10-09 23:23:04 +02:00
c950395eac Fix tests 2023-10-09 23:17:07 +02:00
34d3c452c1 Objects Settings - Add the "New object" button (#1928)
* Objects Settings - Add the "New object" button

* addressing review comments
2023-10-09 22:46:37 +02:00
982a0799b8 scrollbar corner background color set transparent (#1948) 2023-10-09 22:42:06 +02:00
b9f23d9be6 Refactor RelationFieldDisplay to eliminate dependency on non-ui components (#1949)
* job done

* removed example type

* removed unused temporary type
2023-10-09 22:38:47 +02:00
29c013f826 1584/fix/dropdown item width not correct (#1950)
* added full width to new button

* removed scrollbar width in dropdown item

* Fix dropdown width issue

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-09 22:37:26 +02:00
e1c0cb7821 feat: add Object Detail page (#1917)
* feat: add Object Detail page

Closes #1813

* refactor: add object settings width constant
2023-10-09 19:16:02 +02:00
d0175fc541 Fix import error (#1947)
Co-authored-by: martmull <martmull@hotmail.com>
2023-10-09 17:40:05 +02:00
f49333f2e8 1886/fix/dont show unhideable files in fields menu (#1931)
* in compaines>fields Name fields is hided.

* in Opputunities>Options>Fieds   make closeData dragable

* close data (first colum) make hideable

* added size field

* added filter in fields with index and size

* index updated
2023-10-09 16:50:16 +02:00
77a1840611 Chore(front): Create a custom eslint rule for Props naming (#1904)
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-10-09 16:31:13 +02:00
a09456055e Fix: Changed file and component names (#1934)
Changed file and component names
2023-10-09 15:42:25 +02:00
edc060fce7 Introduce UI Components documentation (#1926)
* new contributor guide folder architecture

* update content pass 1

* Prepare UI component folder to receive componentns

* Add component doc example for button

* Fix broken links

* Fix broken links

* Fix images
2023-10-08 13:21:54 +02:00
da68654caf add new storybook for MenuItems component (#1898) 2023-10-06 12:02:19 +02:00
7574ad82fe Fix: Wrong assignee on loading team member picker (#1894)
show only skeleton when loading
2023-10-06 11:06:05 +02:00
53021dc64f Feat: Add tooltips on new column menu (#1893)
* implemented tooltip for view fields

* console.log
2023-10-06 11:04:39 +02:00
18e210b29b feat: add active and disabled object tables to settings (#1885)
* feat: add active and disabled object tables to settings

Closes #1799, Closes #1800

* refactor: add align prop to TableCell
2023-10-05 22:19:08 +02:00
4ed77a9c51 Fix tests 2023-10-05 22:17:37 +02:00
07450df1a1 Add no-console eslint rule (#1890)
* Add no-console eslint rule

* Remove unused test
2023-10-05 21:16:02 +02:00
922f8eca0e 1880 Refactored Dropdown components (#1884)
* updated DropdownButton props

* refactoring in progress

* working but layout is wrong

* fixed bug

* wip on ColumnHeadWithDropdown

* fix bug

* fix bug

* remove unused styled component

* fix z-index bug

* add an optional argument to DropdownMenu to control the offset of the menu

* add an optional argument to DropdownMenu to control the offset of the menu

* modify files after PR comments

* clean the way the offset is handled

* fix lint
2023-10-05 18:11:54 +02:00
a04bdc6824 Fix tests 2023-10-05 16:16:02 +02:00
73fa968595 fix:Menus go back button style fix (#1860)
* fix:Menus go back button style fix

* adjust padding

* use light icon button
2023-10-05 15:29:16 +02:00
b2dd868046 Fix overlay positioning for 'Sort,' 'Filter,' and 'Options' menus #1521 (#1781)
* Fix overlay positioning for 'Sort,' 'Filter,' and 'Options' menus

* Fix according to review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-04 18:31:55 +02:00
7af306792b feat: add Table and TableSection components (#1849)
* refactor: rename ui/table to ui/data-table

* feat: add Table and TableSection components

Closes #1806
2023-10-04 17:46:14 +02:00
d217142e7e Fixed #1818 [Tab list position glitch] (#1872)
Fixed #1818
2023-10-04 17:29:31 +02:00
13c8ee29f7 Refactor draggable list (#1874) 2023-10-04 17:29:18 +02:00
f59dc75627 Create a storybook test for TextFieldDisplay (#1868)
* working on a story for MoneyFieldDisplay

* Write test on MoneyDisplayField

* add a story for TextFieldDisplay
2023-10-04 17:17:18 +02:00
93a01c7292 Chore: Improve dropdown draggable list (#1738)
* draggable menu item component

* Menu item isDragged prop removed

* Droppable list component

* Draggablee item component

* Drag and drop use refactor

* lint fix

* isDragDisabled check on DraggableItem

* revert changes on non visibility items

* MenuItemDraggable stroybook

* DraggableItem storybook

* lint fix

* lint fix

* BoardColumnMenu css fix

* showGrip prop addition

* isDragged css fix
2023-10-04 15:56:25 +02:00
1e402aca5f Remove company avatar show page hover effect (#1857)
- remove company avatar show page hover effect
2023-10-04 15:49:25 +02:00
8f41792918 fix: Team creation dialog is visible and closable (#1758)
* fix: Team creation dialog is visible and closable

* fix according to recs

* fix border-radius issue visible on dark theme

* rename to appropriate naming: hotkeyCloser

* no memoize
2023-10-04 15:10:23 +02:00
56eea72110 fix count with opportunities page (#1839)
* fix count with opportunities page

* make unscoped atom entityCountInCurrentViewState
2023-10-04 15:04:53 +02:00
46dffeadef Adding storybook tests on meta-types/display/components (#1862)
* working on a story for MoneyFieldDisplay

* Write test on MoneyDisplayField
2023-10-04 13:26:06 +02:00
aab2f3ab3c Fix lint 2023-10-04 12:48:40 +02:00
bc3fe59312 feat: added an enlint rule to enforce no-type-import (#1838)
* feat: added an enlint rule to enforce no-type-import

* Update style-guide.mdx

---------

Co-authored-by: aman1357 <101919821+aman1357@users.noreply.github.com>
2023-10-04 11:06:54 +02:00
c433eb5d93 Bump version to 0.1.4 (#1851) 2023-10-04 10:51:59 +02:00