Commit Graph

1486 Commits

Author SHA1 Message Date
Gaurav
b8282e6789
Added script to setup database locally on Linux/WSL (#1879)
* Created script to install and setup PostgreSQL database for Linux/WSL

* Updated Docs
2023-10-05 16:17:27 +02:00
Charles Bochet
a04bdc6824 Fix tests 2023-10-05 16:16:02 +02:00
Alfred Louis
73fa968595
fix:Menus go back button style fix (#1860)
* fix:Menus go back button style fix

* adjust padding

* use light icon button
2023-10-05 15:29:16 +02:00
Jérémy M
047bb8014b
feat: add custom object create and update (#1869) 2023-10-05 14:33:13 +02:00
Gokul Bansal
b2dd868046
Fix overlay positioning for 'Sort,' 'Filter,' and 'Options' menus #1521 (#1781)
* Fix overlay positioning for 'Sort,' 'Filter,' and 'Options' menus

* Fix according to review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-04 18:31:55 +02:00
Thaïs
7af306792b
feat: add Table and TableSection components (#1849)
* refactor: rename ui/table to ui/data-table

* feat: add Table and TableSection components

Closes #1806
2023-10-04 17:46:14 +02:00
Debdeep Pal
d217142e7e
Fixed #1818 [Tab list position glitch] (#1872)
Fixed #1818
2023-10-04 17:29:31 +02:00
Charles Bochet
13c8ee29f7
Refactor draggable list (#1874) 2023-10-04 17:29:18 +02:00
bosiraphael
f59dc75627
Create a storybook test for TextFieldDisplay (#1868)
* working on a story for MoneyFieldDisplay

* Write test on MoneyDisplayField

* add a story for TextFieldDisplay
2023-10-04 17:17:18 +02:00
Aman
d2703363d5
fix: removed import type (#1864)
* feat: added an enlint rule to enforce no-type-import

* Update style-guide.mdx

* fix: removed import type

* fix: removed import type

---------

Co-authored-by: aman1357 <101919821+aman1357@users.noreply.github.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-04 16:11:09 +02:00
Aditya Pimpalkar
93a01c7292
Chore: Improve dropdown draggable list (#1738)
* draggable menu item component

* Menu item isDragged prop removed

* Droppable list component

* Draggablee item component

* Drag and drop use refactor

* lint fix

* isDragDisabled check on DraggableItem

* revert changes on non visibility items

* MenuItemDraggable stroybook

* DraggableItem storybook

* lint fix

* lint fix

* BoardColumnMenu css fix

* showGrip prop addition

* isDragged css fix
2023-10-04 15:56:25 +02:00
brendanlaschke
1e402aca5f
Remove company avatar show page hover effect (#1857)
- remove company avatar show page hover effect
2023-10-04 15:49:25 +02:00
Tom Avalexing
27eab82f19
Workaround for bug on token conflict with front and storybook (#1843)
* workound to preview token

* remote token itself
2023-10-04 15:46:41 +02:00
Weiko
42e8869e0e
Add targetColumnMap to FieldMetadata (#1863)
* Add targetColumnMap to FieldMetadata

* fix

* remove console.log

* fix test
2023-10-04 15:17:53 +02:00
Tom Avalexing
8f41792918
fix: Team creation dialog is visible and closable (#1758)
* fix: Team creation dialog is visible and closable

* fix according to recs

* fix border-radius issue visible on dark theme

* rename to appropriate naming: hotkeyCloser

* no memoize
2023-10-04 15:10:23 +02:00
brendanlaschke
59a7e7ead3
Add troubleshooting doc (#1852)
* - add troubleshooting doc

* fix duplicate
2023-10-04 15:07:02 +02:00
Tom Avalexing
56eea72110
fix count with opportunities page (#1839)
* fix count with opportunities page

* make unscoped atom entityCountInCurrentViewState
2023-10-04 15:04:53 +02:00
bosiraphael
46dffeadef
Adding storybook tests on meta-types/display/components (#1862)
* working on a story for MoneyFieldDisplay

* Write test on MoneyDisplayField
2023-10-04 13:26:06 +02:00
Charles Bochet
aab2f3ab3c Fix lint 2023-10-04 12:48:40 +02:00
Aman
bc3fe59312
feat: added an enlint rule to enforce no-type-import (#1838)
* feat: added an enlint rule to enforce no-type-import

* Update style-guide.mdx

---------

Co-authored-by: aman1357 <101919821+aman1357@users.noreply.github.com>
2023-10-04 11:06:54 +02:00
Charles Bochet
c433eb5d93
Bump version to 0.1.4 (#1851) 2023-10-04 10:51:59 +02:00
Ayush Agrawal
3336144245
Feat: First column style update (#1746)
reimplemented as per suggestions by lucas
2023-10-04 10:25:43 +02:00
Ayush Agrawal
5915189a5b
Fix: Cannot add some fields to companies table (#1853)
fixed add field to table when absent in db
2023-10-04 10:18:21 +02:00
Jérémy M
7e8e3ac1de
fix: typeorm migration datasource directory change (#1848) 2023-10-03 17:44:58 +02:00
Ayush Agrawal
77997674e5
Feat: Add "All assignees" in Task team member dropdown (#1763)
* implemented all select option FilterDropdownEntitySearchSelect and enabled it for tasks page filter

* created new filter operand IsNotNull for make a select all qraphql query, added internal state for tracking isAllEntitySelected

* used filterCurrentlyEdited to track if isAllEntitySelected is selected

* fixed filter button icon SelectAll Icon
2023-10-03 16:55:31 +02:00
David Kramer
aea088df16
eslint prettier error on windows #1798 (#1804)
* fixing es linter errors on windows

* Indentation

* Indentation

---------

Co-authored-by: kramer <david.kramer@gmail.com>
2023-10-03 16:48:52 +02:00
Tom Avalexing
4d86c66ccb
fix docker dev (#1844) 2023-10-03 16:27:43 +02:00
bosiraphael
8da0205bab
Renamed editable field to inline cell in ui folder (#1845)
* renamed editable field to inline cell in ui folder

* renamed table to table-cell in ui folder
2023-10-03 16:26:20 +02:00
bosiraphael
35fb2576b7
added figma link to README.md (#1835)
* added figma link to README.md

* added figma to the recommended extensions for the project

* updated useful tips in 'work with Figma' section of the docs to add Figma extension for VSCode

* removing yarn.lock

* modified Figma extension docs in 'Work with Figma'

* added Mdx Preview extension to recommended extensions
2023-10-03 12:50:05 +02:00
Thaïs
e63f8eac76
feat: add data model settings (#1817)
Closes #1760
2023-10-03 11:19:29 +02:00
Weiko
1e91c985df
Add a dedicated GQL server for metadata available on /meta (#1820) 2023-10-03 10:17:13 +02:00
Charles Bochet
37475f7c1b Fix bug non emptyable phones and urls 2023-10-02 17:32:16 +02:00
Ayush Agrawal
965a6b7c57
Fix: Table / Board createView bug (#1782)
* fix createView for tables and board page

* removed residual console.log from InlineCell component
2023-10-02 17:23:30 +02:00
Jérémy M
d3b39cad97
feat: add env security in dynamic resolvers (#1812)
* feat: add env security in dynamic resolvers

* fix: tests
2023-10-02 17:17:42 +02:00
Weiko
09684ef6cc
Fix docker setup with bcrypt (#1783) 2023-10-02 11:59:06 +02:00
David Kramer
e12e7754e4
Fix board column title edit optimistic rendering #1745 (#1780)
adding update of state as well

Co-authored-by: kramer <david.kramer@gmail.com>
2023-09-30 18:29:41 +02:00
brendanlaschke
6871cd0df3
Fix task creation show page (#1775)
- fixed task creation show page
2023-09-30 08:32:45 +02:00
brendanlaschke
e3485cc609
Fix: Consistent avatars for show pages (#1776)
- consistent avatars for show pages
2023-09-30 08:32:00 +02:00
brendanlaschke
c06712f161
Chore: eslint forbid useHotkeys (#1777)
- add eslint rule
2023-09-30 08:25:34 +02:00
Charles Bochet
ab4f978a00 Update documentation nav font-size 2023-09-29 19:16:38 +02:00
Ayush Agrawal
a287a5bc8a
Feat: I can add a favorite directly from my table (#1747)
* implented add/remove favorite in context menu

* clear selected rows after favorite button click, context menu width 200px when remove from favorites is shown

* Update front/src/modules/ui/context-menu/components/ContextMenu.tsx
2023-09-29 18:33:28 +02:00
Thaïs
ae0acd508a
docs: add page level sidebar (#1749)
* POC: docs: add page level sidebar

Closes #1341

* docs: hide level 1 test page from navbar
2023-09-29 17:50:21 +02:00
Thaïs
4e181aa40e
feat: lazy load IconPicker icons (#1753)
Closes #1750
2023-09-29 16:23:36 +02:00
Thaïs
1c35ccce4e
docs: redesign docs collapsible categories (#1748)
* docs: redesign docs collapsible categories

Closes #1341

* Fix people creation from People table page

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-29 16:22:04 +02:00
Charles Bochet
b52190c707
Fix people creation from People table page (#1773) 2023-09-29 16:21:30 +02:00
Weiko
3851e0f992
Fix missing patches folder to deploy server (#1771)
* Fix missing patches folder to deploy server

* Fix missing patches folder to deploy server

* remove extra line

* add fix for twenty-dev
2023-09-29 15:41:09 +02:00
Charles Bochet
c82ac773b9 Fix server build 2023-09-29 15:37:58 +02:00
brendanlaschke
35ff695471
Added hint for cmdk-menu (#1743)
* - added hint for cmdk-menu

* - design
2023-09-29 11:23:14 +02:00
David Kramer
ed86cec1e8
Fix design EditableCell 'Hover', 'Focus' and 'Edit Mode' #1663 (#1740)
* fixed styling  EditableCell

* adding same solution

* removing shadow to cover top and bottom

* fixing with outline

* fixing width

---------

Co-authored-by: kramer <david.kramer@gmail.com>
2023-09-29 10:02:54 +02:00
Jérémy M
629bdbbf50
feat: dynamic graphQL schema generation based on user workspace (#1725)
* wip: refacto and start creating custom resolver

* feat: findMany & findUnique of a custom entity

* feat: wip pagination

* feat: initial metadata migration

* feat: universal findAll with pagination

* fix: clean small stuff in pagination

* fix: test

* fix: miss file

* feat: rename custom into universal

* feat: create metadata schema in default database

* Multi-tenant db schemas POC

fix tests and use query builders

remove synchronize

restore updatedAt

remove unnecessary import

use queryRunner

fix camelcase

add migrations for standard objects

Multi-tenant db schemas POC

fix tests and use query builders

remove synchronize

restore updatedAt

remove unnecessary import

use queryRunner

fix camelcase

add migrations for standard objects

poc: conditional schema at runtime

wip: try to create resolver in Nest.JS context

fix

* feat: wip add pg_graphql

* feat: setup pg_graphql during database init

* wip: dynamic resolver

* poc: dynamic resolver and query using pg_graphql

* feat: pg_graphql use ARG in Dockerfile

* feat: clean findMany & findOne dynamic resolver

* feat: get correct schema based on access token

* fix: remove old file

* fix: tests

* fix: better comment

* fix: e2e test not working, error format change due to yoga

* remove typeorm entity generation + fix jwt + fix search_path + remove anon

* fix conflict

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: corentin <corentin@twenty.com>
2023-09-28 16:27:34 +02:00