Harsh Singh
c0484aa9a2
fix: dropdown max-height and padding bottom ( #8167 )
...
Fixes : #6105
Also fixed side effect due to previous PR:
[Screencast from 2024-10-29
13-54-44.webm](https://github.com/user-attachments/assets/f15db853-ca1c-4be8-9362-610122c4d988 )
2024-10-29 11:00:35 +01:00
Harshit Singh
7901dbc02f
fix: Country Dropdown not closing with AddressInput ( #8147 )
...
## Description
- This PR fixes #8080
- The Country Selector dropdown closes with Address Input `clickOutside`
function
## Changes
https://github.com/user-attachments/assets/1ab85175-9ce9-40d2-ac52-14bfe87e254f
---------
Co-authored-by: Devessier <baptiste@devessier.fr >
2024-10-29 10:03:28 +01:00
martmull
94f2e1067b
Revert "fix: dropdowns should have a max-height & padding from screen" ( #8165 )
...
Reverts twentyhq/twenty#8055
2024-10-29 08:54:16 +00:00
Harsh Singh
e648d942a2
fix: dropdowns should have a max-height & padding from screen ( #8055 )
...
Fixes : #6105
### Problem
- The dropdown gets clipped when the number of filters increases.
### Solution
- Added scroll property to the ```DropdownMenu```
- Added size middleware to the floating UI hook.
- Provided padding of 20px to the size middleware, so that it maintains
distance from the bottom of the screen.
[Screencast from 2024-10-25
13-47-04.webm](https://github.com/user-attachments/assets/c2315ee2-6092-4c4a-8126-dba7ac3bf49b )
---------
Co-authored-by: martmull <martmull@hotmail.fr >
2024-10-28 16:59:57 +00:00
Sanskar Jain
9c923ba8d5
fix glitch for relation picker search ( #8040 )
...
Fix for #7957
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-10-25 16:51:52 +02:00
Faisal-imtiyaz123
99f8f8fedb
Adds KeyBoard Navigation to ObjectFilterDropDownFilterSelect ( #4365 ) ( #6613 )
...
fixes #4365
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-09-06 20:13:51 +02:00
Anand Krishnan M J
59e14fabb4
[Issue-5772] Add sort feature on settings tables ( #5787 )
...
## Proposed Changes
- Introduce a new custom hook - useTableSort to sort table content
- Add test cases for the new custom hook
- Integrate useTableSort hook on to the table in settings object and
settings object field pages
## Related Issue
https://github.com/twentyhq/twenty/issues/5772
## Evidence
https://github.com/twentyhq/twenty/assets/87609792/8be456ce-2fa5-44ec-8bbd-70fb6c8fdb30
## Evidence after addressing review comments
https://github.com/twentyhq/twenty/assets/87609792/c267e3da-72f9-4c0e-8c94-a38122d6395e
## Further comments
Apologies for the large PR. Looking forward for the review
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-08-14 17:11:17 +02:00
Aditya Pimpalkar
1f5c25ac0a
fix: navigate with arrow keys in select/multi-select ( #5983 )
...
closes : #4977
https://github.com/twentyhq/twenty/assets/13139771/8121814c-9a8a-4a8d-9290-1aebe145220f
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-08-02 20:12:46 +02:00
Charles Bochet
9683a19287
Enhance Dropdown API to make portal usage optional ( #6182 )
...
Using a portal in dropdown systematically can be an issue in case we are
having dropdown within dropdown. The useClickOutside listener will be
triggered. It's easier to usePortal only in the case we really need
them, which is quite rare
2024-07-09 18:13:42 +02:00
Lucas Bordeau
7b3a590f79
5421 box shadow on frozen header and first column ( #6130 )
...
- Refactored components in table
- Added a isTableRecordScrolledLeftState and
isTableRecordScrolledTopState to subscribe to table scroll
- Added a zIndex logic that subscribes to those new states in new tinier
components
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-07-05 18:30:59 +02:00
Thaïs
48003887ce
feat: remove a link from a Links field ( #5313 )
...
Closes #5117
TO FIX in another PR: right now, the "Vertical Dots" LightIconButton
inside the Dropdown menu sometimes needs to be clicked twice to open the
nested dropdown, not sure why 🤔 Maybe an `event.preventDefault()` is
needed somewhere?
<img width="369" alt="image"
src="https://github.com/twentyhq/twenty/assets/3098428/dd0c771a-c18d-4eb2-8ed6-b107f56711e9 ">
---------
Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-05-22 09:39:21 +02:00
Kanav Arora
bcf5268f7f
3886 - Shortcut Sort/Filter ( #3901 )
...
Closes #3886
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-04-04 00:43:44 +02:00
Charles Bochet
4a493b6ecf
New view picker ( #4610 )
...
* Implement new view picker
* Complete feature
* Fixes according to review
2024-03-22 15:04:17 +01:00
Jeet Desai
7231ea1e72
Fix: Inline Phone Field Menu ( #4383 )
...
* #4343 fix: phone menu display on page
* Add the possibility to send width as %
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-11 16:38:37 +01:00
Lucas Bordeau
581dfafe11
Renamed nullable utils into isDefined and isUndefinedOrNull ( #4402 )
...
* Renamed nullable utils into isDefined and isUndefinedOrNull
2024-03-11 14:28:57 +01:00
gitstart-app[bot]
17511be0cf
TWNTY-3794 - ESLint rule: only take explicit boolean predicates in if statements ( #4354 )
...
* ESLint rule: only take explicit boolean predicates in if statements
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Merge main
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix frontend linter errors
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix jest
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix lint on new code
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
2024-03-09 10:48:19 +01:00
Thaïs
3d809d5317
feat: add Display calendar settings ( #4164 )
...
* feat: add Color calendar setting
Closes #4067
* fix: fix wrong imports
* feat: add Display calendar settings
Closes #4068
* feat: add 12h/24h in Format option labels
* fix tests
* Fix
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-24 12:50:32 +01:00
Charles Bochet
f68de1a299
Board improvements ( #3694 )
...
* New board improvements
* Improve board
* Fix
2024-01-30 15:24:03 +01:00
Thomas Trompette
2713285a0f
Migrate dropdown to scope map ( #3338 )
...
* Migrate dropdown to scope map
* Run lintr
* Move Dropdown Scope internally
* Fix
* Fix lint
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-10 15:46:37 +01:00
Charles Bochet
756b30815e
Fix various bugs before 0.2.2 ( #3118 )
...
* Fix various bugs before 0.2.2 release
* Additional fixes
* More fixes
* Fixes
2023-12-21 23:48:52 +01:00
Lucas Bordeau
bded46444d
Added ability to edit filter and sort chip directly ( #2968 )
...
* - Added EditableSortChip
- Fixed EditableFilterChip onRemove not closing
* Added missing script in dependencies
* Linted files
* Finished fixing lint
2023-12-13 15:24:06 +01:00
Thaïs
0048216abf
feat: add Settings/Accounts Connected Accounts section accounts list ( #2953 )
...
Closes #2887
2023-12-12 16:03:39 +01:00
Charles Bochet
5bdca9de6c
Migrate to a monorepo structure ( #2909 )
2023-12-10 18:10:54 +01:00