Commit Graph

819 Commits

Author SHA1 Message Date
Ragnar Laud
c998c039ec
Fix URL validation on long/internationalized URLs (#1423)
* Add URL validation tests

Add test for longer TLDs
Add test for internationalized TLDs

* Fix URL validation with long TLDs

* TLD max size match RFC 1034

---------

Co-authored-by: Jérémy M <jeremy.magrin@gmail.com>
2023-09-04 11:30:43 +02:00
Charles Bochet
a46210bb80
Implement Optimistic Effects (#1415)
* Fix person deletion not reflected on Opportunities POC

* Fix companies, user deletion

* Implement optimistic effects

* Implement optimistic effects

* Implement optimistic effects

* Fix accoding to PR
2023-09-04 10:56:48 +02:00
Thaïs
ae072b6ce5
refactor: index ViewField by viewId and key (#1416)
* refactor: index ViewField by viewId and key

Closes #1413

* refactor: rename ViewField properties
2023-09-04 10:55:03 +02:00
Matthew
c3c5cb4d1f
unselect all cards using esc key or click (#1393)
* unselect all cards using esc key or click

* useScopedHotKeys

* useListenClickByClassName

* rules are rules

* smoothing out || cursor-boxing-selection compliant

* replenished activeCardIds

* setRecoilState
2023-09-01 18:00:21 +02:00
gitstart-twenty
f0674767c1
chore: Show my completed tasks without date categories (#1375)
* Show my completed tasks without date categories

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

* Refactor the code

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

---------

Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
2023-09-01 14:50:11 +02:00
Matthew
aa47579289
Robust Photo Uploader, handling unsupported file types, upload error, apollo uploader (#1400)
* added uploaded controller, handled unsupported image formatting and error uploading styling

* remove callbacks
2023-09-01 13:41:07 +02:00
Thaïs
5653b89114
fix: fix filter and sort position on board horizontal scroll (#1386)
Closes #1354
2023-09-01 11:54:34 +02:00
Lucas Bordeau
240edda25c
New MenuItem components (#1389)
* wip

* Finished

* Fix from review

* Fix lint

* Fixed toggle
2023-09-01 11:35:19 +02:00
Thaïs
2538ad1c6b
fix: improve full name editable fields in Person Show page (#1390)
* fix: improve full name editable fields in Person Show page

+ autoresize inputs according to their content
+ use "Empty" as placeholder
+ improve hover style

Closes #910

* refactor: code review

- rename TemplateDimensionsEffect to ComputeNodeDimensionsEffect
2023-09-01 11:25:19 +02:00
Charles Bochet
2d5cb9c750
Fix person deletion not reflected on Opportunities POC (#1387)
* Fix person deletion not reflected on Opportunities POC

* Fix companies, user deletion
2023-08-31 15:06:17 +02:00
Matthew
ec23ca3d12
update metadata + add social card (#1391)
* update metadata + add social card

* proper import statements

* Convert to github raw link

* only public-facing index.html
2023-08-31 15:05:33 +02:00
Thaïs
6eadd1d132
refactor: create/update/delete one view instead of many (#1384)
Closes #1359
2023-08-30 15:35:18 +02:00
brendanlaschke
fa33506b96
New page structure (#1377)
* - new page structure

* - removed unecessary task changes

* - handleClick -> onClick
2023-08-30 15:10:16 +02:00
brendanlaschke
85155a634f
Fix view edit button (#1381)
- fix view edit button as described
2023-08-30 15:08:27 +02:00
Thaïs
4aae22ab34
feat: allow adding available pre-defined table columns to views (#1371)
* feat: allow adding available pre-defined table columns to views

Closes #1360

* fix: allow creating views with the same name for the same table

* refactor: code review

- rename things
- move handleColumnVisibilityChange to useTableColumns hook
2023-08-30 11:33:21 +02:00
Charles Bochet
9df4b475d8 Fix new company creation issue on opportunities 2023-08-29 19:04:58 +02:00
Charles Bochet
ccac7ec07b Fix bug tag colors 2023-08-29 18:23:24 +02:00
Charles Bochet
b755b6009d
Remove unused logic on board column menu tags (#1373) 2023-08-29 17:51:46 +02:00
gitstart-twenty
96c41563cf
chore: Make a twenty Eslint Rule to make sure that icons are imported from @/ui/icons (#1370)
Fix the imports

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com>
2023-08-29 13:40:17 +02:00
gitstart-twenty
f8df8b55d8
fix: Vertical scroll bar graphic artifacts in dark mode (#1369)
Fix scroll

Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
2023-08-29 13:37:26 +02:00
Thaïs
2b3e96b9ea
fix: do not allow removal of last table view (#1366)
Closes #1358
2023-08-29 10:03:56 +02:00
Mustajab Ikram
8bb4071f09
feat: add page titles using React Helmet (#1321)
* feat: add page titles using React Helmet

* refactor: extract page title logic to separate component

* fix: resolve review comments

* fix: resolve testing errors
2023-08-28 18:49:04 +02:00
Thaïs
74919eff7a
refactor: add ColumnDefinition type (#1357)
* refactor: add ColumnDefinition type

Closes #1193

* refactor: code review - rename things

* fix: fix wrong import and lint
2023-08-28 18:33:03 +02:00
brendanlaschke
0d7b869274
Create opportunity from board column menu (#1323)
- create opportunity from column menu
2023-08-28 18:23:28 +02:00
brendanlaschke
6e201ba3a6
Fix fontSize DropdownMenu input overwritten (#1364)
- fix fontSize DropdownMenu input
2023-08-28 16:14:11 +02:00
corentin
27bb3a8126 switch back editable field hover from lighter to light 2023-08-28 12:03:07 +02:00
Weiko
ab9d7ddf7e
Fix tasks page (#1325)
* Fix tasks page

* remove console log

* use to-do instead
2023-08-28 11:57:00 +02:00
Charles Bochet
1b187350c0
Refactor buttons (#1257)
* Refactor buttons

* Complete components creation

* Complete refactoring

* fix lint

* Complete button work
2023-08-26 23:59:45 +02:00
brendanlaschke
5d50bbd6a3
Fix dragToSelect Board (#1319)
- fix dragToSelect
2023-08-26 03:29:44 +02:00
brendanlaschke
802bd5db5d
Fix create task from Add Button (#1318)
- fix create task
2023-08-26 03:27:49 +02:00
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
0cab6a11d2
Set 3 workers for storybook coverage (#1255)
* Set 3 workers for storybook coverage

* fix

* fix

* fix

* change ubuntu-latest to ci-4-cores

* fix
2023-08-17 12:00:45 -07:00
Weiko
1e277ba950
Fix Chip font-weight (#1242)
* Fix Chip font-weight

* fix ===
2023-08-16 16:28:16 -07:00
Charles Bochet
dbf01c759d Fix react-data-grid version to avoid compatibility issue 2023-08-16 14:38:17 -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
Thaïs
8479205c2a
chore: fix @apollo/client version to 3.7.17 (#1233) 2023-08-16 10:02:09 -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