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
9be069bedc
Fixed bug for refectch activities and create activity on the currently filtered user. ( #1493 )
...
* Fixed bug for refectch activities and create activity on the currently filtered user.
* Refactor optimistif effect
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-10 23:02:51 -07:00
c808eeca79
Complete useFilteredSearchQuery refactoring ( #1531 )
...
Complete useFilteredSearchQuery ref
actoring
2023-09-10 17:07:05 -07:00
bcbf303364
Refactor useFilteredSearchEntityQuery to accept multiple filters ( #1526 )
...
* refactoring useFilteredSearchEntityQuery
* refactor with filter addition
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-09-10 16:12:16 -07:00
b6eb280639
fix: POC assigning in opportunities ( #1443 )
...
* fix: opportunities-poc-select
* gql codegen
* code review changes
2023-09-10 16:08:44 -07:00
fb737e2021
Refactor icons passed as props with the new way ( #1492 )
...
* Refactor icons passed as props with the new way
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Update more files
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Fix according to review
* Fix according to review
* Fix according to review
* Fix chromatic regressions
---------
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-10 11:39:17 -07:00
df17da80fc
refactor: add ViewBar and move view components to ui/view-bar ( #1495 )
...
Closes #1494
2023-09-08 11:57:16 +02:00
d6b89359f5
refactor: rename ui/filter-n-sort to ui/view-bar ( #1475 )
...
Closes #1473
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-09-06 16:46:02 +02:00
28ca9a9e49
Refactor/new menu item ( #1448 )
...
* wip
* finished
* Added disabled
* Fixed disabled
* Finished cleaning
* Minor fixes from merge
* Added docs
* Added PascalCase
* Fix from review
* Fixes from merge
* Fix lint
* Fixed storybook tests
2023-09-06 16:41:26 +02:00
878302dd31
[ESLint rule]: recoil value and setter should be named after their at… ( #1402 )
...
* Override unwanted changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
* Fix the tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-09-05 10:34:11 +02:00
732b5a5ddf
fix: avatar disappear when editing a person ( #1440 )
2023-09-05 09:52:06 +02:00
c0cb3a47f3
Fix/csv import ( #1397 )
...
* feat: add ability to enable or disable header selection
* feat: limit to max of 200 records for now
* fix: bigger modal
* feat: add missing standard fields for company
* fix: person fields
* feat: add hotkeys on dialog
* feat: mobile device
* fix: company import error
* fix: csv import crash
* fix: use scoped hotkey
2023-09-04 11:50:12 +02:00
a46210bb80
Implement Optimistic Effects ( #1415 )
...
* Fix person deletion not reflected on Opportunities POC
* Fix companies, user deletion
* Implement optimistic effects
* Implement optimistic effects
* Implement optimistic effects
* Fix accoding to PR
2023-09-04 10:56:48 +02:00
ae072b6ce5
refactor: index ViewField by viewId and key ( #1416 )
...
* refactor: index ViewField by viewId and key
Closes #1413
* refactor: rename ViewField properties
2023-09-04 10:55:03 +02:00
2538ad1c6b
fix: improve full name editable fields in Person Show page ( #1390 )
...
* fix: improve full name editable fields in Person Show page
+ autoresize inputs according to their content
+ use "Empty" as placeholder
+ improve hover style
Closes #910
* refactor: code review
- rename TemplateDimensionsEffect to ComputeNodeDimensionsEffect
2023-09-01 11:25:19 +02:00
2d5cb9c750
Fix person deletion not reflected on Opportunities POC ( #1387 )
...
* Fix person deletion not reflected on Opportunities POC
* Fix companies, user deletion
2023-08-31 15:06:17 +02:00
96c41563cf
chore: Make a twenty Eslint Rule to make sure that icons are imported from @/ui/icons ( #1370 )
...
Fix the imports
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com >
2023-08-29 13:40:17 +02:00
74919eff7a
refactor: add ColumnDefinition type ( #1357 )
...
* refactor: add ColumnDefinition type
Closes #1193
* refactor: code review - rename things
* fix: fix wrong import and lint
2023-08-28 18:33:03 +02:00
1b187350c0
Refactor buttons ( #1257 )
...
* Refactor buttons
* Complete components creation
* Complete refactoring
* fix lint
* Complete button work
2023-08-26 23:59:45 +02:00
c3d4767ac4
Feat: On Company Show, I can create a person and add it to the company ( #1256 )
...
* On Company Show, I can create a person and add it to the company
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
* Add minor refactors
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-25 21:21:57 +02:00
67cf6cd7e2
Rework tel input ( #1316 )
...
* Rework tel input
* Fix lint
2023-08-25 20:54:00 +02:00
4f7e1fb60e
Feat/phone email link enhancements ( #1172 )
...
* feat: Add type guards for ViewField email values and definitions, update ViewFieldTypes & peopleViewFields
* feat: use ContactLink for EditablePhoneCell & create EditableEmailCell & EmailInputDisplay comp
* fix: set second value for field
* enhance: add edit btn for phone cell
* feat: install dependencies intl-tel-input
* feat: add phone cell input & connect intl-tel-input
* fix: resolve rebase errors
* fix: remove placeholder
* feat(storybook): create stories for EmailInputDisplay, PhoneInputDisplay, and PhoneEditableField components
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-08-25 18:42:22 +02:00
432fea0ee3
feat: create view from current table columns + persist view fields on… ( #1308 )
...
feat: create view from current table columns + persist view fields on Update View button click
Closes #1302 , Closes #1307
2023-08-25 18:21:27 +02:00
c3d6451dd0
feat: create view from selected filters and sorts + switch to newly created view on view creation ( #1301 )
...
* feat: create view from selected filters and sorts
Closes #1292
* refactor: use selector to obtain table filters where query option
* refactor: activate exhaustive deps eslint rule for useRecoilCallback
* feat: switch to newly created view on view creation
Closes #1297
* refactor: code review
- use `useCallback` instead of `useRecoilCallback`
- rename `useTableViews` to `useViews`
- move filter-n-sort selectors to /states/selector subfolder
2023-08-25 12:43:21 +02:00
252f1c655e
Feat/hide board fields ( #1271 )
...
* Renamed AuthAutoRouter
* Moved RecoilScope
* Refactored old WithTopBarContainer to make it less transclusive
* Created new add opportunity button and refactored DropdownButton
* Added tests
* Deactivated new eslint rule
* Refactored Table options with new dropdown
* Started BoardDropdown
* Fix lint
* Refactor dropdown openstate
* Fix according to PR
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-08-24 13:19:42 +02:00
74ab0142c7
feat: persist view filters and sorts on Update View button click ( #1290 )
...
* feat: add viewFilters table
Closes #1121
* feat: add Update View button + Create View dropdown
Closes #1124 , #1289
* feat: add View Filter resolvers
* feat: persist view filters and sorts on Update View button click
Closes #1123
* refactor: code review
- Rename recoil selectors
- Rename filters `field` property to `key`
2023-08-23 18:20:43 +02:00
9b34a0ff3d
Add styled component rule ( #1261 )
...
* Add StyledComponent rule
* update doc
* update doc
* update doc
2023-08-17 20:58:02 -07:00
a24e1e4dc9
feat: delete views from views dropdown ( #1234 )
...
Closes #1129
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-08-16 14:27:03 -07:00
8863bb0035
Import company and person from csv file ( #1236 )
...
* feat: wip implement back-end call csv import
* fix: rebase IconBrandTwitter missing
* feat: person and company csv import
* fix: test & clean
* fix: clean & test
2023-08-16 14:18:16 -07:00
cd1bf14925
On Company Show, I can select an existing person and add it to the company ( #1201 )
...
* On Company Show, I can select an existing person and add it to the company
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add requested changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add excludePersonIds
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add hotkey support
* Fix popin placement and fix company show mobile
* Fix popin placement and fix company show mobile
---------
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-08-16 12:47:14 -07:00