Commit Graph

772 Commits

Author SHA1 Message Date
6008789a17 Wrap up Front chat (#1085)
* Wrap up Front chat

* Wrap up Front chat
2023-08-04 19:22:54 -07:00
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
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
b6e1853d9f Add @air/react-drag-to-select dependency (#1083) 2023-08-04 15:35:36 -07:00
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 f89bc30689655c83cd5370331fec41b59d03fdb9.

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-04 15:33:50 -07:00
04297b0556 Add viewFields delete in Workspace delete resolver (#1082) 2023-08-04 15:23:56 -07:00
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
c6bec40c90 feat: show/hide table columns (#1078)
Closes #813
2023-08-04 10:44:46 -07:00
417ca3d131 feat: add table columns (#1056)
* feat: add table columns

Closes #879

* refactor: ComponentProps first
2023-08-04 10:07:31 -07:00
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
c790cc5d0c First round of refactor EntityBoards (#1067) 2023-08-04 16:16:34 +02:00
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
057fa0ae04 Remove constraint activity morph relations foreign keys 2023-08-03 16:50:09 -07:00
207d7b6b10 Fix pipeline performance issue (#1070) 2023-08-03 16:47:30 -07:00
43f20ebf74 [PeoplePicker] fix missing avatar in user search dropdown (#1069) 2023-08-03 16:38:09 -07:00
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
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
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
2128d44212 Fix Avatars no centered (#1050)
- fix workspace icon now centered
- fix profile avatar now centered
2023-08-02 12:36:00 -07:00
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
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
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
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
552fb2378b Fix #1038: Logout button should be change to gray (#1052) 2023-08-02 06:22:48 -07:00
0ad35549ac Fix hotkeys for tasks page (#1034)
- fix hotkeys for tasks
2023-08-01 22:11:07 -07:00
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
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
efbc346b48 [server] set local setup as default in .env.example (#1045) 2023-08-01 19:40:17 -07:00
813fd5a067 Fix env variables for dev setup (#1031) 2023-08-01 12:05:05 +02:00
7a6a75a958 Rename SIGN_IN_PREFILLED env variable 2023-07-31 19:21:08 -07:00
86fee770e1 Update chromatic CI trigger 2023-07-31 18:23:39 -07:00
ba76cace3f Update chromatic CI trigger 2023-07-31 18:20:45 -07:00
8b8e4ac4a5 A few polish on tasks (#1023)
A few polishing on tasks
2023-07-31 18:15:08 -07:00
22ca00bb67 Add tasks page (#1015)
* Refactor top bar component

* Add task page with tabs

* Add tasks

* Add logic for task status

* Fix isoweek definition

* Enable click on task

* Deduplicate component

* Lint

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-07-31 16:14:35 -07:00
700b567320 Scroll to currently softfocus cell (#1008)
* - scroll to currently softfocus cell

* - moved useEffect to CellSoftFocus component
2023-07-31 15:50:08 -07:00
f111440e00 feat: implement user impersonation feature (#976)
* feat: wip impersonate user

* feat: add ability to impersonate an user

* fix: remove console.log

* fix: unused import
2023-07-31 15:47:29 -07:00
b028d9fd2a Add deploy buttons and clean environment variables (#974)
* add render.yaml

* Clean environment variables



---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-31 14:36:04 -07:00
a90cbac5e6 Fix table mock mode (#1007) 2023-07-31 10:50:02 +02:00
58e5d24261 feat: add column resizing (#975)
* feat: add column resizing

Closes #817

* Use mouse up and down instead of dragging

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-30 20:38:38 -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
86a2d67efd style: update deactivated state styles in onboarding button (#997)
[952] style: update deactivated state styles in onboarding button
2023-07-30 14:07:58 -07:00
20a1946b35 Changes to commands in search window (#996)
- changes to commands in search window
2023-07-30 13:29:10 -07:00
eafa30a9cf Fix margin on DeleteModal overlay (#998)
* Fix margin on DeleteModal overlay

* Update chromatic ci triggers

* Update chromatic ci triggers
2023-07-30 13:17:33 -07:00
be835af48b docs: fix instructions to start projects in the docker setup flow (#995) 2023-07-30 10:52:31 -07:00
28765fe7c3 Inbox task 2 (#991)
* Add ability to properly cast a string, number, null to an integer

* Adding Tab UI component

* Only trigger chromatic when asked
2023-07-29 21:24:33 -07:00
fc7380e0b8 Add ability to properly cast a string, number, null to an integer (#990) 2023-07-29 21:06:03 -07:00
55be401204 Add fake characters to prevent password managers from filling fields (#989) 2023-07-29 19:47:54 -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
d9f6ae8663 Feat/generic editable cell all types (#987)
* Added generic relation cell

* Deactivated debug

* Added default warning

* Put back display component

* Removed unused types

* wip

* Renamed to view field

* Use new view field structure to have chip working

* Finished

* Added a temp feature flag

* Added double text chip cell

* Ok

* Finished tables

* Fixed icon size

* Fixed bug on date field

* Use icon index

* Fix

* Fixed naming

* Fix

* removed file from merge

* Fixed tests

* Coverage
2023-07-29 14:48:43 -07:00
dc18bc40b0 Remove empty values from relation picker (#986)
fix: empty name values in SingleEntitySelectBase
2023-07-29 12:19:15 -07:00