189586830e
Refactored useFindOneObjectMetadataItem and useFindManyObjectMetadataItems ( #2600 )
...
* Refactored useFindOneObjectMetadataItem and useFindManyObjectMetadataItems to rely on a recoil family selector
* Removed console.log
* Cleaned
* Removed unused hook
* Fixed seeds
2023-11-20 16:34:06 +01:00
f5e1d7825a
Removing Prisma and Grapql-nestjs-prisma resolvers ( #2574 )
...
* Some cleaning
* Fix seeds
* Fix all sign in, sign up flow and apiKey optimistic rendering
* Fix
2023-11-19 18:25:47 +01:00
d481da183f
V2 opportunities ( #2565 )
...
* changed isSystem to false
* wip
* wip
* wip
* add amount viewfield seed
* seed other viewFields
* upate tenant seeds
* Remove calls to old pipelines
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-11-17 19:12:22 +01:00
e053fba089
fix: fix Modules Storybook tests ( #2339 )
...
Fixes #2310
2023-11-03 15:01:42 +01:00
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
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
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
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
bdb6886818
Fix bug Opportunities add Plus button z-index
2023-09-13 19:33:10 -07:00
08727aafe5
Fix tests
2023-09-10 20:16:04 -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
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
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
37ed3c857f
Fix tests
2023-08-24 14:25:20 +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
64cef963bc
Feat/add opportunity ( #1267 )
...
* Renamed AuthAutoRouter
* Moved RecoilScope
* Refactored old WithTopBarContainer to make it less transclusive
* Created new add opportunity button and refactored DropdownButton
* Added tests
* Update front/src/modules/companies/components/CompanyProgressPicker.tsx
Co-authored-by: Thaïs <guigon.thais@gmail.com >
* Update front/src/modules/companies/components/CompanyProgressPicker.tsx
Co-authored-by: Thaïs <guigon.thais@gmail.com >
* Update front/src/modules/companies/components/CompanyProgressPicker.tsx
Co-authored-by: Thaïs <guigon.thais@gmail.com >
* Update front/src/modules/companies/components/CompanyProgressPicker.tsx
Co-authored-by: Thaïs <guigon.thais@gmail.com >
* Update front/src/modules/ui/dropdown/components/DropdownButton.tsx
Co-authored-by: Thaïs <guigon.thais@gmail.com >
* Update front/src/modules/ui/dropdown/components/DropdownButton.tsx
Co-authored-by: Thaïs <guigon.thais@gmail.com >
* Update front/src/modules/ui/dropdown/components/DropdownButton.tsx
Co-authored-by: Thaïs <guigon.thais@gmail.com >
* Update front/src/modules/ui/layout/components/PageHeader.tsx
Co-authored-by: Thaïs <guigon.thais@gmail.com >
* Update front/src/pages/opportunities/Opportunities.tsx
Co-authored-by: Thaïs <guigon.thais@gmail.com >
* Fix lint
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
Co-authored-by: Thaïs <guigon.thais@gmail.com >
2023-08-23 18:57:08 +02:00
8bbc54f4c7
Boards add context menu ( #1223 )
...
* - add context menu to boards
* - delete unused file
2023-08-15 17:05:23 -07:00
24e5132029
Moving queries into dedicated files ( #1210 )
...
* Moving queries into dedicated files
* fix ci
2023-08-14 19:31:20 -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
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
accfaafcfa
- refactored to use multiple states
2023-08-11 10:27:31 +02:00
fbac345164
Enable optimistic rendering for pipeline stages ( #1139 )
2023-08-09 20:07:11 +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
c790cc5d0c
First round of refactor EntityBoards ( #1067 )
2023-08-04 16:16:34 +02: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
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
6ced8434bd
Uniformize folder structure ( #693 )
...
* Uniformize folder structure
* Fix icons
* Fix icons
* Fix tests
* Fix tests
2023-07-16 14:29:28 -07:00
0a319bcf86
Refacto board ( #661 )
...
* Refacto pipeline progress board to be entity agnostic
* Abstract hooks as well
* Move files
* Pass specific components as props
* Move board hook to the generic component
* Make dnd and update logic part of the board
* Remove useless call and getch pipelineProgress from hook
* Minot
* improve typing
* Revert "improve typing"
This reverts commit 49bf7929b6231747cc460cbb98f68c3c10424659.
* wip
* Get board from initial component
* Move files again
* Lint
* Fix story
* Lint
* Mock pipeline progress
* Fix storybook
* WIP refactor recoil
* Checkpoint: compilation
* Fix dnd
* Fix unselect card
* Checkpoint: compilation
* Checkpoint: New card OK
* Checkpoint: feature complete
* Fix latency for delete
* Linter
* Fix rebase
* Move files
* lint
* Update Stories tests
* lint
* Fix test
* Refactor hook for company progress indexing
* Remove useless type
* Move boardState
* remove gardcoded Id
* Nit
* Fix
* Rename state
2023-07-14 17:51:16 -07:00
691da0ef57
Fix Opportunities page bug, make image urls support base64 ( #547 )
2023-07-08 18:43:55 -07:00
e03d5ed8a7
Refactor/inplace input ( #541 )
...
* wip
* Changed all other components
* Removed console log
* Console.log
* lint
* Removed internal state
* Fix
* Lint
2023-07-08 16:45:52 -07:00
7d6adbaa73
Update company card ( #512 )
...
* Add card rows
* WIP - add amount
* Refactor board state to separate pipeline progress data and company data
* Add migration and generated code
* Pass pipeline progress properties to the comapny card
* WIP-editable
* Enable amount edition
* Nits
* Remove useless import
* Fix empty board bug
* Use cell for editable values on company card
* Add fields
* Enable edition for closeDate
* Add dummy edits for recurring and probability
* Nits
* remove useless fields
* Nits
* Fix user provider
* Add generated code
* Fix nits, reorder migrations, fix login
* Fix tests
* Fix lint
2023-07-06 18:41:44 -07:00
db5dfb3bdf
Enable opportunity card deletion ( #490 )
...
* Add checkbox
* Add state management for selected opportunities
* Use recoil for selected items state, show action bar
* Deduplicate code
* Add delete action
* Enable delete
* Add color for selected cards
* update board state on delete
* Add stories
* Enable empty board
* Fix story
* Handle dark mdoe
* Nits
* Rename module
* Better naming
* Fix naming confusion process<>progress
2023-07-03 23:11:39 +02:00
d6364a9fdd
Apply new theme ( #449 )
...
* Apply new theme
* Fix storybook
* Fixes
* Fix regressions
2023-06-26 19:13:04 -07:00
817d6dcb05
Add ability to associate a new company to pipeline ( #350 )
...
* Add ability to associate a new company to pipeline
* Fix tests
2023-06-21 22:31:19 -07:00
294b290939
338 on opportunities page when i associate a new company to a pipelinestage its persisted in db ( #339 )
...
* feature: add navigation for opportunities
* chore: add companies in pipeline seed
* feature: make the board scrollable
* feature: make the board scrollable vertically
* feature: remove board container
* feature: fix newButton style
* feature: add onClickNew method on board
* feature: call backend with hardcoded id for new pipeline progressable
* feature: refetch board on click on new
* feature: use pipelineProgressId instead of entityId to ensure unicity of itemKey
* feature: avoid rerender of columns when refetching
2023-06-20 19:27:02 -07:00
c120903a45
Persist update on board drag and drop ( #328 )
...
* chore: move dnd lib comment aligned with import
* feature: add onUpdate on board
* chore: remove multi entity pipelines
* feature: add pipelineProgressableType field
* feature: fetch progressableType in board
* feature: implement on update to persist progress change
2023-06-20 10:56:36 +02:00
49462c69a2
Refactor Layout ( #322 )
...
* Refactor Layout
* Fix storybook
* Fixing tests by forcing msw version before regression
2023-06-17 21:24:15 +02:00
540ad4929d
Felix icons ( #312 )
...
* Fix icon size in table top bar
* Replace building icon
* Replace Employees icon
* Replace map icon
* Replace calendar icon
* Replace Target icon
2023-06-15 18:07:56 +02:00
bf6fb0ba70
282 on opportunities page data pipeline + companies + people is fetched from be ( #285 )
...
* feature: get pipelines columns from backend
* feature: display item not found instead of crashing
* feature: add BoardCard component
* feature: display items from the backend
* refactor: extract useBoard in a hook
* refactor: export only loading and error from useBoard
* refactor: create var pipelineStage
* feature: implement support for Company boards
2023-06-14 10:37:44 +02:00
830b76cd9a
Icon refactoring ( #287 )
...
* Refactor icons
* Fix additional icons
2023-06-14 07:55:54 +02:00
b9c41a1dcd
Add settings page ( #273 )
...
* Add settings page
* Add 'soon' pill and logout
* Refactor components and layout
* Begin improving mobile display
* Add stories and refactor
2023-06-13 17:10:57 +02:00
c20fd458ae
278 refactor uiboard opportunitiesboard + put state in recoil ( #280 )
...
* refactor: move Board file to opportunities
* refactor: dropable props are move in ui component
* refactor: rename provided in droppableProvided
* refactor: rename provided in draggableProvided
* refactor: rename BoardCard in BoardItem
* refactor: rename BoardCard in BoardItem file
* refactor: BoardItem use children instead of content
* refactor: Extract StyledColumnContainer
* refactor: create method to get optimistic new board after update
* refactor: move getOptimisticNewBoard in board UI
* refactor: make provided nullable
* lint: remove unused import
2023-06-13 17:02:09 +02:00