Commit Graph

961 Commits

Author SHA1 Message Date
Weiko
c9549c3833
[docs] add folder architecture doc (#1221)
* [docs] add folder architecture doc

* update

* add internal

* improve doc
2023-08-15 15:15:07 -07:00
Jérémy M
56cada6335
feat: wip import csv [part 1] (#1033)
* feat: wip import csv

* feat: start implementing twenty UI

* feat: new radio button component

* feat: use new radio button component and fix scroll issue

* fix: max height modal

* feat: wip try to customize react-data-grid to match design

* feat: wip match columns

* feat: wip match column selection

* feat: match column

* feat: clean heading component & try to fix scroll in last step

* feat: validation step

* fix: small cleaning and remove unused component

* feat: clean folder architecture

* feat: remove translations

* feat: remove chackra theme

* feat: remove unused libraries

* feat: use option button to open spreadsheet & fix stories

* Fix lint and fix imports

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-15 15:12:47 -07:00
brendanlaschke
1ca41021cf
Change sort and filter chip style, Add seperator (#1222)
- change sort filter chip style & seperator
2023-08-15 13:40:42 -07:00
Thaïs
4e654654da
feat: add views dropdown (list, add & edit views) (#1220)
Closes #1218
2023-08-15 12:08:02 -07:00
Charles Bochet
7a330b4a02
Add foreign key constraints and perform on Cascade Delete (#1219) 2023-08-15 11:52:23 -07:00
gitstart-twenty
83b900e016
On Company Show, in team section, I can delete a person (#1206)
* On Company Show, in team section, I can detach a person from a company

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* On Company Show, in team section, I can detach a person from a company

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Temporary fix disconnect optional relations

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Refactor the PR logic

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* On Company Show, in team section, I can delete a person

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

* Fix styling

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

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Refactor the dropdown

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Update styling

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-15 09:08:51 -07:00
gitstart-twenty
8f7044207d
On Company Show, in team section, I can detach a person from a company (#1202)
* On Company Show, in team section, I can detach a person from a company

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* On Company Show, in team section, I can detach a person from a company

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Temporary fix disconnect optional relations

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Refactor the PR logic

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Refactor the dropdown

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
2023-08-15 08:40:25 -07:00
Charles Bochet
9bbdf933e9
Fix sort and filters behavior (#1211) 2023-08-14 20:11:00 -07:00
Charles Bochet
e9619ec1ac Fix merge conflict 2023-08-14 19:35:09 -07:00
Weiko
24e5132029
Moving queries into dedicated files (#1210)
* Moving queries into dedicated files

* fix ci
2023-08-14 19:31:20 -07:00
gitstart-twenty
656f1af15c
feat: I can hide/show filter bar and add filters directly from filter bar (#1173)
* I can hide/show filter bar and add filters directly from filter bar

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

* Add requested changes

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

* Revert breaking changes

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-08-14 19:12:11 -07:00
Weiko
239d036813
Upgrade /front version and display the version in settings navbar (#1207)
* Upgrade /front version and display the version in settings navbar

* fix

* fix version

* restore center

* add icon

* Fix styled components

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-14 17:40:10 -07:00
Charles Bochet
e3dc3b3e4a
Cosmetic refactoring on context menu (#1209)
* Cosmetic refactoring on context menu

* Fix lint

* Fix lint

* Fix lint

* Fix lint

* Fix lint

* Fix lint
2023-08-15 02:34:23 +02:00
Charles Bochet
444d9a9ca1 Merge branch 'brendanlaschke-context-menu-vertical' 2023-08-14 15:46:42 -07:00
Charles Bochet
45687f5100 Fix conficts 2023-08-14 15:43:55 -07:00
Weiko
43b0945028 Reorganize context/states/selectors in dedicated folders (#1205)
* Reorganize context/states/selectors in dedicated folders

* linter
2023-08-14 15:29:47 -07:00
Weiko
7d900ad1c6
Reorganize context/states/selectors in dedicated folders (#1205)
* Reorganize context/states/selectors in dedicated folders

* linter
2023-08-14 15:08:47 -07:00
brendanlaschke
d7cbc869fd - fix import order 2023-08-14 23:56:49 +02:00
brendanlaschke
cbd0d0a724 - rename entries hooks
- tests
- move useeffects to sub components
2023-08-14 23:52:36 +02:00
brendanlaschke
a7f4326419 - moved states 2023-08-14 22:12:29 +02:00
brendanlaschke
39bbe02c86 Merge commit 'cd3a32e55503dc1e6b9873d812dd401bf7d51045' into context-menu-vertical 2023-08-14 22:00:49 +02:00
Charles Bochet
cd3a32e555
[Docs] Update WSL instructions + fix broken links (#1204)
Update WSL instructions
2023-08-14 11:25:52 -07:00
Manikanta cheepurupalli
3f0680bde6
tasks strikes through #1176 (#1186) 2023-08-14 19:36:03 +02:00
Charles Bochet
5fdd8e0793 Fix boardcard selected state and fix table new row being added on top 2023-08-13 10:49:28 -07:00
Charles Bochet
e6b20b5ff2
Fix drag-performance (#1184)
* Fix drag-performance

* Fixes

* Fixes

* Fixes

* Fixes
2023-08-12 20:28:33 -07:00
Weiko
bf09a4d6a2
Improve editable field performances (#1182)
* [EditableField] improve performances

* remove FieldHotkeyScopeContext.ts
2023-08-12 17:27:02 -07:00
Charles Bochet
8cf6db8c65
fix-on-dropdown-menu-width (#1181) 2023-08-12 17:26:47 -07:00
Charles Bochet
09ab1300a3
Remove unused components (#1180)
* Remove unused components

* Fix company not being created issue

* Fix company not being created issue

* Fix company not being created issue

* Optimize rendering

* Optimize rendering
2023-08-12 16:29:18 -07:00
Charles Bochet
35ea6b5a2f
Remove activityType and Id (#1179)
* Remove activityType and Id

* Fix tests

* Fix tests
2023-08-11 17:31:54 -07:00
Weiko
a30222fe76
[PersonShow] use fieldDefinition for editable fields (#1178)
* [PersonShow] use fieldDefinition for editable fields

* remove unused files

* fix company chip display field
2023-08-12 01:36:38 +02:00
Charles Bochet
007e42a2e6
Re-add constraints (#1177) 2023-08-11 15:04:01 -07:00
Weiko
4eb4d1488c
Use FieldDefinition for company show page (#1171)
* Use FieldDefinition for company show page

* removing console.log

* fix conflicts

* fix address placeholder + company show page field definition ordering

* fix story

* add replacePlaceholder

* use AppPath enum in stories

* add routeParams

* fix people input story
2023-08-11 14:31:52 -07:00
Thaïs
3978ef4edb
feat: change column visibility on add (#1174)
* feat: change column visibility on add

* refactor: extract views business logic from table
2023-08-11 12:38:20 -07:00
brendanlaschke
cca68d72f4
Merge branch 'main' into context-menu-vertical 2023-08-11 10:40:31 +02:00
brendanlaschke
accfaafcfa - refactored to use multiple states 2023-08-11 10:27:31 +02:00
Charles Bochet
e61c263b1a Misc fixes 2023-08-10 17:16:27 -07:00
Charles Bochet
20b641bfe6 Fix checkbox indeterminate background 2023-08-10 15:58:24 -07:00
Charles Bochet
285bf773de
Integrate favorites into release (#1168) 2023-08-10 15:42:58 -07:00
Aditya Pimpalkar
0490c6b6ea
feat: Favorites (#1094)
* Adding the favorite button

* favorites services and resolvers

* favorites schema

* favorite ability handler

* favorite module export

* front end UI

* front end graphql additions

* server ability handlers

* server resolvers and services

* css fix

* Adding the favorite button

* favorites services and resolvers

* favorites schema

* favorite ability handler

* favorite module export

* front end UI

* front end graphql additions

* server ability handlers

* server resolvers and services

* css fix

* delete favorites handler and resolver

* removed favorite from index list

* chip avatar size props

* index list additions

* UI additions for favorites functionality

* lint fixes

* graphql codegen

* UI fixes

* favorite hook addition

* moved to ~/modules

* Favorite mapping to workspaceMember

* graphql codegen

* cosmetic changes

* camel cased methods

* graphql codegen
2023-08-10 15:24:45 -07:00
Charles Bochet
d4b1153517 Fix New button drag behavior on pipeline views 2023-08-10 15:16:56 -07:00
Charles Bochet
fb0f9b7807
Fixes before deploy (#1167) 2023-08-11 00:09:52 +02:00
Charles Bochet
5300952b1a Remove breaking change foreign key 2023-08-10 12:55:40 -07:00
brendanlaschke
b76f01d930 - refactor context menu and action bar into seperate components
- fix styling context menu
2023-08-10 21:30:25 +02:00
Weiko
4288cef096
refactoring editableFieldContext to match with table implementation (#1164) 2023-08-10 12:26:05 -07:00
Charles Bochet
a12b6c4bda
Force 404 on static folder when a file is not found (#1165) 2023-08-10 12:17:40 -07:00
brendanlaschke
807506549a Merge commit '80a562d90d1d354c580351a2c94d32aa024b139e' into context-menu-vertical 2023-08-10 20:27:05 +02:00
Weiko
07a8f68ef1
Add FieldDefinition (#1162)
* add fieldDefinition

* update naming

* use a unique contextProvider for editable fields

* remove EntityUpdateMutationHookContext.Provider usage in CompanyBoardCard

* add fieldDefinitionState

* remove unnecessary refetchQueries to avoid re-render

* add FieldMetadata

* add type guards and update useUpdateGenericEntityField

* restore refetchQueries
2023-08-10 11:26:27 -07:00
Thaïs
80a562d90d
feat: persist view sorts (#1154)
Closes #1122
2023-08-10 10:10:02 -07:00
Emilien Chauvet
6b3a538c07
Feature/optmistically render table create & remove (#1156)
* Add optimistic updates on company table

* Add optimistic rendering for tables too

* Fix schema
2023-08-10 09:37:24 -07:00
Srikar Samudrala
ee5ac11f98
Adds URL validation (#1155) 2023-08-10 09:35:09 -07:00