Commit Graph
100 Commits
Author SHA1 Message Date
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
Charles Bochet aac70a635a Merge pull request #60 from twentyhq/anders/t-112-i-see-a-cancel-button-to-cancel-a-sort
Add cancel button
2023-04-21 14:21:23 +02:00
Charles Bochet e1aaebc31c Merge pull request #58 from twentyhq/add-docs
Add Docusaurus
2023-04-21 14:18:52 +02:00
Charles Bochet f98f0e942e Merge pull request #57 from twentyhq/cbo-fetch-refresh-token
Store refresh token on login
2023-04-21 09:37:48 +02:00
Charles Bochet fe10c0ba7d Merge pull request #59 from twentyhq/cbo-finalize-filters
Finalize sort created_at filter
2023-04-21 09:04:47 +02:00
Charles Bochet 007debcee2 Merge pull request #56 from twentyhq/sammy/t-111-when-created-at-sort-is-applied-table
Sammy/t 111 when created at sort is applied table
2023-04-20 18:47:50 +02:00
Charles Bochet b660da88be Merge pull request #53 from twentyhq/cbo-add-lint-in-ci
Add linter on CI
2023-04-20 11:54:59 +02:00
Charles Bochet 5469d27911 Merge pull request #47 from twentyhq/cbo-sort-filter-2
Add sorting bar on table views
2023-04-19 23:17:16 +02:00
Charles Bochet ff90a3c67b Merge pull request #51 from twentyhq/sammy/t-104-i-see-a-localized-date
Sammy/t 104 i see a localized date
2023-04-19 18:55:09 +02:00
Charles Bochet 9ee1ded419 Merge pull request #50 from twentyhq/fix-checkbox
feature: adjust checkbox size
2023-04-19 18:01:40 +02:00
Charles Bochet 84a4b527a2 Merge pull request #46 from twentyhq/anders/t-113-i-see-hasura-auth-provided-locally
I see hasura auth provided locally
2023-04-19 17:53:36 +02:00
Charles Bochet db6b51c74e Merge pull request #49 from twentyhq/sammy/t-91-i-can-see-hover-states-on-table-cells
Sammy/t 91 i can see hover states on table cells
2023-04-19 17:30:28 +02:00
Charles Bochet acf190cd5c Merge pull request #48 from twentyhq/sammy/t-101-i-see-a-more-compact-table-view-to-match
Sammy/t 101 i see a more compact table view to match
2023-04-19 16:04:05 +02:00
Charles Bochet 83e55a3e85 Merge pull request #45 from twentyhq/cbo-table-filters
Add dropdown on Sort button on table
2023-04-19 14:24:21 +02:00
Charles Bochet 4018ac45b0 Merge pull request #42 from twentyhq/sammy/t-79-i-can-see-checkboxes-ui
feature: add checkbox on people cells
2023-04-18 18:37:09 +02:00
Charles Bochet 4a213915a9 Merge pull request #39 from twentyhq/st-server-dockerfile
chore: add prod dockerfile for server
2023-04-18 14:47:48 +02:00
Charles Bochet f3b916f20b Merge pull request #38 from twentyhq/cbo-table-styling
Improve Table Header style
2023-04-14 13:17:35 +02:00
Charles Bochet d767160b03 Merge pull request #37 from twentyhq/cbo-install-fa-pro
Migrate to FontAwesome pro
2023-04-14 12:42:35 +02:00
Charles Bochet 1b1b5c9584 Merge pull request #36 from twentyhq/cbo-frontend
Add font sizes to themes
2023-04-14 11:22:30 +02:00
Charles Bochet 6fe63b430a Merge pull request #31 from twentyhq/table-cell-styling
Table cell styling
2023-04-13 18:11:40 +02:00
Charles Bochet 0ae9644f43 Merge pull request #32 from twentyhq/cbo-production-dockerfiles
Create Dockerfile for front production
2023-04-13 12:52:00 +02:00
Charles Bochet 0b76e0fe5a Merge pull request #30 from twentyhq/cbo-provision-hasura-locally
Setup Hasura locally
2023-04-13 10:49:58 +02:00
Charles Bochet c63b7df25d Merge pull request #28 from twentyhq/add-license
Create LICENSE
2023-04-11 14:30:30 +02:00
Charles Bochet 693ed5746d Merge pull request #27 from twentyhq/cbo-frontend-crm-start
Implement new UI
2023-04-10 18:06:52 +02:00
Charles Bochet 58d8d7c090 Merge pull request #26 from twentyhq/setup-github-actions
Setup GitHub actions
2023-04-07 11:26:18 +02:00
Charles Bochet 3d80751be6 Merge pull request #25 from twentyhq/cbo-refresh-install-scripts
Refresh install scripts
2023-04-05 15:02:43 +02:00
Charles Bochet eac43d1e64 Merge pull request #24 from twentyhq/charles-bochet-simplify-infra
Simplify infrastructure to one container
2023-03-06 19:15:03 +01:00
Charles Bochet 44c9d350a3 Merge pull request #23 from twentyhq/charles-bochet-separate-tenant-users
Separate auth0 users depending on tenants
2023-02-03 20:08:19 +01:00
Charles Bochet d94ed13f4e Merge pull request #21 from twentyhq/charles-bochet-hasura-ci-setup
Add CircleCI workflow to deploy CI to canary and production
2023-02-02 20:44:25 +01:00
Charles Bochet fe22ea087a Merge pull request #22 from twentyhq/charles-bochet-profile
Create Profile Hooks to fetch current user
2023-02-02 20:42:15 +01:00
Charles Bochet 0eef9871f0 Merge pull request #20 from twentyhq/charles-bochet-hasura-init
Setup API (Hasura) console to version changes in code
2023-01-31 19:38:07 +01:00