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
07450df1a1
Add no-console eslint rule ( #1890 )
...
* Add no-console eslint rule
* Remove unused test
2023-10-05 21:16:02 +02:00
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
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
aab2f3ab3c
Fix lint
2023-10-04 12:48:40 +02:00
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
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
485bc64b4f
POC: Save view as url param ( #1710 )
...
* - save view as url param
* - fix tests
2023-09-28 11:50:44 +02:00
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
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
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
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
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
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
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
a26c8d660d
Fix teleporting board cards on drag drop ( #1613 )
...
- fix teleporting board cards on drag drop
2023-09-16 12:03:46 -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
0a7a0ac6cb
Refactor/context and scopes ( #1602 )
...
* Put onImport in a context
* Refactored RecoilScopeContexts
* Refactored naming
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-15 12:51:46 -07:00
85a6d0aa12
Refactor action bar entries and context menu entries ( #1608 )
...
- refactored actionbar entries / context menu entries
2023-09-15 17:51:02 +02:00
1be6ab2878
Reorder options menu board ( #1606 )
...
- reorder menu
2023-09-15 17:22:07 +02:00
2461a387ce
feat: persist board card fields ( #1566 )
...
Closes #1538
2023-09-14 15:06:15 -07:00
8627416d60
Refator/sorts dropdown ( #1568 )
...
* WIP
* Fixed lint
* Ok for sorts
* Fixed on dropdown toggle
* Fix lint
2023-09-13 16:38:11 -07:00
28e12d492c
feat: toggle board field visibilities ( #1547 )
...
Closes #1537 , Closes #1539
2023-09-13 11:58:52 +02:00
564a7c97b1
refactor: improve SingleEntitySelect empty option ( #1543 )
...
Closes #1331
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-11 17:27:17 -07:00
e69d4bde52
Fix opportunity views
2023-09-10 19:54:53 -07:00
88c6d0da2a
feat: add Opportunities Views dropdown ( #1503 )
...
* feat: add Opportunities Views dropdown
Closes #1454
* feat: persist Opportunities view filters and sorts
Closes #1456
* feat: create/edit/delete Opportunities views
Closes #1455 , Closes #1457
* fix: add missing Opportunities view mock
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-09-10 19:07:14 -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
89fed80537
fix case HotkeyScope to hotkeyScope ( #1528 )
2023-09-09 18:22:53 -07:00
df17da80fc
refactor: add ViewBar and move view components to ui/view-bar ( #1495 )
...
Closes #1494
2023-09-08 11:57:16 +02:00
d6b89359f5
refactor: rename ui/filter-n-sort to ui/view-bar ( #1475 )
...
Closes #1473
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-09-06 16:46:02 +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
7bced2b49b
Unselect table rows using esc key or click outside ( #1420 )
...
* unselect table rows by esc or clickoutside of tablebody
* exclude action-bar
* exclude context-menu
* added enums, handled touch listener
2023-09-05 09:56:07 +02:00
8e22ffd021
fix: fix dropdown buttons z-index ( #1431 )
...
Closes #1430 , Closes #1422
2023-09-04 16:51:12 +02:00
96a0f30e98
feat: delete pipeline stage ( #1412 )
...
* feat: delete pipeline stage
Closes #1396
* refactor: code review
- Use string literal instead of enum
* docs: disable CircularProgressBar Chromatic snapshots
2023-09-04 16:39:01 +02:00
f29d843db9
feat: add board options dropdown and pipeline stage creation ( #1399 )
...
* feat: add board options dropdown and pipeline stage creation
Closes #1395
* refactor: code review
- remove useCallback
2023-09-04 11:37:31 +02:00
c3c5cb4d1f
unselect all cards using esc key or click ( #1393 )
...
* unselect all cards using esc key or click
* useScopedHotKeys
* useListenClickByClassName
* rules are rules
* smoothing out || cursor-boxing-selection compliant
* replenished activeCardIds
* setRecoilState
2023-09-01 18:00:21 +02:00
5653b89114
fix: fix filter and sort position on board horizontal scroll ( #1386 )
...
Closes #1354
2023-09-01 11:54:34 +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
0d7b869274
Create opportunity from board column menu ( #1323 )
...
- create opportunity from column menu
2023-08-28 18:23:28 +02:00
5d50bbd6a3
Fix dragToSelect Board ( #1319 )
...
- fix dragToSelect
2023-08-26 03:29:44 +02:00
c3d6451dd0
feat: create view from selected filters and sorts + switch to newly created view on view creation ( #1301 )
...
* feat: create view from selected filters and sorts
Closes #1292
* refactor: use selector to obtain table filters where query option
* refactor: activate exhaustive deps eslint rule for useRecoilCallback
* feat: switch to newly created view on view creation
Closes #1297
* refactor: code review
- use `useCallback` instead of `useRecoilCallback`
- rename `useTableViews` to `useViews`
- move filter-n-sort selectors to /states/selector subfolder
2023-08-25 12:43:21 +02:00
de569f4c06
Scroll behavior part 2 ( #1304 )
...
* Fix layout issues introduced by scroll behavior
* Complete scrollbar work
2023-08-25 12:38:45 +02:00
e373d17a2a
Feat: The scrollbar should fade away when the scroll is finished or not started ( #1269 )
...
* The scrollbar should fade away when the scroll is finished or not started
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
* Complete scroll work
* Fix pr
* Fix pr
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-08-25 01:13:53 +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
8bbc54f4c7
Boards add context menu ( #1223 )
...
* - add context menu to boards
* - delete unused file
2023-08-15 17:05:23 -07:00
aa1f9bcab3
removed unused files, unnecessary exports and renamed ownProps ( #1225 )
...
* remove unused files and rename ownProps
* restore unused icons
2023-08-15 17:02:02 -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