Commit Graph

812 Commits

Author SHA1 Message Date
Charles Bochet
c82c5a191e
Introduce useOptimisticEvict (#1629) 2023-09-16 22:23:43 -07:00
Charles Bochet
43a5535739
Refactor NavCollapse button (#1625) 2023-09-16 19:20:17 -07:00
brendanlaschke
efc45f8663
Add company relation for person table (#1612)
* - add company relation for person table

* - also for context menu

* - fix yarn.lock

* - fix newline missing

* - fixed tab

* fix
2023-09-16 12:05:55 -07:00
brendanlaschke
a26c8d660d
Fix teleporting board cards on drag drop (#1613)
- fix teleporting board cards on drag drop
2023-09-16 12:03:46 -07:00
gitstart-twenty
00a3c8ca2b
Change to using arrow functions (#1603)
* Change to using arrow functions

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

* Add lint rule

---------

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-15 18:41:10 -07:00
gitstart-twenty
549335054a
Chore: Duplicate certain user fields to workspaceMember (#1514)
* Move certain user fields to workspaceMember

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

* Merge main

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>

* Refactor according to review

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>

* Update the generated GraphQL

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

* Update hooks

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>

* Refactor according to review

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>

* Refactor according to review

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>

* Rework typing

* Fix tests

* Remove console logs

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-15 17:32:58 -07:00
Lucas Bordeau
0a7a0ac6cb
Refactor/context and scopes (#1602)
* Put onImport in a context

* Refactored RecoilScopeContexts

* Refactored naming

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-15 12:51:46 -07:00
Zoltán Völcsey
d07474ece7
fix: Removed margin-top on Member page (#1609) 2023-09-15 11:27:52 -07:00
gitstart-twenty
55ead78fbf
Fix: Bug with auto scroll (#1599)
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-15 17:52:43 +02:00
brendanlaschke
85a6d0aa12
Refactor action bar entries and context menu entries (#1608)
- refactored actionbar entries / context menu entries
2023-09-15 17:51:02 +02:00
Thaïs
955deaf878
feat: improve table options dropdown view name input (#1604)
- Always show view name input in dropdown
- Edit current view name by default
- Add focus style
- Reset view edit mode on dropdown close

Closes #1540
2023-09-15 17:26:00 +02:00
Zoltán Völcsey
d5e40e5fc8
feat: Added closeDropdownButton to the handleCompanySelected (#1605) 2023-09-15 17:22:52 +02:00
brendanlaschke
1be6ab2878
Reorder options menu board (#1606)
- reorder menu
2023-09-15 17:22:07 +02:00
Charles Bochet
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
Lucas Bordeau
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
Lucas Bordeau
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
Thaïs
2461a387ce
feat: persist board card fields (#1566)
Closes #1538
2023-09-14 15:06:15 -07:00
Charles Bochet
8a27fd6ca5 Fix bug opportunity new button company search 2023-09-13 21:41:48 -07:00
Charles Bochet
bdb6886818 Fix bug Opportunities add Plus button z-index 2023-09-13 19:33:10 -07:00
Charles Bochet
18fb66202a Fix column stage creation removed 2023-09-13 19:27:21 -07:00
Charles Bochet
f4c1acbca1 Fix a few bugs before deploy 2023-09-13 19:16:16 -07:00
Lucas Bordeau
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
Aditya Pimpalkar
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
Charles Bochet
6cc28b8e14 Fix merge conflict 2023-09-13 16:21:34 -07:00
Pranav
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
Thaïs
28e12d492c
feat: toggle board field visibilities (#1547)
Closes #1537, Closes #1539
2023-09-13 11:58:52 +02:00
Charles Bochet
67f1da038d
Refactor dropdown (#1561) 2023-09-13 10:30:33 +02:00
brendanlaschke
84b474c3cc
Number display formatting (#1556)
* number display formatting

* - add tests
2023-09-13 10:12:25 +02:00
gitstart-twenty
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
Zoltán Völcsey
92ef931d4d
fix: Removed autoFocus attribute (#1558) 2023-09-12 15:06:27 -07:00
Aditya Pimpalkar
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
Charles Bochet
e23b8ecca1 Fix bug with FilterDropdown on Tasks page 2023-09-12 12:26:47 -07:00
Lucas Bordeau
9b5e24105b
Refactor/display input part 2 (#1555)
* Email - Money - Number

* Date
2023-09-12 11:04:26 -07:00
Zoltán Völcsey
9b495ae2e8
fix: Removed autofocus (#1551) 2023-09-12 14:49:29 +02:00
Thaïs
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
Lucas Bordeau
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
Thaïs
110d5eaa9d
feat: only show Update View button if view can be persisted (#1533)
Closes #1499
2023-09-11 12:03:01 +02:00
Lucas Bordeau
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
Charles Bochet
08727aafe5 Fix tests 2023-09-10 20:16:04 -07:00
Charles Bochet
e69d4bde52 Fix opportunity views 2023-09-10 19:54:53 -07:00
Thaïs
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
Thaïs
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
Charles Bochet
c808eeca79
Complete useFilteredSearchQuery refactoring (#1531)
Complete useFilteredSearchQuery ref
actoring
2023-09-10 17:07:05 -07:00
Aditya Pimpalkar
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
Aditya Pimpalkar
b6eb280639
fix: POC assigning in opportunities (#1443)
* fix: opportunities-poc-select

* gql codegen

* code review changes
2023-09-10 16:08:44 -07:00
Charles Bochet
2e798ef2ee
Fix hotkey scope on task assignee (#1530) 2023-09-10 16:06:15 -07:00
Pepe
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
Charles Bochet
b0ae670ec4
Rework tab and tab list padding and gaps to match designs (#1529) 2023-09-10 12:55:25 -07:00
Zoltán Völcsey
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
brendanlaschke
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