#12 topbar search (#371)

- added search in topbar
 - added skeleton search results page
 - added tests
 - set personal calendars as default search in and allow to select personal and shared as a search in option

---------

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
Camille Moussu
2025-11-28 14:54:13 +01:00
committed by GitHub
parent 1a85afc57d
commit ae17ac2bd6
20 changed files with 1508 additions and 152 deletions
+24
View File
@@ -0,0 +1,24 @@
<svg width="108" height="108" viewBox="0 0 108 108" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="108" height="108" rx="35.6673" fill="white" />
<rect width="108" height="108" rx="35.6673" fill="#F0F1F3" />
<g filter="url(#filter0_d_4594_5504)">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M36.6675 21.4402C36.0425 21.1055 35.3028 20.9272 34.3118 20.9272H33.9982C33.0071 20.9272 32.2675 21.1055 31.6424 21.4402C31.0174 21.7747 30.5268 22.2659 30.1927 22.8917C29.8584 23.5175 29.6804 24.258 29.6804 25.2503L29.6835 26.7027C28.2184 27.042 27.1226 27.5098 26.0226 28.0989C23.5225 29.4375 21.5603 31.402 20.2232 33.9051C18.8861 36.4083 18.1741 38.8912 18.1741 45.7381V67.7969C18.1741 74.6439 18.8861 77.1268 20.2232 79.6299C21.5603 82.1331 23.5225 84.0975 26.0226 85.4362C28.5227 86.7748 31.0024 87.4877 37.8411 87.4877H70.1012C76.9399 87.4877 79.4198 86.7748 81.9199 85.4362C84.4201 84.0975 86.3822 82.1331 87.7192 79.6299C89.0565 77.1268 89.7685 74.6439 89.7685 67.7969V45.7381C89.7685 38.8912 89.0565 36.4083 87.7192 33.9051C86.3822 31.402 84.4201 29.4375 81.9199 28.0989C80.8212 27.5105 79.7265 27.0429 78.2638 26.7039L78.2622 25.2503C78.2622 24.258 78.0842 23.5175 77.7499 22.8917C77.4155 22.2659 76.9251 21.7747 76.3001 21.4402C75.6751 21.1055 74.9352 20.9272 73.9444 20.9272H73.6308C72.6397 20.9272 71.9001 21.1055 71.275 21.4402C70.65 21.7747 70.1594 22.2659 69.8251 22.8917C69.491 23.5175 69.313 24.258 69.313 25.2503V26.0471L38.6296 26.0421V25.2503C38.6296 24.258 38.4516 23.5175 38.1172 22.8917C37.7832 22.2659 37.2925 21.7747 36.6675 21.4402ZM31.3846 45.2473H76.5579C78.0396 45.2473 78.577 45.4019 79.1186 45.6918C79.6602 45.9819 80.0853 46.4075 80.3751 46.9501C80.6649 47.4924 80.819 48.0303 80.819 49.5138V72.6267L80.7847 73.2682C80.4652 76.2185 77.9688 78.5148 74.9252 78.5148L34.6482 78.4263L33.8349 78.4144C31.819 78.3566 30.9747 78.0889 30.1245 77.6321C29.1683 77.1182 28.4179 76.3655 27.9068 75.4066C27.3954 74.4478 27.1233 73.4973 27.1233 70.8758V49.5138L27.1328 48.9331C27.1702 47.8765 27.3191 47.4148 27.5674 46.9501C27.857 46.4075 28.2821 45.9819 28.8239 45.6918C29.3656 45.4019 29.9029 45.2473 31.3846 45.2473ZM69.51 51.6474H66.5588C64.8491 51.6474 64.2293 51.8256 63.6043 52.1604C62.9792 52.4951 62.4886 52.9861 62.1543 53.6119C61.8202 54.2376 61.6422 54.8584 61.6422 56.5702V59.5248C61.6422 61.2365 61.8202 61.8573 62.1543 62.4831C62.4886 63.1089 62.9792 63.5999 63.6043 63.9346C64.2293 64.2693 64.8491 64.4476 66.5588 64.4476H69.51C71.2198 64.4476 71.8396 64.2693 72.4646 63.9346C73.0896 63.5999 73.5803 63.1089 73.9146 62.4831C74.2487 61.8573 74.4267 61.2365 74.4267 59.5248V56.5702C74.4267 54.8584 74.2487 54.2376 73.9146 53.6119C73.5803 52.9861 73.0896 52.4951 72.4646 52.1604C71.8396 51.8256 71.2198 51.6474 69.51 51.6474Z"
fill="white" />
</g>
<defs>
<filter id="filter0_d_4594_5504" x="12.6668" y="16.5214" width="82.6089" height="77.5751"
filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix" />
<feColorMatrix in="SourceAlpha" type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha" />
<feOffset dy="1.10145" />
<feGaussianBlur stdDeviation="2.75363" />
<feComposite in2="hardAlpha" operator="out" />
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" />
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_4594_5504" />
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_4594_5504"
result="shape" />
</filter>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB