Commit Graph

903 Commits

Author SHA1 Message Date
Alfred Louis
da68654caf
add new storybook for MenuItems component (#1898) 2023-10-06 12:02:19 +02:00
Ayush Agrawal
7574ad82fe
Fix: Wrong assignee on loading team member picker (#1894)
show only skeleton when loading
2023-10-06 11:06:05 +02:00
Ayush Agrawal
53021dc64f
Feat: Add tooltips on new column menu (#1893)
* implemented tooltip for view fields

* console.log
2023-10-06 11:04:39 +02:00
Thaïs
18e210b29b
feat: add active and disabled object tables to settings (#1885)
* feat: add active and disabled object tables to settings

Closes #1799, Closes #1800

* refactor: add align prop to TableCell
2023-10-05 22:19:08 +02:00
Charles Bochet
4ed77a9c51 Fix tests 2023-10-05 22:17:37 +02:00
Charles Bochet
07450df1a1
Add no-console eslint rule (#1890)
* Add no-console eslint rule

* Remove unused test
2023-10-05 21:16:02 +02:00
bosiraphael
922f8eca0e
1880 Refactored Dropdown components (#1884)
* updated DropdownButton props

* refactoring in progress

* working but layout is wrong

* fixed bug

* wip on ColumnHeadWithDropdown

* fix bug

* fix bug

* remove unused styled component

* fix z-index bug

* add an optional argument to DropdownMenu to control the offset of the menu

* add an optional argument to DropdownMenu to control the offset of the menu

* modify files after PR comments

* clean the way the offset is handled

* fix lint
2023-10-05 18:11:54 +02:00
Charles Bochet
a04bdc6824 Fix tests 2023-10-05 16:16:02 +02:00
Alfred Louis
73fa968595
fix:Menus go back button style fix (#1860)
* fix:Menus go back button style fix

* adjust padding

* use light icon button
2023-10-05 15:29:16 +02:00
Gokul Bansal
b2dd868046
Fix overlay positioning for 'Sort,' 'Filter,' and 'Options' menus #1521 (#1781)
* Fix overlay positioning for 'Sort,' 'Filter,' and 'Options' menus

* Fix according to review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-04 18:31:55 +02:00
Thaïs
7af306792b
feat: add Table and TableSection components (#1849)
* refactor: rename ui/table to ui/data-table

* feat: add Table and TableSection components

Closes #1806
2023-10-04 17:46:14 +02:00
Debdeep Pal
d217142e7e
Fixed #1818 [Tab list position glitch] (#1872)
Fixed #1818
2023-10-04 17:29:31 +02:00
Charles Bochet
13c8ee29f7
Refactor draggable list (#1874) 2023-10-04 17:29:18 +02:00
bosiraphael
f59dc75627
Create a storybook test for TextFieldDisplay (#1868)
* working on a story for MoneyFieldDisplay

* Write test on MoneyDisplayField

* add a story for TextFieldDisplay
2023-10-04 17:17:18 +02:00
Aditya Pimpalkar
93a01c7292
Chore: Improve dropdown draggable list (#1738)
* draggable menu item component

* Menu item isDragged prop removed

* Droppable list component

* Draggablee item component

* Drag and drop use refactor

* lint fix

* isDragDisabled check on DraggableItem

* revert changes on non visibility items

* MenuItemDraggable stroybook

* DraggableItem storybook

* lint fix

* lint fix

* BoardColumnMenu css fix

* showGrip prop addition

* isDragged css fix
2023-10-04 15:56:25 +02:00
brendanlaschke
1e402aca5f
Remove company avatar show page hover effect (#1857)
- remove company avatar show page hover effect
2023-10-04 15:49:25 +02:00
Tom Avalexing
8f41792918
fix: Team creation dialog is visible and closable (#1758)
* fix: Team creation dialog is visible and closable

* fix according to recs

* fix border-radius issue visible on dark theme

* rename to appropriate naming: hotkeyCloser

* no memoize
2023-10-04 15:10:23 +02:00
Tom Avalexing
56eea72110
fix count with opportunities page (#1839)
* fix count with opportunities page

* make unscoped atom entityCountInCurrentViewState
2023-10-04 15:04:53 +02:00
bosiraphael
46dffeadef
Adding storybook tests on meta-types/display/components (#1862)
* working on a story for MoneyFieldDisplay

* Write test on MoneyDisplayField
2023-10-04 13:26:06 +02:00
Charles Bochet
aab2f3ab3c Fix lint 2023-10-04 12:48:40 +02:00
Aman
bc3fe59312
feat: added an enlint rule to enforce no-type-import (#1838)
* feat: added an enlint rule to enforce no-type-import

* Update style-guide.mdx

---------

Co-authored-by: aman1357 <101919821+aman1357@users.noreply.github.com>
2023-10-04 11:06:54 +02:00
Charles Bochet
c433eb5d93
Bump version to 0.1.4 (#1851) 2023-10-04 10:51:59 +02:00
Ayush Agrawal
3336144245
Feat: First column style update (#1746)
reimplemented as per suggestions by lucas
2023-10-04 10:25:43 +02:00
Ayush Agrawal
5915189a5b
Fix: Cannot add some fields to companies table (#1853)
fixed add field to table when absent in db
2023-10-04 10:18:21 +02:00
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