Commit Graph

1429 Commits

Author SHA1 Message Date
aa50ee4b21 Fix chromatic build 2023-11-04 13:22:10 +01:00
d17978777e Fix chromatic build 2023-11-04 10:35:45 +01:00
53072298bc Feat/improve new views (#2298)
* POC new recoil injected scoped states

* Finished useViewScopedState refactor

* Finished refactor

* Renamed mappers

* Fixed update view fields bug

* Post merge

* Complete refactor

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-04 09:28:55 +01:00
e70ef58f97 Live code editor for UI docs (#2351)
* Docausaurus code live editor test

* Docusaurus sandpack test

* Fix setup

* Delete files

* Fixes

* Complete work

* Fix config

* Fix config

---------

Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-11-03 23:09:20 +01:00
1ed4965a95 feat: refactor schema builder and resolver builder (#2215)
* feat: wip refactor schema builder

* feat: wip store types and first queries generation

* feat: refactor schema-builder and resolver-builder

* fix: clean & small type fix

* fix: avoid breaking change

* fix: remove util from pg-graphql classes

* fix: required default fields

* Refactor frontend accordingly

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-03 17:16:37 +01:00
aba3fd454b Removed dead code (#2345) 2023-11-03 17:08:07 +01:00
2221c68dff Improved user guide, added CI vale for docs (#2308)
* restructured user guide, minor fixes

* added index file for user guide

* github actions for vale

* testing workflow

* CI vale

* changes as per vale's suggestions

* set CI vale on pull request

* adding homebrew script to macos infra setup file

* fix CI errors

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* testing vale

* vale testing complete

* vale cleanup

* vale test

* vale test for github-pr-check

* vale test for github-pr-check

* vale test for github-pr-check

* vale test for github-pr-check

* testing vale warnings

* testing vale warnings

* testing vale warnings

* testing vale warnings

* testing vale warnings

* testing vale warnings

* testing vale warnings

* swizzled doc cards to add icons

* Align CI params to other CIs

---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
2023-11-03 17:02:30 +01:00
c397619100 441/fix/clear cell while opening it by typing and delete value when I hit delete / backspace. (#2021)
- Use initial values when opening table cells and pass them to fields

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-11-03 16:43:54 +01:00
60b1024efb feat: do not show disabled fields in table (#2319)
Closes #2309
2023-11-03 15:05:04 +01:00
e053fba089 fix: fix Modules Storybook tests (#2339)
Fixes #2310
2023-11-03 15:01:42 +01:00
e04f9230da Fix Add view not working on PersonTable 2023-11-03 15:01:01 +01:00
b4af15467f Fix data not loading on recordTable 2023-11-03 14:53:11 +01:00
b56f6f3947 Fix seeds for local workspace and newly created workspaces (#2333)
* Update metadata/data seeds

* fix

* fix

* move seeding into a transaction

* add no-non-null-assertion

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-11-03 14:33:45 +01:00
56a5f99108 fix: fix Pages Storybook tests (#2305)
* fix: fix Companies pages tests

* fix: fix People pages tests

* fix: fix Opportunities page tests
2023-11-03 14:25:36 +01:00
9c2c1e879a Add new dockerfile for postgres (#2322)
* Add new Dockerfile for postgres

* Fix docker

* Update dockerfile

---------

Co-authored-by: martmull <martmull@hotmail.fr>
2023-11-03 14:24:10 +01:00
cf8840dfec Fix assert not null lint warning (#2324) 2023-11-03 11:08:14 +01:00
e3691ad143 Fix navbar animation layout shift (#2335)
fix navbar animation
2023-11-03 11:04:30 +01:00
f19ed5e2e4 Fix firefox recoil snapshot bug (#2321)
fix firefox recoil snapshot bug
2023-11-02 17:06:26 +01:00
9725582a82 Fix entity tasks filter scopeid bug (#2318)
fix entity tasks filter scopeid bug
2023-11-02 14:36:50 +01:00
5becefadcb Add new Dockerfile for postgres (#2313)
* Add new Dockerfile for postgres

* Fix docker

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-02 14:21:06 +01:00
4d89e093d6 fix: update cleanup command to reflect current volume naming (#2316) 2023-11-02 14:09:47 +01:00
316f2df170 Fix checkbox htmlfor bug (#2315)
fix bug
2023-11-02 14:05:47 +01:00
27b451ee56 Fix view deletion (#2314)
* fix view deletion

* fix view deletion bugs

* improve code readability
2023-11-02 12:17:50 +01:00
8080353075 Fix sort delete (#2312) 2023-11-02 10:36:28 +01:00
1c5c71bc48 Reduce image size (#2306)
* Reduce image size

* Clean dependencies

* Clean dependencies
2023-10-31 21:43:16 +01:00
951680113e Plug filter delete to backend (#2303)
* plug-filter-delete-to-backend

* delete console
2023-10-31 18:06:43 +01:00
f9920d2f24 Fix CompanyBoardCard height (#2301)
* fix view-fields seeds

* closeDate was duplicated

* fix CompanyBoardCard height
2023-10-31 16:38:23 +01:00
2abcd97c92 Fix view fields seeds (#2300)
* fix view-fields seeds

* closeDate was duplicated
2023-10-31 16:34:28 +01:00
48aa89664a Prevent layout shift on page load (#2268)
- prevent layout shift on page load
2023-10-31 14:09:33 +01:00
dda911fea7 Remove three old env variables (#2297)
* remove three old env variables IS_DATA_MODEL_SETTINGS_ENABLED IS_DEVELOPERS_SETTINGS_ENABLED FLEXIBLE_BACKEND_ENABLED

* Fix database:reset script

* Removing unused variable

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-31 13:15:24 +01:00
71dd6eb0a8 Fix: Email case sensitivity (#2229) 2023-10-31 12:41:20 +01:00
a2e84db049 2282 Rename components to use the new naming convention part 3 (#2296)
part 3 of the renaming
2023-10-31 12:38:53 +01:00
adeaa35e8d 2282 Rename components to use the new naming convention part 2 (#2295)
renaming part 2
2023-10-31 12:32:16 +01:00
b319ba66ac 2284 fix(frontend): layout shift in date input (#2292)
* fix(frontend): layout shift in date input

* Fix Inline Cell overlay being shifted

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-31 12:30:10 +01:00
ec8389cecf 2282 Rename components to use the new naming convention part 1 (#2293)
renaming in progress
2023-10-31 12:12:52 +01:00
7fe569ec6a fix: disable page shortcuts on TextArea focus (#2288)
Fixes #2275
2023-10-30 19:23:12 +01:00
3cdbe4f16e fix: remove blank space below Object Settings cover image (#2285)
Fixes #2280
2023-10-30 19:22:23 +01:00
d30ed496e9 fix: display object plural labels in nav items (#2290)
Fixes #2289
2023-10-30 19:20:44 +01:00
a523190943 User guide & vale setup (#2260)
* refactored Storybook UI

* refactored Storybook UI

* removed extra cards from the doc, added card for ui components

* added hover behavior to doc page & made it look selected

* separate storybook docs and tests

* separating storybook tests and docs

* fixed spelling errors in docs

* Final round of edits for frontend, added backend folder architecture

* Created CODE_OF_CONDUCT.md

* Add code of conduct to contributing.md

* doc changes

* fixed broken links

* doc addition and changes

* introduce user guide & graphql api

* set up vale, added to docs

* vale config file

* revised backend best practices

* connecting zapier and twenty

* added warning for zapier
2023-10-30 18:01:58 +01:00
7cb58eae4d build(deps): bump @babel/traverse from 7.21.4 to 7.23.2 in /docs (#2255)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.4 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 17:59:47 +01:00
328c5cd184 test: add metadata object and field mocks (#2266) 2023-10-30 17:56:56 +01:00
236742e88c Fix api keys refresh (#2283)
* Move code to dedicated function

* Format cached data with proper typename
2023-10-30 17:48:34 +01:00
3fc1b74d9c feat: navigate to Object Detail page after custom object creation (#2277)
Closes #2276
2023-10-30 13:33:29 +01:00
80a6223d7d feat: custom objects delete one (#2278)
* feat: custom objects delete one

* fix: delete one issue
2023-10-30 12:05:03 +01:00
6640f2a651 [Docs] Update 'self-hosting options' link on getting-started.mdx (#2267)
Update 'self-hosting options' link on getting-started.mdx

When browsing from: 
https://docs.twenty.com/start/getting-started/

The link with text "self-hosting options" lands on a 404 page with this address:
https://docs.twenty.com/start/getting-started/self-hosting

Adding '/start/' to the beginning of the URL fixes this. 

Note: if your browser automatically redirects from:
https://docs.twenty.com/start/getting-started/
to:
https://docs.twenty.com/start/getting-started

Then the relative document URL will work as expected. When adding the trailing slash, the link breaks.
2023-10-30 10:16:17 +01:00
d38497c46a Refactor ObjectDataTable to work with new views system (#2274)
Complete work
2023-10-29 23:50:59 +01:00
9bab28912d Complete Fix view work (#2272)
* Fix views

* Make view sorts and view filters functional

* Complete Company table view fix

* Fix model creation

* Start fixing board

* Complete work
2023-10-29 16:29:00 +01:00
685d342170 Migrate view field to new data model - Part 2 (#2270)
* Migrate view field to new data model

* Migrate view fields to new model
2023-10-28 19:13:48 +02:00
b591023eb3 Fix/metadata object and settings post merge (#2269)
* WIP

* WIP2

* Seed views standard objects

* Migrate views to the new data model

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-28 12:25:43 +02:00
afd4b7c634 Fix Views on People page (#2265)
* fetching viewId for url

* fixed option menu name input

* fix table import

* fix unnecessary rerenders

* people working

---------

Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-10-27 18:20:58 +02:00