Commit Graph

776 Commits

Author SHA1 Message Date
9e1db476f1 fix menu-item floating buttons that should only be displayed on hover (#1588)
fix menu-item floating buttons that should only be dis
played on hover
2023-09-14 18:41:01 -07:00
84a27b148f Feat/sidecar components (#1578)
* Added a new eslint plugin in TypeScript for Effect components

* Fixed edge cases

* Fixed lint

* Fix eslint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-14 17:04:45 -07:00
70c0fd4e0d Removed last old DropdownButton (#1573)
* Removed last old DropdownButton

* Update front/src/modules/ui/view-bar/components/SingleEntityFilterDropdownButton.tsx

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

* Fix CI

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
Co-authored-by: Thaïs <guigon.thais@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-14 15:33:45 -07:00
2461a387ce feat: persist board card fields (#1566)
Closes #1538
2023-09-14 15:06:15 -07:00
8a27fd6ca5 Fix bug opportunity new button company search 2023-09-13 21:41:48 -07:00
bdb6886818 Fix bug Opportunities add Plus button z-index 2023-09-13 19:33:10 -07:00
18fb66202a Fix column stage creation removed 2023-09-13 19:27:21 -07:00
f4c1acbca1 Fix a few bugs before deploy 2023-09-13 19:16:16 -07:00
8627416d60 Refator/sorts dropdown (#1568)
* WIP

* Fixed lint

* Ok for sorts

* Fixed on dropdown toggle

* Fix lint
2023-09-13 16:38:11 -07:00
a392a81994 fix: hover behaviour on table cells (#1557)
* edit button focus fix

* cell feedback fix

* using theme prop

* isHovered prop drill

* edit button component

* refactor editable cell

* import fix

* index fix (merge issue)
2023-09-13 16:31:59 -07:00
6cc28b8e14 Fix merge conflict 2023-09-13 16:21:34 -07:00
7eef6e64a5 Change design for icons in 'MainNavbar' and 'Pageheader' (#1560)
* adjusted MainNavbar icons size from 'md' to 'sm'

* reduced CollapseButton size from 32px to 24px

* Added margin-left of 4px to the left chevron icon

* removed 8px padding

* updated the stroke for the NavItem
2023-09-13 14:20:25 +02:00
28e12d492c feat: toggle board field visibilities (#1547)
Closes #1537, Closes #1539
2023-09-13 11:58:52 +02:00
67f1da038d Refactor dropdown (#1561) 2023-09-13 10:30:33 +02:00
84b474c3cc Number display formatting (#1556)
* number display formatting

* - add tests
2023-09-13 10:12:25 +02:00
cd946019f1 Add a notification for "tasks" in the navigation (#1489)
* Add a notification for "tasks" in the navigation

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

* Add a notification for "tasks" in the navigation

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

* Fix icon import in TaskNavMenuItem

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

* Use object destructuring

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

* Refactor according to review

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

* Rename dueTasks to dueTaskCount

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

* Complete Task notification display

* Fix lint

* Fix tests

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-12 18:16:51 -07:00
92ef931d4d fix: Removed autoFocus attribute (#1558) 2023-09-12 15:06:27 -07:00
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
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