Commit Graph
100 Commits
Author SHA1 Message Date
Charles Bochet 74ea2718ca Fix table focus taking over auth and filter and sort (#478) 2023-06-30 00:24:06 +03:00
Charles BochetandLucas Bordeau 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
Charles Bochet d6364a9fdd Apply new theme (#449)
* Apply new theme

* Fix storybook

* Fixes

* Fix regressions
2023-06-26 19:13:04 -07:00
Charles Bochet 7f43b3d04f Enable workflow to run on fork pull requests (#435) 2023-06-26 10:21:51 -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 3c5a270eca Update install instruction in docs (#376) 2023-06-25 13:14:23 -07:00
Charles Bochet 9c21975d2b Fix comment creation bug (#371) 2023-06-24 11:18:13 -07: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
Charles Bochet eb9be6894e Redesign settings profile (#353)
* Redesign settings profile

* Fix spacing

* Fix Company creation
2023-06-21 23:50:24 -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
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
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
Charles Bochet 5904a39362 Design Auth index (#325) 2023-06-18 23:51:59 +02:00
Charles Bochet ffa8318e2e Add Auth Index page (#323) 2023-06-18 00:18:13 +02:00
Charles Bochet 49462c69a2 Refactor Layout (#322)
* Refactor Layout

* Fix storybook

* Fixing tests by forcing msw version before regression
2023-06-17 21:24:15 +02:00
Charles Bochet 7f25f16766 Fix some icon display size + fix padding issue on EditableChip component (#314)
* Fix some icon display size + fix padding issue on EditableChip component

* Fix according to PR

* Fix server generate and deploy scripts

* Fix image size on Opportunities board

* Fix lint

* Fix according to PR
2023-06-16 14:16:35 +02:00
Charles Bochet 540ad4929d Felix icons (#312)
* Fix icon size in table top bar

* Replace building icon

* Replace Employees icon

* Replace map icon

* Replace calendar icon

* Replace Target icon
2023-06-15 18:07:56 +02:00
Charles Bochet f0910b3fbb Fix doc setup (#302) 2023-06-15 10:37:00 +00:00
Charles Bochet 763534ff45 Add update, create and delete pipelineProgress endpoints (#297) 2023-06-15 12:08:13 +02:00
Charles Bochet 2a1804c153 Update graphql schema and upgrade yarn lock files (#296)
* Update graphql schema
2023-06-14 18:30:24 +02:00
Charles Bochet d5817608a7 Fix production deploy scripts (#294)
* Fix production server deploy

* Fix production server deploy
2023-06-14 17:53:21 +02:00
Charles Bochet 5381e28253 Add workspace scoping to pipeline progress and expose findManyPipelineeProgress on graphql (#292)
Add workspace scoping to pipeline progress and expose findManyPipelineProgress on graphql
2023-06-14 17:05:15 +02:00
Charles Bochet 16e1b862d9 Refresh comments threads and count on new comment (#276)
* Refresh comments threads and count on new comment

* Fix tests
2023-06-12 19:32:18 +02:00
Charles Bochet be863a22c9 Truncate comment user name when too long (#274) 2023-06-12 16:39:56 +02:00
Charles Bochet 551cd00790 Auto deploy on main (#272)
* Auto deploy on main
2023-06-11 21:01:08 +02:00
Charles Bochet d3684b34c5 Refactor Editable Cell (#191) 2023-06-04 22:47:49 +02:00
Charles Bochet 7b858fd7c9 Reorganize frontend and install Craco to alias modules (#190) 2023-06-04 11:23:09 +02:00
Charles Bochet bbc80cd543 Refactor backend and add exception handlers (#189) 2023-06-04 00:21:36 +02:00
Charles Bochet a618636180 Add tests on Editable relation (#188) 2023-06-02 16:48:44 +02:00
Charles Bochet 97274db8b4 Expose pipeline and pipelinestage in graphql (#185) 2023-06-02 14:39:34 +02:00
Charles Bochet f23bbb9a68 Rename pipeline schema (#184) 2023-06-02 12:39:58 +02:00
Charles Bochet 0609994477 Implement comment count on person and company (#183) 2023-06-02 12:35:20 +02:00
Charles Bochet 2395f791c8 Add Pipelines models in server (#182)
* Hide workspace and refresh token from schema

* Add pipe models and migrations

* Add seeds

* Update FE graphql schema
2023-06-02 11:20:21 +02:00
Charles Bochet a1fe16812e Setup our own icons library (#177) 2023-06-01 19:22:35 +02:00
Charles Bochet 9ffd347655 Apply various frontend fixes (#179) 2023-06-01 19:22:26 +02:00
Charles Bochet 51790d8484 Add chromatic testing (#170) 2023-06-01 11:20:05 +02:00
Charles Bochet 902aa28150 Apply a few frontend fixes on dropdown (#169) 2023-06-01 00:56:32 +02:00
Charles Bochet e3402cc753 Two minor fixes on be (#168) 2023-05-31 18:33:26 +02:00
Charles Bochet a3a3c1924f Add comments to Prisma Schema and GraphQL server (#162)
* Lowercase all relations in prisma/graphql schema

* Add Comments data model and graphql schema

* Make comments availalble on the api through resolvers and guard them

* Update front graphql schema

* Fix PR
2023-05-31 15:41:53 +02:00
Charles Bochet c0658e1591 Update company logo fetch api (#161) 2023-05-31 11:08:35 +02:00
Charles Bochet 910d49f559 Fix layout behavior with Right panel open (#160) 2023-05-31 09:52:17 +02:00
Charles Bochet 3674365e6f Scope server with workspace (#157)
* Rename User to AuthUser to avoid naming conflict with user business entity

* Prevent query by workspace in graphql

* Make full user and workspace object available in graphql resolvers

* Add Seed to create companies and people accross two workspace

* Check workspace on all entities findMany, find, create, update)
2023-05-30 20:40:04 +02:00
Charles Bochet 0f9c6dede7 Clean server post refactor to remove Hasura (#156)
* Clean BE post refactor to remove Hasura

* Add server CI
2023-05-29 22:42:24 +02:00
Charles Bochet 30d2337462 Add tests on companies page (#155) 2023-05-29 22:08:01 +02:00
Charles Bochet 2f50cdc07e Update FE case to match BE graphql case (camelCase) (#154) 2023-05-29 19:45:55 +02:00
Charles Bochet f935a6b723 Re-write test with storybook testing library (#150)
* Re-write test with storybook testing library

* Update CI
2023-05-29 11:02:38 +02:00
Charles Bochet b95ac8b40b Add logo on navbar workspace container (#147) 2023-05-26 17:41:21 +02:00
Charles Bochet 29fb781c26 Updating server configuration (#145)
Update server deploy staging
2023-05-26 16:30:41 +02:00
Charles Bochet 26d3716ae7 Implement scoping on be (#144) 2023-05-26 14:00:32 +02:00
Charles Bochet 112aa3720b Fix graphql Queries (#142) 2023-05-26 08:33:33 +02:00
Charles Bochet 61099f99b8 Simplify setup again to run in vscode (#138) 2023-05-25 16:58:33 +02:00
Charles Bochet 34543b7fea Simplify local dev (#137) 2023-05-25 15:56:28 +02:00
Charles Bochet 80f9cc8797 Re-implement authentication (#136)
* Remove hasura and hasura-auth

* Implement authentication
2023-05-25 11:51:15 +02:00
Charles BochetandSammy Teillet 5d06398d2e Remove hasura and hasura-auth (#134)
* Remove hasura and hasura-auth

* Move all models to prisma

* Start implementing graphql

* chore: clean package json

* chore: make the code build

* chore: get initial graphql.tsx file

* feature: use typegql as qgl server

* refactor: small refactoring

* refactor: clean tests

* bugfix: make all filters not case sensitive

* chore: remove unused imports

---------

Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com>
2023-05-24 17:20:15 +02:00
Charles Bochet 67353eda8e Add all filters to tables + make column width fixed (#133)
* Add additional filters on companies and people page

* Make colunn width fixed

* Remove duplicate declaration of Unknown type
2023-05-21 22:47:18 +02:00
Charles Bochet 3370499ad8 Make many small frontend fixes (icons update, paddings, font-sizes) (#132) 2023-05-21 18:52:23 +02:00
Charles Bochet 5adc5b833c Enable filtering by creation date with datepicker (#131)
Enable to filter by date with datepicker
2023-05-19 13:17:32 +02:00
Charles Bochet 192b89a7b7 Make companies employees type a number (#130)
Make companies employees type a number to be consistent with api
2023-05-19 11:53:50 +02:00
Charles Bochet 20bf89ab1e Add employees and address filter on companies table page (#129) 2023-05-18 18:15:07 +02:00
Charles Bochet 5286dfd695 Refactor Filter type to accept Is, Is Not, Contains, Does not Contain (#128)
* Refactor Filter type to accept Is, Is Not, Contains, Does not Contain

* Remove any and add tests
2023-05-18 15:32:57 +02:00
Charles Bochet 4211d5872b Update favicon, manifest, page border (#127) 2023-05-18 10:07:47 +02:00
Charles Bochet cdc9e24ac0 Simplifies search through relations usage (#126) 2023-05-17 23:10:00 +02:00
Charles Bochet 434e020846 Restructure project (#124) 2023-05-17 22:31:16 +02:00
Charles Bochet bc49815ff0 Make all fields optional on entities (#121)
* Make all fields optional on entities

* Rewrite tests

* Add test on TableHeader Cancel button
2023-05-17 14:50:49 +02:00
Charles Bochet 499752ed6b Refactor Filters and Search (#119) 2023-05-17 13:25:33 +02:00
Charles Bochet 7208ec9e5a Fix bug get current user (#115)
* Fix bug get current user

* Add tests

* Fix design on Workspace section in Navbar
2023-05-12 09:02:39 +02:00
Charles Bochet 6b2ccd460d Update Favicon with new logo (#114) 2023-05-09 17:18:42 +02:00
Charles Bochet 2212900663 Enable deletion on table views (#113)
* Enable deletion on table views

* Add tests

* Enable deletion on table views for companies too
2023-05-08 23:26:37 +02:00
Charles Bochet 94ea9835a9 Enable multi-selection on table views (#112)
* Enable multi-selection on table views

* Enable multi-selection
2023-05-08 10:58:53 +02:00
Charles Bochet 48a75358b4 Enable add person on People Table (#111)
Add possibility to add Person on People table
2023-05-08 00:15:32 +02:00
Charles Bochet 50a4a97145 Add new line on Table Views (#110)
Add addition on Companies table
2023-05-07 23:41:22 +02:00
Charles Bochet 8c7815af79 Hide Opportunities as nothing is built yet and make company table fully editable (#109)
* Hide Opportunities as nothing is built yet and make company table fully editable

* Fix tests
2023-05-06 19:08:47 +02:00
Charles Bochet 760a49c5e3 Redesign DatePicker (#108) 2023-05-06 18:13:16 +02:00
Charles Bochet 41c46c36ed Create and EditableRelation component and make it generic (#107)
* Create and EditableRelation component and make it generic

* Refactor EditableCell component to be more flexible

* Complete Company picker on people page

* Fix lint
2023-05-06 16:08:45 +02:00
Charles Bochet 7ac2f8e1a6 Fix Cancel button behavior on TopFilterAndSort bar (#106) 2023-05-06 08:27:14 +02:00
Charles Bochet 406e1dc02e Enable Date edition on People view (#105)
* Enable Date edition on People view

* Fix linter
2023-05-05 18:52:04 +02:00
Charles Bochet 55eff2b7a2 Create Editable chip to edit cells containing chips (#102)
* Create Editable chip to edit cells containing chips

* Fix icons vertical alignment

* Fix linter

* Fix coverage
2023-05-05 12:15:41 +02:00
Charles BochetandCharles Bochet 89dc5b4d60 Make full name editable on People page (#100)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-04 18:38:29 +02:00
Charles BochetandCharles Bochet f6b691945c Make phone editable on people's page (#98)
* Make phone editable on people's page

* Make City editable

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-04 17:27:27 +02:00
Charles BochetandCharles Bochet e65fd3d6a5 Update Edit Inplace behavior and style (#97)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-04 16:03:13 +02:00
Charles BochetandCharles Bochet 27d5edc031 Fetch workspace and user from database (#94)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-04 11:09:06 +02:00
Charles BochetandCharles Bochet 571cb6ed5c Style filter key in bold in filter and search bar (#86)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-27 17:28:17 +02:00
Charles BochetandCharles Bochet cabe6d4c36 Add empty opportunity page (#83)
* Add empty opportunity page

* Fix coverage

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-26 18:00:06 +02:00
Charles BochetandCharles Bochet 6c7eb53333 Add seeds and move to uuid (#80)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-26 16:42:01 +02:00
Charles BochetandCharles Bochet d2c6a71c9e Fix server local build (#75)
* Fix server local build

* Build docs locally and for prod

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-25 17:47:15 +02:00
ae7bad65ca Setup GraphQL Code Generator (#74)
* chore: add types of schema

* Ease codegen use on FE

* chore: ignore prettier in generated files

* lint: generated files

* feature: strongly type filter of query

* chore: ignore generated files in prettier

* chore: eslint ignore generated files

---------

Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-25 17:25:30 +02:00
Charles Bochet cf9afcc90f Merge pull request #71 from twentyhq/cbo-design-fixes
Fix small design feedbacks
2023-04-25 12:16:34 +02:00
Charles Bochet 6284677fca Merge pull request #72 from twentyhq/cbo-horizontal-scroll
Add horizontal scroll on tables
2023-04-25 12:16:12 +02:00
Charles Bochet 67e4e79623 Merge pull request #69 from twentyhq/sammy/t-130-when-a-sort-is-selected-i-see-the-sort
feature: add property isActive for dropdown buttons
2023-04-24 18:39:35 +02:00
Charles Bochet d4152fdcff Merge pull request #68 from twentyhq/cbo-add-user-to-workspaces-on-signup
Assign user to workspace on signin
2023-04-24 17:01:24 +02:00
Charles Bochet 00ad3a89b5 Merge pull request #66 from twentyhq/anders/t-166-i-can-update-people-and-company-data-in
Add write permissions for user to people and companies
2023-04-24 13:28:28 +02:00
Charles Bochet 8e290c8933 Merge pull request #65 from twentyhq/anders/t-162-dev-refactor-data-layer-to-a-different
Refactor people query into separate file.
2023-04-24 13:27:52 +02:00
Charles Bochet a5bfeef2d6 Merge pull request #64 from twentyhq/cbo-fetch-jwt-token
Refresh JWT when expired
2023-04-21 17:33:39 +02:00
Charles Bochet 1fdce4ee03 Merge pull request #63 from twentyhq/anders/t-105-i-see-a-sales-pipeline-designed-with
Add pipe chip
2023-04-21 17:32:26 +02:00
Charles Bochet 4655544197 Merge pull request #61 from twentyhq/cbo-fetch-jwt-token
Fetch jwt token from hasura-auth with refresh_token
2023-04-21 14:39:08 +02:00