a6d8cdb116
Fix context menu and favorites ( #2564 )
2023-11-17 16:24:43 +01:00
dee38bb901
Migrate activities ( #2545 )
...
* Start
* Migrate activities to flexible schema
2023-11-16 17:10:22 +01:00
1fc3124d1e
Update favorites query and state to work with new backend ( #2520 )
...
* wip
* wip
* adding favorite works in the database
* favorites are showing in the left drawer
* update favoorite NavItem link
* wip
* adding favorite works
* everything seems to work
* fix delete bug
* fix update favorite position
* update Favorite type
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-15 16:17:50 +01:00
618513afcd
Rename fieldId and objectId into fieldMetadataId and objectMetadataId ( #2421 )
...
* Rename fieldId and objectId into fieldMetadataId and objectMetadataId
* Fix tests
2023-11-10 14:35:18 +01:00
9c29c436b9
Feat/pagination front ( #2387 )
...
* Finished renaming and scope
* wip
* WIP update
* Ok
* Cleaned
* Finished infinite scroll
* Clean
* Fixed V1 tables
* Fix post merge
* Removed ScrollWrapper
* Put back ScrollWrapper
* Put back in the right place
2023-11-10 12:43:14 +01:00
7b9175a4a4
Revert "Convert metadata tables to camelCase" ( #2419 )
...
Revert "Convert metadata tables to camelCase (#2400 )"
This reverts commit 1cf08c797f .
2023-11-10 11:48:44 +01:00
1cf08c797f
Convert metadata tables to camelCase ( #2400 )
...
* Convert metadata tables to camelCase
* datasourcemetadataid to datasourceid
* refactor metadata folders
* fix command
* move commands out of metadata
* fix seed
* rename objectId and fieldId in objectMetadataId and fieldMetadataId in FE
* fix field-metadata
* Fix
* Fix
* remove logs
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-09 20:06:10 +01:00
588091d3dd
2357 Refactor RecordTable to use the new scope architecture ( #2407 )
...
* create RecordTableScope
* use RecordTableScope
* working on useRecordTable hook
* add RecordTableScope to company-table
* add RecordTableScope to person-table
* add filter state and sort state
* add useSetRecordTableData to useRecordTable
* wip
* add setRecordTableData to useRecordTable
* update in RecordTableEffect
* fix bug
* getting rid of unnecessary context and hooks
* remove console.log
* wip
* fix bug by creating an init effect
* fix viewbar not in scope in company and people tables
* wip
* updating useRecordTable to use internal hooks
* updating useRecordTable to use internal hooks
* updating useRecordTable to use internal hooks
* updating useRecordTable to use internal hooks
* modified according to comments
2023-11-09 17:45:58 +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
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
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
e04f9230da
Fix Add view not working on PersonTable
2023-11-03 15:01:01 +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
ec8389cecf
2282 Rename components to use the new naming convention part 1 ( #2293 )
...
renaming in progress
2023-10-31 12:12:52 +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
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
5ba68e997d
Improve viewbar api ( #2233 )
...
* create scopes
* fix import bug
* add useView hook
* wip
* wip
* currentViewId is now retrieved via useView
* working on sorts with useView
* refactor in progress
* refactor in progress
* refactor in progress
* refactor in progress
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fix code
* fix code
* wip
* push
* Fix issue dependencies
* Fix resize
---------
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2023-10-27 10:52:26 +02:00
dee9807eb3
Chore(front): Create Storybook tests for the DropdownMenu component ( #2157 )
...
* Chore(front): Create Storybook tests for the DropdownMenu component
Co-authored-by: Benjamin Mayanja V <vibenjamin6@gmail.com >
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
* Fix the tests
Co-authored-by: Benjamin Mayanja V <vibenjamin6@gmail.com >
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
* Simplify Dropdown
* Remove console.log
---------
Co-authored-by: Benjamin Mayanja V <vibenjamin6@gmail.com >
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-20 21:19:43 +02:00
a1a2309140
Chore: Edit button on cells should be guessed by the field's type ( #1952 )
...
* created custom hook to get Icon Component as per field type
* Fix conflicts
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-17 22:42:57 +02:00
70aef9bb28
Refactor sortsOrderBy & filtersWhere on CompanyTable & PeopleTable ( #2064 )
2023-10-16 16:49:37 +02:00
258685467b
Refactor UI folder ( #2016 )
...
* Added Overview page
* Revised Getting Started page
* Minor revision
* Edited readme, minor modifications to docs
* Removed sweep.yaml, .devcontainer, .ergomake
* Moved security.md to .github, added contributing.md
* changes as per code review
* updated contributing.md
* fixed broken links & added missing links in doc, improved structure
* fixed link in wsl setup
* fixed server link, added https cloning in yarn-setup
* removed package-lock.json
* added doc card, admonitions
* removed underline from nav buttons
* refactoring modules/ui
* refactoring modules/ui
* Change folder case
* Fix theme location
* Fix case 2
* Fix storybook
---------
Co-authored-by: Nimra Ahmed <nimra1408@gmail.com >
Co-authored-by: Nimra Ahmed <50912134+nimraahmed@users.noreply.github.com >
2023-10-14 00:04:29 +02:00
b9f23d9be6
Refactor RelationFieldDisplay to eliminate dependency on non-ui components ( #1949 )
...
* job done
* removed example type
* removed unused temporary type
2023-10-09 22:38:47 +02:00
29c013f826
1584/fix/dropdown item width not correct ( #1950 )
...
* added full width to new button
* removed scrollbar width in dropdown item
* Fix dropdown width issue
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-09 22:37:26 +02:00
77a1840611
Chore(front): Create a custom eslint rule for Props naming ( #1904 )
...
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2023-10-09 16:31:13 +02:00
a09456055e
Fix: Changed file and component names ( #1934 )
...
Changed file and component names
2023-10-09 15:42:25 +02:00
53021dc64f
Feat: Add tooltips on new column menu ( #1893 )
...
* implemented tooltip for view fields
* console.log
2023-10-06 11:04:39 +02:00
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
3336144245
Feat: First column style update ( #1746 )
...
reimplemented as per suggestions by lucas
2023-10-04 10:25:43 +02:00
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
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
b52190c707
Fix people creation from People table page ( #1773 )
2023-09-29 16:21:30 +02:00
cbadcba188
FieldDisplay & FieldInput ( #1708 )
...
* Removed view field duplicate types
* wip
* wip 2
* wip 3
* Unified state for fields
* Renaming
* Wip
* Post merge
* Post post merge
* wip
* Delete unused file
* Boolean and Probability
* Finished InlineCell
* Renamed EditableCell to TableCell
* Finished double texts
* Finished MoneyField
* Fixed bug inline cell click outside
* Fixed hotkey scope
* Final fixes
* Phone
* Fix url and number input validation
* Fix
* Fix position
* wip refactor activity editor
* Fixed activity editor
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-27 18:18:02 +02:00
8639cb921e
Chore: corrects syntax for type only imports ( #1716 )
...
* chore: removes replaces 'import type xxx from 'xxx'' with 'import { type xxx} from 'xxx'''
* chore: remove typed imports
* chore: remove typed imports
* chore: cleanup
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-09-26 11:47:35 +02:00
54042a7d8f
Fix drag to select in dropdowns, context menu and action bar ( #1704 )
...
- fix drag to select disable at many locations
2023-09-21 14:22:13 -07:00
ab0cdbf960
feat: persist table columns on change ( #1697 )
...
* feat: persist table columns on change
Closes #1580
* fix: fix drag-and-select on Table Options dropdown toggle
2023-09-21 13:15:57 -07:00
7ce03ffdd1
Refactor tests command menu ( #1702 )
...
* Fix tests
* Refactor tests command menu
* Improve tests
* Fix optimistic render breaking tests
2023-09-21 11:53:36 -07:00
708391460c
Fix optimistic effects to work with fragments ( #1683 )
...
* Fix optimistic effects to work with fragments
* Regenerate
2023-09-20 16:13:54 -07:00
103fb701e7
Chore: Use Fragments as types ( #1670 )
...
* Use Fragments as types
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Use Fragments as types in GraphQL queries and mutations
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-09-20 10:58:59 +02:00
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
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
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
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
85a6d0aa12
Refactor action bar entries and context menu entries ( #1608 )
...
- refactored actionbar entries / context menu entries
2023-09-15 17:51:02 +02:00
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
2461a387ce
feat: persist board card fields ( #1566 )
...
Closes #1538
2023-09-14 15:06:15 -07:00
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
564a7c97b1
refactor: improve SingleEntitySelect empty option ( #1543 )
...
Closes #1331
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-11 17:27:17 -07:00
a766c60aa5
Reafactor/UI input and displays ( #1544 )
...
* WIP
* Text field
* URL
* Finished PhoneInput
* Refactored input sub-folders
* Boolean
* Fix lint
* Fix lint
* Fix useOutsideClick
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-11 17:11:20 -07:00