Commit Graph

402 Commits

Author SHA1 Message Date
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
Emilien Chauvet
24bc2b72f9
Use seed for id generation in tests (#585)
* Use seed for id generation in tests

* Revert "Use seed for id generation in tests"

This reverts commit c5ae9ac6bf.

* Add hardcoded ids
2023-07-11 10:58:22 -07:00
Jérémy M
718ad721cf
feat: auth race condition & optimize ApolloFactory & too many pageview (#602) 2023-07-11 19:50:25 +02:00
Charles Bochet
55576cb638
Add possibility to invite members to workspace (#579)
* Add possibility to invite members to workspace

* Update endpoints

* Wrap up front end

* Fix according to review

* Fix lint
2023-07-10 23:33:15 -07:00
Charles Bochet
e1161e96a9
Fix right drawer bug (#584) 2023-07-10 21:46:20 -07:00
Emilien Chauvet
ebf5f67f63
Fix board card glitches (#583) 2023-07-10 20:24:57 -07:00
Lucas Bordeau
5f98b70c6a
Fix/scope hotkeys (#581)
* WIP

* asd

* Fix

* Fix lint

* Removed console log

* asd

* Removed isDefined

* Fix/debounce company card onchange (#580)

* Add internal state and debounce for editable text card

* Use debounce for date fields too

* Update refetch

* Nit

* Removed comments

* Ménage

---------

Co-authored-by: Emilien Chauvet <emilien.chauvet.enpc@gmail.com>
2023-07-11 01:53:46 +00:00
Emilien Chauvet
1c8aaff39d
Fix/debounce company card onchange (#580)
* Add internal state and debounce for editable text card

* Use debounce for date fields too

* Update refetch

* Nit
2023-07-11 03:19:46 +02:00
Charles Bochet
03c6d1f19d
Enable pipeline stage ordering (#577)
* Enable pipeline stage ordering

* Removing migration

* Remove Save button
2023-07-10 17:20:37 -07:00
Emilien Chauvet
eae583209e
Use correct Query name (#575) 2023-07-10 16:26:39 -07:00
Emilien Chauvet
aa252612c1
Run codegen (#574) 2023-07-10 16:21:13 -07:00
Charles Bochet
5d071187f5
Fix bug autofill title (#573)
* Fix bug autofill title

* Remove useless loading
2023-07-10 15:20:57 -07:00
Félix Malfait
25eeada92c
Design fixes (#555)
* Change placeholder color and design fixes for show page / sidebar

* Replace hardcoded border radiuses

* Improve border display for middle of button group

* Editor styling

* Editor font size

* Comment Bar positioning and remove scrollbar for 1px

* Add Comments section title

* Nit: match css style

---------

Co-authored-by: Emilien <emilien.chauvet.enpc@gmail.com>
2023-07-10 11:24:20 -07:00
Jérémy M
3079747c83
feat: colored avatar (#554)
* feat: colored avatar

* fix: use id instead of name & remove unused

* fix: remove unused

* Allow empty ID to avoid empty string

* Fix tests

* Add person chip story

---------

Co-authored-by: Emilien <emilien.chauvet.enpc@gmail.com>
2023-07-10 11:24:09 -07:00
Jérémy M
c9292365c0
feat: workspace update name and logo (#553)
* feat: workspace update name and logo

* fix: remove logs

* fix: disable warning until refacto

* Fix text

---------

Co-authored-by: Emilien <emilien.chauvet.enpc@gmail.com>
2023-07-10 11:23:58 -07:00
Félix Malfait
a2da3a5f09
Add ButtonGroup concept + Soon pill on button + implement in timeline (#551)
* Add ButtonGroup concept

* Add soon pill

* Fix incorrect wrapping behavior

* Implement button group in timeline
2023-07-10 14:06:35 +02:00
Jérémy M
c529c49ea6
Workspace member (#552)
* fix: clean small back-end issues

* fix: apollo factory causing infinite loop on token renew

* feat: small refactor and add ability to remove workspace member

* fix: test
2023-07-10 09:25:11 +00:00
Charles Bochet
f2c49907a8 Fix bug latency on commentThread title edition 2023-07-09 23:14:09 -07:00
Charles Bochet
5b532dcfe7 Fix bug latency on commentThread title edition 2023-07-09 22:49:21 -07:00
Félix Malfait
94a913a41f
Add "show company / people" view and "Notes" concept (#528)
* Begin adding show view and refactoring threads to become notes

* Progress on design

* Progress redesign timeline

* Dropdown button, design improvement

* Open comment thread edit mode in drawer

* Autosave local storage and commentThreadcount

* Improve display and fix missing key issue

* Remove some hardcoded CSS properties

* Create button

* Split company show into ui/business + fix eslint

* Fix font weight

* Begin auto-save on edit mode

* Save server-side query result to Apollo cache

* Fix save behavior

* Refetch timeline after creating note

* Rename createCommentThreadWithComment

* Improve styling

* Revert "Improve styling"

This reverts commit 9fbbf2db00.

* Improve CSS styling

* Bring back border radius inadvertently removed

* padding adjustment

* Improve blocknote design

* Improve edit mode display

* Remove Comments.tsx

* Remove irrelevant comment stories

* Removed un-necessary panel component

* stop using fragment, move trash icon

* Add a basic story for CompanyShow

* Add a basic People show view

* Fix storybook tests

* Add very basic Person story

* Refactor PR1

* Refactor part 2

* Refactor part 3

* Refactor part 4

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-09 22:25:34 -07:00
Félix Malfait
ca180acf9f
Update robots.txt (#549) 2023-07-09 14:37:49 -07:00
Emilien Chauvet
49c20907e8
Fix infinite loop when opening relation picker in comments pane (#548)
* Typo

* Remove hotkeys for relation picker
2023-07-08 20:09:00 -07:00
Charles Bochet
fffb8c99cb Fix right drawer not capture keys conflicting with app shortcuts 2023-07-08 20:05:02 -07:00
Charles Bochet
691da0ef57
Fix Opportunities page bug, make image urls support base64 (#547) 2023-07-08 18:43:55 -07:00
Lucas Bordeau
795bead1bb
Fix/relation picker (#546)
* FIx pickers

* Fix

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-08 18:43:41 -07:00
Charles Bochet
9d25d003ca
Bug Fix: company create from people + scroll settings (#545) 2023-07-08 18:15:39 -07:00
Emilien Chauvet
ce14d22744
Order users by first name (#543) 2023-07-08 18:09:29 -07:00
Lucas Bordeau
09efc49ef2
Fix text input bug (#544)
* Fix text input bug

* 200
2023-07-08 18:08:48 -07:00
Charles Bochet
be7731b71a
Upload Workspace logo during onboarding (#542)
* Upload image

* Upload image

* Fix tests

* Remove pictures from seeds

* Fix storybook

* Fix storybook

* Fix storybook
2023-07-08 16:46:04 -07:00
Lucas Bordeau
e03d5ed8a7
Refactor/inplace input (#541)
* wip

* Changed all other components

* Removed console log

* Console.log

* lint

* Removed internal state

* Fix

* Lint
2023-07-08 16:45:52 -07:00