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
88ca846f83
Rename InlineCell to RecordInlineCell ( #2377 )
...
rename inline cell
2023-11-06 17:18:25 +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
e053fba089
fix: fix Modules Storybook tests ( #2339 )
...
Fixes #2310
2023-11-03 15:01:42 +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
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
ec3327ca81
Fix major rework on view ( #2262 )
2023-10-27 15:30:52 +02:00
d02dd69613
Fix filters and sorts on views ( #2258 )
2023-10-27 11:48:38 +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
bd0b886081
1259/add compact view in opportunities ( #2182 )
...
* icons added
* recoil family state added for checking compact view in each card
* recoil state added for toggle button. Wether compact view show or not
* menu item modifed for right side content
* compact view toggle added in dropdown options
* dropdown width increased because compact view text was overflowing
* compact view added in boardcard
* new animation added for in and out
* compact view enabled state added
* old state deleted
* sizes added in toggle component
* removed extra added code form navigation
* toggle size added in menuitem toggle
* MenuItemToggle added instead of MenuItemNavigate
* Compact view improved
2023-10-24 16:24:25 +02:00
d61511262e
2060 create a new api key ( #2206 )
...
* Add folder for api settings
* Init create api key page
* Update create api key page
* Implement api call to create apiKey
* Add create api key mutation
* Get id when creating apiKey
* Display created Api Key
* Add delete api key button
* Remove button from InputText
* Update stuff
* Add test for ApiDetail
* Fix type
* Use recoil instead of router state
* Remane route paths
* Remove online return
* Move and test date util
* Remove useless Component
* Rename ApiKeys paths
* Rename ApiKeys files
* Add input text info testing
* Rename hooks to webhooks
* Remove console error
* Add tests to reach minimum coverage
2023-10-24 16:14:54 +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
e90301098a
Fix: hotkey scope not correctly set ( #2094 )
...
* technical input fix
* use previous hotkey instead for onblur
2023-10-18 19:46:21 +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
a35ea5e8f9
Feat/front forge graphql query ( #2007 )
...
* wip
* Wip
* Wip
* Finished v1
* Wip
* Fix from PR
* Removed unused fragment masking feature
* Fix from PR
* Removed POC from nav bar
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-13 22:27:57 +02:00
6b990c8501
Refactor input arch ( #1982 )
2023-10-12 17:41:50 +02:00
bf397bc6ec
Update the frontend to adhere to the custom eslint rule twenty/no-spread-props ( #1958 )
...
* Update the frontend to adhere to the custom eslint rule `twenty/no-spread-props`
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Update the frontend to adhere to the custom eslint rule `twenty/no-spread-props`
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* resolve bug with data-testid
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2023-10-10 15:40:49 +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
07450df1a1
Add no-console eslint rule ( #1890 )
...
* Add no-console eslint rule
* Remove unused test
2023-10-05 21:16:02 +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
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
56eea72110
fix count with opportunities page ( #1839 )
...
* fix count with opportunities page
* make unscoped atom entityCountInCurrentViewState
2023-10-04 15:04:53 +02:00
aab2f3ab3c
Fix lint
2023-10-04 12:48:40 +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
485bc64b4f
POC: Save view as url param ( #1710 )
...
* - save view as url param
* - fix tests
2023-09-28 11:50:44 +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
46ad36061e
feat: reorder kanban columns ( #1699 )
...
* kaban header options
* gql codegn
* moveColumn hook refactor
* BoardColumnContext addition
* saved board columns state
* db call hook update
* lint fix
* state change first db call second
* handleMoveTableColumn call
* codegen lint fix
* useMoveViewColumns hook
* useBoardColumns db call addition
* boardColumns state change from BoardHeader
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-27 15:59:44 +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
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
772d54d29f
feat: add DropdownMenuInput and use as view name input in board ( #1680 )
...
Closes #1510
2023-09-20 12:53:35 -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