Commit Graph

1079 Commits

Author SHA1 Message Date
Ayush Agrawal
77997674e5
Feat: Add "All assignees" in Task team member dropdown (#1763)
* implemented all select option FilterDropdownEntitySearchSelect and enabled it for tasks page filter

* created new filter operand IsNotNull for make a select all qraphql query, added internal state for tracking isAllEntitySelected

* used filterCurrentlyEdited to track if isAllEntitySelected is selected

* fixed filter button icon SelectAll Icon
2023-10-03 16:55:31 +02:00
David Kramer
aea088df16
eslint prettier error on windows #1798 (#1804)
* fixing es linter errors on windows

* Indentation

* Indentation

---------

Co-authored-by: kramer <david.kramer@gmail.com>
2023-10-03 16:48:52 +02:00
bosiraphael
8da0205bab
Renamed editable field to inline cell in ui folder (#1845)
* renamed editable field to inline cell in ui folder

* renamed table to table-cell in ui folder
2023-10-03 16:26:20 +02:00
Thaïs
e63f8eac76
feat: add data model settings (#1817)
Closes #1760
2023-10-03 11:19:29 +02:00
Charles Bochet
37475f7c1b Fix bug non emptyable phones and urls 2023-10-02 17:32:16 +02:00
Ayush Agrawal
965a6b7c57
Fix: Table / Board createView bug (#1782)
* fix createView for tables and board page

* removed residual console.log from InlineCell component
2023-10-02 17:23:30 +02:00
David Kramer
e12e7754e4
Fix board column title edit optimistic rendering #1745 (#1780)
adding update of state as well

Co-authored-by: kramer <david.kramer@gmail.com>
2023-09-30 18:29:41 +02:00
brendanlaschke
6871cd0df3
Fix task creation show page (#1775)
- fixed task creation show page
2023-09-30 08:32:45 +02:00
brendanlaschke
e3485cc609
Fix: Consistent avatars for show pages (#1776)
- consistent avatars for show pages
2023-09-30 08:32:00 +02:00
brendanlaschke
c06712f161
Chore: eslint forbid useHotkeys (#1777)
- add eslint rule
2023-09-30 08:25:34 +02:00
Ayush Agrawal
a287a5bc8a
Feat: I can add a favorite directly from my table (#1747)
* implented add/remove favorite in context menu

* clear selected rows after favorite button click, context menu width 200px when remove from favorites is shown

* Update front/src/modules/ui/context-menu/components/ContextMenu.tsx
2023-09-29 18:33:28 +02:00
Thaïs
4e181aa40e
feat: lazy load IconPicker icons (#1753)
Closes #1750
2023-09-29 16:23:36 +02:00
Charles Bochet
b52190c707
Fix people creation from People table page (#1773) 2023-09-29 16:21:30 +02:00
brendanlaschke
35ff695471
Added hint for cmdk-menu (#1743)
* - added hint for cmdk-menu

* - design
2023-09-29 11:23:14 +02:00
David Kramer
ed86cec1e8
Fix design EditableCell 'Hover', 'Focus' and 'Edit Mode' #1663 (#1740)
* fixed styling  EditableCell

* adding same solution

* removing shadow to cover top and bottom

* fixing with outline

* fixing width

---------

Co-authored-by: kramer <david.kramer@gmail.com>
2023-09-29 10:02:54 +02:00
brendanlaschke
485bc64b4f
POC: Save view as url param (#1710)
* - save view as url param

* - fix tests
2023-09-28 11:50:44 +02:00
gitstart-twenty
b2bac0b217
Add a type on CatalogDecorator (#1742)
* Add a type on CatalogDecorator

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

* Type more catalogs

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
2023-09-28 11:44:55 +02:00
Lucas Bordeau
aa0c61bed9
Removed unused feature flag (#1744) 2023-09-28 11:21:16 +02:00
gitstart-twenty
0be07a8928
Delete Opportunities column + Improving design of BoardColumnEditTitleMenu (#1737)
* Delete Opportunities column + Improving design of BoardColumnEditTitleMenu

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

* Remove unwanted changes

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-28 11:18:18 +02:00
Ronit Panda
2dbce935ba
test: adds test to check if adding a new company or people works (#1714)
* test: adds test to check if adding a new company or people works

* test: improves people/add and companies/add tests

* style: cleanup

* style: cleanup
2023-09-28 11:17:25 +02:00
Lucas Bordeau
cbadcba188
FieldDisplay & FieldInput (#1708)
* Removed view field duplicate types

* wip

* wip 2

* wip 3

* Unified state for fields

* Renaming

* Wip

* Post merge

* Post post merge

* wip

* Delete unused file

* Boolean and Probability

* Finished InlineCell

* Renamed EditableCell to TableCell

* Finished double texts

* Finished MoneyField

* Fixed bug inline cell click outside

* Fixed hotkey scope

* Final fixes

* Phone

* Fix url and number input validation

* Fix

* Fix position

* wip refactor activity editor

* Fixed activity editor

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-27 18:18:02 +02:00
Thaïs
d9feabbc63
feat: add IconPicker (#1730)
* feat: add IconPicker

Closes #1657

* fix: fix front lint errors

* refactor: rename selectedIconName to selectedIconKey
2023-09-27 17:56:49 +02:00
Aditya Pimpalkar
46ad36061e
feat: reorder kanban columns (#1699)
* kaban header options

* gql codegn

* moveColumn hook refactor

* BoardColumnContext addition

* saved board columns state

* db call hook update

* lint fix

* state change first db call second

* handleMoveTableColumn call

* codegen lint fix

* useMoveViewColumns hook

* useBoardColumns db call addition

* boardColumns state change from BoardHeader

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-27 15:59:44 +02:00
Charles Bochet
1e716bf6d6 Fix tests 2023-09-27 15:44:47 +02:00
Pepe
ee108ccbf2
Add a hover on Show Person Avatar (#1631)
* 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

* Add onClick in Avatar.tsx

* Comments solved

* Solve conflicts

* Update front/src/modules/users/components/Avatar.tsx

* Update front/src/modules/users/components/Avatar.tsx

* Update front/src/modules/users/components/Avatar.tsx

* Update front/src/modules/users/components/Avatar.tsx

* Update front/src/modules/users/components/Avatar.tsx

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-27 15:33:39 +02:00
brendanlaschke
9282885233
Fix cmd menu tests (#1739)
* - fix tests

* -  fixed header

* - lint
- fixed catalog menuitemcommand

* - fix prop destructuring in test

* - combine  single/multiple create and goto commands
2023-09-27 15:19:33 +02:00
Ayush Agrawal
96865b0fec
Fix: When opening a filter, the focus is not put on the input search / filter input (#1731)
* Fixes #1718

* implemented review changes
2023-09-26 15:01:50 +02:00
Ronit Panda
8639cb921e
Chore: corrects syntax for type only imports (#1716)
* chore: removes replaces 'import type xxx from 'xxx'' with 'import { type xxx} from 'xxx'''

* chore: remove typed imports

* chore: remove typed imports

* chore: cleanup

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-09-26 11:47:35 +02:00
gitstart-twenty
f60c209e39
Chore(backend): Enable attaching attachments to companies and people (backend) (#1726)
Enable attaching attachments to companies and people (backend)

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-26 11:39:13 +02:00
gitstart-twenty
ba86be2c5b
Remove the {...props} pattern and props coupling, and create an eslint rule for that (#1733)
* Remove the {...props} pattern and props coupling, and create an eslint rule for that

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

* Add another test to the new rule

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
2023-09-26 11:05:33 +02:00
Ayush Agrawal
cd20a437d8
Fix: Command menu keeps the last input (#1723)
Fix/Command menu keeps the last input
2023-09-25 15:40:28 +02:00
gitstart-twenty
fabbe7ddf2
Chore: First table column should not be hideable (#1711)
* First table column should not be hideable

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>

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
2023-09-25 12:26:41 +02:00
Ronit Panda
0ce11b6908
fix: adds cursor pointer to table column header (#1715)
* fix: adds cursro pointer to table column header

* fix: lifts up the onclick handler to header not tag making consistent with other tables
2023-09-25 12:25:03 +02:00
brendanlaschke
0ff535af2d
Fix hover on standalone button FloatingIconButtonGroup (#1709)
- fix hover on standalone button FloatingIconButtonGroup
2023-09-25 11:15:14 +02:00
gitstart-twenty
f777fa22e9
Create consistent ui/input and ui/display for Cell and Fields type : … (#1658)
* Create consistent ui/input and ui/display for Cell and Fields type : Probability, DoubleText, DoubleTextChip

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

* Move components to `ui/input`

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

* Update imports in ProbabilityEditableFieldEditMode

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

* Refactor according to review

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

* Create consistent ui/input and ui/display for Cell and Fields type : Probability, DoubleText, DoubleTextChip

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

* Merge main

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

* Add more refactors

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

* Refactor according to review

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-25 11:10:14 +02:00
Thaïs
1c3897848f
fix: fix table columns resize glitches on slow network (#1707)
Fixes #1580
2023-09-22 19:45:29 +02:00
brendanlaschke
20267f081a
Fix command menu keyboard input & refactor group (#1706)
* - fix command menu keyboard shortcuts
- refactor command groups

* - refactor the MenuItemCommand to use cmdk

* - fixed matching commands multiple displays

* - fixed array count problems react with boolean
2023-09-22 11:44:42 +02:00
brendanlaschke
54042a7d8f
Fix drag to select in dropdowns, context menu and action bar (#1704)
- fix drag to select disable at many locations
2023-09-21 14:22:13 -07:00
Charles Bochet
043fe3a7ab Fix tests 2023-09-21 14:21:00 -07:00
Thaïs
ab0cdbf960
feat: persist table columns on change (#1697)
* feat: persist table columns on change

Closes #1580

* fix: fix drag-and-select on Table Options dropdown toggle
2023-09-21 13:15:57 -07:00
Nafees Nazik
a59f5acd5e
fix: Update company picker keyboard navigation (#1628)
* fix: scroll

* fix: use ref

* fix: new changes

* fix: remove ref

* fix: state

* chore: clean up

* Include Empty option

* Include Empty option

* Include Empty option

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-21 12:53:07 -07:00
Charles Bochet
7ce03ffdd1
Refactor tests command menu (#1702)
* Fix tests

* Refactor tests command menu

* Improve tests

* Fix optimistic render breaking tests
2023-09-21 11:53:36 -07:00
Rishi Raj Jain
b5b46f923a
fix: Command bar is broken (#1617)
* Update CommandMenu.tsx

* remove broken states

* convert to array

* convert filter conditions

* empty condition

* finally

* update the logic

* add test

* lint

* move file
2023-09-21 11:18:44 -07:00
gitstart-twenty
9ab412116d
Fix tasks filters (#1676)
* Fix tasks filters

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

* Refactor according to review

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

* Simplify condition

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-20 23:09:48 -07:00
Yaswanth
dafe08ef78
fix: dark mode for MainButton (#1681)
* fix: dark mode for MainButton

* Fix colors

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-20 17:22:13 -07:00
Charles Bochet
07f589d521 Fix bug optimistic rendering 2023-09-20 16:53:46 -07:00
Charles Bochet
708391460c
Fix optimistic effects to work with fragments (#1683)
* Fix optimistic effects to work with fragments

* Regenerate
2023-09-20 16:13:54 -07:00
Thaïs
772d54d29f
feat: add DropdownMenuInput and use as view name input in board (#1680)
Closes #1510
2023-09-20 12:53:35 -07:00
gitstart-twenty
78b666f457
Fix front end (#1678)
* Fix front

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

* Fix according to PR

* Fix tests

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-20 12:46:40 -07:00
Thaïs
a20ca95f32
feat: reset Recoil state on logout (#1675)
Closes #1452
2023-09-20 15:26:11 +02:00
neo773
d8590bb358
Add 'Esc' hotkey behavior on Filter and Sorts dropdown (#1622)
* fix esc key

* add changes

* add changes

* add changes
2023-09-20 11:40:49 +02:00
gitstart-twenty
103fb701e7
Chore: Use Fragments as types (#1670)
* Use Fragments as types

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

* Use Fragments as types in GraphQL queries and mutations

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-20 10:58:59 +02:00
Thaïs
3f600146b1
fix: fix some views dropdown design issues (#1648)
* fix: fix some views dropdown design issues

Closes #1610, Closes #1601

* Handle max-width on view picker

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-19 20:01:01 -07:00
Charles Bochet
3bde7bc252
Fast follow on draggable column re-order (#1667) 2023-09-19 18:55:01 -07:00
Charles Bochet
b0973afc64 Fix deploy CI 2023-09-19 16:57:22 -07:00
Charles Bochet
8c21dc8bba
Refactor fast follow on column move feature (#1665)
* Refactor fast follow on column move feature

* Fix lint
2023-09-19 16:42:11 -07:00
Aditya Pimpalkar
cb05b1fbc9
feat: reorder columns from table options (#1636)
* draggable prop addition

* draggable component addition

* state modification

* drag select state addition

* changed state name

* main merged

* lint fix

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-19 15:31:21 -07:00
Aditya Pimpalkar
321488ad3c
feat: Column title menus (#1616)
* view field index to float

* gql codegen and package.json

* list implementation

* db call

* reposition logic

* lint fix

* edge case fix

* review changes

* handleColumnMove refactor

* dropdown recoil scope

* rename props

* Update server/src/database/migrations/20230727124244_add_view_fields_table/migration.sql

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-19 15:27:02 -07:00
Charles Bochet
fc139f89ab Fix CI tests 2023-09-19 15:19:33 -07:00
Charles Bochet
772711154d
Fix bug company update (#1664) 2023-09-19 14:59:08 -07:00
Ritesh-Purwar
07684c4f08
change tabler-icons (#1649) 2023-09-19 16:19:44 +02:00
gitstart-twenty
d8930f7079
Write Storybook test for @/ui/navbar (#1632)
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-18 19:28:53 -07:00
Charles Bochet
645f2b42c2
Boost CI (#1643)
* Boost CI

* Split CI tests in 2

* Try caching node modules

* Try caching node modules

* Try caching node modules

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Separate jest tests

* Fix typo

* Re-order tests jobs
2023-09-18 19:07:38 -07:00
Lucas Bordeau
3c4ab605db
Fix eslint-plugin-twenty (#1640)
* Fixed color rule

* Fixed naming

* Fix effect component rule

* Deactivated broken rules

* Fixed lint

* Complete eslint-plugin-twenty work

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-18 16:38:57 -07:00
Charles Bochet
7fa80c5f71 Fix eslint setup 2023-09-17 08:28:05 -07:00
Anik Dhabal Babu
84eaa45027
fix: Migrate all rules from eslint-plugin-twenty to eslint-plugin-twenty-ts (#1618)
* migrate rules

* fix

* final

* final
2023-09-17 08:13:05 -07:00
Chigala
aaa63b3820
feat: added a dropDownCloseEffect component (#1621)
* feat: added a dropDownCloseEffect component

* Delete yarn.lock

* refactor: moved the DropdownCloseEffect inside the Dropdown button as a hook

* refactor: moved the DropdownCloseEffect to the DropdownButton jsx
2023-09-17 08:09:05 -07:00
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
gitstart-twenty
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
Charles Bochet
89fed80537
fix case HotkeyScope to hotkeyScope (#1528) 2023-09-09 18:22:53 -07:00
Thaïs
86ff522e74
refactor: improve IconButtonGroup and FloatingIconButtonGroup (#1518)
Closes #1411
2023-09-08 17:16:27 +02:00
Thaïs
df17da80fc
refactor: add ViewBar and move view components to ui/view-bar (#1495)
Closes #1494
2023-09-08 11:57:16 +02:00
Thaïs
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
Andrea Giacon
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
gitstart-twenty
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
Charles Bochet
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
Lucas Bordeau
392c8052b2
Fixed Table view dropdown (#1497) 2023-09-07 22:39:53 +02:00
brendanlaschke
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
Mustajab Ikram
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
Pepe
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
Thaïs
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
Lucas Bordeau
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
Thaïs
5c7660f588
feat: create default opportunities view on workspace creation + add seed data (#1461)
Closes #1314
2023-09-06 12:05:33 +02:00
Jérémy M
08b56ec7e2
fix: can't set ARR of company to empty (#1474) 2023-09-06 11:22:42 +02:00
Charles Bochet
91e146ed3e
Fix Profile picture uploader (#1471) 2023-09-06 11:03:25 +02:00
Jérémy M
cbcb49cd1e
fix: allow null value for number and date (#1472) 2023-09-06 11:03:12 +02:00
Charles Bochet
f332c3bee2
Fix View update button not being displayed in View Bar (#1469) 2023-09-06 10:37:29 +02:00
Jérémy M
c05d24d249
fix: table view dropdown should have a minimum width (#1467) 2023-09-06 10:37:02 +02:00
Jérémy M
85c8139c05
fix: double text chip show null value (#1460) 2023-09-05 17:55:29 +02:00
Jérémy M
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
Jérémy M
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
Thaïs
b3887c6bcc
fix: use correct table view when switching workspaces (#1447)
Closes #1441
2023-09-05 12:40:45 +02:00
gitstart-twenty
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
Jérémy M
0ec4b78aee
feat: add recoil debug observer (#1446)
* feat: add recoil debug observer

* fix: convention
2023-09-05 10:00:19 +02:00
Matthew
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
Jérémy M
732b5a5ddf
fix: avatar disappear when editing a person (#1440) 2023-09-05 09:52:06 +02:00
Jérémy M
421066c4b8
fix: Boolean editable field not align properly (#1444) 2023-09-05 09:50:23 +02:00
Jérémy M
33c67214d6
fix: tasks "Done" not visible (#1445) 2023-09-05 09:46:14 +02:00
Charles Bochet
d04c661ffd
Fix buttons and z-index (#1438)
* Fix buttons

* Remove useless code
2023-09-04 17:52:03 +02:00
Jérémy M
2eac5df05b
fix: big view name is not handled (#1439)
* fix: big view name is not handled

* fix: smaller max size
2023-09-04 17:47:32 +02:00
Jérémy M
6cf46cfdf5
fix: just change the order to match design (#1410)
* fix: just change the order to match design

* fix: view field definition change
2023-09-04 17:46:24 +02:00
Jérémy M
4889a69751
fix: DatePicker cut in DropDownMenu (#1437)
* fix: DatePicker cut in DropDownMenu

* fix: better solution
2023-09-04 17:42:46 +02:00
Thaïs
a1e6e46388
fix: allow access to the Update View button when a table column can be persisted (#1433)
Closes #1432
2023-09-04 17:08:04 +02:00
Jérémy M
85156ce9ae
fix: allow zero value on number field (#1436)
* fix: allow zero value on number field

* fix: test
2023-09-04 17:03:31 +02:00
Thaïs
8e22ffd021
fix: fix dropdown buttons z-index (#1431)
Closes #1430, Closes #1422
2023-09-04 16:51:12 +02:00
Thaïs
96a0f30e98
feat: delete pipeline stage (#1412)
* feat: delete pipeline stage

Closes #1396

* refactor: code review

- Use string literal instead of enum

* docs: disable CircularProgressBar Chromatic snapshots
2023-09-04 16:39:01 +02:00
Ragnar Laud
1a71f61d24
Fix column not being saved properly (#1429)
* Fix email column not being saved

* Fix URL fields not being clearable

* Fix phone number clearing
2023-09-04 15:42:10 +02:00
Jérémy M
3a0f02f2f2
feat: table virtualization (#1408)
* feat: poc table virtualization

* feat: table virtualization

* feat: add overscan of 15

* fix: increase overscan to 50

* fix: dead code

* fix: debug mode

* feat: styled space
2023-09-04 13:33:02 +02:00
gitstart-twenty
9a35b1fa44
In Activities (Tasks / Notes) right drawer, while editing the body and displaying the styling bar, the bar should styling not be larger than the right drawer (#1414)
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>
2023-09-04 11:54:08 +02:00
Jérémy M
c0cb3a47f3
Fix/csv import (#1397)
* feat: add ability to enable or disable header selection

* feat: limit to max of 200 records for now

* fix: bigger modal

* feat: add missing standard fields for company

* fix: person fields

* feat: add hotkeys on dialog

* feat: mobile device

* fix: company import error

* fix: csv import crash

* fix: use scoped hotkey
2023-09-04 11:50:12 +02:00
Thaïs
f29d843db9
feat: add board options dropdown and pipeline stage creation (#1399)
* feat: add board options dropdown and pipeline stage creation

Closes #1395

* refactor: code review

- remove useCallback
2023-09-04 11:37:31 +02:00
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