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
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
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
53021dc64f
Feat: Add tooltips on new column menu ( #1893 )
...
* implemented tooltip for view fields
* console.log
2023-10-06 11:04:39 +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
3336144245
Feat: First column style update ( #1746 )
...
reimplemented as per suggestions by lucas
2023-10-04 10:25:43 +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
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
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
d5e40e5fc8
feat: Added closeDropdownButton to the handleCompanySelected ( #1605 )
2023-09-15 17:22:52 +02: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
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
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
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
ae072b6ce5
refactor: index ViewField by viewId and key ( #1416 )
...
* refactor: index ViewField by viewId and key
Closes #1413
* refactor: rename ViewField properties
2023-09-04 10:55:03 +02:00
74919eff7a
refactor: add ColumnDefinition type ( #1357 )
...
* refactor: add ColumnDefinition type
Closes #1193
* refactor: code review - rename things
* fix: fix wrong import and lint
2023-08-28 18:33:03 +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
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
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
24e5132029
Moving queries into dedicated files ( #1210 )
...
* Moving queries into dedicated files
* fix ci
2023-08-14 19:31:20 -07:00
7d900ad1c6
Reorganize context/states/selectors in dedicated folders ( #1205 )
...
* Reorganize context/states/selectors in dedicated folders
* linter
2023-08-14 15:08:47 -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
a2891e50e6
[opportunities] fix poc being removed after pipeline update ( #1148 )
2023-08-10 02:52:36 +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
21e3d8fcac
Refactor: Morph strategy on PipelineProgress ( #1065 )
...
* Deprecate pipelineprogress backref on person to improve naming
* Remove deprecated point of contact fields
* Add company and person entities on pipelineprogress
* Migrate data from old progressable to new entity fields
* Codegen frontend
* Use company Id, deprecate progressableId
* Get rid of deprecated progressableId field
* Remove deprecated progressableType field from pipeline progress
* Remove useless migrations
2023-08-03 09:08:35 -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
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
8601ed04ae
Add dueDate and assignee on notes ( #988 )
...
* Add dueDate and assignee on notes
* Fix tests
* Fix tests
2023-07-29 15:36:21 -07:00
5c376cbabb
Add profile pictures to people and fix account/workspace deletion ( #984 )
...
* Fix LinkedIn URL not redirecting to the right url
* add avatars for people and seeds
* Fix delete account/workspace
* Add people picture on other pages
* Change style of delete button
* Revert modal to previous size
* Fix tests
2023-07-28 15:40:03 -07:00
557e56492a
Various fixes on table, board, tasks ( #983 )
...
* Misc fixes
* Misc fixes
* Misc fixes
* Fix login
2023-07-28 15:20:32 -07:00
8cf8183342
Enable to drag under New button on pipeline ( #970 )
2023-07-28 01:50:29 +00:00
c0700c9b20
#841 Update opportunities confidence attribute ( #921 )
...
Co-authored-by: Jessica Li <jessicali@jessicas-air.lan >
2023-07-25 16:55:43 -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
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
872ec9e6bb
feat: disable atomic operation on nestjs graphql models ( #751 )
...
* feat: no atomic
* feat: update front not atomic operations
* feat: optional fields for person model & use proper gql type
* Fix bug display name
* Fix bug update user
* Fixed bug avatar URL
* Fixed display name on people cell
* Fix lint
* Fixed storybook display name
* Fix storybook requests
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-07-20 19:23:35 +00: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
3ed4e7d0d9
Add point of contact field ( #754 )
...
* WIP add point of contact field
* Simplify probability field
* Improvements
* Solve bug when new value is 0
2023-07-19 10:29:37 -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
f98e49c26e
Opportunity fields ( #744 )
...
* Add opportunity probability and point of contact
* Have requests sent properly
* Add probaility field
2023-07-19 02:32:15 +02:00
84018efc7d
Added two editable fields on company board card ( #738 )
2023-07-18 21:02:45 +02: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