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
24e5132029
Moving queries into dedicated files ( #1210 )
...
* Moving queries into dedicated files
* fix ci
2023-08-14 19:31:20 -07:00
656f1af15c
feat: I can hide/show filter bar and add filters directly from filter bar ( #1173 )
...
* I can hide/show filter bar and add filters directly from filter bar
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add requested changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Revert breaking changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-08-14 19:12:11 -07:00
e3dc3b3e4a
Cosmetic refactoring on context menu ( #1209 )
...
* Cosmetic refactoring on context menu
* Fix lint
* Fix lint
* Fix lint
* Fix lint
* Fix lint
* Fix lint
2023-08-15 02:34:23 +02:00
43b0945028
Reorganize context/states/selectors in dedicated folders ( #1205 )
...
* Reorganize context/states/selectors in dedicated folders
* linter
2023-08-14 15:29:47 -07:00
cbd0d0a724
- rename entries hooks
...
- tests
- move useeffects to sub components
2023-08-14 23:52:36 +02:00
a7f4326419
- moved states
2023-08-14 22:12:29 +02:00
39bbe02c86
Merge commit 'cd3a32e55503dc1e6b9873d812dd401bf7d51045' into context-menu-vertical
2023-08-14 22:00:49 +02:00
e6b20b5ff2
Fix drag-performance ( #1184 )
...
* Fix drag-performance
* Fixes
* Fixes
* Fixes
* Fixes
2023-08-12 20:28:33 -07:00
09ab1300a3
Remove unused components ( #1180 )
...
* Remove unused components
* Fix company not being created issue
* Fix company not being created issue
* Fix company not being created issue
* Optimize rendering
* Optimize rendering
2023-08-12 16:29:18 -07:00
4eb4d1488c
Use FieldDefinition for company show page ( #1171 )
...
* Use FieldDefinition for company show page
* removing console.log
* fix conflicts
* fix address placeholder + company show page field definition ordering
* fix story
* add replacePlaceholder
* use AppPath enum in stories
* add routeParams
* fix people input story
2023-08-11 14:31:52 -07:00
cca68d72f4
Merge branch 'main' into context-menu-vertical
2023-08-11 10:40:31 +02:00
accfaafcfa
- refactored to use multiple states
2023-08-11 10:27:31 +02:00
d4b1153517
Fix New button drag behavior on pipeline views
2023-08-10 15:16:56 -07:00
fb0f9b7807
Fixes before deploy ( #1167 )
2023-08-11 00:09:52 +02:00
07a8f68ef1
Add FieldDefinition ( #1162 )
...
* add fieldDefinition
* update naming
* use a unique contextProvider for editable fields
* remove EntityUpdateMutationHookContext.Provider usage in CompanyBoardCard
* add fieldDefinitionState
* remove unnecessary refetchQueries to avoid re-render
* add FieldMetadata
* add type guards and update useUpdateGenericEntityField
* restore refetchQueries
2023-08-10 11:26:27 -07:00
fbac345164
Enable optimistic rendering for pipeline stages ( #1139 )
2023-08-09 20:07:11 +02:00
3122541f3b
Drag to select boards ( #1127 )
...
- drag to select boards
2023-08-09 18:25:09 +02:00
3666980ccc
Feat/generic editable board card ( #1089 )
...
* Fixed BoardColumnMenu
* Fixed naming
* Optimized board loading
* Added GenericEditableField
* Introduce GenericEditableField for BoardCards
* remove logs
* delete unused files
* fix stories
---------
Co-authored-by: corentin <corentin@twenty.com >
2023-08-08 20:08:37 -07:00
5166859f80
[Opportunities] fix overlapping borders ( #1091 )
...
* [Opportunities] fix overlapping borders
* remove margin on SortAndFilterBar
* add margin-right to StyledBoard
2023-08-05 12:22:52 -07:00
c6bec40c90
feat: show/hide table columns ( #1078 )
...
Closes #813
2023-08-04 10:44:46 -07:00
c790cc5d0c
First round of refactor EntityBoards ( #1067 )
2023-08-04 16:16:34 +02:00
2b21e05524
Improve mouse tracking ( #1061 )
...
* Improve mouse tracking
* Fix lint
* Fix regression on Filters
* Fix according to review
2023-08-03 10:36:11 -07:00
e06588d8a8
Fix: positioning of label to rename columns ( #1051 )
...
Fix positioning of label to rename columns
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com >
2023-08-02 11:55:46 -07:00
bfd748e175
Closes #710 : Add the number of opportunities on each stage ( #1011 )
...
* Add the number of oppurtunities on each stage
* Remove excess css properties in Boardcolumn.tsx and use theme
* Remove padding from oppurnities counters
2023-08-02 11:51:17 -07:00
22ca00bb67
Add tasks page ( #1015 )
...
* Refactor top bar component
* Add task page with tabs
* Add tasks
* Add logic for task status
* Fix isoweek definition
* Enable click on task
* Deduplicate component
* Lint
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-07-31 16:14:35 -07:00
ade5e52e55
Clean and re-organize post table refactoring ( #1000 )
...
* Clean and re-organize post table refactoring
* Fix tests
2023-07-30 18:26:32 -07:00
d9f6ae8663
Feat/generic editable cell all types ( #987 )
...
* Added generic relation cell
* Deactivated debug
* Added default warning
* Put back display component
* Removed unused types
* wip
* Renamed to view field
* Use new view field structure to have chip working
* Finished
* Added a temp feature flag
* Added double text chip cell
* Ok
* Finished tables
* Fixed icon size
* Fixed bug on date field
* Use icon index
* Fix
* Fixed naming
* Fix
* removed file from merge
* Fixed tests
* Coverage
2023-07-29 14:48:43 -07:00
8cf8183342
Enable to drag under New button on pipeline ( #970 )
2023-07-28 01:50:29 +00:00
59eb10ccc4
fix( #753 ): add autoComplete attribute for remove suggestion of passwo… ( #913 )
...
* fix(#753 ): add autoComplete attribute for remove suggestion of password managers
* fix(#753 ): add autoComplete attribute for remove suggestion of password managers
* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx
* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx
* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx
* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-07-25 11:21:45 -07:00
a2ccb643ff
Optimize table loading ( #866 )
...
* wip
* wip
* Ok
* Deleted unused code
* Fixed lint
* Minor fixes
* Minor fixes
* Minor Fixes
* Minor merge fixes
* Ok
* Fix storybook tests
* Removed console.log
* Fix login
* asd
* Fixed storybook
* Added await
* Fixed await
* Added sleep for failing test
* Fix sleep
* Fix test
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-07-25 11:00:15 -07:00
07180af8c0
Improve tests ( #871 )
2023-07-24 00:57:56 -07:00
21d5133564
Feat/improve mobile display ( #843 )
...
* Ok 1
* Finished
* Fix PR
* Fix PR
* Fix desktop
* Fix
* Fix absolute listen click outside
* console.log
* Fix according to code review
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-07-23 10:53:35 -07:00
56cff63c4b
docs: use ComponentDecorator ( #800 )
...
Related to #702
2023-07-21 12:02:21 -07:00
9c230f448e
Feat/rename and color picker ( #780 )
...
* WIP
* Add menu for rename/color select
* Add stories
* Remove useless code
* Fix color name, add icon for selected color
* Remove useless comment
* Unify color vocabulary
* Fix rebase
* Rename story
* Improve hotkeys and imports
2023-07-20 16:45:43 -07:00
7670ae5638
Added tooltip on overflowing texts ( #771 )
...
* Ok
* Fixes
* Fix according to PR
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-07-19 21:23:42 -07:00
5fb7d753ef
Various styling improvements ( #766 )
...
* Various styling improvements
* Add card styling
* Fix select when editing fields
* Add colors
* Refactor prevent click
2023-07-19 15:31:53 -07:00
c2fb8fd040
Add probability picker on Opportunity card ( #747 )
...
* Fix padding
* Update date input component
* Add Probability picker component on opportunity card
* lint
2023-07-18 23:54:34 -07:00
6301bc2fbf
Feature/filter and sort board ( #725 )
...
* Get pipeline progress from stage IDs
* Rename hooks file
* Addd first amount filter
* Add remaining filters
* Design fixes
* Add filtering on creation date or amount
* Fix card updates and creations with the new state management
* Keep ordering when dropping a card
* Add remainint sorts
* Make board header more generic
* Move available filters and sorts to board options
* Fix decorators for test
* Add pipeline stage ids to mock data
* Adapt mock data
* Linter
2023-07-17 19:32:47 -07:00
a972705ce6
Improve test coverage and refactor storybook arch ( #723 )
...
* Improve test coverage and refactor storybook arch
* Fix coverage
* Fix tests
* Fix lint
* Fix lint
2023-07-17 17:14:53 -07:00
8b7314cd39
fix: fix kanban amount color ( #717 )
...
Fixes #673
2023-07-17 11:13:58 +02:00
6ced8434bd
Uniformize folder structure ( #693 )
...
* Uniformize folder structure
* Fix icons
* Fix icons
* Fix tests
* Fix tests
2023-07-16 14:29:28 -07:00
a2fcc3082f
Fix according to peer review
2023-07-15 19:33:59 -07:00
91c8068db1
Enable column edition, and fix ordering ( #683 )
...
* Enable column edition, and fix ordering
* Move queries to services
* Add total amounts for board columns
* Refactor totals selector as a family
* Fix 0-index issue
* Lint
* Rename selector
* Remove useless header
* Address PR comments
* Optimistically update board column names
2023-07-15 19:32:16 -07:00