edd152910d
Fix icon picker width and add Icon Title ( #2418 )
...
- fixed icon picker width
- added icon title
2023-11-10 11:52:50 +01:00
4efbe4d798
FIX: Corrected button border color for danger button ( #2409 )
2023-11-08 23:47:12 +01:00
377f95c9db
feat: add SettingsObjectFieldPreview and SettingsObjectFieldPreviewCard ( #2376 )
...
* feat: add SettingsObjectFieldPreview
Closes #2343
* feat: add SettingsObjectFieldPreviewCard
Closes #2349
* Fix ci
* Fix tests
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-06 23:14:47 +01:00
c397619100
441/fix/clear cell while opening it by typing and delete value when I hit delete / backspace. ( #2021 )
...
- Use initial values when opening table cells and pass them to fields
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-11-03 16:43:54 +01:00
316f2df170
Fix checkbox htmlfor bug ( #2315 )
...
fix bug
2023-11-02 14:05:47 +01:00
ec8389cecf
2282 Rename components to use the new naming convention part 1 ( #2293 )
...
renaming in progress
2023-10-31 12:12:52 +01:00
7fe569ec6a
fix: disable page shortcuts on TextArea focus ( #2288 )
...
Fixes #2275
2023-10-30 19:23:12 +01:00
d7b0c1190a
feat: add Object Field Edit page sections ( #2243 )
...
Closes #2160 , Closes #2163
2023-10-27 12:13:01 +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
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
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
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
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
943731fed8
Fix visual regressions
2023-10-20 00:04:51 +02:00
5ce8b4c73c
fix: favourite button background ( #2128 )
...
update:favourite button background
2023-10-19 17:54:36 +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
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
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
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
8a64903933
feat: add active/disabled fields table to New Field - Step 1 page ( #2069 )
...
Closes #1785
2023-10-16 18:16:25 +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
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
3ef9132525
Refactor icon picker to use shared styled dropdown menu ( #1998 )
2023-10-13 18:06:47 +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
6b990c8501
Refactor input arch ( #1982 )
2023-10-12 17:41:50 +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
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
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
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
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
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
7574ad82fe
Fix: Wrong assignee on loading team member picker ( #1894 )
...
show only skeleton when loading
2023-10-06 11:06:05 +02:00
aab2f3ab3c
Fix lint
2023-10-04 12:48:40 +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
c06712f161
Chore: eslint forbid useHotkeys ( #1777 )
...
- add eslint rule
2023-09-30 08:25:34 +02:00
4e181aa40e
feat: lazy load IconPicker icons ( #1753 )
...
Closes #1750
2023-09-29 16:23:36 +02:00
b2bac0b217
Add a type on CatalogDecorator ( #1742 )
...
* Add a type on CatalogDecorator
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Type more catalogs
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
2023-09-28 11:44:55 +02:00
cbadcba188
FieldDisplay & FieldInput ( #1708 )
...
* Removed view field duplicate types
* wip
* wip 2
* wip 3
* Unified state for fields
* Renaming
* Wip
* Post merge
* Post post merge
* wip
* Delete unused file
* Boolean and Probability
* Finished InlineCell
* Renamed EditableCell to TableCell
* Finished double texts
* Finished MoneyField
* Fixed bug inline cell click outside
* Fixed hotkey scope
* Final fixes
* Phone
* Fix url and number input validation
* Fix
* Fix position
* wip refactor activity editor
* Fixed activity editor
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-27 18:18:02 +02:00
d9feabbc63
feat: add IconPicker ( #1730 )
...
* feat: add IconPicker
Closes #1657
* fix: fix front lint errors
* refactor: rename selectedIconName to selectedIconKey
2023-09-27 17:56:49 +02:00
8639cb921e
Chore: corrects syntax for type only imports ( #1716 )
...
* chore: removes replaces 'import type xxx from 'xxx'' with 'import { type xxx} from 'xxx'''
* chore: remove typed imports
* chore: remove typed imports
* chore: cleanup
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-09-26 11:47:35 +02:00
ba86be2c5b
Remove the {...props} pattern and props coupling, and create an eslint rule for that ( #1733 )
...
* Remove the {...props} pattern and props coupling, and create an eslint rule for that
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Add another test to the new rule
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
2023-09-26 11:05:33 +02:00
f777fa22e9
Create consistent ui/input and ui/display for Cell and Fields type : … ( #1658 )
...
* Create consistent ui/input and ui/display for Cell and Fields type : Probability, DoubleText, DoubleTextChip
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Move components to `ui/input`
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Update imports in ProbabilityEditableFieldEditMode
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Create consistent ui/input and ui/display for Cell and Fields type : Probability, DoubleText, DoubleTextChip
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Merge main
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add more refactors
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-09-25 11:10:14 +02:00
54042a7d8f
Fix drag to select in dropdowns, context menu and action bar ( #1704 )
...
- fix drag to select disable at many locations
2023-09-21 14:22:13 -07:00
a59f5acd5e
fix: Update company picker keyboard navigation ( #1628 )
...
* fix: scroll
* fix: use ref
* fix: new changes
* fix: remove ref
* fix: state
* chore: clean up
* Include Empty option
* Include Empty option
* Include Empty option
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-21 12:53:07 -07:00
772d54d29f
feat: add DropdownMenuInput and use as view name input in board ( #1680 )
...
Closes #1510
2023-09-20 12:53:35 -07:00
3c4ab605db
Fix eslint-plugin-twenty ( #1640 )
...
* Fixed color rule
* Fixed naming
* Fix effect component rule
* Deactivated broken rules
* Fixed lint
* Complete eslint-plugin-twenty work
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-18 16:38:57 -07:00
00a3c8ca2b
Change to using arrow functions ( #1603 )
...
* Change to using arrow functions
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add lint rule
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-15 18:41:10 -07:00
f4c1acbca1
Fix a few bugs before deploy
2023-09-13 19:16:16 -07:00