d02dd69613
Fix filters and sorts on views ( #2258 )
2023-10-27 11:48:38 +02:00
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
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
6a72c14af3
Use zod instead of yup ( #2254 )
...
* use zod instead of yup
* doc
* lint
2023-10-27 10:26:32 +02:00
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
00dd046798
feat: create custom object field ( #2225 )
...
Closes #2171
2023-10-26 11:34:26 +02:00
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
20f5b9def7
Fix bug isRelation guard ( #2217 )
2023-10-24 17:33:38 +02:00
48c9ea855a
Improve tests
2023-10-24 17:14:07 +02:00
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
350410b0fe
fix: update dropdown width ( #2181 )
...
* fix: update dropdown width
* fix conflict
* refactor dropdown width state
2023-10-24 16:21:51 +02:00
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
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
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
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
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
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
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
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
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
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
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
8a64903933
feat: add active/disabled fields table to New Field - Step 1 page ( #2069 )
...
Closes #1785
2023-10-16 18:16:25 +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
70aef9bb28
Refactor sortsOrderBy & filtersWhere on CompanyTable & PeopleTable ( #2064 )
2023-10-16 16:49:37 +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
31d67c1092
fix: remove console logs on frontend side ( #2030 )
...
fix: remove console logs
2023-10-15 16:34:07 +02:00
fa9303f545
Refactored Storybook UI ( #2020 )
...
* refactored Storybook UI
* refactored Storybook UI
* removed extra cards from the doc, added card for ui components
2023-10-14 21:22:47 +02:00
0c79217ba0
Add an ESLint rule to prevent the usage of useRef other than for HTML elements. ( #2014 )
...
* Add an ESLint rule to prevent the usage of useRef other than for HTML elements
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Bump eslint version and rewrite rule
* Fix
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-14 11:32:46 +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
3ef9132525
Refactor icon picker to use shared styled dropdown menu ( #1998 )
2023-10-13 18:06:47 +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