Commit Graph

1367 Commits

Author SHA1 Message Date
rsato10
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
gitstart-twenty
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
Nimra Ahmed
ae32a2da3b
Revised contributing.md, edited docs (#1951)
* Added Overview page

* Revised Getting Started page

* Minor revision

* Edited readme, minor modifications to docs

* Removed sweep.yaml, .devcontainer, .ergomake

* Moved security.md to .github, added contributing.md

* changes as per code review

* updated contributing.md

* fixed broken links & added missing links in doc, improved structure

* fixed link in wsl setup

* fixed server link, added https cloning in yarn-setup
2023-10-10 12:33:17 +02:00
Jérémy M
017a0b1563
feat: refactor custom object (#1887)
* chore: drop old universal entity

* feat: wip refactor graphql generation custom object

* feat: refactor custom object resolvers

fix: tests

fix: import

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-10 10:50:54 +02:00
Ayush Agrawal
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
Charles Bochet
c37a39febb Fix tests 2023-10-09 23:23:04 +02:00
Charles Bochet
c950395eac Fix tests 2023-10-09 23:17:07 +02:00
Weiko
ca492808cf
Add metadata query resolvers (#1929)
* Add metadata queries resolvers

* remove hello field

* fix linter
2023-10-09 22:54:14 +02:00
Abhishek Bindra
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
Abhishek Thory
982a0799b8
scrollbar corner background color set transparent (#1948) 2023-10-09 22:42:06 +02:00
bosiraphael
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
Abhishek Thory
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
Thaïs
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
martmull
d0175fc541
Fix import error (#1947)
Co-authored-by: martmull <martmull@hotmail.com>
2023-10-09 17:40:05 +02:00
Abhishek Thory
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
Tom Doe
73617e3534
Fix: Broken "local-setup" link in README.md (#1946)
Fixed a broken link to "Local Setup" in the readme.
2023-10-09 16:32:51 +02:00
gitstart-twenty
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
BOHEUS
84ed9edefe
Replaced docker-compose with docker compose in Makefile (#1922) 2023-10-09 15:50:49 +02:00
Gaurav
a09456055e
Fix: Changed file and component names (#1934)
Changed file and component names
2023-10-09 15:42:25 +02:00
Charles Bochet
150d1a880c Fix iframe not loading on ui components doc 2023-10-08 13:35:33 +02:00
Charles Bochet
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
Nimra Ahmed
7b6ee4e0bf
Update README and Documentation (#1875)
* Added Overview page

* Revised Getting Started page

* Minor revision

* Edited readme, minor modifications to docs

* Removed sweep.yaml, .devcontainer, .ergomake

* Moved security.md to .github, added contributing.md

* changes as per code review
2023-10-07 11:24:44 +02:00
Alfred Louis
da68654caf
add new storybook for MenuItems component (#1898) 2023-10-06 12:02:19 +02:00
BOHEUS
10c39e4501
Update troubleshooting.mdx (#1895)
Updated troubleshooting.mdx with possible solution to Docker related problems
2023-10-06 11:12:42 +02:00
Ayush Agrawal
7574ad82fe
Fix: Wrong assignee on loading team member picker (#1894)
show only skeleton when loading
2023-10-06 11:06:05 +02:00
Ayush Agrawal
53021dc64f
Feat: Add tooltips on new column menu (#1893)
* implemented tooltip for view fields

* console.log
2023-10-06 11:04:39 +02:00
gitstart-twenty
2ff35083fb
chore: drop findMany and findUnique resolvers for custom objects (#1897)
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-10-06 10:49:54 +02:00
Thaïs
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
Charles Bochet
4ed77a9c51 Fix tests 2023-10-05 22:17:37 +02:00
Charles Bochet
07450df1a1
Add no-console eslint rule (#1890)
* Add no-console eslint rule

* Remove unused test
2023-10-05 21:16:02 +02:00
bosiraphael
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
Gaurav
b8282e6789
Added script to setup database locally on Linux/WSL (#1879)
* Created script to install and setup PostgreSQL database for Linux/WSL

* Updated Docs
2023-10-05 16:17:27 +02:00
Charles Bochet
a04bdc6824 Fix tests 2023-10-05 16:16:02 +02:00
Alfred Louis
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
Jérémy M
047bb8014b
feat: add custom object create and update (#1869) 2023-10-05 14:33:13 +02:00
Gokul Bansal
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
Thaïs
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
Debdeep Pal
d217142e7e
Fixed #1818 [Tab list position glitch] (#1872)
Fixed #1818
2023-10-04 17:29:31 +02:00
Charles Bochet
13c8ee29f7
Refactor draggable list (#1874) 2023-10-04 17:29:18 +02:00
bosiraphael
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
Aman
d2703363d5
fix: removed import type (#1864)
* feat: added an enlint rule to enforce no-type-import

* Update style-guide.mdx

* fix: removed import type

* fix: removed import type

---------

Co-authored-by: aman1357 <101919821+aman1357@users.noreply.github.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-04 16:11:09 +02:00
Aditya Pimpalkar
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
brendanlaschke
1e402aca5f
Remove company avatar show page hover effect (#1857)
- remove company avatar show page hover effect
2023-10-04 15:49:25 +02:00
Tom Avalexing
27eab82f19
Workaround for bug on token conflict with front and storybook (#1843)
* workound to preview token

* remote token itself
2023-10-04 15:46:41 +02:00
Weiko
42e8869e0e
Add targetColumnMap to FieldMetadata (#1863)
* Add targetColumnMap to FieldMetadata

* fix

* remove console.log

* fix test
2023-10-04 15:17:53 +02:00
Tom Avalexing
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
brendanlaschke
59a7e7ead3
Add troubleshooting doc (#1852)
* - add troubleshooting doc

* fix duplicate
2023-10-04 15:07:02 +02:00
Tom Avalexing
56eea72110
fix count with opportunities page (#1839)
* fix count with opportunities page

* make unscoped atom entityCountInCurrentViewState
2023-10-04 15:04:53 +02:00
bosiraphael
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
Charles Bochet
aab2f3ab3c Fix lint 2023-10-04 12:48:40 +02:00