ee8f6899fc
chore(front): Refactor the SnackBar component to use the new scope architecture ( #2578 )
...
* chore(front): Refactor the SnackBar component to use the new scope architecture
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Rename useSnackBarManager
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-21 23:42:38 +01:00
b1b6bbe7d3
Increase spreadsheet import limit ( #2539 )
...
* Initialize web application via create-cloudflare CLI
Details:
C3 = create-cloudflare@2.6.2
project name = twenty-blog
framework = next
framework cli = create-next-app@13.4.19
package manager = npm@9.5.0
wrangler = wrangler@3.15 .0
git = 2.39.2 (Apple Git-143)
* Increase CSV Import limit
* Revert "Initialize web application via create-cloudflare CLI"
This reverts commit 6a09759372aac829fed2209cbd602f5afb97de7e.
2023-11-16 15:27:53 +01:00
e5caa7a5df
Eslint prevent duplicate import ( #2516 )
...
- eslint: prevent duplicate import
2023-11-16 12:26:43 +01:00
e0289ba9f2
2363 refactor the dialog component to use the new scope architecture ( #2415 )
...
* create Scope
* refactor dialog manager
* finished refactoring
* modify closeDialog to use a recoilcallback
* modify according to comments + add effet component
* fix spreadsheet import stories
2023-11-10 12:36:25 +01: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
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
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
6b990c8501
Refactor input arch ( #1982 )
2023-10-12 17:41:50 +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
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
4ed77a9c51
Fix tests
2023-10-05 22:17:37 +02:00
07450df1a1
Add no-console eslint rule ( #1890 )
...
* Add no-console eslint rule
* Remove unused test
2023-10-05 21:16:02 +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
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
772d54d29f
feat: add DropdownMenuInput and use as view name input in board ( #1680 )
...
Closes #1510
2023-09-20 12:53:35 -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
a766c60aa5
Reafactor/UI input and displays ( #1544 )
...
* WIP
* Text field
* URL
* Finished PhoneInput
* Refactored input sub-folders
* Boolean
* Fix lint
* Fix lint
* Fix useOutsideClick
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-11 17:11:20 -07:00
fb737e2021
Refactor icons passed as props with the new way ( #1492 )
...
* Refactor icons passed as props with the new way
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Update more files
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Fix according to review
* Fix according to review
* Fix according to review
* Fix chromatic regressions
---------
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-10 11:39:17 -07:00
bd2e4307d2
Refactor/modal component tests 1332 ( #1392 )
...
* feat: Add separate constants in theme for modal sizes and paddings
* feat: Implement dynamic sizing and padding for Modal
* feat: use dynamic modal feature for csv import
* fix: Remove redundant props from spreadsheet-import
* fix: use theme.spacing() instead
* fix: place types to Modal.tsx, convert ternary to switch-case, give default value
* fix: give px to modal sizes
* enhance: add color style to modal
* feat: add modal to storybook
2023-09-07 22:34:32 +02:00
28ca9a9e49
Refactor/new menu item ( #1448 )
...
* wip
* finished
* Added disabled
* Fixed disabled
* Finished cleaning
* Minor fixes from merge
* Added docs
* Added PascalCase
* Fix from review
* Fixes from merge
* Fix lint
* Fixed storybook tests
2023-09-06 16:41:26 +02:00
878302dd31
[ESLint rule]: recoil value and setter should be named after their at… ( #1402 )
...
* Override unwanted changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
* Fix the tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-09-05 10:34:11 +02:00
c0cb3a47f3
Fix/csv import ( #1397 )
...
* feat: add ability to enable or disable header selection
* feat: limit to max of 200 records for now
* fix: bigger modal
* feat: add missing standard fields for company
* fix: person fields
* feat: add hotkeys on dialog
* feat: mobile device
* fix: company import error
* fix: csv import crash
* fix: use scoped hotkey
2023-09-04 11:50:12 +02:00
96c41563cf
chore: Make a twenty Eslint Rule to make sure that icons are imported from @/ui/icons ( #1370 )
...
Fix the imports
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com >
2023-08-29 13:40:17 +02:00
1b187350c0
Refactor buttons ( #1257 )
...
* Refactor buttons
* Complete components creation
* Complete refactoring
* fix lint
* Complete button work
2023-08-26 23:59:45 +02:00
252f1c655e
Feat/hide board fields ( #1271 )
...
* Renamed AuthAutoRouter
* Moved RecoilScope
* Refactored old WithTopBarContainer to make it less transclusive
* Created new add opportunity button and refactored DropdownButton
* Added tests
* Deactivated new eslint rule
* Refactored Table options with new dropdown
* Started BoardDropdown
* Fix lint
* Refactor dropdown openstate
* Fix according to PR
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-08-24 13:19:42 +02:00
242c73ed81
Fix: Avoid showing confirmation dialog on closing spreadsheet import with no changes ( #1284 )
...
fix: not showing confirmation dialog on closing with no changes
2023-08-22 14:29:21 +02:00
9b34a0ff3d
Add styled component rule ( #1261 )
...
* Add StyledComponent rule
* update doc
* update doc
* update doc
2023-08-17 20:58:02 -07:00
8863bb0035
Import company and person from csv file ( #1236 )
...
* feat: wip implement back-end call csv import
* fix: rebase IconBrandTwitter missing
* feat: person and company csv import
* fix: test & clean
* fix: clean & test
2023-08-16 14:18:16 -07:00
b503b53062
Fix tests and upgrade node_modules ( #1227 )
...
* Fix tests
* Fix tests
* Fix 0 in SortandFilterBar
2023-08-15 19:38:50 -07:00
56cada6335
feat: wip import csv [part 1] ( #1033 )
...
* feat: wip import csv
* feat: start implementing twenty UI
* feat: new radio button component
* feat: use new radio button component and fix scroll issue
* fix: max height modal
* feat: wip try to customize react-data-grid to match design
* feat: wip match columns
* feat: wip match column selection
* feat: match column
* feat: clean heading component & try to fix scroll in last step
* feat: validation step
* fix: small cleaning and remove unused component
* feat: clean folder architecture
* feat: remove translations
* feat: remove chackra theme
* feat: remove unused libraries
* feat: use option button to open spreadsheet & fix stories
* Fix lint and fix imports
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-08-15 15:12:47 -07:00