Commit Graph

431 Commits

Author SHA1 Message Date
Emilien Chauvet
b313ba175d
Fix warnings for sorts (#735) 2023-07-18 17:17:11 +00:00
Thaïs
5d4fad2d96
feat: select line on checkbox container click (#732)
* feat: select line on checkbox container click

Closes #703

* Make onChange optional

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-18 10:00:48 -07:00
Thaïs
fdb2011a96
feat: add back button in company details top bar (#729)
* feat: add back button in company details top bar

Closes #636

* Add back button on person page

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-18 09:33:37 -07:00
Thaïs
434ea605a8
feat: close RightDrawer with ESC key (#719)
Closes #576
2023-07-18 09:02:08 -07:00
Jérémy M
4d37270e74
fix: background ugly white dot (#730) 2023-07-18 15:00:57 +02:00
Emilien Chauvet
e1b5463841
Add link to company page (#727)
* Add link to company page

* Have company chip background color matchin the card's

* Revert "Have company chip background color matchin the card's"

This reverts commit 8e9575fd933f9efb8d6614ec7287d6be28b81f7e.

* Create chip variants

* Lint

* code style

* Fix tests

* Fix tests

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-18 00:14:56 -07:00
Emilien Chauvet
6301bc2fbf
Feature/filter and sort board (#725)
* Get pipeline progress from stage IDs

* Rename hooks file

* Addd first amount filter

* Add remaining filters

* Design fixes

* Add filtering on creation date or amount

* Fix card updates and creations with the new state management

* Keep ordering when dropping a card

* Add remainint sorts

* Make board header more generic

* Move available filters and sorts to board options

* Fix decorators for test

* Add pipeline stage ids to mock data

* Adapt mock data

* Linter
2023-07-17 19:32:47 -07:00
Charles Bochet
9895c1d5d6 Fix clicks do not work anymore 2023-07-17 19:15:47 -07:00
Charles Bochet
a972705ce6
Improve test coverage and refactor storybook arch (#723)
* Improve test coverage and refactor storybook arch

* Fix coverage

* Fix tests

* Fix lint

* Fix lint
2023-07-17 17:14:53 -07:00
Lucas Bordeau
5b21657c4e
Feat/harmonize chips cell fields (#724)
* Wip

* Finished

* Fix lint
2023-07-17 17:14:09 -07:00
Thaïs
8b7314cd39
fix: fix kanban amount color (#717)
Fixes #673
2023-07-17 11:13:58 +02:00
Charles Bochet
b76047d255
Fix ImageInput object-fit, fix People page title (#712) 2023-07-17 06:25:41 +00:00
Charles Bochet
4cb856a180
Design fixes (#696)
* Design fixes

* Fix design

* unused code

* Fix tests
2023-07-16 17:36:40 -07:00
Charles Bochet
6ced8434bd
Uniformize folder structure (#693)
* Uniformize folder structure

* Fix icons

* Fix icons

* Fix tests

* Fix tests
2023-07-16 14:29:28 -07:00
Charles Bochet
900ec5572f Fix linter 2023-07-16 10:36:07 -07:00
Félix Malfait
11405f561f
Bug fix: avatar of account owner not displayed (#690)
* Begin - fix account owner not displayed

* Finish - profile pic of account owner not displayed
2023-07-16 10:03:19 -07:00
Charles Bochet
51d25c3e93 Fix merge conflict 2023-07-16 09:54:36 -07:00
Charles Bochet
037628ab1d
Enable Task creation (#688) 2023-07-16 09:39:52 -07:00
Charles Bochet
098cd038bd Fix bugs on pipeline new card creation and checkboxes not scrollable 2023-07-16 01:19:26 -07:00
Charles Bochet
fcdc82c07a Fix glitch on pipeline update stage title 2023-07-15 19:43:49 -07:00
Charles Bochet
a2fcc3082f Fix according to peer review 2023-07-15 19:33:59 -07:00
Emilien Chauvet
91c8068db1
Enable column edition, and fix ordering (#683)
* Enable column edition, and fix ordering

* Move queries to services

* Add total amounts for board columns

* Refactor totals selector as a family

* Fix 0-index issue

* Lint

* Rename selector

* Remove useless header

* Address PR comments

* Optimistically update board column names
2023-07-15 19:32:16 -07:00
Lucas Bordeau
be21392737
Feat/company card fields (#686)
* wip

* Ok

* asd

* Fixed cancel submit

* Renamed

* Fixed
2023-07-15 19:17:31 -07:00
Félix Malfait
7959308e0b
Add search to cmd bar (#667)
* Move useFilteredSearchEntityQuery from relation picker to search module

* refactor duplicated code with useFilteredSearchCompanyQuery

* Implement similar pattern for people than for companies with useFilteredSearchEntityQuery

* Fix warning from a previous PR

* Enable search from menu

* Add companies to search

* Fix ESLint

* Refactor

* Fix according to peer review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-15 15:23:37 -07:00
Charles Bochet
b982788100
Fix checkbox issues (#681)
* Fix checkbox issues

* Fix theme
2023-07-15 14:16:02 -07:00
Charles Bochet
2bbcf6980a
Fix pipeline bug on scroll (#666)
* Fix pipeline bug on scroll

* Fix lint

* Fix lint
2023-07-15 11:00:32 -07:00
Emilien Chauvet
efd4ed16d6
Update checkbox API (#663)
* Update checkbox API

* Fix test
2023-07-14 18:44:32 -07:00
Charles Bochet
b971464fe5
Design fixes (#665) 2023-07-14 18:43:16 -07:00
Emilien Chauvet
0a319bcf86
Refacto board (#661)
* Refacto pipeline progress board to be entity agnostic

* Abstract hooks as well

* Move files

* Pass specific components as props

* Move board hook to the generic component

* Make dnd and update logic part of the board

* Remove useless call and getch pipelineProgress from hook

* Minot

* improve typing

* Revert "improve typing"

This reverts commit 49bf7929b6.

* wip

* Get board from initial component

* Move files again

* Lint

* Fix story

* Lint

* Mock pipeline progress

* Fix storybook

* WIP refactor recoil

* Checkpoint: compilation

* Fix dnd

* Fix unselect card

* Checkpoint: compilation

* Checkpoint: New card OK

* Checkpoint: feature complete

* Fix latency for delete

* Linter

* Fix rebase

* Move files

* lint

* Update Stories tests

* lint

* Fix test

* Refactor hook for company progress indexing

* Remove useless type

* Move boardState

* remove gardcoded Id

* Nit

* Fix

* Rename state
2023-07-14 17:51:16 -07:00
Charles Bochet
e93a96b3b1
Refactor hotkyes in its own lib folder (#660)
* Refactor hotkyes in its own lib folder

* Lint

* Fix PR comments

* rename hotkeysScope into hotkeyScope
2023-07-14 12:27:26 -07:00
Félix Malfait
7bcea343e2
Design fixes for #615 and #637 (#658)
Fixes #615 and #637
2023-07-14 12:36:48 +02:00
Emilien Chauvet
ff69b17210
Reorder company columns (#656) 2023-07-13 21:41:12 -07:00
Jérémy M
03364330d1
feat: snack-bar component (#626)
* feat: SnackBarProvider and queuing

* feat: use snack bar on onboarding errors

* feat: workspace copy use snackBar

* fix: remove magic number
2023-07-14 04:27:09 +00:00
Charles Bochet
551c3b5e60
Persist table cell values on cell close (#655)
* Persist table cell values on cell close

* Apply to all cells
2023-07-14 06:20:08 +02:00
Thaïs
ca1723f2e6
fix: fix cell border radius on soft focus (#649)
* refactor: add RootDecorator

* docs: add EditableCellText stories

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-07-14 00:03:23 +02:00
Lucas Bordeau
d70234f918
Fix/table remove and mock data (#653)
* Removed tanstack react table

* Fixed remove table feature without tanstack table

* Fixed delete people and companies

* Fixed hotkeys on editable date cell

* Fixed double text

* Fixed company mock mode

* Fixed lint

* Fixed right click selection
2023-07-13 12:43:00 -07:00
Félix Malfait
e8bd3b7a14
Design improvements (#645)
* Redesign checkbox components

* Fix spacing issue

* Fix cell hover color in dark mode

* Revert column order change because of commit conflict
2023-07-13 21:00:12 +02:00
Félix Malfait
15685018df
Fix dark mode background (#643) 2023-07-13 20:57:26 +02:00
Lucas Bordeau
734e18e01a
Refactor/remove react table (#642)
* Refactored tables without tan stack
* Fixed checkbox behavior with multiple handlers on click
* Fixed hotkeys scope
* Fix debounce in editable cells
* Lowered coverage

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-13 17:08:13 +00:00
Jérémy M
e7d48d5373
Add validation on onboarding flow inputs (#556)
* feat: wip react-hook-form

* feat: use react-hook-form for password login

* feat: clean regex

* feat: add react-hook-form on create workspace

* feat: add react-hook-form on create profile page

* fix: clean rebased code

* fix: rebase issue

* fix: add new stories to go over 65%

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-12 16:53:48 -07:00
Emilien Chauvet
ab3d326000
Set title and icon for topbar (#627) 2023-07-12 14:40:29 -07:00
Félix Malfait
e7a0f60ea0
Add total deal amount on top of pipeline column (#622)
Add total on top of pipeline column
2023-07-12 09:22:25 -07:00
Félix Malfait
1c3d68a537
Add click to reveal password (#624) 2023-07-12 07:59:01 -07:00
Félix Malfait
daad2bab75
Fix spacing issue on show page (#623) 2023-07-12 07:54:16 -07:00
Deepak Singh
6f90046779
fix: BUG - Left drawer profile menu item not hovered (#625) 2023-07-12 14:09:37 +02:00
Lucas Bordeau
5e0e449e4c
Fix/table rerenders (#609)
* Fixed top bar rerenders

* Fixed rerender on editable cell

* Fix lint

* asd

* Fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-11 20:51:24 -07:00
Emilien Chauvet
b5de2abd48
Move filter and sort compoenets in a separate lib (#612)
* Move filter and sort compoenets in a separate lib

* Add SortAndFilterBar to the filter lib

* Abstract hotkeys scopes

* Fix hotkeys on filters

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-11 20:42:15 -07:00
Emilien Chauvet
e8d77833a7
Move code to a lib, remove table dependancy (#606)
* Move code to a lib, remove table dependancy

* Abstract yable context from filters

* Update missing hook

* Remove wording of active filter, simplify naming for edited filters

* lint
2023-07-11 17:05:08 -07:00
Charles Bochet
4150a7bb51
Fixing BlockNote readability darkMode + fixing impossible to create cards for companies without name or domainName (#605)
fix-first-feedbacks
2023-07-11 14:33:15 -07:00
Emilien Chauvet
14caaf298a
Feat/add invite link (#603)
* Add UI for invite link

* Use invite link

* Isolate link component

* Improve UX
2023-07-11 13:35:43 -07:00