Thaïs
e053fba089
fix: fix Modules Storybook tests ( #2339 )
...
Fixes #2310
2023-11-03 15:01:42 +01:00
Charles Bochet
e04f9230da
Fix Add view not working on PersonTable
2023-11-03 15:01:01 +01:00
Charles Bochet
b4af15467f
Fix data not loading on recordTable
2023-11-03 14:53:11 +01:00
Thaïs
56a5f99108
fix: fix Pages Storybook tests ( #2305 )
...
* fix: fix Companies pages tests
* fix: fix People pages tests
* fix: fix Opportunities page tests
2023-11-03 14:25:36 +01:00
brendanlaschke
e3691ad143
Fix navbar animation layout shift ( #2335 )
...
fix navbar animation
2023-11-03 11:04:30 +01:00
bosiraphael
f19ed5e2e4
Fix firefox recoil snapshot bug ( #2321 )
...
fix firefox recoil snapshot bug
2023-11-02 17:06:26 +01:00
bosiraphael
9725582a82
Fix entity tasks filter scopeid bug ( #2318 )
...
fix entity tasks filter scopeid bug
2023-11-02 14:36:50 +01:00
bosiraphael
316f2df170
Fix checkbox htmlfor bug ( #2315 )
...
fix bug
2023-11-02 14:05:47 +01:00
bosiraphael
27b451ee56
Fix view deletion ( #2314 )
...
* fix view deletion
* fix view deletion bugs
* improve code readability
2023-11-02 12:17:50 +01:00
bosiraphael
8080353075
Fix sort delete ( #2312 )
2023-11-02 10:36:28 +01:00
Charles Bochet
1c5c71bc48
Reduce image size ( #2306 )
...
* Reduce image size
* Clean dependencies
* Clean dependencies
2023-10-31 21:43:16 +01:00
bosiraphael
951680113e
Plug filter delete to backend ( #2303 )
...
* plug-filter-delete-to-backend
* delete console
2023-10-31 18:06:43 +01:00
bosiraphael
f9920d2f24
Fix CompanyBoardCard height ( #2301 )
...
* fix view-fields seeds
* closeDate was duplicated
* fix CompanyBoardCard height
2023-10-31 16:38:23 +01:00
brendanlaschke
48aa89664a
Prevent layout shift on page load ( #2268 )
...
- prevent layout shift on page load
2023-10-31 14:09:33 +01:00
bosiraphael
dda911fea7
Remove three old env variables ( #2297 )
...
* remove three old env variables IS_DATA_MODEL_SETTINGS_ENABLED IS_DEVELOPERS_SETTINGS_ENABLED FLEXIBLE_BACKEND_ENABLED
* Fix database:reset script
* Removing unused variable
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-31 13:15:24 +01:00
Gaurav
71dd6eb0a8
Fix: Email case sensitivity ( #2229 )
2023-10-31 12:41:20 +01:00
bosiraphael
a2e84db049
2282 Rename components to use the new naming convention part 3 ( #2296 )
...
part 3 of the renaming
2023-10-31 12:38:53 +01:00
bosiraphael
adeaa35e8d
2282 Rename components to use the new naming convention part 2 ( #2295 )
...
renaming part 2
2023-10-31 12:32:16 +01:00
Kanav Arora
b319ba66ac
2284 fix(frontend): layout shift in date input ( #2292 )
...
* fix(frontend): layout shift in date input
* Fix Inline Cell overlay being shifted
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-31 12:30:10 +01:00
bosiraphael
ec8389cecf
2282 Rename components to use the new naming convention part 1 ( #2293 )
...
renaming in progress
2023-10-31 12:12:52 +01:00
Thaïs
7fe569ec6a
fix: disable page shortcuts on TextArea focus ( #2288 )
...
Fixes #2275
2023-10-30 19:23:12 +01:00
Thaïs
3cdbe4f16e
fix: remove blank space below Object Settings cover image ( #2285 )
...
Fixes #2280
2023-10-30 19:22:23 +01:00
Thaïs
d30ed496e9
fix: display object plural labels in nav items ( #2290 )
...
Fixes #2289
2023-10-30 19:20:44 +01:00
Thaïs
328c5cd184
test: add metadata object and field mocks ( #2266 )
2023-10-30 17:56:56 +01:00
martmull
236742e88c
Fix api keys refresh ( #2283 )
...
* Move code to dedicated function
* Format cached data with proper typename
2023-10-30 17:48:34 +01:00
Thaïs
3fc1b74d9c
feat: navigate to Object Detail page after custom object creation ( #2277 )
...
Closes #2276
2023-10-30 13:33:29 +01:00
Charles Bochet
d38497c46a
Refactor ObjectDataTable to work with new views system ( #2274 )
...
Complete work
2023-10-29 23:50:59 +01:00
Charles Bochet
9bab28912d
Complete Fix view work ( #2272 )
...
* Fix views
* Make view sorts and view filters functional
* Complete Company table view fix
* Fix model creation
* Start fixing board
* Complete work
2023-10-29 16:29:00 +01:00
Charles Bochet
685d342170
Migrate view field to new data model - Part 2 ( #2270 )
...
* Migrate view field to new data model
* Migrate view fields to new model
2023-10-28 19:13:48 +02:00
Charles Bochet
b591023eb3
Fix/metadata object and settings post merge ( #2269 )
...
* WIP
* WIP2
* Seed views standard objects
* Migrate views to the new data model
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-28 12:25:43 +02:00
Charles Bochet
afd4b7c634
Fix Views on People page ( #2265 )
...
* fetching viewId for url
* fixed option menu name input
* fix table import
* fix unnecessary rerenders
* people working
---------
Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-10-27 18:20:58 +02:00
martmull
35237c05f3
Fix cache management ( #2264 )
2023-10-27 18:20:11 +02:00
Thaïs
e488a87ce4
feat: save edited custom field ( #2245 )
...
Closes #2161
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-27 18:06:31 +02:00
Thaïs
40c5f72080
feat: save activated/disabled fields in New Field - Step 1 page ( #2226 )
...
* feat: save activated/disabled fields in New Field - Step 1 page
Closes #2170
* fix: fix objectSlug
* Console.log
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-27 17:59:57 +02:00
Thaïs
9681815cb3
test: fix SettingsObjectDisabledMenuDropDown storybook tests ( #2257 )
...
* test: fix SettingsObjectDisabledMenuDropDown storybook tests
* fix: fix BoardOptionsDropdownContent lint error
2023-10-27 17:49:14 +02:00
Thaïs
3c6ce75606
feat: activate standard objects in New Object page ( #2232 )
...
* feat: activate standard objects in New Object page
Closes #2010 , Closes #2173
* Pagination limit = 1000
* Various fixes
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-27 15:46:29 +02:00
Charles Bochet
ec3327ca81
Fix major rework on view ( #2262 )
2023-10-27 15:30:52 +02:00
Thaïs
d7b0c1190a
feat: add Object Field Edit page sections ( #2243 )
...
Closes #2160 , Closes #2163
2023-10-27 12:13:01 +02:00
Charles Bochet
d02dd69613
Fix filters and sorts on views ( #2258 )
2023-10-27 11:48:38 +02:00
Lucas Bordeau
1728045be4
Fixes ( #2256 )
2023-10-27 11:25:14 +02:00
Thaïs
3d5ee6d7ca
feat: remove disabled custom objects ( #2247 )
...
Closes #2147
2023-10-27 11:08:02 +02:00
Lucas Bordeau
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
Charles Bochet
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
brendanlaschke
6a72c14af3
Use zod instead of yup ( #2254 )
...
* use zod instead of yup
* doc
* lint
2023-10-27 10:26:32 +02:00
Thaïs
b30233d582
fix: generate metadata object and field names in camel case ( #2250 )
...
Fixes #2249
2023-10-26 17:27:52 +02:00
Lucas Bordeau
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
Thaïs
00dd046798
feat: create custom object field ( #2225 )
...
Closes #2171
2023-10-26 11:34:26 +02:00
martmull
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
Thaïs
2b1945a3e1
feat: create custom object and update edited object names ( #2220 )
...
Closes #2155 , Closes #2153
2023-10-26 11:04:16 +02:00
Kanav Arora
0b33880cc9
feat(frontend): Object Field Edit page created ( #2218 )
...
* feat(frontend): Object Field Edit page created
* fix(frontend): PR requested changes done
2023-10-24 18:13:22 +02:00
Charles Bochet
20f5b9def7
Fix bug isRelation guard ( #2217 )
2023-10-24 17:33:38 +02:00
Charles Bochet
48c9ea855a
Improve tests
2023-10-24 17:14:07 +02:00
Abhishek Thory
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
Alfred Louis
350410b0fe
fix: update dropdown width ( #2181 )
...
* fix: update dropdown width
* fix conflict
* refactor dropdown width state
2023-10-24 16:21:51 +02:00
Gaurav
dfc59b2751
Applied min-height to Data Model banner ( #2214 )
2023-10-24 16:18:55 +02:00
martmull
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
gitstart-twenty
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
Tom Avalexing
80d558559f
fix unauthenticated ( #2203 )
...
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-24 08:54:45 +02:00
Marcel Kaiser
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
Thaïs
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
Thaïs
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
Thaïs
26e8cd76be
feat: activate and disable objects ( #2194 )
...
Closes #2144 , Closes #2148 , Closes #2154
2023-10-24 08:07:00 +02:00
David Pham
f94886d150
Fix issue 2130: text overflow on setting member page ( #2192 )
2023-10-23 12:42:22 +02:00
Tom Avalexing
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
Pallavi Varshney
aaa8ec574d
#2133 added comments icon and count on notes tab ( #2186 )
...
* fix
* #2133 added comments icon and count on notes tab
* reverted changes in people-filters.tsx
2023-10-23 11:23:37 +02:00
brendanlaschke
c80eb5c0b0
Show icons for navigate commands ( #2184 )
...
- show icons for navigate commands
2023-10-23 10:28:01 +02:00
Charles Bochet
42af74eb46
Build render ( #2188 )
...
* Build for arm and amd
* Add scripts
* Add scripts
2023-10-22 23:47:43 +02:00
Ruslan
a5fe256d7e
chore: inject enviroment at the ./front deployment phase ( #2174 ) ( #2179 )
...
* chore: inject enviroment at the deployment phase (#2174 )
* Dockerfile CMD env.sh
* env.sh generates env-config.js file
* index.html imports env-config.js
* front/src/config/index.ts imports REACT_APP_SERVER_BASE_URL
* Upgrade Dockerfiles
* Add compute pg_database_url for render
* fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-22 12:36:36 +02:00
Charles Bochet
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
Lucas Bordeau
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
Ujwal Kumar
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
Thaïs
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
David Pham
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
David Pham
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
Rustam M
6d8effabbf
fix: value changes every render ( #2115 )
...
* fix: value changes every render
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 11:49:50 +02:00
Abhishek Thory
159d2978d0
Favorite: computeNewPosition fixed ( #2134 )
2023-10-21 11:31:32 +02:00
gitstart-twenty
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
David Pham
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
Charles Bochet
943731fed8
Fix visual regressions
2023-10-20 00:04:51 +02:00
Abhishek Thory
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
Kirthi Bagrecha Jain
5ce8b4c73c
fix: favourite button background ( #2128 )
...
update:favourite button background
2023-10-19 17:54:36 +02:00
Thaïs
2f0da64e1b
feat: get object metadata from backend in Object Edit ( #2125 )
...
Closes #2009
2023-10-19 17:14:29 +02:00
Thaïs
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
Charles Bochet
d0df7e4d3b
Update version to 0.1.5 ( #2123 )
...
* Update version to 0.1.5
* Temporariliy lower code coverage
2023-10-19 16:21:09 +02:00
Thaïs
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
bosiraphael
2b8a81a05c
Created two new env variables ( #2120 )
...
* created the two env variables
* modify according to comments
2023-10-19 14:57:16 +02:00
Charles Bochet
c04f6bf371
Fix import style ( #2118 )
2023-10-19 12:05:31 +02:00
Arijit
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
Lucas Bordeau
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
Tom Avalexing
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
Lucas Bordeau
5bfb540e6a
Fix graphql query import ( #2108 )
2023-10-18 18:31:47 +02:00
bosiraphael
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
Thaïs
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
Lucas Bordeau
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
bosiraphael
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
Ayush Agrawal
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
gitstart-twenty
2c1ad1661a
Fix(front): notes relation picker ( #2034 )
...
* Fix notes relation picker
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* fix import
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-17 22:13:25 +02:00
Kanav Arora
6e90554ae7
feat(frontend): New Object Field Step 2 Added Cancel Save Button ( #2092 )
2023-10-17 21:11:34 +02:00
Abhishek Thory
462a5a6738
danger zone section added in object edit page ( #2093 )
2023-10-17 21:10:47 +02:00
Charles Bochet
34c9259683
Fix linter
2023-10-17 21:09:15 +02:00
Thaïs
8894c52202
feat: add Object Edit form ( #2090 )
...
Closes #1910
2023-10-17 21:03:59 +02:00
Charles Bochet
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
Lucas Bordeau
a40516df83
Added metadata creation ( #2086 )
...
* Reworked metadata creation
* Fix from PR
* Removed consolelog
2023-10-17 20:59:41 +02:00
Saba Shavidze
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
bosiraphael
d19011f882
Use SaveAndCancelButtons in SettingsObjectNewFieldStep1 ( #2088 )
...
* Use SaveAndCancelButtons in SettingsObjectNewFieldStep1
* refactor to introduce SettingsHeaderContainer
2023-10-17 16:32:21 +02:00
Jayraj Rodage
1aefaced1d
Fixed icon for single New note & New task buttons ( #2082 )
2023-10-17 16:08:17 +02:00
Weiko
1344e78acb
Remove singular/plural from field-metadata ( #2085 )
...
* Remove singular/plural from field-metadata
* revert removing id from create input
* remove console log
* remove console log
* codegen
* missing files
* fix tests
2023-10-17 15:21:58 +02:00
bosiraphael
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
Nimra Ahmed
a6542719df
Addresses issue #1906 ( #2074 )
...
* refactored Storybook UI
* refactored Storybook UI
* removed extra cards from the doc, added card for ui components
* added hover behavior to doc page & made it look selected
* separate storybook docs and tests
* separating storybook tests and docs
2023-10-16 22:06:07 +02:00
Lucas Bordeau
d64f167b3b
Feat/front temp seed custom objects ( #2070 )
...
* wip
* Fixed bugs
* Added flexible backend test
2023-10-16 22:04:41 +02:00
Thaïs
8a64903933
feat: add active/disabled fields table to New Field - Step 1 page ( #2069 )
...
Closes #1785
2023-10-16 18:16:25 +02:00
bosiraphael
3dae11b6e4
Create page Object Field Step 2 ( #2068 )
...
* create page
* change runs-on param
2023-10-16 18:02:39 +02:00
bosiraphael
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
Tom Avalexing
c324a0a4f4
Support ongoing efforts on setting-> object ( #2065 )
2023-10-16 16:59:30 +02:00
Tom Avalexing
70aef9bb28
Refactor sortsOrderBy & filtersWhere on CompanyTable & PeopleTable ( #2064 )
2023-10-16 16:49:37 +02:00
Charles Bochet
b128d53b58
Refactor settings > data model section ( #2031 )
2023-10-15 19:00:07 +02:00
apurvagurme
e9d0c8a928
feat: add about block in object detail page ( #2028 )
2023-10-15 18:08:16 +02:00
Kanav Arora
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
Saba Shavidze
31d67c1092
fix: remove console logs on frontend side ( #2030 )
...
fix: remove console logs
2023-10-15 16:34:07 +02:00
Nimra Ahmed
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
gitstart-twenty
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
Charles Bochet
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
Lucas Bordeau
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
Charles Bochet
3ef9132525
Refactor icon picker to use shared styled dropdown menu ( #1998 )
2023-10-13 18:06:47 +02:00
Lucas Bordeau
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
gitstart-twenty
41ae30cada
Chore(front): Add storybook tests on meta-types/input/components ( #1987 )
...
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Fix the tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* modify props spread in stories
* Remove storybook-addon-mock
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-13 17:47:08 +02:00
Gaurav
acde034a1d
Replaced eslint rule twenty/no-spread-props to react/jsx-props-no-spreading ( #1976 )
...
* Replaced eslint rule twenty/no-spread-props to react/jsx-props-no-spreading
* Disable props spread on external libraries
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-13 16:52:19 +02:00
David Kramer
d56c5fcbf6
Two cells can be focused at the same time in the tables Fixes #1826 ( #1866 )
...
Co-authored-by: kramer <david.kramer@gmail.com>
Co-authored-by: Ayush Agrawal <54364088+AyushAgrawal-A2@users.noreply.github.com>
Co-authored-by: AyushAgrawal-A2 <ayushagl06@gmail.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-13 16:37:36 +02:00
bosiraphael
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
Thaïs
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
Charles Bochet
6b990c8501
Refactor input arch ( #1982 )
2023-10-12 17:41:50 +02:00
Alfred Louis
09fd5b6454
fix:remove line break ( #1986 )
2023-10-12 17:40:56 +02:00
Charles Bochet
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
bosiraphael
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
Thaïs
c52b297612
feat: add New Object page ( #1970 )
...
Closes #1919
2023-10-11 15:45:59 +02:00
Lucas Bordeau
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
Thaïs
a342af74d1
feat: add Object Edit page ( #1968 )
...
Closes #1907
2023-10-11 15:34:10 +02:00
Thaïs
7731525317
feat: add Object Detail page breadcrumb ( #1962 )
...
Closes #1814
2023-10-11 12:12:19 +02:00
Bhumik Prajapati
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
Tom Avalexing
6a3002ddf9
Fix dnd on Options->Fields dropdown. ( #1921 )
...
fix dnd
2023-10-10 16:25:06 +02:00
Charles Bochet
04091a4ce0
Fix login modal not aligned
2023-10-10 16:06:55 +02:00
gitstart-twenty
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
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
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
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
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
Gaurav
a09456055e
Fix: Changed file and component names ( #1934 )
...
Changed file and component names
2023-10-09 15:42:25 +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
Alfred Louis
da68654caf
add new storybook for MenuItems component ( #1898 )
2023-10-06 12:02:19 +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
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
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
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
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
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
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
Aman
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
Charles Bochet
c433eb5d93
Bump version to 0.1.4 ( #1851 )
2023-10-04 10:51:59 +02:00
Ayush Agrawal
3336144245
Feat: First column style update ( #1746 )
...
reimplemented as per suggestions by lucas
2023-10-04 10:25:43 +02:00
Ayush Agrawal
5915189a5b
Fix: Cannot add some fields to companies table ( #1853 )
...
fixed add field to table when absent in db
2023-10-04 10:18:21 +02:00
Ayush Agrawal
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
David Kramer
aea088df16
eslint prettier error on windows #1798 ( #1804 )
...
* fixing es linter errors on windows
* Indentation
* Indentation
---------
Co-authored-by: kramer <david.kramer@gmail.com>
2023-10-03 16:48:52 +02:00
bosiraphael
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
Thaïs
e63f8eac76
feat: add data model settings ( #1817 )
...
Closes #1760
2023-10-03 11:19:29 +02:00
Charles Bochet
37475f7c1b
Fix bug non emptyable phones and urls
2023-10-02 17:32:16 +02:00
Ayush Agrawal
965a6b7c57
Fix: Table / Board createView bug ( #1782 )
...
* fix createView for tables and board page
* removed residual console.log from InlineCell component
2023-10-02 17:23:30 +02:00
David Kramer
e12e7754e4
Fix board column title edit optimistic rendering #1745 ( #1780 )
...
adding update of state as well
Co-authored-by: kramer <david.kramer@gmail.com>
2023-09-30 18:29:41 +02:00
brendanlaschke
6871cd0df3
Fix task creation show page ( #1775 )
...
- fixed task creation show page
2023-09-30 08:32:45 +02:00
brendanlaschke
e3485cc609
Fix: Consistent avatars for show pages ( #1776 )
...
- consistent avatars for show pages
2023-09-30 08:32:00 +02:00
brendanlaschke
c06712f161
Chore: eslint forbid useHotkeys ( #1777 )
...
- add eslint rule
2023-09-30 08:25:34 +02:00
Ayush Agrawal
a287a5bc8a
Feat: I can add a favorite directly from my table ( #1747 )
...
* implented add/remove favorite in context menu
* clear selected rows after favorite button click, context menu width 200px when remove from favorites is shown
* Update front/src/modules/ui/context-menu/components/ContextMenu.tsx
2023-09-29 18:33:28 +02:00
Thaïs
4e181aa40e
feat: lazy load IconPicker icons ( #1753 )
...
Closes #1750
2023-09-29 16:23:36 +02:00
Charles Bochet
b52190c707
Fix people creation from People table page ( #1773 )
2023-09-29 16:21:30 +02:00
brendanlaschke
35ff695471
Added hint for cmdk-menu ( #1743 )
...
* - added hint for cmdk-menu
* - design
2023-09-29 11:23:14 +02:00
David Kramer
ed86cec1e8
Fix design EditableCell 'Hover', 'Focus' and 'Edit Mode' #1663 ( #1740 )
...
* fixed styling EditableCell
* adding same solution
* removing shadow to cover top and bottom
* fixing with outline
* fixing width
---------
Co-authored-by: kramer <david.kramer@gmail.com>
2023-09-29 10:02:54 +02:00
brendanlaschke
485bc64b4f
POC: Save view as url param ( #1710 )
...
* - save view as url param
* - fix tests
2023-09-28 11:50:44 +02:00
gitstart-twenty
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
Lucas Bordeau
aa0c61bed9
Removed unused feature flag ( #1744 )
2023-09-28 11:21:16 +02:00
gitstart-twenty
0be07a8928
Delete Opportunities column + Improving design of BoardColumnEditTitleMenu ( #1737 )
...
* Delete Opportunities column + Improving design of BoardColumnEditTitleMenu
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Remove unwanted changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-28 11:18:18 +02:00
Ronit Panda
2dbce935ba
test: adds test to check if adding a new company or people works ( #1714 )
...
* test: adds test to check if adding a new company or people works
* test: improves people/add and companies/add tests
* style: cleanup
* style: cleanup
2023-09-28 11:17:25 +02:00
Lucas Bordeau
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
Thaïs
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
Aditya Pimpalkar
46ad36061e
feat: reorder kanban columns ( #1699 )
...
* kaban header options
* gql codegn
* moveColumn hook refactor
* BoardColumnContext addition
* saved board columns state
* db call hook update
* lint fix
* state change first db call second
* handleMoveTableColumn call
* codegen lint fix
* useMoveViewColumns hook
* useBoardColumns db call addition
* boardColumns state change from BoardHeader
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-27 15:59:44 +02:00
Charles Bochet
1e716bf6d6
Fix tests
2023-09-27 15:44:47 +02:00
Pepe
ee108ccbf2
Add a hover on Show Person Avatar ( #1631 )
...
* Display 404 while person or company not found
* Display 404 while person or company not found
* Issue solved
* Icon Size Adjustment, resize the icons used in filter and sort
* Fixed issues
* Icon Size Adjustment, resize the icons used in filter and sort
* Add onClick in Avatar.tsx
* Comments solved
* Solve conflicts
* Update front/src/modules/users/components/Avatar.tsx
* Update front/src/modules/users/components/Avatar.tsx
* Update front/src/modules/users/components/Avatar.tsx
* Update front/src/modules/users/components/Avatar.tsx
* Update front/src/modules/users/components/Avatar.tsx
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-27 15:33:39 +02:00
brendanlaschke
9282885233
Fix cmd menu tests ( #1739 )
...
* - fix tests
* - fixed header
* - lint
- fixed catalog menuitemcommand
* - fix prop destructuring in test
* - combine single/multiple create and goto commands
2023-09-27 15:19:33 +02:00
Ayush Agrawal
96865b0fec
Fix: When opening a filter, the focus is not put on the input search / filter input ( #1731 )
...
* Fixes #1718
* implemented review changes
2023-09-26 15:01:50 +02:00
Ronit Panda
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
gitstart-twenty
f60c209e39
Chore(backend): Enable attaching attachments to companies and people (backend) ( #1726 )
...
Enable attaching attachments to companies and people (backend)
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-26 11:39:13 +02:00
gitstart-twenty
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
Ayush Agrawal
cd20a437d8
Fix: Command menu keeps the last input ( #1723 )
...
Fix/Command menu keeps the last input
2023-09-25 15:40:28 +02:00
gitstart-twenty
fabbe7ddf2
Chore: First table column should not be hideable ( #1711 )
...
* First table column should not be hideable
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
2023-09-25 12:26:41 +02:00
Ronit Panda
0ce11b6908
fix: adds cursor pointer to table column header ( #1715 )
...
* fix: adds cursro pointer to table column header
* fix: lifts up the onclick handler to header not tag making consistent with other tables
2023-09-25 12:25:03 +02:00
brendanlaschke
0ff535af2d
Fix hover on standalone button FloatingIconButtonGroup ( #1709 )
...
- fix hover on standalone button FloatingIconButtonGroup
2023-09-25 11:15:14 +02:00
gitstart-twenty
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
Thaïs
1c3897848f
fix: fix table columns resize glitches on slow network ( #1707 )
...
Fixes #1580
2023-09-22 19:45:29 +02:00
brendanlaschke
20267f081a
Fix command menu keyboard input & refactor group ( #1706 )
...
* - fix command menu keyboard shortcuts
- refactor command groups
* - refactor the MenuItemCommand to use cmdk
* - fixed matching commands multiple displays
* - fixed array count problems react with boolean
2023-09-22 11:44:42 +02:00
brendanlaschke
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
Charles Bochet
043fe3a7ab
Fix tests
2023-09-21 14:21:00 -07:00
Thaïs
ab0cdbf960
feat: persist table columns on change ( #1697 )
...
* feat: persist table columns on change
Closes #1580
* fix: fix drag-and-select on Table Options dropdown toggle
2023-09-21 13:15:57 -07:00
Nafees Nazik
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
Charles Bochet
7ce03ffdd1
Refactor tests command menu ( #1702 )
...
* Fix tests
* Refactor tests command menu
* Improve tests
* Fix optimistic render breaking tests
2023-09-21 11:53:36 -07:00
Rishi Raj Jain
b5b46f923a
fix: Command bar is broken ( #1617 )
...
* Update CommandMenu.tsx
* remove broken states
* convert to array
* convert filter conditions
* empty condition
* finally
* update the logic
* add test
* lint
* move file
2023-09-21 11:18:44 -07:00
gitstart-twenty
9ab412116d
Fix tasks filters ( #1676 )
...
* Fix tasks filters
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Simplify condition
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-20 23:09:48 -07:00
Yaswanth
dafe08ef78
fix: dark mode for MainButton ( #1681 )
...
* fix: dark mode for MainButton
* Fix colors
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-20 17:22:13 -07:00
Charles Bochet
07f589d521
Fix bug optimistic rendering
2023-09-20 16:53:46 -07:00
Charles Bochet
708391460c
Fix optimistic effects to work with fragments ( #1683 )
...
* Fix optimistic effects to work with fragments
* Regenerate
2023-09-20 16:13:54 -07:00
Thaïs
772d54d29f
feat: add DropdownMenuInput and use as view name input in board ( #1680 )
...
Closes #1510
2023-09-20 12:53:35 -07:00
gitstart-twenty
78b666f457
Fix front end ( #1678 )
...
* Fix front
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Fix according to PR
* Fix tests
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-20 12:46:40 -07:00
Thaïs
a20ca95f32
feat: reset Recoil state on logout ( #1675 )
...
Closes #1452
2023-09-20 15:26:11 +02:00
neo773
d8590bb358
Add 'Esc' hotkey behavior on Filter and Sorts dropdown ( #1622 )
...
* fix esc key
* add changes
* add changes
* add changes
2023-09-20 11:40:49 +02:00
gitstart-twenty
103fb701e7
Chore: Use Fragments as types ( #1670 )
...
* Use Fragments as types
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Use Fragments as types in GraphQL queries and mutations
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-20 10:58:59 +02:00
Thaïs
3f600146b1
fix: fix some views dropdown design issues ( #1648 )
...
* fix: fix some views dropdown design issues
Closes #1610 , Closes #1601
* Handle max-width on view picker
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-19 20:01:01 -07:00
Charles Bochet
3bde7bc252
Fast follow on draggable column re-order ( #1667 )
2023-09-19 18:55:01 -07:00
Charles Bochet
b0973afc64
Fix deploy CI
2023-09-19 16:57:22 -07:00
Charles Bochet
8c21dc8bba
Refactor fast follow on column move feature ( #1665 )
...
* Refactor fast follow on column move feature
* Fix lint
2023-09-19 16:42:11 -07:00
Aditya Pimpalkar
cb05b1fbc9
feat: reorder columns from table options ( #1636 )
...
* draggable prop addition
* draggable component addition
* state modification
* drag select state addition
* changed state name
* main merged
* lint fix
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-19 15:31:21 -07:00
Aditya Pimpalkar
321488ad3c
feat: Column title menus ( #1616 )
...
* view field index to float
* gql codegen and package.json
* list implementation
* db call
* reposition logic
* lint fix
* edge case fix
* review changes
* handleColumnMove refactor
* dropdown recoil scope
* rename props
* Update server/src/database/migrations/20230727124244_add_view_fields_table/migration.sql
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-19 15:27:02 -07:00
Charles Bochet
fc139f89ab
Fix CI tests
2023-09-19 15:19:33 -07:00
Charles Bochet
772711154d
Fix bug company update ( #1664 )
2023-09-19 14:59:08 -07:00
Ritesh-Purwar
07684c4f08
change tabler-icons ( #1649 )
2023-09-19 16:19:44 +02:00
gitstart-twenty
d8930f7079
Write Storybook test for @/ui/navbar ( #1632 )
...
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-18 19:28:53 -07:00
Charles Bochet
645f2b42c2
Boost CI ( #1643 )
...
* Boost CI
* Split CI tests in 2
* Try caching node modules
* Try caching node modules
* Try caching node modules
* Improve CI
* Improve CI
* Improve CI
* Improve CI
* Improve CI
* Improve CI
* Separate jest tests
* Fix typo
* Re-order tests jobs
2023-09-18 19:07:38 -07:00
Lucas Bordeau
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
Charles Bochet
7fa80c5f71
Fix eslint setup
2023-09-17 08:28:05 -07:00
Anik Dhabal Babu
84eaa45027
fix: Migrate all rules from eslint-plugin-twenty to eslint-plugin-twenty-ts ( #1618 )
...
* migrate rules
* fix
* final
* final
2023-09-17 08:13:05 -07:00
Chigala
aaa63b3820
feat: added a dropDownCloseEffect component ( #1621 )
...
* feat: added a dropDownCloseEffect component
* Delete yarn.lock
* refactor: moved the DropdownCloseEffect inside the Dropdown button as a hook
* refactor: moved the DropdownCloseEffect to the DropdownButton jsx
2023-09-17 08:09:05 -07:00
Charles Bochet
c82c5a191e
Introduce useOptimisticEvict ( #1629 )
2023-09-16 22:23:43 -07:00
Charles Bochet
43a5535739
Refactor NavCollapse button ( #1625 )
2023-09-16 19:20:17 -07:00