Commit Graph

782 Commits

Author SHA1 Message Date
cdd7890bef fix: Icon size stroke in MenuItem (#1545)
* icon size change

* stroke prop

* lint fix

* lint refix

* wrong repo change
2023-09-12 12:54:01 -07:00
e23b8ecca1 Fix bug with FilterDropdown on Tasks page 2023-09-12 12:26:47 -07:00
9b5e24105b Refactor/display input part 2 (#1555)
* Email - Money - Number

* Date
2023-09-12 11:04:26 -07:00
9b495ae2e8 fix: Removed autofocus (#1551) 2023-09-12 14:49:29 +02:00
564a7c97b1 refactor: improve SingleEntitySelect empty option (#1543)
Closes #1331

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-11 17:27:17 -07:00
a766c60aa5 Reafactor/UI input and displays (#1544)
* WIP

* Text field

* URL

* Finished PhoneInput

* Refactored input sub-folders

* Boolean

* Fix lint

* Fix lint

* Fix useOutsideClick

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-11 17:11:20 -07:00
110d5eaa9d feat: only show Update View button if view can be persisted (#1533)
Closes #1499
2023-09-11 12:03:01 +02:00
9be069bedc Fixed bug for refectch activities and create activity on the currently filtered user. (#1493)
* Fixed bug for refectch activities and create activity on the currently filtered user.

* Refactor optimistif effect

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-10 23:02:51 -07:00
08727aafe5 Fix tests 2023-09-10 20:16:04 -07:00
e69d4bde52 Fix opportunity views 2023-09-10 19:54:53 -07:00
88c6d0da2a feat: add Opportunities Views dropdown (#1503)
* feat: add Opportunities Views dropdown

Closes #1454

* feat: persist Opportunities view filters and sorts

Closes #1456

* feat: create/edit/delete Opportunities views

Closes #1455, Closes #1457

* fix: add missing Opportunities view mock

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-10 19:07:14 -07:00
8ea4e6a51c feat: reset table column resizing on ViewBar Cancel button click (#1520)
* feat: reset table column resizing on ViewBar Cancel button click

Closes #1500

* Fix according to PR

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-10 18:51:24 -07:00
c808eeca79 Complete useFilteredSearchQuery refactoring (#1531)
Complete useFilteredSearchQuery ref
actoring
2023-09-10 17:07:05 -07:00
bcbf303364 Refactor useFilteredSearchEntityQuery to accept multiple filters (#1526)
* refactoring useFilteredSearchEntityQuery

* refactor with filter addition

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-10 16:12:16 -07:00
b6eb280639 fix: POC assigning in opportunities (#1443)
* fix: opportunities-poc-select

* gql codegen

* code review changes
2023-09-10 16:08:44 -07:00
2e798ef2ee Fix hotkey scope on task assignee (#1530) 2023-09-10 16:06:15 -07:00
494308b379 Fix design of 'sort' and 'filter' in 'People' and 'Companies' page (#1519)
* Display 404 while person or company not found

* Display 404 while person or company not found

* Issue solved

* Icon Size Adjustment, resize the icons used in filter and sort

* Fixed issues

* Icon Size Adjustment, resize the icons used in filter and sort

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-10 13:23:00 -07:00
b0ae670ec4 Rework tab and tab list padding and gaps to match designs (#1529) 2023-09-10 12:55:25 -07:00
677e444d8e fix: Fixed the design of 'Tab List' (#1517)
* fix: Fixed the design of 'Tab List'

* fix: Fixed design of 'Tab list'
2023-09-10 11:52:10 -07:00
c3f5566fde Fix select disable not working for svg (#1523)
- fixed svg elements not preventing start if selectDisable is set on parent
2023-09-10 11:41:51 -07:00
fb737e2021 Refactor icons passed as props with the new way (#1492)
* Refactor icons passed as props with the new way

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

* Update more files

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

* Fix according to review

* Fix according to review

* Fix according to review

* Fix chromatic regressions

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-10 11:39:17 -07:00
89fed80537 fix case HotkeyScope to hotkeyScope (#1528) 2023-09-09 18:22:53 -07:00
86ff522e74 refactor: improve IconButtonGroup and FloatingIconButtonGroup (#1518)
Closes #1411
2023-09-08 17:16:27 +02:00
df17da80fc refactor: add ViewBar and move view components to ui/view-bar (#1495)
Closes #1494
2023-09-08 11:57:16 +02:00
ccb57c91a3 refactor: move view recoil states to ui/view-bar folder (#1482)
* refactor: move view recoil states to ui/view-bar folder

Closes #1481

* refactor: rename some view related Recoil states and selectors
2023-09-08 11:26:15 +02:00
47151525ce chore: bump Twenty version to 0.1.3 in front/package.json (#1478)
chore: Update package version in package.json

An increment in version number was made in the application's package.json file, from 0.1.2 to 0.1.3. This update was necessary as part of the new release preparation encompassing changes made in the codebase since the last version.
2023-09-07 22:45:51 +02:00
0e6bd5c098 fix the tests (#1491)
* fix the tests

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

* Update front/src/testing/graphqlMocks.ts

Co-authored-by: Thaïs <guigon.thais@gmail.com>

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thaïs <guigon.thais@gmail.com>
2023-09-07 22:41:19 +02:00
2eb1ea5462 Fix front plugin not initialize with user email, first name and last name (#1506)
Fix front plugin not working
2023-09-07 22:40:09 +02:00
392c8052b2 Fixed Table view dropdown (#1497) 2023-09-07 22:39:53 +02:00
4348bc8e22 Add relation for Company on people show page note creation (#1418)
* - added additional entity(company) for people

* - moved getRelationData to util function

* - remove recursion

* typo
2023-09-07 22:38:01 +02:00
bd2e4307d2 Refactor/modal component tests 1332 (#1392)
* feat: Add separate constants in theme for modal sizes and paddings

* feat: Implement dynamic sizing and padding for Modal

* feat: use dynamic modal feature for csv import

* fix: Remove redundant props from spreadsheet-import

* fix: use theme.spacing() instead

* fix: place types to Modal.tsx, convert ternary to switch-case, give default value

* fix: give px to modal sizes

* enhance: add color style to modal

* feat: add modal to storybook
2023-09-07 22:34:32 +02:00
a902b7c6fe Display a 404 on people/:id and company/:id when id does not exist (#1468)
* Display 404 while person or company not found

* Display 404 while person or company not found

* Issue solved
2023-09-06 16:46:40 +02:00
d6b89359f5 refactor: rename ui/filter-n-sort to ui/view-bar (#1475)
Closes #1473

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-09-06 16:46:02 +02:00
28ca9a9e49 Refactor/new menu item (#1448)
* wip

* finished

* Added disabled

* Fixed disabled

* Finished cleaning

* Minor fixes from merge

* Added docs

* Added PascalCase

* Fix from review

* Fixes from merge

* Fix lint

* Fixed storybook tests
2023-09-06 16:41:26 +02:00
5c7660f588 feat: create default opportunities view on workspace creation + add seed data (#1461)
Closes #1314
2023-09-06 12:05:33 +02:00
08b56ec7e2 fix: can't set ARR of company to empty (#1474) 2023-09-06 11:22:42 +02:00
91e146ed3e Fix Profile picture uploader (#1471) 2023-09-06 11:03:25 +02:00
cbcb49cd1e fix: allow null value for number and date (#1472) 2023-09-06 11:03:12 +02:00
f332c3bee2 Fix View update button not being displayed in View Bar (#1469) 2023-09-06 10:37:29 +02:00
c05d24d249 fix: table view dropdown should have a minimum width (#1467) 2023-09-06 10:37:02 +02:00
85c8139c05 fix: double text chip show null value (#1460) 2023-09-05 17:55:29 +02:00
aad4f99f52 fix: view dropdown incorrect button position and floating icon button doesn't match design (#1458)
* fix: view dropdown incorrect button position

* fix: className instead of style drill down

* fix: view drop down width
2023-09-05 17:45:05 +02:00
21e3f6ecb2 fix: drop down menu should be of 160px size (#1459)
* fix: drop down menu should be of 160px size

* fix: typing

* fix: remove debug
2023-09-05 17:38:07 +02:00
b3887c6bcc fix: use correct table view when switching workspaces (#1447)
Closes #1441
2023-09-05 12:40:45 +02:00
878302dd31 [ESLint rule]: recoil value and setter should be named after their at… (#1402)
* Override unwanted changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>

* Fix the tests

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-05 10:34:11 +02:00
0ec4b78aee feat: add recoil debug observer (#1446)
* feat: add recoil debug observer

* fix: convention
2023-09-05 10:00:19 +02:00
7bced2b49b Unselect table rows using esc key or click outside (#1420)
* unselect table rows by esc or clickoutside of tablebody

* exclude action-bar

* exclude context-menu

* added enums, handled touch listener
2023-09-05 09:56:07 +02:00
732b5a5ddf fix: avatar disappear when editing a person (#1440) 2023-09-05 09:52:06 +02:00
421066c4b8 fix: Boolean editable field not align properly (#1444) 2023-09-05 09:50:23 +02:00
33c67214d6 fix: tasks "Done" not visible (#1445) 2023-09-05 09:46:14 +02:00