Commit Graph

1379 Commits

Author SHA1 Message Date
Rajesh Kumar Padhy
ff4a2074e6
Update local-setup.mdx: Fix typo (#1646) 2023-09-19 11:51:47 +02:00
Charles Bochet
b5ccec4d58 Fix lint CI 2023-09-18 19:31:15 -07:00
gitstart-twenty
d8930f7079
Write Storybook test for @/ui/navbar (#1632)
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-18 19:28:53 -07:00
Charles Bochet
645f2b42c2
Boost CI (#1643)
* Boost CI

* Split CI tests in 2

* Try caching node modules

* Try caching node modules

* Try caching node modules

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Separate jest tests

* Fix typo

* Re-order tests jobs
2023-09-18 19:07:38 -07:00
Lucas Bordeau
3c4ab605db
Fix eslint-plugin-twenty (#1640)
* Fixed color rule

* Fixed naming

* Fix effect component rule

* Deactivated broken rules

* Fixed lint

* Complete eslint-plugin-twenty work

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-18 16:38:57 -07:00
Charles Bochet
2adabb3ba2 Fix tests 2023-09-17 08:59:42 -07:00
Charles Bochet
dba6f93826 Fix tests server 2023-09-17 08:41:46 -07:00
Charles Bochet
7fa80c5f71 Fix eslint setup 2023-09-17 08:28:05 -07:00
Anik Dhabal Babu
84eaa45027
fix: Migrate all rules from eslint-plugin-twenty to eslint-plugin-twenty-ts (#1618)
* migrate rules

* fix

* final

* final
2023-09-17 08:13:05 -07:00
Chigala
aaa63b3820
feat: added a dropDownCloseEffect component (#1621)
* feat: added a dropDownCloseEffect component

* Delete yarn.lock

* refactor: moved the DropdownCloseEffect inside the Dropdown button as a hook

* refactor: moved the DropdownCloseEffect to the DropdownButton jsx
2023-09-17 08:09:05 -07:00
Charles Bochet
fa7282ab4c Fix chromatic CI trigger on run-chromatic label 2023-09-16 22:29:34 -07:00
Charles Bochet
c82c5a191e
Introduce useOptimisticEvict (#1629) 2023-09-16 22:23:43 -07:00
Charles Bochet
9be674e440 Fix CI 2023-09-16 19:28:04 -07:00
Charles Bochet
43a5535739
Refactor NavCollapse button (#1625) 2023-09-16 19:20:17 -07:00
Charles Bochet
82ac84ee7c Update CI scripts 2023-09-16 16:33:23 -07:00
brendanlaschke
efc45f8663
Add company relation for person table (#1612)
* - add company relation for person table

* - also for context menu

* - fix yarn.lock

* - fix newline missing

* - fixed tab

* fix
2023-09-16 12:05:55 -07:00
brendanlaschke
a26c8d660d
Fix teleporting board cards on drag drop (#1613)
- fix teleporting board cards on drag drop
2023-09-16 12:03:46 -07:00
gitstart-twenty
00a3c8ca2b
Change to using arrow functions (#1603)
* Change to using arrow functions

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>

* Add lint rule

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-15 18:41:10 -07:00
gitstart-twenty
549335054a
Chore: Duplicate certain user fields to workspaceMember (#1514)
* Move certain user fields to workspaceMember

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Merge main

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Update the generated GraphQL

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Update hooks

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Rework typing

* Fix tests

* Remove console logs

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-15 17:32:58 -07:00
Lucas Bordeau
0a7a0ac6cb
Refactor/context and scopes (#1602)
* Put onImport in a context

* Refactored RecoilScopeContexts

* Refactored naming

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-15 12:51:46 -07:00
Zoltán Völcsey
d07474ece7
fix: Removed margin-top on Member page (#1609) 2023-09-15 11:27:52 -07:00
Charles Bochet
7949cff5df Try fix CI with pull_request trigger 2023-09-15 11:25:42 -07:00
gitstart-twenty
55ead78fbf
Fix: Bug with auto scroll (#1599)
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-15 17:52:43 +02:00
brendanlaschke
85a6d0aa12
Refactor action bar entries and context menu entries (#1608)
- refactored actionbar entries / context menu entries
2023-09-15 17:51:02 +02:00
Thaïs
955deaf878
feat: improve table options dropdown view name input (#1604)
- Always show view name input in dropdown
- Edit current view name by default
- Add focus style
- Reset view edit mode on dropdown close

Closes #1540
2023-09-15 17:26:00 +02:00
Zoltán Völcsey
d5e40e5fc8
feat: Added closeDropdownButton to the handleCompanySelected (#1605) 2023-09-15 17:22:52 +02:00
brendanlaschke
1be6ab2878
Reorder options menu board (#1606)
- reorder menu
2023-09-15 17:22:07 +02:00
Lucas Bordeau
b69f8f4fed
Fix github issue template (#1596) 2023-09-15 17:21:16 +02:00
Charles Bochet
9e1db476f1
fix menu-item floating buttons that should only be displayed on hover (#1588)
fix menu-item floating buttons that should only be dis
played on hover
2023-09-14 18:41:01 -07:00
Lucas Bordeau
84a27b148f
Feat/sidecar components (#1578)
* Added a new eslint plugin in TypeScript for Effect components

* Fixed edge cases

* Fixed lint

* Fix eslint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-14 17:04:45 -07:00
Charles Bochet
09db29c91a
Introduce 'Add new feature' issue template 2023-09-14 15:45:07 -07:00
Lucas Bordeau
70c0fd4e0d
Removed last old DropdownButton (#1573)
* Removed last old DropdownButton

* Update front/src/modules/ui/view-bar/components/SingleEntityFilterDropdownButton.tsx

Co-authored-by: Thaïs <guigon.thais@gmail.com>

* Fix CI

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
Co-authored-by: Thaïs <guigon.thais@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-14 15:33:45 -07:00
Thaïs
2461a387ce
feat: persist board card fields (#1566)
Closes #1538
2023-09-14 15:06:15 -07:00
Weiko
6462505a86
Fix CI: remove import for metadata POC (#1577)
Fix CI: remote import for metadata POC
2023-09-14 12:03:20 -07:00
Weiko
d98ddc3dbe
multi tenant schemas poc (#1569)
* 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

* add metadata

* add comments

* remove migrations for now

* do not allow connection to public schema for non-remote workspace connection

* rename getLastDataSourceMetadataFromWorkspaceIdOrFail

* remove schema creation

* remove module import
2023-09-14 14:39:37 +02:00
sweep-ai[bot]
e96f2ece7c
[config] Create sweep.yaml file (#1572)
* Create sweep.yaml with gha_enabled set to False

* Updated infra/dev/Makefile

---------

Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com>
2023-09-14 11:07:36 +02:00
Charles Bochet
8a27fd6ca5 Fix bug opportunity new button company search 2023-09-13 21:41:48 -07:00
Charles Bochet
ea7eeb2872 Try moving from to pull_request_target to pull_request 2023-09-13 20:33:17 -07:00
Charles Bochet
bdb6886818 Fix bug Opportunities add Plus button z-index 2023-09-13 19:33:10 -07:00
Charles Bochet
18fb66202a Fix column stage creation removed 2023-09-13 19:27:21 -07:00
Charles Bochet
f4c1acbca1 Fix a few bugs before deploy 2023-09-13 19:16:16 -07:00
Lucas Bordeau
8627416d60
Refator/sorts dropdown (#1568)
* WIP

* Fixed lint

* Ok for sorts

* Fixed on dropdown toggle

* Fix lint
2023-09-13 16:38:11 -07:00
Aditya Pimpalkar
a392a81994
fix: hover behaviour on table cells (#1557)
* edit button focus fix

* cell feedback fix

* using theme prop

* isHovered prop drill

* edit button component

* refactor editable cell

* import fix

* index fix (merge issue)
2023-09-13 16:31:59 -07:00
Charles Bochet
6cc28b8e14 Fix merge conflict 2023-09-13 16:21:34 -07:00
Pranav
7eef6e64a5
Change design for icons in 'MainNavbar' and 'Pageheader' (#1560)
* adjusted MainNavbar icons size from 'md' to 'sm'

* reduced CollapseButton size from 32px to 24px

* Added margin-left of 4px to the left chevron icon

* removed 8px padding

* updated the stroke for the NavItem
2023-09-13 14:20:25 +02:00
Thaïs
28e12d492c
feat: toggle board field visibilities (#1547)
Closes #1537, Closes #1539
2023-09-13 11:58:52 +02:00
Charles Bochet
67f1da038d
Refactor dropdown (#1561) 2023-09-13 10:30:33 +02:00
brendanlaschke
84b474c3cc
Number display formatting (#1556)
* number display formatting

* - add tests
2023-09-13 10:12:25 +02:00
gitstart-twenty
7e6c9141f4
Remove unwanted file (#1559)
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-12 23:46:11 -07:00
gitstart-twenty
cd946019f1
Add a notification for "tasks" in the navigation (#1489)
* Add a notification for "tasks" in the navigation

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Add a notification for "tasks" in the navigation

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Fix icon import in TaskNavMenuItem

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Use object destructuring

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Rename dueTasks to dueTaskCount

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>

* Complete Task notification display

* Fix lint

* Fix tests

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-12 18:16:51 -07:00