Commit Graph

792 Commits

Author SHA1 Message Date
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
dependabot[bot]
77d356f78a
Bump file-type from 13.0.0 to 16.5.4 in /server (#1105)
Bumps [file-type](https://github.com/sindresorhus/file-type) from 13.0.0 to 16.5.4.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v13.0.0...v16.5.4)

---
updated-dependencies:
- dependency-name: file-type
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 14:15:07 -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
Emilien Chauvet
de6ebd96c5
Prevent indexing on docs outside of production (#1054)
* Prevent indexing on docs outside of production

* Add dockerfile arg

* Rename args

* Add logs

* Move arg to the right dockerfile

* Remove log
2023-08-07 09:20:31 -07: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
2d5ad60aeb Fix login issue 2023-08-05 09:42:31 -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
04297b0556
Add viewFields delete in Workspace delete resolver (#1082) 2023-08-04 15:23:56 -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
057fa0ae04 Remove constraint activity morph relations foreign keys 2023-08-03 16:50:09 -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
Charles Bochet
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
Emilien Chauvet
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
Emilien Chauvet
4252a0a2c3
Feat/filter activity inbox (#1032)
* Move files

* Add filtering for tasks inbox

* Add filter dropdown for single entity

* Minor

* Fill empty button

* Refine logic for filter dropdown

* remove log

* Fix unwanted change

* Set current user as default filter

* Add avatar on filter

* Improve initialization of assignee filter

* Add story for Tasks page

* Add more stories

* Add sotry with no tasks

* Improve dates

* Enh tests

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-08-02 12:36:16 -07:00
brendanlaschke
2128d44212
Fix Avatars no centered (#1050)
- fix workspace icon now centered
- fix profile avatar now centered
2023-08-02 12:36:00 -07:00
gitstart-twenty
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
gitstart-twenty
2680289ff7
Sanitize url before fetching favicon and display letter avatar if it can't be retrieved (#1035)
* Sanitize url before fetching favicon and display letter avatar if it can't be retrieved

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

* Priorotise www for apple.com domain

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

* Add requested changes

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

* Fix the tests

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

* Change avatar generation strategy

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
2023-08-02 11:53:56 -07:00
proof3
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
Thaïs
3807d62aeb
feat: persist resized column widths (#1017)
* feat: persist resized column widths

Closes #981

* test: mock company and person view fields
2023-08-02 11:48:14 -07:00
Pranav
552fb2378b
Fix #1038: Logout button should be change to gray (#1052) 2023-08-02 06:22:48 -07:00
brendanlaschke
0ad35549ac
Fix hotkeys for tasks page (#1034)
- fix hotkeys for tasks
2023-08-01 22:11:07 -07:00
gitstart-twenty
991cadbe48
Move trash icon to the top bar of right drawer (#1014)
* Move trash icon to the top bar of right drawer

Co-authored-by: Matheus <matheus_benini@hotmail.com>

* Fix background

Co-authored-by: Matheus <matheus_benini@hotmail.com>

* Refactor the code

Co-authored-by: Matheus <matheus_benini@hotmail.com>

---------

Co-authored-by: Matheus <matheus_benini@hotmail.com>
2023-08-01 22:10:02 -07:00
gitstart-twenty
55f1e2a5bb
In storybook, I see a ButtonIconGroup component (#1039)
Add ButtonIconGroup storybook components

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
2023-08-01 22:01:47 -07:00
Corentin
efbc346b48
[server] set local setup as default in .env.example (#1045) 2023-08-01 19:40:17 -07:00
Emilien Chauvet
813fd5a067
Fix env variables for dev setup (#1031) 2023-08-01 12:05:05 +02:00
Charles Bochet
7a6a75a958 Rename SIGN_IN_PREFILLED env variable 2023-07-31 19:21:08 -07:00