Commit Graph

337 Commits

Author SHA1 Message Date
Jérémy M
1144bd13ed
feat: onboarding & profile edition (#507)
* feat: wip onboarding

* fix: generate graphql front

* wip: onboarding

* feat: login/register and edit profile

* fix: unused import

* fix: test

* Use DEBUG_MODE instead of STAGE and mute typescript depth exceed errors

* Fix seeds

* Fix onboarding when coming from google

* Fix

* Fix lint

* Fix ci

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-06 17:05:15 -07:00
Jérémy M
0b7a023f3d
fix: missing client query (#524) 2023-07-05 17:20:12 +02:00
Charles Bochet
3db15929a5
Hot Fix merge conflicts (#523) 2023-07-05 16:58:47 +02:00
Deepak Singh
6e1ffdcc72
feat: Skeleton loading #404 (#458)
* feat: Skeleton loading #404

* fix: skeleton loading

* fix: skeleton loading

* feat: Skeleton loading #404

* fix: skeleton loading

* fix: skeleton loading

* Update CompanyPickerSkeleton.tsx

* updated changes
2023-07-05 15:50:36 +02:00
Deepak Singh
9c09da18db
fix: Create a client config function that is retrieved when app is loading (#496)
* fix: Create a client config function that is retrieved when app is loaded

* update index.tsx

* fixed linter issues
2023-07-05 00:28:59 +02:00
Emilien Chauvet
d83313cd93
Add hover effect for navbar collapsable button (#492) 2023-07-04 18:28:32 +02:00
Lucas Bordeau
820ef184d3
Refactor/filters (#498)
* wip

* - Added scopes on useHotkeys
- Use new EditableCellV2
- Implemented Recoil Scoped State with specific context
- Implemented soft focus position
- Factorized open/close editable cell
- Removed editable relation old components
- Broke down entity table into multiple components
- Added Recoil Scope by CellContext
- Added Recoil Scope by RowContext

* First working version

* Use a new EditableCellSoftFocusMode

* Fixes

* wip

* wip

* wip

* Use company filters

* Refactored FilterDropdown into multiple components

* Refactored entity search select in dropdown

* Renamed states

* Fixed people filters

* Removed unused code

* Cleaned states

* Cleaned state

* Better naming

* fixed rebase

* Fix

* Fixed stories and mocked data and displayName bug

* Fixed cancel sort

* Fixed naming

* Fixed dropdown height

* Fix

* Fixed lint
2023-07-04 13:54:58 +00:00
Emilien Chauvet
580e6024d0
Fix drag and drop for opportunity board (#503) 2023-07-03 16:40:51 -07:00
Emilien Chauvet
db5dfb3bdf
Enable opportunity card deletion (#490)
* Add checkbox

* Add state management for selected opportunities

* Use recoil for selected items state, show action bar

* Deduplicate code

* Add delete action

* Enable delete

* Add color for selected cards

* update board state on delete

* Add stories

* Enable empty board

* Fix story

* Handle dark mdoe

* Nits

* Rename module

* Better naming

* Fix naming confusion process<>progress
2023-07-03 23:11:39 +02:00
Félix Malfait
c871d1cc10
Commandbar and dark mode UI fixes (#491)
* Improve dark mode

* Improve commandbar style and add interactions
2023-07-01 08:38:45 -07:00
Charles Bochet
8684a8d517
Fix hotkeys blocking comments (#487)
* Fix hotkeys blocking comments

* Fix tests
2023-07-01 02:09:49 +03:00
Jérémy M
19a1f2b9f8
feat: ui settings (#465) 2023-06-30 09:35:01 +00:00
Jérémy M
91608a37f2
fix: fix auth in prod env (#481) 2023-06-30 09:34:45 +00:00
Jérémy M
cca36cf50f
fix: rename event module into analytics and clean (#482) 2023-06-30 09:24:05 +00:00
Jérémy M
8e319900d0
fix: github actions (#483)
fix: test unused
2023-06-30 11:35:59 +03:00
Jérémy M
433962321a
feat: onboarding ui flow (#464)
* feat: onboarding ui flow

* fix: route naming and auth

* fix: clean unused imports

* fix: remove react.fc

* fix: infra dev remove package.json

* fix: remove usefull memoization

* fix: button stories

* fix: use type instead of interface

* fix: remove debug
2023-06-30 06:26:06 +00:00
Félix Malfait
3731380ce6
Fix tests on main (#479) 2023-06-29 22:30:56 -07:00
Félix Malfait
eb7fb2ba8e
Add Telemetry (#466)
* Telemetry v1

* Add package-lock.json to gitignore
2023-06-29 17:36:48 -07:00
Charles Bochet
74ea2718ca
Fix table focus taking over auth and filter and sort (#478) 2023-06-30 00:24:06 +03:00
Emilien Chauvet
30fd3320b7
Rename test commands (coverage storybook) (#476)
* Rename test commands

* Add coverage command in doc
2023-06-29 14:06:15 -07:00
Morning1139Angel
695ddd7a92
Func style allowing arrow (#461)
* eslint func-style rule added to server

* eslint func-style rule added to front-end
2023-06-29 11:19:03 -07:00
Jérémy M
097b278b11
fix: add firstName and lastName to user model (#473)
* fix: add firstname and lastanme to user model

* fix: avoid undefined in displayName resolve field

* fix: user firstName and lastName instead of firstname lastname

* fix: person table proper naming firstName lastName

* fix: migrate front with firstName and lastName

* fix: make front-graphql-generate not working
2023-06-29 15:11:15 +00:00
Charles Bochet
aa612b5fc9
Add tab hotkey on table page (#457)
* wip

* wip

* - Added scopes on useHotkeys
- Use new EditableCellV2
- Implemented Recoil Scoped State with specific context
- Implemented soft focus position
- Factorized open/close editable cell
- Removed editable relation old components
- Broke down entity table into multiple components
- Added Recoil Scope by CellContext
- Added Recoil Scope by RowContext

* First working version

* Use a new EditableCellSoftFocusMode

* Fixed initialize soft focus

* Fixed enter mode

* Added TODO

* Fix

* Fixes

* Fix tests

* Fix lint

* Fixes

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-06-28 14:06:44 +02:00
Charles Bochet
a6b2fd75ba
Enable comment deletion on CommentDrawer (#460)
* Enable comment deletion on people and companies page

* Add storybook test
2023-06-27 18:00:14 +02:00
Jérémy M
c9038bb93a
Front small ui fixes (#428)
* fix: add ellipsis in all table cells

* fix: workspace click redirect to home

* fix: add company chip story and edit comment cell story

* fix: remove cursor pointer on workspace name

* fix: snoop pill height

* fix: rebase
2023-06-27 17:56:48 +02:00
Deepak Singh
7a880bc9e8
fix: Correct space between menu icons and menu items text #423 (#456)
* fix: Correct space between menu icons and menu items text #423
2023-06-27 07:40:12 -07:00
Charles Bochet
d6364a9fdd
Apply new theme (#449)
* Apply new theme

* Fix storybook

* Fixes

* Fix regressions
2023-06-26 19:13:04 -07:00
Deepak Singh
2a42ebb70d
fix: Correct sorting sub-menu font-size #426 (#430) 2023-06-26 11:10:08 -07:00
Félix Malfait
827d6390e4
Refactoring shortcuts and commandbar (#412)
* Begin refactoring shortcuts and commandbar

* Continue refacto hotkeys

* Remove debug logs

* Add new story

* Simplify hotkeys

* Simplify hotkeys

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-25 22:25:31 -07:00
Charles Bochet
9bd8f6df01
Design fixes (#422) 2023-06-25 20:02:09 -07:00
Charles Bochet
643d090091
A few design fixes (#424) 2023-06-25 19:28:02 -07:00
Charles Bochet
f0bbfb11ee
Fix avatar storybook issue + fix Autosize input send button color (#389)
* Fix avatar storybook issue + fix Autosize input send button color

* Fix storybook font-size
2023-06-25 14:58:34 -07:00
Charles Bochet
9c21975d2b
Fix comment creation bug (#371) 2023-06-24 11:18:13 -07:00
Jérémy M
31145c5518
feat: align auth api with front convention (#370)
* feat: align auth api with front convention

* fix: email password auth

* fix: proper file naming

* Fix login

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-23 22:43:54 -07:00
Jérémy M
c6708b2c1f
feat: rewrite auth (#364)
* feat: wip rewrite auth

* feat: restructure folders and fix stories and tests

* feat: remove auth provider and fix tests
2023-06-23 08:49:50 -07:00
Lucas Bordeau
ceaf482f62
First working version of new dropdown UI (#360)
* First working version of new dropdown UI

* Removed consolelog

* Fixed test storybook

* Cleaned optional args
2023-06-23 10:39:16 +00:00
Charles Bochet
1b8b78d615
Various fixes (#362) 2023-06-22 14:57:08 -07:00
Charles Bochet
ba1dd07e53
Fix mock mode transition to regular mode on login (#361) 2023-06-22 14:09:51 -07:00
Lucas Bordeau
4a2797c491
Feat/account owner picker (#359)
* Added account owner picker

* Regenerated graphql files

* Fixed pickers staying in edit mode with a new generic hook

* Fixed lint
2023-06-22 19:47:04 +02:00
Charles Bochet
eb9be6894e
Redesign settings profile (#353)
* Redesign settings profile

* Fix spacing

* Fix Company creation
2023-06-21 23:50:24 -07:00
Félix Malfait
3c1851b3c9
Improve auth and seeds (#352)
* Improve seeds

* Autofill password on local environment

* Fix PR

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-21 23:47:24 -07:00
Charles Bochet
df6376dce0 Fix padding EditableCell DoubleText 2023-06-21 22:42:38 -07:00
Charles Bochet
817d6dcb05
Add ability to associate a new company to pipeline (#350)
* Add ability to associate a new company to pipeline

* Fix tests
2023-06-21 22:31:19 -07:00
Lucas Bordeau
e679f45615
Feat/single entity select relation picker (#345)
* - Implemented recoil scoped state
- Implemented SingleEntitySelect
- Implemented keyboard shortcut up/down select

* Added useRecoilScopedValue

* Fix storybook

* Fix storybook

* Fix storybook

* Fix storybook

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-21 13:29:07 -07:00
Charles Bochet
8a330b9746
Use Graphql types in FE and complete mappers removal (#348)
Fix Typescript build issues
2023-06-21 10:52:00 -07:00
Sammy Teillet
294b290939
338 on opportunities page when i associate a new company to a pipelinestage its persisted in db (#339)
* feature: add navigation for opportunities

* chore: add companies in pipeline seed

* feature: make the board scrollable

* feature: make the board scrollable vertically

* feature: remove board container

* feature: fix newButton style

* feature: add onClickNew method on board

* feature: call backend with hardcoded id for new pipeline progressable

* feature: refetch board on click on new

* feature: use pipelineProgressId instead of entityId to ensure unicity of itemKey

* feature: avoid rerender of columns when refetching
2023-06-20 19:27:02 -07:00
Charles Bochet
8790369f72
Implement Authentication with email + password (#343)
* Implement Login screen ui and add RequireNotAuth guard

* Perform login through auth/password-login flow
2023-06-20 19:17:31 -07:00
Charles Bochet
e2d8c3a2ec
Add tests on top of ui/buttons, ui/links and ui/inputs (#342) 2023-06-20 18:47:00 -07:00
Lucas Bordeau
e2eb40c1ea
Relation picker module (#335)
- Created a relation picker module
- Added a CustomeEntityForSelect type
2023-06-20 09:06:53 +00:00
Sammy Teillet
c120903a45
Persist update on board drag and drop (#328)
* chore: move dnd lib comment aligned with import

* feature: add onUpdate on board

* chore: remove multi entity pipelines

* feature: add pipelineProgressableType field

* feature: fetch progressableType in board

* feature: implement on update to persist progress change
2023-06-20 10:56:36 +02:00