Commit Graph

1018 Commits

Author SHA1 Message Date
brendanlaschke
7e264565ef
Show Entity task/note tabs (#1282)
* - show task tab
- tab bar

* - add notes tab

* - fixed unused style

* - add button
- fixed company edit note test

* - fixed merge & dropdown

* - added Tests
- refactored directory structure activities
- moved Task/Note Pages to corresponding modules
- fixed TabList

* lint
2023-08-25 22:44:13 +02:00
Charles Bochet
f8e3dd3f6b Fix tests 2023-08-25 22:12:41 +02:00
Charles Bochet
f5594626ff Fix lint 2023-08-25 21:34:27 +02:00
josoriomarin
36cbafe4cc
Unset companies and owners (#1185)
* unselect users and companies

* Icon now works with theme

---------

Co-authored-by: vboxuser <vboxuser@Ubu.myguest.virtualbox.org>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-08-25 21:28:17 +02:00
Weiko
0e5dcd7037
Fix confirmation modal style (#1310) 2023-08-25 21:26:27 +02:00
gitstart-twenty
c3d4767ac4
Feat: On Company Show, I can create a person and add it to the company (#1256)
* On Company Show, I can create a person and add it to the company

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

* Add minor refactors

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-25 21:21:57 +02:00
ABHISHEK PATEL
9027a7dd1e
Fix: Manually delete company cache #1214 (#1315)
* Fix: Manually delete company cache #1214

* Fix: Prettier error
2023-08-25 21:20:26 +02:00
Thaïs
209e8b64d9
feat: create default views on workspace creation + add views seed (#1313)
Closes #1311
2023-08-25 21:17:28 +02:00
Weiko
8a3a176571
Add idealCustomerProfile to company show page (#1312)
* Add idealCustomerProfile to company show page

* remove editMode

* add xUrl
2023-08-25 21:11:43 +02:00
Charles Bochet
67cf6cd7e2
Rework tel input (#1316)
* Rework tel input

* Fix lint
2023-08-25 20:54:00 +02:00
Mustajab Ikram
4f7e1fb60e
Feat/phone email link enhancements (#1172)
* feat: Add type guards for ViewField email values and definitions, update ViewFieldTypes & peopleViewFields

* feat: use ContactLink for EditablePhoneCell & create EditableEmailCell & EmailInputDisplay comp

* fix: set second value for field

* enhance: add edit btn for phone cell

* feat: install dependencies intl-tel-input

* feat: add phone cell input & connect intl-tel-input

* fix: resolve rebase errors

* fix: remove placeholder

* feat(storybook): create stories for EmailInputDisplay, PhoneInputDisplay, and PhoneEditableField components

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-08-25 18:42:22 +02:00
Thaïs
432fea0ee3
feat: create view from current table columns + persist view fields on… (#1308)
feat: create view from current table columns + persist view fields on Update View button click

Closes #1302, Closes #1307
2023-08-25 18:21:27 +02:00
Weiko
f520a00909
Remove danger text from completed passed tasks (#1309) 2023-08-25 18:05:35 +02:00
Charles Bochet
9d129b1ef8 Hotfix hide collapse button 2023-08-25 14:25:00 +02:00
Weiko
edff69b2f6
Add hotkeys to modals (#1305)
* Add hotkeys to modals

* fix

* fix

* remove unnecessary type

* restore type

* add handleEnter

* rename event props
2023-08-25 13:59:04 +02:00
Manikanta cheepurupalli
69e0917338
padding fix for header logo container #1216 (#1252)
* padding fix for header container

* collapse menu hover and fade transition added

* Update front/src/modules/ui/navbar/components/NavWorkspaceButton.tsx

Co-authored-by: Emilien Chauvet <emilien.chauvet.enpc@gmail.com>

* Update front/src/modules/ui/navbar/components/NavWorkspaceButton.tsx

Co-authored-by: Emilien Chauvet <emilien.chauvet.enpc@gmail.com>

* Update front/src/modules/ui/navbar/components/NavCollapseButton.tsx

Co-authored-by: Emilien Chauvet <emilien.chauvet.enpc@gmail.com>

* Update isVisible

* Update requested proposals for naming

---------

Co-authored-by: Emilien Chauvet <emilien.chauvet.enpc@gmail.com>
2023-08-25 13:11:57 +02:00
Charles Bochet
5a5ee1ff8d Fix merge issue view filters 2023-08-25 12:48:37 +02:00
Thaïs
c3d6451dd0
feat: create view from selected filters and sorts + switch to newly created view on view creation (#1301)
* feat: create view from selected filters and sorts

Closes #1292

* refactor: use selector to obtain table filters where query option

* refactor: activate exhaustive deps eslint rule for useRecoilCallback

* feat: switch to newly created view on view creation

Closes #1297

* refactor: code review

- use `useCallback` instead of `useRecoilCallback`
- rename `useTableViews` to `useViews`
- move filter-n-sort selectors to /states/selector subfolder
2023-08-25 12:43:21 +02:00
Charles Bochet
de569f4c06
Scroll behavior part 2 (#1304)
* Fix layout issues introduced by scroll behavior

* Complete scrollbar work
2023-08-25 12:38:45 +02:00
Charles Bochet
0d210244db Fix merge conflicts 2023-08-25 01:14:27 +02:00
gitstart-twenty
e373d17a2a
Feat: The scrollbar should fade away when the scroll is finished or not started (#1269)
* The scrollbar should fade away when the scroll is finished or not started

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

* Complete scroll work

* Fix pr

* Fix pr

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-25 01:13:53 +02:00
corentin
75207b093b fix missing property in companies optimistic response 2023-08-24 18:10:07 +02:00
gitstart-twenty
baf92d6d65
Chore: New standard fields on Companies (#1276)
* New standard fields on Companies

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

* New standard fields on Companies

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

* Add requested changes

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

* Make some fields hidden by default

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

* Add minor refactors

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

---------

Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-08-24 17:36:12 +02:00
Emilien Chauvet
615018654a
Add optimistic rendering for table relations (#1296)
* Add optimistic rendering for table relations

* fix pr

* fix pr

* fix pr

* Fix PR

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-24 17:29:26 +02:00
Weiko
00f1d2b739
Fix color scheme update (#1298)
* Fix color scheme update

* remove as

* fix
2023-08-24 16:34:46 +02:00
brendanlaschke
b0c2881ec0
Selected row background (#1299)
selected row background
2023-08-24 16:21:12 +02:00
corentin
6c418a63bc move canPersistFiltersScopedState & canPersistSortsScopedState to selectors folder 2023-08-24 16:01:41 +02:00
Thaïs
0cac598f0c
feat: disable Update View button if filters and sorts are up to date (#1293)
Closes #1291
2023-08-24 15:59:32 +02:00
Weiko
10b68618d3
New behavior for editable fields (#1300)
* New behavior for editable fields

* fix

* fix

* fix coverage

* Add tests on NotFound

* fix

* fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-24 15:56:43 +02:00
Charles Bochet
bf05e5917d Hotfix dropdown option not opened on create view 2023-08-24 14:32:02 +02:00
Charles Bochet
37ed3c857f Fix tests 2023-08-24 14:25:20 +02:00
Lucas Bordeau
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
Lucas Bordeau
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
Thaïs
74ab0142c7
feat: persist view filters and sorts on Update View button click (#1290)
* feat: add viewFilters table

Closes #1121

* feat: add Update View button + Create View dropdown

Closes #1124, #1289

* feat: add View Filter resolvers

* feat: persist view filters and sorts on Update View button click

Closes #1123

* refactor: code review

- Rename recoil selectors
- Rename filters `field` property to `key`
2023-08-23 18:20:43 +02:00
Weiko
76246ec880
Fix confirmation modal size (#1295) 2023-08-23 15:38:37 +02:00
Yash Joshi
4629b3dd8e
fix(modal): add padding in confirmation modal (#1247) 2023-08-23 15:09:44 +02:00
Kelvin Yelyen
b2bfaf4721
Fix issue #1161: Update visible fields on person detail page (#1260) 2023-08-23 10:22:30 +02:00
Sunil Kumar Behera
587c74667c
Fix: create time (#1250)
* change date strings

* remove additional suffix

* fix tests

---------

Co-authored-by: corentin <corentin@twenty.com>
2023-08-23 08:48:30 +02:00
Mohamed Amine
2e01efb8f3
Fix: Profile picture does not appear after signin (#1285)
* fix: add missing field `avatarUrl` to `UserQueryFragment`

* feat: add avatarUrl to UserQueryFragment
2023-08-23 08:46:05 +02:00
Weiko
22dbe21bcd
Add Empty as value of empty fields inputs #1042 (#1243)
* Add Empty as value of empty fields inputs #1042

* rebase
2023-08-22 16:46:15 +02:00
Andrew Qu
242c73ed81
Fix: Avoid showing confirmation dialog on closing spreadsheet import with no changes (#1284)
fix: not showing confirmation dialog on closing with no changes
2023-08-22 14:29:21 +02:00
Srikar Samudrala
b68b5779a6
remove arrows for number inputs (#1287) 2023-08-22 14:29:02 +02:00
brendanlaschke
8004cf8533
Add CreateButton to Tasks page (#1283)
- add CreateButton to Tasks page
2023-08-19 10:20:02 -07:00
Weiko
9b34a0ff3d
Add styled component rule (#1261)
* Add StyledComponent rule

* update doc

* update doc

* update doc
2023-08-17 20:58:02 -07:00
Sunil Kumar Behera
e8e6d9f8ea
Fix: add 404 page (#1230)
* add 404 page

* add not found wildacard path to apppath

* rename styled components

* add theme blur and background color

* change backgrounf to transparent secondary
2023-08-17 13:02:20 -07:00
Srikar Samudrala
cf1dfb8c42
Updates date style on tasks page (#1244)
* updates date style on tasks page

* re-run tests
2023-08-17 12:49:09 -07:00
Weiko
1e277ba950
Fix Chip font-weight (#1242)
* Fix Chip font-weight

* fix ===
2023-08-16 16:28:16 -07:00
Kelvin Yelyen
c762d0ff7b
Fix issue #1037: Task inbox small design improvements (#1238)
* Fix issue #1037: Task inbox small design improvements

* Fix issue #1037: Task inbox small design improvements
2023-08-16 14:29:26 -07:00
Manikanta cheepurupalli
4f524bd2a7
Task update sync issue #1203 (#1232)
* Task update sync issue #1203

* removed unwanted state
2023-08-16 14:27:58 -07:00
Thaïs
a24e1e4dc9
feat: delete views from views dropdown (#1234)
Closes #1129

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-08-16 14:27:03 -07:00
Jérémy M
8863bb0035
Import company and person from csv file (#1236)
* feat: wip implement back-end call csv import

* fix: rebase IconBrandTwitter missing

* feat: person and company csv import

* fix: test & clean

* fix: clean & test
2023-08-16 14:18:16 -07:00
Sunil Kumar Behera
5890354d21
Fix: Change title strings (#1212)
* change title strings

* add conditional operator
2023-08-16 12:48:35 -07:00
gitstart-twenty
cd1bf14925
On Company Show, I can select an existing person and add it to the company (#1201)
* On Company Show, I can select an existing person and add it to the company

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

* Add requested changes

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

* Add excludePersonIds

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

* Add hotkey support

* Fix popin placement and fix company show mobile

* Fix popin placement and fix company show mobile

---------

Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-16 12:47:14 -07:00
Manikanta cheepurupalli
5969f1cdd4
font weight to medium #1208 (#1228)
font weight to medium
2023-08-16 12:05:03 -07:00
Charles Bochet
b503b53062
Fix tests and upgrade node_modules (#1227)
* Fix tests

* Fix tests

* Fix 0 in SortandFilterBar
2023-08-15 19:38:50 -07:00
Charles Bochet
38c420aab0
Update color palette (#1226) 2023-08-15 17:05:53 -07:00
brendanlaschke
8bbc54f4c7
Boards add context menu (#1223)
* - add context menu to boards

* - delete unused file
2023-08-15 17:05:23 -07:00
Weiko
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
Jérémy M
56cada6335
feat: wip import csv [part 1] (#1033)
* feat: wip import csv

* feat: start implementing twenty UI

* feat: new radio button component

* feat: use new radio button component and fix scroll issue

* fix: max height modal

* feat: wip try to customize react-data-grid to match design

* feat: wip match columns

* feat: wip match column selection

* feat: match column

* feat: clean heading component & try to fix scroll in last step

* feat: validation step

* fix: small cleaning and remove unused component

* feat: clean folder architecture

* feat: remove translations

* feat: remove chackra theme

* feat: remove unused libraries

* feat: use option button to open spreadsheet & fix stories

* Fix lint and fix imports

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-15 15:12:47 -07:00
brendanlaschke
1ca41021cf
Change sort and filter chip style, Add seperator (#1222)
- change sort filter chip style & seperator
2023-08-15 13:40:42 -07:00
Thaïs
4e654654da
feat: add views dropdown (list, add & edit views) (#1220)
Closes #1218
2023-08-15 12:08:02 -07:00
gitstart-twenty
83b900e016
On Company Show, in team section, I can delete a person (#1206)
* On Company Show, in team section, I can detach a person from a company

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

* On Company Show, in team section, I can detach a person from a company

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

* Temporary fix disconnect optional relations

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

* Refactor the PR logic

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

* On Company Show, in team section, I can delete a person

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

* Fix styling

Co-authored-by: Matheus <matheus_benini@hotmail.com>
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>

* Refactor the dropdown

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

* Update styling

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-15 09:08:51 -07:00
gitstart-twenty
8f7044207d
On Company Show, in team section, I can detach a person from a company (#1202)
* On Company Show, in team section, I can detach a person from a company

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

* On Company Show, in team section, I can detach a person from a company

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

* Temporary fix disconnect optional relations

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

* Refactor the PR logic

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>

* Refactor the dropdown

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-15 08:40:25 -07:00
Charles Bochet
9bbdf933e9
Fix sort and filters behavior (#1211) 2023-08-14 20:11:00 -07:00
Charles Bochet
e9619ec1ac Fix merge conflict 2023-08-14 19:35:09 -07:00
Weiko
24e5132029
Moving queries into dedicated files (#1210)
* Moving queries into dedicated files

* fix ci
2023-08-14 19:31:20 -07:00
gitstart-twenty
656f1af15c
feat: I can hide/show filter bar and add filters directly from filter bar (#1173)
* I can hide/show filter bar and add filters directly from filter bar

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

* Add requested changes

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

* Revert breaking changes

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-08-14 19:12:11 -07:00
Weiko
239d036813
Upgrade /front version and display the version in settings navbar (#1207)
* Upgrade /front version and display the version in settings navbar

* fix

* fix version

* restore center

* add icon

* Fix styled components

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-14 17:40:10 -07:00
Charles Bochet
e3dc3b3e4a
Cosmetic refactoring on context menu (#1209)
* Cosmetic refactoring on context menu

* Fix lint

* Fix lint

* Fix lint

* Fix lint

* Fix lint

* Fix lint
2023-08-15 02:34:23 +02:00
Charles Bochet
444d9a9ca1 Merge branch 'brendanlaschke-context-menu-vertical' 2023-08-14 15:46:42 -07:00
Charles Bochet
45687f5100 Fix conficts 2023-08-14 15:43:55 -07:00
Weiko
43b0945028 Reorganize context/states/selectors in dedicated folders (#1205)
* Reorganize context/states/selectors in dedicated folders

* linter
2023-08-14 15:29:47 -07:00
Weiko
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
brendanlaschke
d7cbc869fd - fix import order 2023-08-14 23:56:49 +02:00
brendanlaschke
cbd0d0a724 - rename entries hooks
- tests
- move useeffects to sub components
2023-08-14 23:52:36 +02:00
brendanlaschke
a7f4326419 - moved states 2023-08-14 22:12:29 +02:00
brendanlaschke
39bbe02c86 Merge commit 'cd3a32e55503dc1e6b9873d812dd401bf7d51045' into context-menu-vertical 2023-08-14 22:00:49 +02:00
Manikanta cheepurupalli
3f0680bde6
tasks strikes through #1176 (#1186) 2023-08-14 19:36:03 +02:00
Charles Bochet
5fdd8e0793 Fix boardcard selected state and fix table new row being added on top 2023-08-13 10:49:28 -07:00
Charles Bochet
e6b20b5ff2
Fix drag-performance (#1184)
* Fix drag-performance

* Fixes

* Fixes

* Fixes

* Fixes
2023-08-12 20:28:33 -07:00
Weiko
bf09a4d6a2
Improve editable field performances (#1182)
* [EditableField] improve performances

* remove FieldHotkeyScopeContext.ts
2023-08-12 17:27:02 -07:00
Charles Bochet
8cf6db8c65
fix-on-dropdown-menu-width (#1181) 2023-08-12 17:26:47 -07:00
Charles Bochet
09ab1300a3
Remove unused components (#1180)
* Remove unused components

* Fix company not being created issue

* Fix company not being created issue

* Fix company not being created issue

* Optimize rendering

* Optimize rendering
2023-08-12 16:29:18 -07:00
Charles Bochet
35ea6b5a2f
Remove activityType and Id (#1179)
* Remove activityType and Id

* Fix tests

* Fix tests
2023-08-11 17:31:54 -07:00
Weiko
a30222fe76
[PersonShow] use fieldDefinition for editable fields (#1178)
* [PersonShow] use fieldDefinition for editable fields

* remove unused files

* fix company chip display field
2023-08-12 01:36:38 +02:00
Weiko
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
Thaïs
3978ef4edb
feat: change column visibility on add (#1174)
* feat: change column visibility on add

* refactor: extract views business logic from table
2023-08-11 12:38:20 -07:00
brendanlaschke
cca68d72f4
Merge branch 'main' into context-menu-vertical 2023-08-11 10:40:31 +02:00
brendanlaschke
accfaafcfa - refactored to use multiple states 2023-08-11 10:27:31 +02:00
Charles Bochet
e61c263b1a Misc fixes 2023-08-10 17:16:27 -07:00
Charles Bochet
20b641bfe6 Fix checkbox indeterminate background 2023-08-10 15:58:24 -07:00
Charles Bochet
285bf773de
Integrate favorites into release (#1168) 2023-08-10 15:42:58 -07:00
Aditya Pimpalkar
0490c6b6ea
feat: Favorites (#1094)
* Adding the favorite button

* favorites services and resolvers

* favorites schema

* favorite ability handler

* favorite module export

* front end UI

* front end graphql additions

* server ability handlers

* server resolvers and services

* css fix

* Adding the favorite button

* favorites services and resolvers

* favorites schema

* favorite ability handler

* favorite module export

* front end UI

* front end graphql additions

* server ability handlers

* server resolvers and services

* css fix

* delete favorites handler and resolver

* removed favorite from index list

* chip avatar size props

* index list additions

* UI additions for favorites functionality

* lint fixes

* graphql codegen

* UI fixes

* favorite hook addition

* moved to ~/modules

* Favorite mapping to workspaceMember

* graphql codegen

* cosmetic changes

* camel cased methods

* graphql codegen
2023-08-10 15:24:45 -07:00
Charles Bochet
d4b1153517 Fix New button drag behavior on pipeline views 2023-08-10 15:16:56 -07:00
Charles Bochet
fb0f9b7807
Fixes before deploy (#1167) 2023-08-11 00:09:52 +02:00
brendanlaschke
b76f01d930 - refactor context menu and action bar into seperate components
- fix styling context menu
2023-08-10 21:30:25 +02:00
Weiko
4288cef096
refactoring editableFieldContext to match with table implementation (#1164) 2023-08-10 12:26:05 -07:00
brendanlaschke
807506549a Merge commit '80a562d90d1d354c580351a2c94d32aa024b139e' into context-menu-vertical 2023-08-10 20:27:05 +02: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
brendanlaschke
f2e872ce3f - context menu vertical 2023-08-10 17:02:47 +02: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
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
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
Charles Bochet
8b8e4ac4a5
A few polish on tasks (#1023)
A few polishing on tasks
2023-07-31 18:15:08 -07:00
Emilien Chauvet
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
brendanlaschke
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
Jérémy M
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
Félix Malfait
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
Charles Bochet
a90cbac5e6
Fix table mock mode (#1007) 2023-07-31 10:50:02 +02:00
Thaïs
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
Charles Bochet
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
Indrajeet Nikam
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
brendanlaschke
20a1946b35
Changes to commands in search window (#996)
- changes to commands in search window
2023-07-30 13:29:10 -07:00
Charles Bochet
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
Charles Bochet
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
Charles Bochet
fc7380e0b8
Add ability to properly cast a string, number, null to an integer (#990) 2023-07-29 21:06:03 -07:00
Félix Malfait
55be401204
Add fake characters to prevent password managers from filling fields (#989) 2023-07-29 19:47:54 -07:00
Charles Bochet
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
Lucas Bordeau
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
Moussa Bistami
dc18bc40b0
Remove empty values from relation picker (#986)
fix: empty name values in SingleEntitySelectBase
2023-07-29 12:19:15 -07:00
Félix Malfait
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
Charles Bochet
557e56492a
Various fixes on table, board, tasks (#983)
* Misc fixes

* Misc fixes

* Misc fixes

* Fix login
2023-07-28 15:20:32 -07:00
gitstart-twenty
0bc80ce9ee
chore: Add ui/tooltip stories (#966)
* Add ui/tooltip stories

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>

* Fix linting

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

---------

Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-07-28 11:44:46 -07:00
gitstart-twenty
d3bd248d30
chore: Add ui/modal stories (#967)
* Add ui/modal stories

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

* Add requested changes

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

* Fix the formatting

Co-authored-by: Benjamin Mayanja <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>

---------

Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-07-28 11:42:39 -07:00
Lucas Bordeau
afaa962758
Feat/generic editable cell chip (#982)
* 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
2023-07-28 11:41:06 -07:00
gitstart-twenty
d142376ef9
feat: I can delete my account easily (#977)
* Add support for account deletion

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

* Add more fixes

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

* Add more fixes

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-07-28 10:09:43 -07:00
Jérémy M
3daebd0e0c
feat: search activities (#972) 2023-07-28 10:02:56 -07:00
Thaïs
2304823dc6
docs: add DatePicker and ImageInput stories (#980)
Closes #979
2023-07-28 09:40:57 -07:00
Jérémy M
44a9c2687f
fix: front not running properly (#971) 2023-07-28 11:36:27 +02:00
Charles Bochet
2cc63e14aa Fix storybook tests 2023-07-27 23:40:54 -07:00
Jérémy M
d0641084f9
feat: rename comment thread into activity (#939)
* feat: rename commentThread into activity server

* feat: rename commentThread into activity front

* feat: migration only create tables


feat: migration only create tables

* Update activities

* fix: rebase partial fix

* fix: all rebase problems and drop activity target alter

* fix: lint

* Update migration

* Update migration

* Fix conflicts

* Fix conflicts

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-27 23:22:16 -07:00
gitstart-twenty
fcdde024a3
feat: Add workspace delete feature (#896)
* Add workspace delete feature

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

* Add fixes and refactors

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

* Add more fixes

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

* Add requested changes

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

* Add workspace delete mutation

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

* Complete v1 of deletion

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

* Revert unwanted changes

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

* Update debouce import

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

* Fix server e2e tests on CI #3

* Fix server e2e tests on CI #4

* Fix server e2e tests on CI #5

* Added generic relation cell (#969)

* Added generic relation cell

* Deactivated debug

* Added default warning

* Put back display component

* Removed unused types

* fix: 906 edit avatar style (#923)

* fix: 906 edit avatar style

* fix: 906 add avatar size enum and mapping for font and height

* fix: 906 remove unused vars

* chore: optimize size of front docker image (#965)

* Enable to drag under New button on pipeline (#970)

* Add minor fix

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>
Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
Co-authored-by: 310387 <139059022+310387@users.noreply.github.com>
Co-authored-by: Lucas Vieira <vieiralucas4@gmail.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-07-27 22:19:20 -07:00
Charles Bochet
8cf8183342
Enable to drag under New button on pipeline (#970) 2023-07-28 01:50:29 +00:00
310387
8c659b8b37
fix: 906 edit avatar style (#923)
* fix: 906 edit avatar style

* fix: 906 add avatar size enum and mapping for font and height

* fix: 906 remove unused vars
2023-07-27 16:37:12 -07:00
Lucas Bordeau
f4b8a3decb
Added generic relation cell (#969)
* Added generic relation cell

* Deactivated debug

* Added default warning

* Put back display component

* Removed unused types
2023-07-27 16:28:42 -07:00
Jérémy M
157e5b9a2e
feat: implement e2e test for CompanyResolver (#944)
* feat: wip e2e server test

* feat: use github action postgres & use infra for local

* feat: company e2e test

* feat: add company e2e test for permissions

* Simplify server e2e test run

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-27 09:48:40 -07:00
Thaïs
9027406fdf
feat: create ViewField model (#961)
* feat: create ViewField model

- Created ViewField prisma model
- Added ViewField server resolvers for findMany/updateOne
- Added getViewFields/updateViewField graphql queries

Closes #849

* chore: update node version in .nvmrc files
2023-07-27 09:12:26 -07:00
gitstart-twenty
52399d4dde
TWNTY-895 - Add ui/checkmark stories (#960)
Add ui/checkmark stories

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
2023-07-27 09:04:03 -07:00
brendanlaschke
e3d5f0b26f
Short variant for filter texts (#943)
* - added a short variant for filter labels in the filter bar

* - fixed tests
- moved colon to shortoperand

* - fixed formatting
2023-07-27 08:45:15 -07:00
brendanlaschke
03b619ebb5
Add Timeline End Icon (#945)
* -added timeline end icon

* - fixed styledDiv in component

* - fixed icon size
2023-07-26 23:28:39 -07:00
gitstart-twenty
f62ec94d35
TWNTY-892 - Add ui/title stories (#955)
* Add ui/title stories

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 linter issues

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

---------

Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-07-26 23:00:41 -07:00
Lucas Bordeau
011d9e840f
Feat/improve editable cell (#959)
* Removed isSomeInputInEditMode

* Removed console.log

* Added a first version of generic cell text

* Removed metadata from entity table  V1

* Fix

* Fix

* Fix
2023-07-26 22:53:57 -07:00
Dev
13f415a859
Update double cell input width to be fixed (#946)
Fix double cell input width to be fixed
2023-07-26 19:48:20 -07:00
gitstart-twenty
3b50f5969d
Add ui/progress-bar stories (#936)
* Add ui/progress-bar stories

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

* Add requested changes

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
2023-07-26 17:53:35 -07:00
Charles Bochet
f6faff407a Fix login 2023-07-26 02:44:43 -07:00
Charles Bochet
66585fce9a
Refactor Checkbox (#932)
* Refactor Checkbox

* Complete note completion

* Fixes

* Fix login
2023-07-25 21:58:57 -07:00
Aditya Pimpalkar
09a019da5d
(fix): Filter/sort button positioning (#928) 2023-07-25 17:23:34 -07:00
Lucas Bordeau
b52745533a
Added unused imports and vars and fixed lint (#929) 2023-07-25 17:18:25 -07:00
jessicali2023
c0700c9b20
#841 Update opportunities confidence attribute (#921)
Co-authored-by: Jessica Li <jessicali@jessicas-air.lan>
2023-07-25 16:55:43 -07:00
Jérémy M
51cfc0d82c
feat: refactoring casl permission checks for recursive nested operations (#778)
* feat: nested casl abilities

* fix: remove unused packages

* Fixes

* Fix createMany broken

* Fix lint

* Fix lint

* Fix lint

* Fix lint

* Fixes

* Fix CommentThread

* Fix bugs

* Fix lint

* Fix bugs

* Fixed auto routing

* Fixed app path

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-07-25 16:37:22 -07:00
Gustavo Félix
59eb10ccc4
fix(#753): add autoComplete attribute for remove suggestion of passwo… (#913)
* fix(#753): add autoComplete attribute for remove suggestion of password managers

* fix(#753): add autoComplete attribute for remove suggestion of password managers

* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx

* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx

* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx

* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-07-25 11:21:45 -07:00
Thaïs
a5ca913158
docs: allow custom props in catalog decorator (#916)
Relates to #702
2023-07-25 11:02:13 -07:00
Lucas Bordeau
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
Charles Bochet
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
Thaïs
c16d420d17
Docs/storybook improvements (#877)
* docs: use PageDecorator

* docs: use decorators in TableHeader stories

* docs: use theming parameter in App stories

* docs: enable auto-generated docs for stories

Closes #702
2023-07-24 11:06:37 -07:00
Charles Bochet
07180af8c0
Improve tests (#871) 2023-07-24 00:57:56 -07:00
310387
2b885f2496
fix: 801 dont show if name empty (#854)
* fix: 801 dont show if name empty

* fix: 801 add same logic to multiple entity
2023-07-23 17:02:21 -07:00
Lucas Bordeau
21d5133564
Feat/improve mobile display (#843)
* Ok 1

* Finished

* Fix PR

* Fix PR

* Fix desktop

* Fix

* Fix absolute listen click outside

* console.log

* Fix according to code review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-23 10:53:35 -07:00
Charles Bochet
742791bd92
Fix tests (#848)
* Fix tests

* Fix tests

* Fix tests
2023-07-22 23:29:58 -07:00
Charles Bochet
4ac01f2931
Fix login (#844)
* Fix login

* Fix according to PR

* Fix tests

* Fix tests
2023-07-22 19:43:28 -07:00
310387
c4468d60f6
fix: 802 if no text dont show avatar (#831)
* fix: 802 if no text dont show avatar

* fix: 802 use guard for empty check and allow whitespace only case
2023-07-22 16:28:33 -07:00
Ashwini Gupta
7f6b39339b
[807] fix: people page icon (#823) 2023-07-22 18:49:56 +02:00
Charles Bochet
9deb46141c Fix tests 2023-07-22 00:48:52 -07:00
Charles Bochet
1ae5c703f5 lower functions coverage temporarily 2023-07-22 00:39:22 -07:00
Lucas Bordeau
62720944fa
Feat/open input not focus (#811)
* Fixed click outside

* Finished

* Fixed tests
2023-07-21 22:09:02 -07:00
Emilien Chauvet
0f3f6fa948
Enh/improve skeletton loading (#810)
* Update skeleton styling

* Update skeleton color

* Remove useless color

* Add loading test case

* naming

* Improve test

* Fix colors

* Add import

* Lint

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-07-21 22:07:11 -07:00
Charles Bochet
775b4c353d
Refactor login (#748)
* wip refactor login

* wip refactor login

* Fix lint conflicts

* Complete Sign In only

* Feature complete

* Fix test

* Fix test
2023-07-21 22:05:45 -07:00
Emilien Chauvet
725a46adfa
Feature/edit name from show page (#806)
* Enable company name edition from page

* Enable editing persons as well

* Add styling for titles

* Better manage style with inheritance

* Add stories for poeple editable fields

* Remove failing test

* Revert "Remove failing test"

This reverts commit 02cdeeba64276a26f93cf4af94f5857e47d36fff.

* Fix test

* Update name

* Fix location

* Rename tests

* Fix stories
2023-07-21 15:44:42 -07:00
Emilien Chauvet
73e9104b16
Add linkedinUrl and job titles to table views (#809)
* Add linedinUrl and job titles to table views

* Keep address in the end

* Add mock data
2023-07-21 15:18:19 -07:00
Thaïs
56cff63c4b
docs: use ComponentDecorator (#800)
Related to #702
2023-07-21 12:02:21 -07:00
Charles Bochet
79fccb0404
Add optimistic rendering on right drawer title (#786)
* Add optimistic rendering on right drawer title

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix
2023-07-20 23:58:21 -07:00
Charles Bochet
5b8a454eeb
Update seeds and mocks (#784) 2023-07-20 22:15:13 -07:00
Lucas Bordeau
bf41182810
Open link in new tab and added cell url (#782) 2023-07-21 03:40:56 +02:00
Lucas Bordeau
066b4854d9
Added autofocus on note title (#783) 2023-07-21 03:39:28 +02:00
Charles Bochet
6562c1527b
Update darkTheme (#781)
* Update darkTheme

* Add font color variation to IconButton
2023-07-21 02:33:35 +02:00
Emilien Chauvet
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
Thaïs
a2087da624
feat: disallow removing all comment thread targets (#779)
* feat: disallow removing all comment thread targets

Closes #431

* Rename variables

* Fix console error

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-20 16:17:43 -07:00
Jérémy M
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
Emilien Chauvet
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
Lucas Bordeau
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
Emilien Chauvet
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
Emilien Chauvet
d7efed9f89
Fix flashing title for note (#761)
* Fix flashing title for note

* Remove unused check

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-19 22:05:54 +00:00
Lucas Bordeau
411266475d
Fixed refetch query (#760) 2023-07-19 15:02:41 -07:00
Lucas Bordeau
c8065f82e8
Expand on right drawer (#769)
Ok
2023-07-20 00:00:50 +02:00
Charles Bochet
3336e6960d
Rework gray scale (#768)
* Rework gray scale

* Change grayscale AGAIN

* Change grayscale AGAIN

* Change grayscale AGAIN
2023-07-19 21:56:06 +00:00
Charles Bochet
04c9748a96
Improve provisionning new accounts (#757)
* Improve provisionning new accounts

* Fix lint
2023-07-19 11:23:53 -07:00
Lucas Bordeau
16aa507d50
Minor fixes (#758) 2023-07-19 11:22:51 -07:00
Emilien Chauvet
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
Charles Bochet
ca5191169f
Update docs, remove password strong regex, hide tasks (#755)
* Update docs, remove password strong regex, hide tasks

* Update docs
2023-07-19 09:45:31 -07:00
Félix Malfait
8af88d1ab3
README update (#749)
* README update

* Fix linter
2023-07-19 11:50:07 +02:00
Emilien Chauvet
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
Lucas Bordeau
8a23a65c17
Fixed story for person show page (#746)
* Fixed story for person show page

* Remove console.logs

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-18 23:51:54 -07:00
Lucas Bordeau
7ecb098c55
Feat/editable fields update (#743)
* Removed console log

* Used current scope as default parent scope for fields

* Finished editable fields on people show page

* Added stories

* Console log

* Lint
2023-07-19 00:43:16 +00:00
Charles Bochet
5ee8eaa985
Make color scheme optimistically udpated (#745) 2023-07-19 00:35:03 +00:00
Emilien Chauvet
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
Félix Malfait
10f7b08fdc
Add attachments (#733)
* Add attachments v1

* Refacto

* Add Policy checks

* Fix tests

* Remove generated files from git

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-18 15:24:03 -07:00
Lucas Bordeau
84018efc7d
Added two editable fields on company board card (#738) 2023-07-18 21:02:45 +02:00
Jérémy M
19e165fc05
feat: implementing experience page (#718)
* feat: add color scheme toggle
* feat: colorScheme stored in UserSettings model
* feat: add stories
* fix: AnimatePresence exit not working

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-07-18 17:47:27 +00:00
Emilien Chauvet
b313ba175d
Fix warnings for sorts (#735) 2023-07-18 17:17:11 +00:00
Thaïs
5d4fad2d96
feat: select line on checkbox container click (#732)
* feat: select line on checkbox container click

Closes #703

* Make onChange optional

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-18 10:00:48 -07:00
Thaïs
fdb2011a96
feat: add back button in company details top bar (#729)
* feat: add back button in company details top bar

Closes #636

* Add back button on person page

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-18 09:33:37 -07:00
Thaïs
434ea605a8
feat: close RightDrawer with ESC key (#719)
Closes #576
2023-07-18 09:02:08 -07:00
Jérémy M
4d37270e74
fix: background ugly white dot (#730) 2023-07-18 15:00:57 +02:00
Emilien Chauvet
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
Emilien Chauvet
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
Charles Bochet
9895c1d5d6 Fix clicks do not work anymore 2023-07-17 19:15:47 -07:00
Charles Bochet
a972705ce6
Improve test coverage and refactor storybook arch (#723)
* Improve test coverage and refactor storybook arch

* Fix coverage

* Fix tests

* Fix lint

* Fix lint
2023-07-17 17:14:53 -07:00
Lucas Bordeau
5b21657c4e
Feat/harmonize chips cell fields (#724)
* Wip

* Finished

* Fix lint
2023-07-17 17:14:09 -07:00
Thaïs
8b7314cd39
fix: fix kanban amount color (#717)
Fixes #673
2023-07-17 11:13:58 +02:00
Charles Bochet
b76047d255
Fix ImageInput object-fit, fix People page title (#712) 2023-07-17 06:25:41 +00:00
Charles Bochet
4cb856a180
Design fixes (#696)
* Design fixes

* Fix design

* unused code

* Fix tests
2023-07-16 17:36:40 -07:00
Charles Bochet
6ced8434bd
Uniformize folder structure (#693)
* Uniformize folder structure

* Fix icons

* Fix icons

* Fix tests

* Fix tests
2023-07-16 14:29:28 -07:00
Charles Bochet
900ec5572f Fix linter 2023-07-16 10:36:07 -07:00
Félix Malfait
11405f561f
Bug fix: avatar of account owner not displayed (#690)
* Begin - fix account owner not displayed

* Finish - profile pic of account owner not displayed
2023-07-16 10:03:19 -07:00
Charles Bochet
51d25c3e93 Fix merge conflict 2023-07-16 09:54:36 -07:00
Charles Bochet
037628ab1d
Enable Task creation (#688) 2023-07-16 09:39:52 -07:00
Charles Bochet
098cd038bd Fix bugs on pipeline new card creation and checkboxes not scrollable 2023-07-16 01:19:26 -07:00
Charles Bochet
fcdc82c07a Fix glitch on pipeline update stage title 2023-07-15 19:43:49 -07:00
Charles Bochet
a2fcc3082f Fix according to peer review 2023-07-15 19:33:59 -07:00
Emilien Chauvet
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
Lucas Bordeau
be21392737
Feat/company card fields (#686)
* wip

* Ok

* asd

* Fixed cancel submit

* Renamed

* Fixed
2023-07-15 19:17:31 -07:00
Félix Malfait
7959308e0b
Add search to cmd bar (#667)
* Move useFilteredSearchEntityQuery from relation picker to search module

* refactor duplicated code with useFilteredSearchCompanyQuery

* Implement similar pattern for people than for companies with useFilteredSearchEntityQuery

* Fix warning from a previous PR

* Enable search from menu

* Add companies to search

* Fix ESLint

* Refactor

* Fix according to peer review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-15 15:23:37 -07:00
Charles Bochet
b982788100
Fix checkbox issues (#681)
* Fix checkbox issues

* Fix theme
2023-07-15 14:16:02 -07:00
Charles Bochet
2bbcf6980a
Fix pipeline bug on scroll (#666)
* Fix pipeline bug on scroll

* Fix lint

* Fix lint
2023-07-15 11:00:32 -07:00
Emilien Chauvet
efd4ed16d6
Update checkbox API (#663)
* Update checkbox API

* Fix test
2023-07-14 18:44:32 -07:00
Charles Bochet
b971464fe5
Design fixes (#665) 2023-07-14 18:43:16 -07:00
Emilien Chauvet
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 49bf7929b6.

* 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
Charles Bochet
e93a96b3b1
Refactor hotkyes in its own lib folder (#660)
* Refactor hotkyes in its own lib folder

* Lint

* Fix PR comments

* rename hotkeysScope into hotkeyScope
2023-07-14 12:27:26 -07:00
Félix Malfait
7bcea343e2
Design fixes for #615 and #637 (#658)
Fixes #615 and #637
2023-07-14 12:36:48 +02:00
Emilien Chauvet
ff69b17210
Reorder company columns (#656) 2023-07-13 21:41:12 -07:00
Jérémy M
03364330d1
feat: snack-bar component (#626)
* feat: SnackBarProvider and queuing

* feat: use snack bar on onboarding errors

* feat: workspace copy use snackBar

* fix: remove magic number
2023-07-14 04:27:09 +00:00
Charles Bochet
551c3b5e60
Persist table cell values on cell close (#655)
* Persist table cell values on cell close

* Apply to all cells
2023-07-14 06:20:08 +02:00
Thaïs
ca1723f2e6
fix: fix cell border radius on soft focus (#649)
* refactor: add RootDecorator

* docs: add EditableCellText stories

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-07-14 00:03:23 +02:00
Lucas Bordeau
d70234f918
Fix/table remove and mock data (#653)
* Removed tanstack react table

* Fixed remove table feature without tanstack table

* Fixed delete people and companies

* Fixed hotkeys on editable date cell

* Fixed double text

* Fixed company mock mode

* Fixed lint

* Fixed right click selection
2023-07-13 12:43:00 -07:00
Félix Malfait
e8bd3b7a14
Design improvements (#645)
* Redesign checkbox components

* Fix spacing issue

* Fix cell hover color in dark mode

* Revert column order change because of commit conflict
2023-07-13 21:00:12 +02:00
Félix Malfait
15685018df
Fix dark mode background (#643) 2023-07-13 20:57:26 +02:00
Lucas Bordeau
734e18e01a
Refactor/remove react table (#642)
* Refactored tables without tan stack
* Fixed checkbox behavior with multiple handlers on click
* Fixed hotkeys scope
* Fix debounce in editable cells
* Lowered coverage

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-13 17:08:13 +00:00
Jérémy M
e7d48d5373
Add validation on onboarding flow inputs (#556)
* feat: wip react-hook-form

* feat: use react-hook-form for password login

* feat: clean regex

* feat: add react-hook-form on create workspace

* feat: add react-hook-form on create profile page

* fix: clean rebased code

* fix: rebase issue

* fix: add new stories to go over 65%

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-12 16:53:48 -07:00
Emilien Chauvet
ab3d326000
Set title and icon for topbar (#627) 2023-07-12 14:40:29 -07:00
Félix Malfait
e7a0f60ea0
Add total deal amount on top of pipeline column (#622)
Add total on top of pipeline column
2023-07-12 09:22:25 -07:00
Félix Malfait
1c3d68a537
Add click to reveal password (#624) 2023-07-12 07:59:01 -07:00
Félix Malfait
daad2bab75
Fix spacing issue on show page (#623) 2023-07-12 07:54:16 -07:00
Deepak Singh
6f90046779
fix: BUG - Left drawer profile menu item not hovered (#625) 2023-07-12 14:09:37 +02:00
Lucas Bordeau
5e0e449e4c
Fix/table rerenders (#609)
* Fixed top bar rerenders

* Fixed rerender on editable cell

* Fix lint

* asd

* Fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-11 20:51:24 -07:00
Emilien Chauvet
b5de2abd48
Move filter and sort compoenets in a separate lib (#612)
* Move filter and sort compoenets in a separate lib

* Add SortAndFilterBar to the filter lib

* Abstract hotkeys scopes

* Fix hotkeys on filters

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-11 20:42:15 -07:00
Emilien Chauvet
e8d77833a7
Move code to a lib, remove table dependancy (#606)
* Move code to a lib, remove table dependancy

* Abstract yable context from filters

* Update missing hook

* Remove wording of active filter, simplify naming for edited filters

* lint
2023-07-11 17:05:08 -07:00
Charles Bochet
4150a7bb51
Fixing BlockNote readability darkMode + fixing impossible to create cards for companies without name or domainName (#605)
fix-first-feedbacks
2023-07-11 14:33:15 -07:00
Emilien Chauvet
14caaf298a
Feat/add invite link (#603)
* Add UI for invite link

* Use invite link

* Isolate link component

* Improve UX
2023-07-11 13:35:43 -07:00
Emilien Chauvet
24bc2b72f9
Use seed for id generation in tests (#585)
* Use seed for id generation in tests

* Revert "Use seed for id generation in tests"

This reverts commit c5ae9ac6bf.

* Add hardcoded ids
2023-07-11 10:58:22 -07:00
Jérémy M
718ad721cf
feat: auth race condition & optimize ApolloFactory & too many pageview (#602) 2023-07-11 19:50:25 +02:00
Charles Bochet
55576cb638
Add possibility to invite members to workspace (#579)
* Add possibility to invite members to workspace

* Update endpoints

* Wrap up front end

* Fix according to review

* Fix lint
2023-07-10 23:33:15 -07:00
Charles Bochet
e1161e96a9
Fix right drawer bug (#584) 2023-07-10 21:46:20 -07:00
Emilien Chauvet
ebf5f67f63
Fix board card glitches (#583) 2023-07-10 20:24:57 -07:00
Lucas Bordeau
5f98b70c6a
Fix/scope hotkeys (#581)
* WIP

* asd

* Fix

* Fix lint

* Removed console log

* asd

* Removed isDefined

* Fix/debounce company card onchange (#580)

* Add internal state and debounce for editable text card

* Use debounce for date fields too

* Update refetch

* Nit

* Removed comments

* Ménage

---------

Co-authored-by: Emilien Chauvet <emilien.chauvet.enpc@gmail.com>
2023-07-11 01:53:46 +00:00
Emilien Chauvet
1c8aaff39d
Fix/debounce company card onchange (#580)
* Add internal state and debounce for editable text card

* Use debounce for date fields too

* Update refetch

* Nit
2023-07-11 03:19:46 +02:00
Charles Bochet
03c6d1f19d
Enable pipeline stage ordering (#577)
* Enable pipeline stage ordering

* Removing migration

* Remove Save button
2023-07-10 17:20:37 -07:00
Emilien Chauvet
eae583209e
Use correct Query name (#575) 2023-07-10 16:26:39 -07:00
Emilien Chauvet
aa252612c1
Run codegen (#574) 2023-07-10 16:21:13 -07:00
Charles Bochet
5d071187f5
Fix bug autofill title (#573)
* Fix bug autofill title

* Remove useless loading
2023-07-10 15:20:57 -07:00
Félix Malfait
25eeada92c
Design fixes (#555)
* Change placeholder color and design fixes for show page / sidebar

* Replace hardcoded border radiuses

* Improve border display for middle of button group

* Editor styling

* Editor font size

* Comment Bar positioning and remove scrollbar for 1px

* Add Comments section title

* Nit: match css style

---------

Co-authored-by: Emilien <emilien.chauvet.enpc@gmail.com>
2023-07-10 11:24:20 -07:00
Jérémy M
3079747c83
feat: colored avatar (#554)
* feat: colored avatar

* fix: use id instead of name & remove unused

* fix: remove unused

* Allow empty ID to avoid empty string

* Fix tests

* Add person chip story

---------

Co-authored-by: Emilien <emilien.chauvet.enpc@gmail.com>
2023-07-10 11:24:09 -07:00
Jérémy M
c9292365c0
feat: workspace update name and logo (#553)
* feat: workspace update name and logo

* fix: remove logs

* fix: disable warning until refacto

* Fix text

---------

Co-authored-by: Emilien <emilien.chauvet.enpc@gmail.com>
2023-07-10 11:23:58 -07:00
Félix Malfait
a2da3a5f09
Add ButtonGroup concept + Soon pill on button + implement in timeline (#551)
* Add ButtonGroup concept

* Add soon pill

* Fix incorrect wrapping behavior

* Implement button group in timeline
2023-07-10 14:06:35 +02:00
Jérémy M
c529c49ea6
Workspace member (#552)
* fix: clean small back-end issues

* fix: apollo factory causing infinite loop on token renew

* feat: small refactor and add ability to remove workspace member

* fix: test
2023-07-10 09:25:11 +00:00
Charles Bochet
f2c49907a8 Fix bug latency on commentThread title edition 2023-07-09 23:14:09 -07:00
Charles Bochet
5b532dcfe7 Fix bug latency on commentThread title edition 2023-07-09 22:49:21 -07:00
Félix Malfait
94a913a41f
Add "show company / people" view and "Notes" concept (#528)
* Begin adding show view and refactoring threads to become notes

* Progress on design

* Progress redesign timeline

* Dropdown button, design improvement

* Open comment thread edit mode in drawer

* Autosave local storage and commentThreadcount

* Improve display and fix missing key issue

* Remove some hardcoded CSS properties

* Create button

* Split company show into ui/business + fix eslint

* Fix font weight

* Begin auto-save on edit mode

* Save server-side query result to Apollo cache

* Fix save behavior

* Refetch timeline after creating note

* Rename createCommentThreadWithComment

* Improve styling

* Revert "Improve styling"

This reverts commit 9fbbf2db00.

* Improve CSS styling

* Bring back border radius inadvertently removed

* padding adjustment

* Improve blocknote design

* Improve edit mode display

* Remove Comments.tsx

* Remove irrelevant comment stories

* Removed un-necessary panel component

* stop using fragment, move trash icon

* Add a basic story for CompanyShow

* Add a basic People show view

* Fix storybook tests

* Add very basic Person story

* Refactor PR1

* Refactor part 2

* Refactor part 3

* Refactor part 4

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-09 22:25:34 -07:00
Emilien Chauvet
49c20907e8
Fix infinite loop when opening relation picker in comments pane (#548)
* Typo

* Remove hotkeys for relation picker
2023-07-08 20:09:00 -07:00
Charles Bochet
fffb8c99cb Fix right drawer not capture keys conflicting with app shortcuts 2023-07-08 20:05:02 -07:00
Charles Bochet
691da0ef57
Fix Opportunities page bug, make image urls support base64 (#547) 2023-07-08 18:43:55 -07:00
Lucas Bordeau
795bead1bb
Fix/relation picker (#546)
* FIx pickers

* Fix

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-08 18:43:41 -07:00
Charles Bochet
9d25d003ca
Bug Fix: company create from people + scroll settings (#545) 2023-07-08 18:15:39 -07:00
Emilien Chauvet
ce14d22744
Order users by first name (#543) 2023-07-08 18:09:29 -07:00
Lucas Bordeau
09efc49ef2
Fix text input bug (#544)
* Fix text input bug

* 200
2023-07-08 18:08:48 -07:00
Charles Bochet
be7731b71a
Upload Workspace logo during onboarding (#542)
* Upload image

* Upload image

* Fix tests

* Remove pictures from seeds

* Fix storybook

* Fix storybook

* Fix storybook
2023-07-08 16:46:04 -07:00
Lucas Bordeau
e03d5ed8a7
Refactor/inplace input (#541)
* wip

* Changed all other components

* Removed console log

* Console.log

* lint

* Removed internal state

* Fix

* Lint
2023-07-08 16:45:52 -07:00
Charles Bochet
b3d0061e0d
Remove MockMode mocking apollo queries + Add profile picture image upload during onboarding (#539)
* Remove MockMode mocking apollo queries + Add profile picture image upload

* lower line code coverage until we have tests on hotkyes
2023-07-08 15:13:14 -07:00
Emilien Chauvet
9cd5f7c057
Feat/navigate to signup if email does not exist (#540)
* Add userExists route

* Fix demo mode for login

* Improve sign in/up flow

* Remove redundant password length constraint

* Fix test
2023-07-08 15:02:39 -07:00
Charles Bochet
36ace6cc03
Add ability to remove profile picture on Profile Settings (#538)
* Add ability to remove profile picture on Profile Settings

* Fix lint

* Fix according to review
2023-07-08 10:41:16 -07:00
Charles Bochet
e2822ed095
Fix tests (#537)
* Fix tests

* Fix lint
2023-07-07 23:11:38 -07:00
Emilien Chauvet
c26a7fda9a
Add workspace members (#536)
* Add workspace members

* Remove workspace provider

* Lint
2023-07-07 18:56:22 -07:00
Lucas Bordeau
66dcc9b2e1
Feat/better hotkeys scope (#526)
* Working version

* fix

* Fixed console log

* Fix lint

* wip

* Fix

* Fix

* consolelog

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-07 18:53:05 -07:00
Charles Bochet
611cda1f41
Revert "Refacto/abstract inplace input" (#535)
Revert "Refacto/abstract inplace input (#530)"

This reverts commit c847bca293.
2023-07-07 18:10:51 -07:00
Charles Bochet
94ca61c887
Revert "Refacto/remaining inplace input cells" (#534)
Revert "Refacto/remaining inplace input cells (#531)"

This reverts commit 6446692f25.
2023-07-07 18:10:32 -07:00
Charles Bochet
a975935f49
Connect profile picture upload to backend (#533)
* Connect profile picture upload to backend

* Fix tests

* Revert onboarding state changes
2023-07-07 17:50:02 -07:00
Emilien Chauvet
6446692f25
Refacto/remaining inplace input cells (#531)
* Add inplace date input component

* Add inplace phone input component

* Add inplace double text input component

* Add inplace chip input component

* Remove useless styled component

* Reduce code through props destructuring
2023-07-07 15:00:01 -07:00
Charles Bochet
f62fdc1219
Fix authentication with debug mode (#532)
Fix authent with debug mode
2023-07-07 14:10:04 -07:00
Emilien Chauvet
c847bca293
Refacto/abstract inplace input (#530)
* Move code to new folder

* Deduplicate code, remove dependancy on table

* Remove more table dependency

* Move close logic to input

* Migrate editable text cell

* Rename EditableTextInput

* Fix component test id
2023-07-07 12:11:57 -07:00
Charles Bochet
26b033abc9
Refactor client config (#529)
* Refactor client config

* Fix server tests

* Fix lint
2023-07-07 11:10:42 -07:00
Charles Bochet
11d18cc269
Fix auth (#527)
* Fix auth

* fix lint
2023-07-06 20:11:04 -07:00
Emilien Chauvet
7d6adbaa73
Update company card (#512)
* Add card rows

* WIP - add amount

* Refactor board state to separate pipeline progress data and company data

* Add migration and generated code

* Pass pipeline progress properties to the comapny card

* WIP-editable

* Enable amount edition

* Nits

* Remove useless import

* Fix empty board bug

* Use cell for editable values on company card

* Add fields

* Enable edition for closeDate

* Add dummy edits for recurring and probability

* Nits

* remove useless fields

* Nits

* Fix user provider

* Add generated code

* Fix nits, reorder migrations, fix login

* Fix tests

* Fix lint
2023-07-06 18:41:44 -07:00
Jérémy M
1144bd13ed
feat: onboarding & profile edition (#507)
* feat: wip onboarding

* fix: generate graphql front

* wip: onboarding

* feat: login/register and edit profile

* fix: unused import

* fix: test

* Use DEBUG_MODE instead of STAGE and mute typescript depth exceed errors

* Fix seeds

* Fix onboarding when coming from google

* Fix

* Fix lint

* Fix ci

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-06 17:05:15 -07:00
Jérémy M
0b7a023f3d
fix: missing client query (#524) 2023-07-05 17:20:12 +02:00
Charles Bochet
3db15929a5
Hot Fix merge conflicts (#523) 2023-07-05 16:58:47 +02:00
Deepak Singh
6e1ffdcc72
feat: Skeleton loading #404 (#458)
* feat: Skeleton loading #404

* fix: skeleton loading

* fix: skeleton loading

* feat: Skeleton loading #404

* fix: skeleton loading

* fix: skeleton loading

* Update CompanyPickerSkeleton.tsx

* updated changes
2023-07-05 15:50:36 +02:00
Deepak Singh
9c09da18db
fix: Create a client config function that is retrieved when app is loading (#496)
* fix: Create a client config function that is retrieved when app is loaded

* update index.tsx

* fixed linter issues
2023-07-05 00:28:59 +02:00
Emilien Chauvet
d83313cd93
Add hover effect for navbar collapsable button (#492) 2023-07-04 18:28:32 +02:00
Lucas Bordeau
820ef184d3
Refactor/filters (#498)
* wip

* - Added scopes on useHotkeys
- Use new EditableCellV2
- Implemented Recoil Scoped State with specific context
- Implemented soft focus position
- Factorized open/close editable cell
- Removed editable relation old components
- Broke down entity table into multiple components
- Added Recoil Scope by CellContext
- Added Recoil Scope by RowContext

* First working version

* Use a new EditableCellSoftFocusMode

* Fixes

* wip

* wip

* wip

* Use company filters

* Refactored FilterDropdown into multiple components

* Refactored entity search select in dropdown

* Renamed states

* Fixed people filters

* Removed unused code

* Cleaned states

* Cleaned state

* Better naming

* fixed rebase

* Fix

* Fixed stories and mocked data and displayName bug

* Fixed cancel sort

* Fixed naming

* Fixed dropdown height

* Fix

* Fixed lint
2023-07-04 13:54:58 +00:00
Emilien Chauvet
580e6024d0
Fix drag and drop for opportunity board (#503) 2023-07-03 16:40:51 -07:00
Emilien Chauvet
db5dfb3bdf
Enable opportunity card deletion (#490)
* Add checkbox

* Add state management for selected opportunities

* Use recoil for selected items state, show action bar

* Deduplicate code

* Add delete action

* Enable delete

* Add color for selected cards

* update board state on delete

* Add stories

* Enable empty board

* Fix story

* Handle dark mdoe

* Nits

* Rename module

* Better naming

* Fix naming confusion process<>progress
2023-07-03 23:11:39 +02:00
Félix Malfait
c871d1cc10
Commandbar and dark mode UI fixes (#491)
* Improve dark mode

* Improve commandbar style and add interactions
2023-07-01 08:38:45 -07:00
Charles Bochet
8684a8d517
Fix hotkeys blocking comments (#487)
* Fix hotkeys blocking comments

* Fix tests
2023-07-01 02:09:49 +03:00
Jérémy M
19a1f2b9f8
feat: ui settings (#465) 2023-06-30 09:35:01 +00:00
Jérémy M
91608a37f2
fix: fix auth in prod env (#481) 2023-06-30 09:34:45 +00:00
Jérémy M
cca36cf50f
fix: rename event module into analytics and clean (#482) 2023-06-30 09:24:05 +00:00
Jérémy M
8e319900d0
fix: github actions (#483)
fix: test unused
2023-06-30 11:35:59 +03:00
Jérémy M
433962321a
feat: onboarding ui flow (#464)
* feat: onboarding ui flow

* fix: route naming and auth

* fix: clean unused imports

* fix: remove react.fc

* fix: infra dev remove package.json

* fix: remove usefull memoization

* fix: button stories

* fix: use type instead of interface

* fix: remove debug
2023-06-30 06:26:06 +00:00
Félix Malfait
3731380ce6
Fix tests on main (#479) 2023-06-29 22:30:56 -07:00
Félix Malfait
eb7fb2ba8e
Add Telemetry (#466)
* Telemetry v1

* Add package-lock.json to gitignore
2023-06-29 17:36:48 -07:00
Charles Bochet
74ea2718ca
Fix table focus taking over auth and filter and sort (#478) 2023-06-30 00:24:06 +03:00
Morning1139Angel
695ddd7a92
Func style allowing arrow (#461)
* eslint func-style rule added to server

* eslint func-style rule added to front-end
2023-06-29 11:19:03 -07:00
Jérémy M
097b278b11
fix: add firstName and lastName to user model (#473)
* fix: add firstname and lastanme to user model

* fix: avoid undefined in displayName resolve field

* fix: user firstName and lastName instead of firstname lastname

* fix: person table proper naming firstName lastName

* fix: migrate front with firstName and lastName

* fix: make front-graphql-generate not working
2023-06-29 15:11:15 +00:00
Charles Bochet
aa612b5fc9
Add tab hotkey on table page (#457)
* wip

* wip

* - Added scopes on useHotkeys
- Use new EditableCellV2
- Implemented Recoil Scoped State with specific context
- Implemented soft focus position
- Factorized open/close editable cell
- Removed editable relation old components
- Broke down entity table into multiple components
- Added Recoil Scope by CellContext
- Added Recoil Scope by RowContext

* First working version

* Use a new EditableCellSoftFocusMode

* Fixed initialize soft focus

* Fixed enter mode

* Added TODO

* Fix

* Fixes

* Fix tests

* Fix lint

* Fixes

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-06-28 14:06:44 +02:00
Charles Bochet
a6b2fd75ba
Enable comment deletion on CommentDrawer (#460)
* Enable comment deletion on people and companies page

* Add storybook test
2023-06-27 18:00:14 +02:00
Jérémy M
c9038bb93a
Front small ui fixes (#428)
* fix: add ellipsis in all table cells

* fix: workspace click redirect to home

* fix: add company chip story and edit comment cell story

* fix: remove cursor pointer on workspace name

* fix: snoop pill height

* fix: rebase
2023-06-27 17:56:48 +02:00
Deepak Singh
7a880bc9e8
fix: Correct space between menu icons and menu items text #423 (#456)
* fix: Correct space between menu icons and menu items text #423
2023-06-27 07:40:12 -07:00
Charles Bochet
d6364a9fdd
Apply new theme (#449)
* Apply new theme

* Fix storybook

* Fixes

* Fix regressions
2023-06-26 19:13:04 -07:00
Deepak Singh
2a42ebb70d
fix: Correct sorting sub-menu font-size #426 (#430) 2023-06-26 11:10:08 -07:00
Félix Malfait
827d6390e4
Refactoring shortcuts and commandbar (#412)
* Begin refactoring shortcuts and commandbar

* Continue refacto hotkeys

* Remove debug logs

* Add new story

* Simplify hotkeys

* Simplify hotkeys

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-25 22:25:31 -07:00
Charles Bochet
9bd8f6df01
Design fixes (#422) 2023-06-25 20:02:09 -07:00
Charles Bochet
643d090091
A few design fixes (#424) 2023-06-25 19:28:02 -07:00
Charles Bochet
f0bbfb11ee
Fix avatar storybook issue + fix Autosize input send button color (#389)
* Fix avatar storybook issue + fix Autosize input send button color

* Fix storybook font-size
2023-06-25 14:58:34 -07:00
Charles Bochet
9c21975d2b
Fix comment creation bug (#371) 2023-06-24 11:18:13 -07:00
Jérémy M
31145c5518
feat: align auth api with front convention (#370)
* feat: align auth api with front convention

* fix: email password auth

* fix: proper file naming

* Fix login

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-23 22:43:54 -07:00
Jérémy M
c6708b2c1f
feat: rewrite auth (#364)
* feat: wip rewrite auth

* feat: restructure folders and fix stories and tests

* feat: remove auth provider and fix tests
2023-06-23 08:49:50 -07:00
Lucas Bordeau
ceaf482f62
First working version of new dropdown UI (#360)
* First working version of new dropdown UI

* Removed consolelog

* Fixed test storybook

* Cleaned optional args
2023-06-23 10:39:16 +00:00
Charles Bochet
1b8b78d615
Various fixes (#362) 2023-06-22 14:57:08 -07:00
Charles Bochet
ba1dd07e53
Fix mock mode transition to regular mode on login (#361) 2023-06-22 14:09:51 -07:00
Lucas Bordeau
4a2797c491
Feat/account owner picker (#359)
* Added account owner picker

* Regenerated graphql files

* Fixed pickers staying in edit mode with a new generic hook

* Fixed lint
2023-06-22 19:47:04 +02:00
Charles Bochet
eb9be6894e
Redesign settings profile (#353)
* Redesign settings profile

* Fix spacing

* Fix Company creation
2023-06-21 23:50:24 -07:00
Félix Malfait
3c1851b3c9
Improve auth and seeds (#352)
* Improve seeds

* Autofill password on local environment

* Fix PR

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-21 23:47:24 -07:00
Charles Bochet
df6376dce0 Fix padding EditableCell DoubleText 2023-06-21 22:42:38 -07:00
Charles Bochet
817d6dcb05
Add ability to associate a new company to pipeline (#350)
* Add ability to associate a new company to pipeline

* Fix tests
2023-06-21 22:31:19 -07:00
Lucas Bordeau
e679f45615
Feat/single entity select relation picker (#345)
* - Implemented recoil scoped state
- Implemented SingleEntitySelect
- Implemented keyboard shortcut up/down select

* Added useRecoilScopedValue

* Fix storybook

* Fix storybook

* Fix storybook

* Fix storybook

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-21 13:29:07 -07:00
Charles Bochet
8a330b9746
Use Graphql types in FE and complete mappers removal (#348)
Fix Typescript build issues
2023-06-21 10:52:00 -07:00
Sammy Teillet
294b290939
338 on opportunities page when i associate a new company to a pipelinestage its persisted in db (#339)
* feature: add navigation for opportunities

* chore: add companies in pipeline seed

* feature: make the board scrollable

* feature: make the board scrollable vertically

* feature: remove board container

* feature: fix newButton style

* feature: add onClickNew method on board

* feature: call backend with hardcoded id for new pipeline progressable

* feature: refetch board on click on new

* feature: use pipelineProgressId instead of entityId to ensure unicity of itemKey

* feature: avoid rerender of columns when refetching
2023-06-20 19:27:02 -07:00
Charles Bochet
8790369f72
Implement Authentication with email + password (#343)
* Implement Login screen ui and add RequireNotAuth guard

* Perform login through auth/password-login flow
2023-06-20 19:17:31 -07:00
Charles Bochet
e2d8c3a2ec
Add tests on top of ui/buttons, ui/links and ui/inputs (#342) 2023-06-20 18:47:00 -07:00
Lucas Bordeau
e2eb40c1ea
Relation picker module (#335)
- Created a relation picker module
- Added a CustomeEntityForSelect type
2023-06-20 09:06:53 +00:00
Sammy Teillet
c120903a45
Persist update on board drag and drop (#328)
* chore: move dnd lib comment aligned with import

* feature: add onUpdate on board

* chore: remove multi entity pipelines

* feature: add pipelineProgressableType field

* feature: fetch progressableType in board

* feature: implement on update to persist progress change
2023-06-20 10:56:36 +02:00
Lucas Bordeau
950a0b77fe
Fixed refetch query for GetCommentThreadsByTargets (#336)
* Fixed refetch query for GetCommentThreadsByTargets

* Improvement : use apollo util getOperationName to de-hard code refetch queries arrays
2023-06-19 15:44:05 +00:00
Sammy Teillet
96a53ad765
refactor: remove mappers (#326)
* refactor: remove mappers

* chore: generate graphql types

* lint: remove useless import

* Remove preset-react-create-app from storybook addons

* test: remove old tests

* Upgrade storybook version

* Remove sb preset-cra and add sb svgr loader

* chore: remove figma image url from storybook

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-19 14:07:16 +00:00
Lucas Bordeau
c8c4a953c2
309 have comment relation picker show up above the relation field (#332)
* Added a floating ui manual offset to have the dropdown on top of the relation box

* Autofocus on dropdown search
2023-06-19 15:51:35 +02:00
Charles Bochet
5904a39362
Design Auth index (#325) 2023-06-18 23:51:59 +02:00
Charles Bochet
ffa8318e2e
Add Auth Index page (#323) 2023-06-18 00:18:13 +02:00