618513afcd
Rename fieldId and objectId into fieldMetadataId and objectMetadataId ( #2421 )
...
* Rename fieldId and objectId into fieldMetadataId and objectMetadataId
* Fix tests
2023-11-10 14:35:18 +01:00
7b9175a4a4
Revert "Convert metadata tables to camelCase" ( #2419 )
...
Revert "Convert metadata tables to camelCase (#2400 )"
This reverts commit 1cf08c797f .
2023-11-10 11:48:44 +01:00
1cf08c797f
Convert metadata tables to camelCase ( #2400 )
...
* Convert metadata tables to camelCase
* datasourcemetadataid to datasourceid
* refactor metadata folders
* fix command
* move commands out of metadata
* fix seed
* rename objectId and fieldId in objectMetadataId and fieldMetadataId in FE
* fix field-metadata
* Fix
* Fix
* remove logs
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-09 20:06:10 +01:00
88ca846f83
Rename InlineCell to RecordInlineCell ( #2377 )
...
rename inline cell
2023-11-06 17:18:25 +01:00
ec8389cecf
2282 Rename components to use the new naming convention part 1 ( #2293 )
...
renaming in progress
2023-10-31 12:12:52 +01:00
685d342170
Migrate view field to new data model - Part 2 ( #2270 )
...
* Migrate view field to new data model
* Migrate view fields to new model
2023-10-28 19:13:48 +02:00
bd0b886081
1259/add compact view in opportunities ( #2182 )
...
* icons added
* recoil family state added for checking compact view in each card
* recoil state added for toggle button. Wether compact view show or not
* menu item modifed for right side content
* compact view toggle added in dropdown options
* dropdown width increased because compact view text was overflowing
* compact view added in boardcard
* new animation added for in and out
* compact view enabled state added
* old state deleted
* sizes added in toggle component
* removed extra added code form navigation
* toggle size added in menuitem toggle
* MenuItemToggle added instead of MenuItemNavigate
* Compact view improved
2023-10-24 16:24:25 +02:00
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
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
3336144245
Feat: First column style update ( #1746 )
...
reimplemented as per suggestions by lucas
2023-10-04 10:25:43 +02:00
8da0205bab
Renamed editable field to inline cell in ui folder ( #1845 )
...
* renamed editable field to inline cell in ui folder
* renamed table to table-cell in ui folder
2023-10-03 16:26:20 +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
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
28e12d492c
feat: toggle board field visibilities ( #1547 )
...
Closes #1537 , Closes #1539
2023-09-13 11:58:52 +02: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
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
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
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
5fdd8e0793
Fix boardcard selected state and fix table new row being added on top
2023-08-13 10:49:28 -07:00
e6b20b5ff2
Fix drag-performance ( #1184 )
...
* Fix drag-performance
* Fixes
* Fixes
* Fixes
* Fixes
2023-08-12 20:28:33 -07:00
4288cef096
refactoring editableFieldContext to match with table implementation ( #1164 )
2023-08-10 12:26:05 -07: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
cd831af53d
Use dedicated EditableFieldEntityIdContext for editable fields instead of CardIds ( #1145 )
...
* Use dedicated EntityIdContext for editable fields instead of CardIds
* update context name
* remove unused hook
2023-08-10 01:32:28 +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
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
d6afbe8e8e
Introduce accent for chips ( #911 )
...
* Introduce accent for chips
* Add top bar on Mobile on Settings pages
* Various fixes
* Fix according to peer review
2023-07-24 16:49:33 -07:00
07180af8c0
Improve tests ( #871 )
2023-07-24 00:57:56 -07:00
8cd426fab8
Add minor UI updates ( #772 )
...
* Add minor UI updates
* Fix lint
* Fix company board card fields
* Fix company board card fields
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-07-19 22:40:52 -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
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
e1b5463841
Add link to company page ( #727 )
...
* Add link to company page
* Have company chip background color matchin the card's
* Revert "Have company chip background color matchin the card's"
This reverts commit 8e9575fd933f9efb8d6614ec7287d6be28b81f7e.
* Create chip variants
* Lint
* code style
* Fix tests
* Fix tests
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-07-18 00:14:56 -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
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
b982788100
Fix checkbox issues ( #681 )
...
* Fix checkbox issues
* Fix theme
2023-07-15 14:16:02 -07:00
efd4ed16d6
Update checkbox API ( #663 )
...
* Update checkbox API
* Fix test
2023-07-14 18:44:32 -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