Commit Graph

413 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
0d6386bc8d 1809 new object add cancel and save buttons (#2081)
* create save and cancel buttons and their stories

* add SaveAndCancelButtons to the New Object page

* add onSave and onCancel

* modified according to comments
2023-10-17 14:55:41 +02:00
8a64903933 feat: add active/disabled fields table to New Field - Step 1 page (#2069)
Closes #1785
2023-10-16 18:16:25 +02:00
3dae11b6e4 Create page Object Field Step 2 (#2068)
* create page

* change runs-on param
2023-10-16 18:02:39 +02:00
e147e7aebb 1997 new object field step 1 create page (#2054)
* add ObjectNewField page

* add story

* refactored to include step1

* replaced step1 by step-1 and fix onCLick behavior

* refactor stories

* refactoring in progress

* refactor SettingsPageContainer

* refactor SettingsPageContainer
2023-10-16 17:11:09 +02:00
b128d53b58 Refactor settings > data model section (#2031) 2023-10-15 19:00:07 +02:00
e9d0c8a928 feat: add about block in object detail page (#2028) 2023-10-15 18:08:16 +02:00
9c855ff8b5 feat: New Object - Add Object type section #1918 (#1985)
* feat: New Object - Add Object type section #1918

* fix: dark mode border color

* feat: New Object - Add Object type section #1918

* fix: dark mode border color

* Requested changes in the PR

* fix(new object): requested changes in the PR

* fix(1985): border color
2023-10-15 17:48:27 +02:00
258685467b Refactor UI folder (#2016)
* 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

* removed package-lock.json

* added doc card, admonitions

* removed underline from nav buttons

* refactoring modules/ui

* refactoring modules/ui

* Change folder case

* Fix theme location

* Fix case 2

* Fix storybook

---------

Co-authored-by: Nimra Ahmed <nimra1408@gmail.com>
Co-authored-by: Nimra Ahmed <50912134+nimraahmed@users.noreply.github.com>
2023-10-14 00:04:29 +02:00
a35ea5e8f9 Feat/front forge graphql query (#2007)
* wip

* Wip

* Wip

* Finished v1

* Wip

* Fix from PR

* Removed unused fragment masking feature

* Fix from PR

* Removed POC from nav bar

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-13 22:27:57 +02:00
cafcfdc95e Feat/front metadata request (#1977)
* wip

* Wip

* Wip

* Finished v1

* Fix from PR

* Removed unused fragment masking feature
2023-10-13 18:01:57 +02:00
30aeea9eec 1909 object edit add icon section (#1995)
* wip

* wip

* wip

* wip

* wip

* remove hardcoded values and use theme values

* add styles to StyledContainer

* fix iconPicker bug

* wip

* refactor IconPicker to include IconButton

* close IconPicker on click outside

* close IconPicker on escape and enter

* refactor to use DropDownMenu

* refactor to use DropDownMenu

* modify default icon

* Refactor to use useIconPicker hook

* fix WithSearch story

* reinitialized searchString state on close

* create and update stories for the iconPicker

* remove comments

* use theme for gap

* remove align-self

* fix typo in icon

* fix type any

* fix merge conflicts

* remove experimental css properties
2023-10-13 15:29:30 +02:00
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
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
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
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
a09456055e Fix: Changed file and component names (#1934)
Changed file and component names
2023-10-09 15:42:25 +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
a04bdc6824 Fix tests 2023-10-05 16:16:02 +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
aab2f3ab3c Fix lint 2023-10-04 12:48:40 +02:00
3336144245 Feat: First column style update (#1746)
reimplemented as per suggestions by lucas
2023-10-04 10:25:43 +02:00
77997674e5 Feat: Add "All assignees" in Task team member dropdown (#1763)
* implemented all select option FilterDropdownEntitySearchSelect and enabled it for tasks page filter

* created new filter operand IsNotNull for make a select all qraphql query, added internal state for tracking isAllEntitySelected

* used filterCurrentlyEdited to track if isAllEntitySelected is selected

* fixed filter button icon SelectAll Icon
2023-10-03 16:55:31 +02:00
8da0205bab Renamed editable field to inline cell in ui folder (#1845)
* renamed editable field to inline cell in ui folder

* renamed table to table-cell in ui folder
2023-10-03 16:26:20 +02:00