Commit Graph
96 Commits
Author SHA1 Message Date
Félix Malfait bffd73e391 Fix environment variable casting (#4855)
Fixes #4628
2024-04-05 18:15:47 +02:00
Félix Malfait 3df4b78e38 Fix dropdown menu header (#4835)
Fix an issue I add introduced by removing "position:static" and an other
regression from https://github.com/twentyhq/twenty/issues/4366
2024-04-05 10:31:08 +02:00
Félix Malfait 65e665c74c Add Sentry types to dependencies (#4825)
Someone reported an error during install that might be due to missing
types import.
2024-04-04 19:09:49 +02:00
Félix Malfait b65d82c274 Force explicit deletion behavior for relations (#4775)
We've seen a few cascading errors (e.g. comment.activityId would be non
nullable but cascade behavior is set to "set null"). I think it's safer
if we have to explicitly chose the deletion behavior it every time.

Especially since Postgres default to "No action" while we defaulted to
"Set Null", which is confusing.

In the future we will most likely introduce a second param
`onSoftDelete` in the decorator
2024-04-03 18:30:12 +02:00
Félix Malfait 7a34dc4910 Simplify docs and remove Docker local setup (#4783)
Having 2 different dev setups caused confusion, let's remove the Docker
local setup and recommend people install yarn locally.

Also simplified some docs by merging pages together, the recommend
self-hosting option is now the docker-compose / to adapt the
docker-compose.
2024-04-03 16:38:28 +02:00
Félix Malfait 3b72eed2dc Fix issue caused by a merge conflict (#4768) 2024-04-03 09:18:33 +02:00
Félix Malfait 4e109c9a38 Fix Vale CI and change vision (#4724) 2024-04-01 11:39:04 +02:00
Félix Malfait 4ae67318ab Fix broken worker (#4618) 2024-03-22 16:43:13 +01:00
Félix MalfaitandWeiko d876b40056 Logs show page (#4611)
* Being implementing events on the frontend

* Rename JSON to RAW JSON

* Fix handling of json field on frontend

* Log user id

* Add frontend tests

* Update packages/twenty-server/src/engine/api/graphql/workspace-query-runner/jobs/save-event-to-db.job.ts

Co-authored-by: Weiko <corentin@twenty.com>

* Move db calls to a dedicated repository

* Add server-side tests

---------

Co-authored-by: Weiko <corentin@twenty.com>
2024-03-22 14:01:16 +01:00
Félix Malfait b6e8bb1a6c Delete auth/file front variables (#4455) 2024-03-19 22:19:40 +01:00
Félix Malfait 4bfb90657f Add JSON field type and Event object (#4566)
* Add JSON field type and Event object

* Simplify code

* Adress PR comments and add featureFlag
2024-03-19 21:54:08 +01:00
Félix Malfait bdbd77c696 Cleanup default values and leftover methods in environmentService (#4550)
* Cleanup default values and leftover methods in environmentService

* Adress remainings configService calls
2024-03-18 17:09:39 +01:00
Félix Malfait 42e86c7c82 Enable backend to serve frontend (#4461)
Basic POC to have frontend served by backend
2024-03-14 11:53:10 +01:00
Félix Malfait fd06d52a13 Refacto environment service (#4473)
* Refacto environment service

* Remove environment variable type
2024-03-14 11:51:19 +01:00
Félix Malfait a122a7f01e Bugfix relation with same field name (#4414)
* Bugfix relation with same field name

* Fix concurrency issue
2024-03-12 10:24:09 +01:00
Félix Malfait 9035762d43 Fix telemetry (#4303) 2024-03-04 19:04:55 +01:00
Félix Malfait 6d70540cdc Add sentry tracing (#4279)
* Add sentry tracign

* Improve Sentry loggin
2024-03-04 16:31:15 +01:00
Félix Malfait 59c4d114d6 Improve website github sync (#4259) 2024-03-01 15:15:55 +01:00
Félix Malfait 6670ecdfda Expose releases as an api (#4247) 2024-02-29 17:48:11 +01:00
Félix Malfait 5de1c2c31d New folder structure for website (#4159)
New folder structure
2024-02-23 17:42:13 +01:00
Félix Malfait a5989a470c Improve Documentation (#3795)
* Begin docs improvement

* Keep improving documentation

* Upgrade Docusarus

* Fix broken links
2024-02-05 15:01:37 +01:00
Félix Malfait 858c294f14 Website improvements 4 (#3182)
* Add contributor individual page

* Improve mobile menu

* Fix

* Remove yarn.lock from twenty-website

* Add yarn to gitingore

* Fix linter
2023-12-31 10:41:53 +01:00
Félix Malfait c422045ea6 Marketing improvements 3 (#3175)
* Improve marketing website

* User guide with icons

* Add TOC

* Linter

* Basic GraphQL playground

* Very basic contributors page

* Failed attempt to integrate REST playground

* Yarn

* Begin contributors DB

* Improve contributors page
2023-12-29 11:17:32 +01:00
Félix Malfait 3d5a364e29 Marketing website improvements (#3169)
* Website improvement

* Improve website design

* Start writing script for user guide

* Begin adding user guide
2023-12-27 16:14:42 +01:00
Félix Malfait 5ef5bbdc4d Marketing website POC (#3139)
First website POC
2023-12-23 10:08:55 +01:00
Félix Malfait fff51a2d91 Basic data enrichment (#3023)
* Add Enrich to frontend

* Naive backend implementation

* Add work email check

* Rename Enrich to Quick Action

* Refactor logic to a separate service

* Refacto to separate IntelligenceService

* Small fixes

* Missing Break statement

* Address PR comments

* Create company interface

* Improve edge case handling

* Use httpService instead of Axios

* Fix server tests
2023-12-18 15:45:30 +01:00
Félix Malfait f6041f560d Readme update with demo (#3042) 2023-12-17 16:26:54 +01:00
Félix Malfait 9c49d7474f Fix: Don't sort by column createdAt if it does not exist (#2737)
Fix #2699
2023-11-28 16:49:43 +01:00
Félix Malfait aeccc87ac5 Yarn upgrade (#2749)
* yarn upgrade front and docs

* upgrade yarn server

* Revert change not needed
2023-11-28 16:48:02 +01:00
Félix Malfait 8f03ba88a7 Remove unused dependencies on the frontend (#2744) 2023-11-28 11:11:24 +01:00
Félix Malfait e2e871ca32 Add typescript to danger (#2723)
* Add Typescript to Danger.js

* Additional check to ease local testing
2023-11-27 11:21:19 +01:00
Félix Malfait 033c3bc8b2 Update danger.js to pull_request_target (#2675) 2023-11-23 15:39:34 +01:00
Félix Malfait b1b6bbe7d3 Increase spreadsheet import limit (#2539)
* Initialize web application via create-cloudflare CLI

Details:
  C3 = create-cloudflare@2.6.2
  project name = twenty-blog
  framework = next
  framework cli = create-next-app@13.4.19
  package manager = npm@9.5.0
  wrangler = wrangler@3.15.0
  git = 2.39.2 (Apple Git-143)

* Increase CSV Import limit

* Revert "Initialize web application via create-cloudflare CLI"

This reverts commit 6a09759372aac829fed2209cbd602f5afb97de7e.
2023-11-16 15:27:53 +01:00
Félix Malfait 9132845242 Remove CLA Assistant (#2479)
* Remove yarn.lock and package.json from root

* Remove CLA-Assistant
2023-11-13 16:09:59 +01:00
Félix Malfait 44d046b363 Cleanup CI workflows, Remove Twenty CLI, Add Danger.js (#2452)
* Move dockerignore file away from root

* Delete Twenty CLI

* Create Twenty-utils

* Move release script

* Add danger.js to yarn

* Add danger

* Add Bot token

* Cancel previous steps CI

* Revert "Move dockerignore file away from root"

This reverts commit 7ed17bb2bcccd3312a455d35974c9c388687a0a9.
2023-11-13 14:10:11 +01:00
Félix MalfaitandCharles Bochet b028d9fd2a Add deploy buttons and clean environment variables (#974)
* add render.yaml

* Clean environment variables



---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-31 14:36:04 -07:00
Félix Malfait 55be401204 Add fake characters to prevent password managers from filling fields (#989) 2023-07-29 19:47:54 -07:00
Félix Malfait 5c376cbabb Add profile pictures to people and fix account/workspace deletion (#984)
* Fix LinkedIn URL not redirecting to the right url

* add avatars for people and seeds

* Fix delete account/workspace

* Add people picture on other pages

* Change style of delete button

* Revert modal to previous size

* Fix tests
2023-07-28 15:40:03 -07:00
Félix Malfait 8af88d1ab3 README update (#749)
* README update

* Fix linter
2023-07-19 11:50:07 +02:00
Félix MalfaitandCharles Bochet 10f7b08fdc Add attachments (#733)
* Add attachments v1

* Refacto

* Add Policy checks

* Fix tests

* Remove generated files from git

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-18 15:24:03 -07:00
Félix Malfait 15b09e8b35 Update LICENSE (#714) 2023-07-17 10:08:37 +02: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
Félix MalfaitandCharles Bochet 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
Félix Malfait 7bcea343e2 Design fixes for #615 and #637 (#658)
Fixes #615 and #637
2023-07-14 12:36:48 +02: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
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
Félix MalfaitandEmilien 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
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
Félix MalfaitandCharles Bochet 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 9fbbf2db006e529330edc64f3eb8ff9ecdde6bb0.

* 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
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
Félix Malfait 256bc24a8c Add cal.com office hours (#488)
Add office hours
2023-06-30 17:14:43 -07: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
Félix MalfaitandCharles Bochet 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
Félix Malfait 1c7980b270 Disable linter on generated code (#363) 2023-06-23 08:43:41 -07:00
Félix MalfaitandCharles Bochet 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
Félix Malfait a65853dc2e Improve documentation (#349)
* Improve documentation content
* Improve documentation style
2023-06-21 16:23:31 -07:00
Félix Malfait 5ae5f28dcb Add new story for darkmode (#317)
* Add a new story for dark mode

* Reorganize storybook menu

* Fix command menu margins

* Fix tests
2023-06-17 14:52:49 +02:00
Félix Malfait 5921c7f11d Split theme into files (#313) 2023-06-16 08:50:48 +02:00
Félix Malfait c20108e088 Add VSCode extensions (#283) 2023-06-14 17:20:12 +02:00
Félix MalfaitandCharles Bochet 31f3950439 Add a custom rule to prevent colors from being hardcoded outside of theme (#288)
* Add a custom rule to prevent colors from being hardcoded in ESLint

* Refactor colors

* Create packages folder and fix colors

* Remove external dependency for css alphabetical order linting

* Fix install with yarn

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-14 16:56:29 +02:00
Félix Malfait eb8fc50ff1 Add rule to order css in styled components alphabetically (#284)
* Add plugin

* Run plugin
2023-06-14 07:59:16 +02:00
Félix Malfait 830b76cd9a Icon refactoring (#287)
* Refactor icons

* Fix additional icons
2023-06-14 07:55:54 +02:00
Félix Malfait 7e73f013d1 Enable Turbosnap for Chromatic (#286) 2023-06-13 18:45:18 +02:00
Félix Malfait b9c41a1dcd Add settings page (#273)
* Add settings page

* Add 'soon' pill and logout

* Refactor components and layout

* Begin improving mobile display

* Add stories and refactor
2023-06-13 17:10:57 +02:00
Félix Malfait 3341539eb2 Add arrow up/down+enter navigation to select relation (#275)
* Add arrow up/down+enter navigation to select relation
2023-06-12 17:52:16 +02:00
Félix Malfait c99fa74e2f Fix frontend test: no need to convert to UTC (#266) 2023-06-12 13:33:58 +02:00
Félix Malfait c53be4febc Add Right click to take action (#263)
* Add Right click to take action

* Create Position type and style row with background when selected
2023-06-09 18:36:39 +02:00
Félix Malfait f6e1e626fd Make the sidebar collapsable (#260)
* Make the sidebar collapsable

* Fix padding

* Automatically collapase sidebar and hide container on mobile

* Hide navbar content when navbar is collapsed

* Update naming convention for states
2023-06-09 15:09:21 +02:00
Félix Malfait 024adb9221 Add cmd k to navigate pages (#254)
* Begin styled command bar

* Add 2 commands and improve styling

* Add storybook

* Move z-index to variables and use hotkey hook
2023-06-08 18:28:02 +02:00
Félix Malfait 2315504ee4 Add square logo without border radius (#199) 2023-06-06 09:37:42 +02:00
Felix Malfait 41fe78bc4c Enable dark mode and fix theme 2023-06-05 22:20:55 +02:00
Félix Malfait 3ae6405f4d Add Algolia Search + other quick improvements to docs (#198) 2023-06-05 18:48:12 +02:00
Félix Malfait f906533b29 Fix broken GraphiQL in documentation (#180) 2023-06-01 19:23:15 +02:00
Félix Malfait 05c8fac6d6 Add docs CI and fix docs build (#176)
* Add docs CI and fix docs build

* Fix CI name
2023-06-01 16:21:31 +02:00
Félix Malfait 14c0119c4b Update documentation, add GraphiQL to docs (#175)
* Update docusaurus and fix security vulnerabilities

* Begin cleanup docs

* Remove redocusaurus

* Add graphiql in doc

* Add architecture schema

* New tableIcons and cleanup docs
2023-06-01 15:05:53 +02:00
Félix Malfait e8f1146ae1 CLI to install project (#164)
* CLI to install project

* CLI fixes

* Update README.md

* Cleanup gitignore
2023-06-01 09:19:49 +02:00
Félix Malfait c61beb1066 Reorganize icons for doc and manigest.json (#166)
* Reorganize icons for doc and manigest.json

* Fix icons path

* Fix path in index.html
2023-05-31 15:44:38 +02:00
Félix Malfait 8bd91139ca Update Readme title (#165) 2023-05-31 14:07:49 +02:00
Félix Malfait f79a45e7e6 Add svg logos to docs (#143) 2023-05-26 09:59:09 +02:00
Félix Malfait 7192457d0a Create SECURITY.md (#135)
Add a security policy and email address to the repo
2023-05-24 15:47:21 +02:00
Félix Malfait 96e3f2c7ea Small fixes: broken links and unused files (#116)
* Remove node modules and package.json from root
* Remove unused references to FontAwesome
* Fix documentation link
2023-05-12 10:35:06 +02:00
Felix Malfait 1490f986f2 Fix previous PR (.npmrc no longer needed) 2023-05-03 17:32:22 +02:00
Félix MalfaitandCharles Bochet 9bc3aa1fb9 Replace Fontawesome Pro by React-Icons/FA (#93)
* Fontawesome -> ReactIcons cleanup

* No need for npmrc anymore

* Complete migration

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-03 17:24:07 +02:00
Félix Malfait 42bf653e4a Improve documentation (#82)
* Propose new doc architecture

* Many improvements to documentation (styling, structure...)

* Remove modules added inadvertently + continue improving styling

* Swizzle navbar item to add support for custom icon

* Additional doc styling

* Setup docs for API and redirect homepage for docs
2023-04-26 19:10:17 +02:00
Felix Malfait 1e3540863a Improve styling 2023-04-20 22:57:55 +02:00
Felix Malfait ae5a73b347 Begin setup search 2023-04-20 18:11:55 +02:00
Felix Malfait db62346bfa Cleanup and start organizing docs 2023-04-20 17:35:16 +02:00
Félix Malfait c93f003f91 Remove blog from docs 2023-04-19 10:57:35 +02:00
Félix Malfait 167426e41c Install Docusaurus 2023-04-19 10:47:23 +02:00
Félix Malfait 6709782894 Create LICENSE
I didn't know whether we should chose GPL or MIT.
Let's just assume people have good intentions, and not overly restrict usage by using a copyleft licence. 
The risk is someone hijacking the project (e.g. a well-funded company forking the project, then building a direct competitor on top of it), but  our choices shouldn't be driven by the worst possible outcome, they should be driven by the best possible outcome, which is that a lot of creative people use our project and take it in a successful direction we couldn't have seen ourselves
2023-04-11 13:55:45 +02:00
Félix Malfait 2ddb191556 ADD DS_Store to .gitignore 2023-02-23 11:04:05 +01:00