Commit Graph

589 Commits

Author SHA1 Message Date
Charles Bochet
fb0f9b7807
Fixes before deploy (#1167) 2023-08-11 00:09:52 +02:00
Weiko
4288cef096
refactoring editableFieldContext to match with table implementation (#1164) 2023-08-10 12:26:05 -07:00
Weiko
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
Thaïs
80a562d90d
feat: persist view sorts (#1154)
Closes #1122
2023-08-10 10:10:02 -07:00
Emilien Chauvet
6b3a538c07
Feature/optmistically render table create & remove (#1156)
* Add optimistic updates on company table

* Add optimistic rendering for tables too

* Fix schema
2023-08-10 09:37:24 -07:00
Srikar Samudrala
ee5ac11f98
Adds URL validation (#1155) 2023-08-10 09:35:09 -07:00
brendanlaschke
c91844071a
Add task to action bar (#1153)
- add task to action bar
2023-08-10 09:17:58 -07:00
Thaïs
0f364cc9e7
feat: add views and viewSorts tables (#1131)
* feat: add views table

Closes #1120

* feat: add viewSorts table

Closes #1120
2023-08-10 09:14:28 -07:00
Charles Bochet
ecf18312ce Fix typing issue with positive number 2023-08-09 22:40:49 -07:00
Srikar Samudrala
4717f4cb90
fix(882): fixes negative number submission for employees input (#1130)
* fix(882): fixes negative number submission for employees input

* formatting

* fix linting
2023-08-09 22:25:57 -07:00
Weiko
a2891e50e6
[opportunities] fix poc being removed after pipeline update (#1148) 2023-08-10 02:52:36 +02:00
Weiko
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
gitstart-twenty
7dcbc56e69
feat: Add the workspace logo on Twenty logo on the invited route (#1136)
* Add the workspace logo on Twenty logo on the invited route

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com>

* Add minor refactors

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com>

* Refactor the invite logic

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com>

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com>
2023-08-09 15:00:07 -07:00
Charles Bochet
b49c857dc5 Fix lint 2023-08-09 14:11:54 -07:00
Sunil Kumar Behera
4a388b8ed5
Add task and note create option in comand menu (#1115)
* add task and note create option in comand menu

* Re-run CIs

---------

Co-authored-by: Weiko <corentin@twenty.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-08-09 14:09:32 -07:00
gitstart-twenty
22b4bffcde
feat: Add team section on company show (#1119)
* Add team section on company show

Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Add requested changes

Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Fix padding

Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>

---------

Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-08-09 14:09:01 -07:00
Charles Bochet
92ecb8100a fix prettier 2023-08-09 13:10:59 -07:00
Jay Kesarkar
7b6ca84e47
Update DropdownMenuSkeletonItem.tsx (#1112) 2023-08-09 11:36:50 -07:00
gitstart-twenty
fc17a0639a
chore: New standard fields on People (#1104)
* Add New standard fields on People

Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>

---------

Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
2023-08-09 11:36:03 -07:00
gitstart-twenty
b557766eb0
feat: I can upload a photo on person show page (#1103)
* I can upload a photo on person show page

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com>

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com>

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com>
2023-08-09 11:29:10 -07:00
gitstart-twenty
1f4df67a89
chore: Improve design of comment bar in notes (#1102)
* Improve design of comment bar in notes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add autoFocus

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Align the text area

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Use ref instead of getElementById

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-08-09 11:19:35 -07:00
Emilien Chauvet
fbac345164
Enable optimistic rendering for pipeline stages (#1139) 2023-08-09 20:07:11 +02:00
Emilien Chauvet
db8a176342
Add optimistic rendering for tasks (#1140)
* Add optimistic rendering for tasks

* Refetch activities for lists updates
2023-08-09 11:05:08 -07:00
Weiko
702b6e5154
fix update pipelineProgress with 0 probability (#1144) 2023-08-09 20:01:44 +02:00
brendanlaschke
3122541f3b
Drag to select boards (#1127)
- drag to select boards
2023-08-09 18:25:09 +02:00
brendanlaschke
2b166927d1
Replace default colors for headers in Boards (#1128)
- replace colors for headers
2023-08-09 17:28:55 +02:00
Emilien Chauvet
9bd42121d3
Add company creation from people table (#1100)
* Add company creation from people table

* Design
2023-08-09 17:17:35 +02:00
Lucas Bordeau
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
Vishwash Bajpai
0dcb93ca3b
fix: [#1079] adding max width to menu items and also the tooltip to show full text value (#1088)
* fix: [#1079] adding max width to menu items and also the tooltip to show full text value

* chore: removed max-width property

* chore: fixed the interaction for people.sortby

* chore: removed unused code

* chore: fixed the interaction for companies.sortby
2023-08-07 13:16:38 -07:00
brendanlaschke
029ba25361
Fix Dark Mode Colors (#1099)
- fix dark mode colors
2023-08-07 19:08:02 +02:00
Moussa Bistami
2f0bee5e34
Confirmation before deleting a member (#1074)
* feat: require confirmation before on memeber deletion

* fix: typo

* feat: ConfrimationModal moved to ui/modals/component - confirmation modal storybook

* fix: modal member deletion text

* fix: extra ! operator - remove deletemodal - using styledconfirmationbutton

* fix: story structer

* fix: imports
2023-08-05 21:33:57 -07:00
Charles Bochet
14f9e892d1
Add ability to force picker width (#1093) 2023-08-05 15:41:18 -07:00
Weiko
35395c2e67
[Tasks] Removing task list empty state (#1090)
* [Tasks] Removing task list empty state

* separate no-tasks story in a different file to handle cache issues
2023-08-05 15:05:40 -07:00
Pranav
2d35db14c0
Fix #1076: Change User icon into User-circle on "Companies" & Settings (#1092)
* Fix #1038: Logout button should be change to gray

* Fix #1059: Replace Inbox by Notifications in navigation

* Fixed lint issues

* Fixed the import

* Fix #1076: Change User icon into User-circle on Companies & Settings
2023-08-06 00:03:34 +02:00
Weiko
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
Shobhit Gupta
7028a8098e
style(urls): Updated link style to round chips (#1010)
* style(urls): Updated link style to round chips

* restored RawLink changes

* feat:(rounded): introduced newchip varient rounded

* feat(rounded-link): added rounded link component
2023-08-05 11:50:59 -07:00
Charles Bochet
1bf44e0188
Fixes table header (#1087)
* Wrap up Front chat

* Wrap up Front chat

* Disable entity selectionwhen starting from menu
2023-08-04 19:27:48 -07:00
Charles Bochet
6008789a17
Wrap up Front chat (#1085)
* Wrap up Front chat

* Wrap up Front chat
2023-08-04 19:22:54 -07:00
gitstart-twenty
57c465176a
Add support chat (#1066)
* Add support chat

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Refactor the chat logic

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add HMAC signing

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Update the button styles

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Update the button styles

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Refactor the chat logic

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Fix the chat not loading

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Fix the chat not loading

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-08-04 16:52:59 -07:00
brendanlaschke
5e6351e099
Drag To Select Table (#1064)
* - added drag to select on EntityTable

* - moved dragToSelect to own component

* - convert DragSelect to a generic component

* - fixed unused vars

* formatting

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-08-04 16:16:01 -07:00
Charles Bochet
b6e1853d9f
Add @air/react-drag-to-select dependency (#1083) 2023-08-04 15:35:36 -07:00
Emilien Chauvet
ed1662223a
[Refactor] Activity morph: first phase (#1075)
* Add company and person on update and create

* Enable reading with error management on commentable ID

* [CHECKPOINT] backward-compatible

* Migrate data for activity targets

* Revert "Migrate data for activity targets"

This reverts commit f89bc30689.

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-04 15:33:50 -07:00
Weiko
0d16053c31
[tasks] add empty state and new task button (#1072)
* [tasks] add empty state

* add refetch + use spacing for padding

* create task auto assigned with dueAt as today

* add unscheduled tasks section

* remove unnecessary assigneeId fetching

* remove unnecessary refetchQueries

* add refetch for delete task

* rename createCommentMutation to deleteActivityMutation in activityActionBar
2023-08-04 11:04:06 -07:00
Thaïs
c6bec40c90
feat: show/hide table columns (#1078)
Closes #813
2023-08-04 10:44:46 -07:00
Thaïs
417ca3d131
feat: add table columns (#1056)
* feat: add table columns

Closes #879

* refactor: ComponentProps first
2023-08-04 10:07:31 -07:00
Pranav
a8856516bd
Fix #1059: Replace "Inbox" by "Notifications" in navigation (#1063)
* Fix #1038: Logout button should be change to gray

* Fix #1059: Replace Inbox by Notifications in navigation

* Fixed lint issues

* Fixed the import
2023-08-04 07:41:49 -07:00
Lucas Bordeau
c790cc5d0c
First round of refactor EntityBoards (#1067) 2023-08-04 16:16:34 +02:00
Weiko
11e7266f8a
[FilterDropdownEntitySearchSelect] add missing displayAvatarUrl (#1071)
* [FilterDropdownEntitySearchSelect] add missing displayAvatarUrl

* add missing avatarUrl in activities

* remove console.log
2023-08-03 19:27:04 -07:00
Charles Bochet
207d7b6b10
Fix pipeline performance issue (#1070) 2023-08-03 16:47:30 -07:00
Weiko
43f20ebf74
[PeoplePicker] fix missing avatar in user search dropdown (#1069) 2023-08-03 16:38:09 -07:00