Commit Graph

1051 Commits

Author SHA1 Message Date
Thaïs
df17da80fc
refactor: add ViewBar and move view components to ui/view-bar (#1495)
Closes #1494
2023-09-08 11:57:16 +02:00
Thaïs
ccb57c91a3
refactor: move view recoil states to ui/view-bar folder (#1482)
* refactor: move view recoil states to ui/view-bar folder

Closes #1481

* refactor: rename some view related Recoil states and selectors
2023-09-08 11:26:15 +02:00
Andrea Giacon
47151525ce
chore: bump Twenty version to 0.1.3 in front/package.json (#1478)
chore: Update package version in package.json

An increment in version number was made in the application's package.json file, from 0.1.2 to 0.1.3. This update was necessary as part of the new release preparation encompassing changes made in the codebase since the last version.
2023-09-07 22:45:51 +02:00
gitstart-twenty
0e6bd5c098
fix the tests (#1491)
* fix the tests

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

* Update front/src/testing/graphqlMocks.ts

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thaïs <guigon.thais@gmail.com>
2023-09-07 22:41:19 +02:00
Charles Bochet
2eb1ea5462
Fix front plugin not initialize with user email, first name and last name (#1506)
Fix front plugin not working
2023-09-07 22:40:09 +02:00
Lucas Bordeau
392c8052b2
Fixed Table view dropdown (#1497) 2023-09-07 22:39:53 +02:00
brendanlaschke
4348bc8e22
Add relation for Company on people show page note creation (#1418)
* - added additional entity(company) for people

* - moved getRelationData to util function

* - remove recursion

* typo
2023-09-07 22:38:01 +02:00
Mustajab Ikram
bd2e4307d2
Refactor/modal component tests 1332 (#1392)
* feat: Add separate constants in theme for modal sizes and paddings

* feat: Implement dynamic sizing and padding for Modal

* feat: use dynamic modal feature for csv import

* fix: Remove redundant props from spreadsheet-import

* fix: use theme.spacing() instead

* fix: place types to Modal.tsx, convert ternary to switch-case, give default value

* fix: give px to modal sizes

* enhance: add color style to modal

* feat: add modal to storybook
2023-09-07 22:34:32 +02:00
Pepe
a902b7c6fe
Display a 404 on people/:id and company/:id when id does not exist (#1468)
* Display 404 while person or company not found

* Display 404 while person or company not found

* Issue solved
2023-09-06 16:46:40 +02:00
Thaïs
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
Lucas Bordeau
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
Thaïs
5c7660f588
feat: create default opportunities view on workspace creation + add seed data (#1461)
Closes #1314
2023-09-06 12:05:33 +02:00
Jérémy M
08b56ec7e2
fix: can't set ARR of company to empty (#1474) 2023-09-06 11:22:42 +02:00
Charles Bochet
91e146ed3e
Fix Profile picture uploader (#1471) 2023-09-06 11:03:25 +02:00
Jérémy M
cbcb49cd1e
fix: allow null value for number and date (#1472) 2023-09-06 11:03:12 +02:00
Charles Bochet
f332c3bee2
Fix View update button not being displayed in View Bar (#1469) 2023-09-06 10:37:29 +02:00
Jérémy M
c05d24d249
fix: table view dropdown should have a minimum width (#1467) 2023-09-06 10:37:02 +02:00
Jérémy M
85c8139c05
fix: double text chip show null value (#1460) 2023-09-05 17:55:29 +02:00
Jérémy M
aad4f99f52
fix: view dropdown incorrect button position and floating icon button doesn't match design (#1458)
* fix: view dropdown incorrect button position

* fix: className instead of style drill down

* fix: view drop down width
2023-09-05 17:45:05 +02:00
Jérémy M
21e3f6ecb2
fix: drop down menu should be of 160px size (#1459)
* fix: drop down menu should be of 160px size

* fix: typing

* fix: remove debug
2023-09-05 17:38:07 +02:00
Thaïs
b3887c6bcc
fix: use correct table view when switching workspaces (#1447)
Closes #1441
2023-09-05 12:40:45 +02:00
Charles Bochet
53f3c1691d Fix recoil lint rule 2023-09-05 10:50:58 +02:00
gitstart-twenty
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
Jérémy M
0ec4b78aee
feat: add recoil debug observer (#1446)
* feat: add recoil debug observer

* fix: convention
2023-09-05 10:00:19 +02:00
Matthew
7bced2b49b
Unselect table rows using esc key or click outside (#1420)
* unselect table rows by esc or clickoutside of tablebody

* exclude action-bar

* exclude context-menu

* added enums, handled touch listener
2023-09-05 09:56:07 +02:00
Jérémy M
732b5a5ddf
fix: avatar disappear when editing a person (#1440) 2023-09-05 09:52:06 +02:00
Thaïs
d866c0e3bc
fix: fix table columns update (#1435)
Closes #1434
2023-09-05 09:50:53 +02:00
Jérémy M
421066c4b8
fix: Boolean editable field not align properly (#1444) 2023-09-05 09:50:23 +02:00
Jérémy M
33c67214d6
fix: tasks "Done" not visible (#1445) 2023-09-05 09:46:14 +02:00
Charles Bochet
d04c661ffd
Fix buttons and z-index (#1438)
* Fix buttons

* Remove useless code
2023-09-04 17:52:03 +02:00
Jérémy M
2eac5df05b
fix: big view name is not handled (#1439)
* fix: big view name is not handled

* fix: smaller max size
2023-09-04 17:47:32 +02:00
Jérémy M
6cf46cfdf5
fix: just change the order to match design (#1410)
* fix: just change the order to match design

* fix: view field definition change
2023-09-04 17:46:24 +02:00
Jérémy M
4889a69751
fix: DatePicker cut in DropDownMenu (#1437)
* fix: DatePicker cut in DropDownMenu

* fix: better solution
2023-09-04 17:42:46 +02:00
Thaïs
a1e6e46388
fix: allow access to the Update View button when a table column can be persisted (#1433)
Closes #1432
2023-09-04 17:08:04 +02:00
Jérémy M
85156ce9ae
fix: allow zero value on number field (#1436)
* fix: allow zero value on number field

* fix: test
2023-09-04 17:03:31 +02:00
Thaïs
8e22ffd021
fix: fix dropdown buttons z-index (#1431)
Closes #1430, Closes #1422
2023-09-04 16:51:12 +02:00
Thaïs
96a0f30e98
feat: delete pipeline stage (#1412)
* feat: delete pipeline stage

Closes #1396

* refactor: code review

- Use string literal instead of enum

* docs: disable CircularProgressBar Chromatic snapshots
2023-09-04 16:39:01 +02:00
Ragnar Laud
1a71f61d24
Fix column not being saved properly (#1429)
* Fix email column not being saved

* Fix URL fields not being clearable

* Fix phone number clearing
2023-09-04 15:42:10 +02:00
Jérémy M
3a0f02f2f2
feat: table virtualization (#1408)
* feat: poc table virtualization

* feat: table virtualization

* feat: add overscan of 15

* fix: increase overscan to 50

* fix: dead code

* fix: debug mode

* feat: styled space
2023-09-04 13:33:02 +02:00
gitstart-twenty
9a35b1fa44
In Activities (Tasks / Notes) right drawer, while editing the body and displaying the styling bar, the bar should styling not be larger than the right drawer (#1414)
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>
2023-09-04 11:54:08 +02:00
Jérémy M
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
Thaïs
f29d843db9
feat: add board options dropdown and pipeline stage creation (#1399)
* feat: add board options dropdown and pipeline stage creation

Closes #1395

* refactor: code review

- remove useCallback
2023-09-04 11:37:31 +02:00
Lucas Bordeau
2ac32e42c5
Added enums use case (#1428) 2023-09-04 11:35:27 +02:00
Ragnar Laud
c998c039ec
Fix URL validation on long/internationalized URLs (#1423)
* Add URL validation tests

Add test for longer TLDs
Add test for internationalized TLDs

* Fix URL validation with long TLDs

* TLD max size match RFC 1034

---------

Co-authored-by: Jérémy M <jeremy.magrin@gmail.com>
2023-09-04 11:30:43 +02:00
Charles Bochet
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
Thaïs
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
Matthew
c3c5cb4d1f
unselect all cards using esc key or click (#1393)
* unselect all cards using esc key or click

* useScopedHotKeys

* useListenClickByClassName

* rules are rules

* smoothing out || cursor-boxing-selection compliant

* replenished activeCardIds

* setRecoilState
2023-09-01 18:00:21 +02:00
gitstart-twenty
f0674767c1
chore: Show my completed tasks without date categories (#1375)
* Show my completed tasks without date categories

Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>

* Refactor the code

Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>

---------

Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
2023-09-01 14:50:11 +02:00
Matthew
aa47579289
Robust Photo Uploader, handling unsupported file types, upload error, apollo uploader (#1400)
* added uploaded controller, handled unsupported image formatting and error uploading styling

* remove callbacks
2023-09-01 13:41:07 +02:00
Thaïs
5653b89114
fix: fix filter and sort position on board horizontal scroll (#1386)
Closes #1354
2023-09-01 11:54:34 +02:00