Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix(nc-gui): add missing icons

Ramesh Manec7dfd991a0fb
diff --git a/packages/nc-gui/assets/nc-icons-v2/baserow-colored.svg b/packages/nc-gui/assets/nc-icons-v2/baserow-colored.svg
new file mode 100644
index 0000000000..9ba01e28ca
--- /dev/null
+++ b/packages/nc-gui/assets/nc-icons-v2/baserow-colored.svg
@@ -0,0 +1,7 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
+ <path d="M13.6781 24H1.28906C0.576563 24 0 23.4234 0 22.7109V19.3594C0 18.6469 0.576563 18.0703 1.28906 18.0703H13.6734C14.3859 18.0703 14.9625 18.6469 14.9625 19.3594V22.7109C14.9672 23.4234 14.3906 24 13.6781 24Z" fill="#4D68C4"/>
+ <path d="M22.7109 14.9668H1.28906C0.576563 14.9668 0 14.3902 0 13.6777V10.3262C0 9.61367 0.576563 9.03711 1.28906 9.03711H22.7109C23.4234 9.03711 24 9.61367 24 10.3262V13.6777C24 14.3902 23.4234 14.9668 22.7109 14.9668Z" fill="#5190EF"/>
+ <path d="M22.7108 5.93437H10.3218C9.60928 5.93437 9.03271 5.35781 9.03271 4.64531V1.28906C9.03271 0.576563 9.60928 0 10.3218 0H22.7062C23.4233 0 23.9999 0.576563 23.9999 1.28906V4.64062C23.9999 5.35781 23.4233 5.93437 22.7108 5.93437Z" fill="#2BC3F1"/>
+ <path d="M22.7109 24H19.3594C18.6469 24 18.0703 23.4234 18.0703 22.7109V19.3594C18.0703 18.6469 18.6469 18.0703 19.3594 18.0703H22.7109C23.4234 18.0703 24 18.6469 24 19.3594V22.7109C24 23.4234 23.4234 24 22.7109 24Z" fill="#4D68C4"/>
+ <path d="M1.28906 0H4.64062C5.35313 0 5.92969 0.576563 5.92969 1.28906V4.64062C5.92969 5.35313 5.35313 5.92969 4.64062 5.92969H1.28906C0.576563 5.93437 0 5.35781 0 4.64531V1.28906C0 0.576563 0.576563 0 1.28906 0Z" fill="#2BC3F1"/>
+</svg>
\ No newline at end of file
diff --git a/packages/nc-gui/assets/nc-icons-v2/coda-colored.svg b/packages/nc-gui/assets/nc-icons-v2/coda-colored.svg
new file mode 100644
index 0000000000..0a9ebdccc9
--- /dev/null
+++ b/packages/nc-gui/assets/nc-icons-v2/coda-colored.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
+ <path d="M21.029 0H2.96918C1.88455 0.00199855 1.00495 0.892824 1 1.99429V21.9421C1.00495 23.0442 1.88519 23.9353 2.97038 23.937H21.0302C22.1153 23.9353 22.9954 23.0441 23 21.9421V21.0117C22.967 19.8144 22.934 17.321 22.934 16.1908C22.934 15.5589 22.4744 15.027 21.8834 15.027C21.2264 15.027 20.7998 15.4261 20.4716 15.7582C19.4864 16.6563 18.0086 16.8226 16.7277 16.5899C16.1373 16.4564 15.5787 16.2907 15.1197 15.9915C13.7073 15.1598 12.7881 13.5975 12.7881 11.9353C12.7881 10.2731 13.7073 8.7437 15.1191 7.87908C15.6117 7.5799 16.1703 7.41356 16.7283 7.28073C17.9762 7.04797 19.4864 7.2137 20.4716 8.11183C20.8328 8.44452 21.2594 8.84301 21.8834 8.84301C22.4744 8.84301 22.934 8.31108 22.934 7.67922C22.934 6.58245 22.967 4.05561 23 2.85891V1.99429C23 0.897524 22.1132 0 21.0296 0H21.029Z" fill="#F46A54"/>
+</svg>
\ No newline at end of file
diff --git a/packages/nc-gui/assets/nc-icons-v2/make-colored.svg b/packages/nc-gui/assets/nc-icons-v2/make-colored.svg
new file mode 100644
index 0000000000..68c7425488
--- /dev/null
+++ b/packages/nc-gui/assets/nc-icons-v2/make-colored.svg
@@ -0,0 +1,30 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
+ <path d="M19.1142 3.89844H23.2675C23.5861 3.89844 23.8433 4.15392 23.8433 4.47023V19.6896C23.8433 20.0059 23.5861 20.2614 23.2675 20.2614H19.1142C18.7956 20.2614 18.5383 20.0059 18.5383 19.6896V4.47023C18.5506 4.15392 18.8079 3.89844 19.1142 3.89844Z" fill="url(#paint0_linear_260_4084)"/>
+ <path d="M12.7309 4.15371L9.79047 18.9716C9.72922 19.2757 9.92524 19.5799 10.2438 19.6407L14.3114 20.4558C14.6177 20.5166 14.924 20.322 14.9852 20.0057L17.9256 5.18779C17.9869 4.88365 17.7909 4.57951 17.4723 4.51868L13.4047 3.70357C13.368 3.69141 13.3312 3.69141 13.2945 3.69141C13.0249 3.69141 12.7799 3.88606 12.7309 4.15371Z" fill="url(#paint1_linear_260_4084)"/>
+ <path d="M6.94809 4.10537L0.0625931 17.6945C-0.0844281 17.9743 0.0380895 18.315 0.31988 18.461L4.03217 20.3102C4.31396 20.4562 4.65701 20.3345 4.80403 20.0547L11.6773 6.46553C11.8243 6.18572 11.7018 5.84508 11.42 5.69909L7.7077 3.84989C7.62193 3.81339 7.53617 3.78906 7.45041 3.78906C7.24213 3.78906 7.0461 3.91072 6.94809 4.10537Z" fill="url(#paint2_linear_260_4084)"/>
+ <defs>
+ <linearGradient id="paint0_linear_260_4084" x1="14.229" y1="15.0493" x2="24.3561" y2="10.6717" gradientUnits="userSpaceOnUse">
+ <stop stop-color="#B02DE9"/>
+ <stop offset="0.02" stop-color="#B02DE9"/>
+ <stop offset="0.8" stop-color="#6D00CC"/>
+ <stop offset="1" stop-color="#6D00CC"/>
+ </linearGradient>
+ <linearGradient id="paint1_linear_260_4084" x1="3.52014" y1="16.3041" x2="23.6045" y2="7.97914" gradientUnits="userSpaceOnUse">
+ <stop stop-color="#FF00FF"/>
+ <stop offset="0.02" stop-color="#FF00FF"/>
+ <stop offset="0.09" stop-color="#E90CF9"/>
+ <stop offset="0.195" stop-color="#C023ED"/>
+ <stop offset="0.264" stop-color="#B02DE9"/>
+ <stop offset="0.42" stop-color="#A42BE3"/>
+ <stop offset="0.63" stop-color="#8626D5"/>
+ <stop offset="0.85" stop-color="#6021C3"/>
+ <stop offset="1" stop-color="#6021C3"/>
+ </linearGradient>
+ <linearGradient id="paint2_linear_260_4084" x1="-0.692973" y1="14.8994" x2="13.5574" y2="8.69513" gradientUnits="userSpaceOnUse">
+ <stop offset="0.209" stop-color="#FF00FF"/>
+ <stop offset="0.45" stop-color="#E90CF9"/>
+ <stop offset="0.868" stop-color="#B02DE9"/>
+ <stop offset="1" stop-color="#B02DE9"/>
+ </linearGradient>
+ </defs>
+</svg>
\ No newline at end of file
diff --git a/packages/nc-gui/assets/nc-icons-v2/n8n-colored.svg b/packages/nc-gui/assets/nc-icons-v2/n8n-colored.svg
new file mode 100644
index 0000000000..69552bb5b0
--- /dev/null
+++ b/packages/nc-gui/assets/nc-icons-v2/n8n-colored.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
+ <path d="M21.4737 5.68359C20.2965 5.68359 19.3074 6.48869 19.0269 7.57829H16.1314C14.8964 7.57829 13.8424 8.47129 13.6394 9.68929L13.5356 10.3123C13.4865 10.6073 13.3343 10.8752 13.1061 11.0685C12.878 11.2618 12.5886 11.3678 12.2896 11.3678H11.289C11.0085 10.2782 10.0194 9.47309 8.8422 9.47309C7.665 9.47309 6.6759 10.2782 6.3955 11.3678H4.973C4.6925 10.2782 3.7034 9.47309 2.5262 9.47309C1.1311 9.47309 0 10.6041 0 11.9994C0 13.3947 1.131 14.5257 2.5263 14.5257C3.7035 14.5257 4.6926 13.7206 4.9731 12.631H6.3954C6.6758 13.7206 7.665 14.5257 8.8421 14.5257C10.0193 14.5257 11.0084 13.7206 11.2889 12.631H12.2897C12.5887 12.631 12.878 12.737 13.1062 12.9303C13.3343 13.1236 13.4865 13.3916 13.5356 13.6865L13.6394 14.3095C13.8424 15.5275 14.8964 16.4205 16.1314 16.4205H16.5006C16.781 17.51 17.7702 18.3152 18.9474 18.3152C20.3426 18.3152 21.4737 17.1842 21.4737 15.7889C21.4737 14.3936 20.3427 13.2626 18.9474 13.2626C17.7702 13.2626 16.781 14.0676 16.5006 15.1573H16.1314C15.8324 15.1573 15.543 15.0513 15.3149 14.858C15.0867 14.6647 14.9345 14.3968 14.8854 14.1018L14.7817 13.4788C14.6867 12.9058 14.3967 12.3832 13.9607 11.9994C14.3967 11.6156 14.6867 11.093 14.7817 10.52L14.8855 9.89699C14.9346 9.60205 15.0868 9.3341 15.3149 9.14082C15.5431 8.94755 15.8324 8.84148 16.1314 8.84149H19.0269C19.3074 9.93109 20.2965 10.7362 21.4737 10.7362C22.8689 10.7362 24 9.60519 24 8.20989C24 6.81459 22.869 5.68359 21.4737 5.68359ZM21.4737 6.94679C21.6396 6.94678 21.8038 6.97944 21.9571 7.04291C22.1103 7.10639 22.2496 7.19943 22.3669 7.31672C22.4842 7.43401 22.5772 7.57326 22.6407 7.72651C22.7042 7.87976 22.7368 8.04402 22.7368 8.20989C22.7368 8.37578 22.7042 8.54004 22.6407 8.69331C22.5772 8.84657 22.4842 8.98583 22.3669 9.10313C22.2496 9.22044 22.1104 9.31348 21.9571 9.37696C21.8038 9.44044 21.6396 9.47311 21.4737 9.47309C21.3078 9.47312 21.1435 9.44046 20.9903 9.37699C20.837 9.31352 20.6977 9.22047 20.5804 9.10317C20.4631 8.98587 20.3701 8.8466 20.3066 8.69333C20.2431 8.54006 20.2105 8.37579 20.2105 8.20989C20.2105 8.04401 20.2432 7.87975 20.3066 7.72649C20.3701 7.57323 20.4632 7.43398 20.5805 7.31668C20.6978 7.19939 20.837 7.10635 20.9903 7.04289C21.1435 6.97942 21.3078 6.94677 21.4737 6.94679ZM2.5263 10.7362C2.69219 10.7362 2.85647 10.7688 3.00974 10.8323C3.16301 10.8958 3.30227 10.9888 3.41958 11.1061C3.53688 11.2234 3.62993 11.3627 3.6934 11.516C3.75687 11.6692 3.78953 11.8335 3.7895 11.9994C3.78953 12.1653 3.75687 12.3296 3.6934 12.4828C3.62993 12.6361 3.53688 12.7754 3.41958 12.8927C3.30227 13.01 3.16301 13.103 3.00974 13.1665C2.85647 13.23 2.69219 13.2626 2.5263 13.2626C2.36042 13.2626 2.19615 13.2299 2.04289 13.1665C1.88964 13.103 1.75038 13.0099 1.63309 12.8926C1.5158 12.7753 1.42276 12.6361 1.35929 12.4828C1.29583 12.3295 1.26317 12.1653 1.2632 11.9994C1.26317 11.8335 1.29583 11.6692 1.35929 11.516C1.42276 11.3627 1.5158 11.2235 1.63309 11.1062C1.75038 10.9889 1.88964 10.8958 2.04289 10.8323C2.19615 10.7688 2.36042 10.7362 2.5263 10.7362ZM8.8421 10.7362C9.00799 10.7362 9.17227 10.7688 9.32554 10.8323C9.47881 10.8958 9.61807 10.9888 9.73538 11.1061C9.85268 11.2234 9.94573 11.3627 10.0092 11.516C10.0727 11.6692 10.1053 11.8335 10.1053 11.9994C10.1053 12.1653 10.0727 12.3296 10.0092 12.4828C9.94573 12.6361 9.85268 12.7754 9.73538 12.8927C9.61807 13.01 9.47881 13.103 9.32554 13.1665C9.17227 13.23 9.00799 13.2626 8.8421 13.2626C8.67622 13.2626 8.51195 13.2299 8.35869 13.1665C8.20543 13.103 8.06618 13.0099 7.94889 12.8926C7.83159 12.7753 7.73856 12.6361 7.67509 12.4828C7.61163 12.3295 7.57897 12.1653 7.579 11.9994C7.57897 11.8335 7.61163 11.6692 7.6751 11.516C7.73857 11.3627 7.83162 11.2234 7.94892 11.1061C8.06623 10.9888 8.20549 10.8958 8.35876 10.8323C8.51203 10.7688 8.67621 10.7362 8.8421 10.7362ZM18.9475 14.5257C19.1134 14.5257 19.2776 14.5583 19.4309 14.6218C19.5842 14.6853 19.7234 14.7783 19.8407 14.8957C19.958 15.013 20.051 15.1522 20.1145 15.3055C20.178 15.4587 20.2106 15.623 20.2106 15.7889C20.2106 15.9548 20.178 16.119 20.1145 16.2723C20.051 16.4255 19.958 16.5648 19.8407 16.6821C19.7234 16.7994 19.5841 16.8924 19.4309 16.9559C19.2776 17.0193 19.1134 17.052 18.9475 17.052C18.7816 17.052 18.6173 17.0194 18.4641 16.9559C18.3108 16.8924 18.1716 16.7994 18.0543 16.6821C17.937 16.5648 17.8439 16.4256 17.7804 16.2723C17.717 16.119 17.6843 15.9548 17.6843 15.7889C17.6843 15.623 17.7169 15.4587 17.7804 15.3055C17.8439 15.1522 17.9369 15.0129 18.0542 14.8956C18.1715 14.7783 18.3108 14.6853 18.4641 14.6218C18.6173 14.5583 18.7816 14.5257 18.9475 14.5257Z" fill="#EA4B71"/>
+</svg>
\ No newline at end of file
diff --git a/packages/nc-gui/assets/nc-icons-v2/notion-colored.svg b/packages/nc-gui/assets/nc-icons-v2/notion-colored.svg
new file mode 100644
index 0000000000..c54c3022ea
--- /dev/null
+++ b/packages/nc-gui/assets/nc-icons-v2/notion-colored.svg
@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="23" height="24" viewBox="0 0 23 24" fill="none">
+ <path d="M1.44581 1.0333L14.7425 0.0544521C16.3757 -0.0852686 16.7954 0.00894313 17.8223 0.753056L22.0668 3.7335C22.7669 4.24607 23 4.38579 23 4.94388V21.2896C23 22.314 22.6267 22.9199 21.3203 23.0126L5.87936 23.9443C4.89893 23.9906 4.43195 23.8509 3.91851 23.1986L0.792993 19.1475C0.232291 18.4018 0 17.8437 0 17.1914V2.66204C0 1.82451 0.373267 1.12591 1.44581 1.0333Z" fill="white"/>
+ <path d="M14.7425 0.0544521L1.44581 1.0333C0.373267 1.12591 0 1.82451 0 2.66204V17.1914C0 17.8437 0.232291 18.4018 0.792993 19.1475L3.91851 23.1986C4.43195 23.8509 4.89893 23.9906 5.87936 23.9443L21.3203 23.0126C22.6259 22.9199 23 22.314 23 21.2896V4.94388C23 4.41454 22.7901 4.26204 22.1726 3.81014C22.137 3.78463 22.1015 3.75908 22.066 3.7335L17.8223 0.753056C16.7954 0.00894313 16.3757 -0.0852686 14.7425 0.0544521ZM6.2286 4.67641C4.96782 4.76104 4.68186 4.78021 3.96577 4.19977L2.14509 2.75625C1.96005 2.56942 2.05297 2.33629 2.51915 2.28998L15.3016 1.35904C16.3749 1.26563 16.934 1.63849 17.3537 1.96423L19.5461 3.54747C19.6398 3.59458 19.8729 3.87322 19.5925 3.87322L6.392 4.66524L6.2286 4.67641ZM4.75876 21.1499V7.27362C4.75876 6.66763 4.94539 6.38819 5.50449 6.34108L20.6659 5.45645C21.1801 5.41015 21.4124 5.73589 21.4124 6.34108V20.1247C21.4124 20.7307 21.3187 21.2433 20.4792 21.2896L5.97068 22.1279C5.13123 22.1742 4.75876 21.8956 4.75876 21.1499ZM19.0807 8.01773C19.1736 8.4369 19.0807 8.85606 18.6602 8.90396L17.9609 9.04209V19.2872C17.3537 19.613 16.7946 19.799 16.3276 19.799C15.5811 19.799 15.3945 19.5658 14.8354 18.868L10.2625 11.6968V18.6349L11.7091 18.9615C11.7091 18.9615 11.7091 19.7998 10.542 19.7998L7.32437 19.9858C7.23065 19.799 7.32437 19.3335 7.65038 19.2409L8.49063 19.0086V9.8349L7.32437 9.74069C7.23065 9.32153 7.46375 8.71634 8.11736 8.66923L11.5697 8.43769L16.3276 15.7016V9.27522L15.1149 9.1363C15.0212 8.62292 15.3945 8.25007 15.8607 8.20456L19.0807 8.01773Z" fill="black"/>
+</svg>
\ No newline at end of file
diff --git a/packages/nc-gui/assets/nc-icons-v2/retool-colored.svg b/packages/nc-gui/assets/nc-icons-v2/retool-colored.svg
new file mode 100644
index 0000000000..55a2da551d
--- /dev/null
+++ b/packages/nc-gui/assets/nc-icons-v2/retool-colored.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
+ <path d="M22.9005 20C23.5077 20 24 20.4923 24 21.0995V21.8009C24 23.0154 23.0154 24 21.8009 24H13.1991C11.9846 24 11 23.0154 11 21.8009V21.0995C11 20.4923 11.4923 20 12.0995 20H22.9005ZM21.8009 8C23.0154 8 24 8.98456 24 10.1991V15.9005C24 16.5077 23.5077 17 22.9005 17H2.19907C0.984556 17 0 16.0154 0 14.8009V9.09953C0 8.49228 0.492278 8 1.09953 8H21.8009ZM10.8009 0C12.0154 0 13 0.984555 13 2.19907V3.90047C13 4.50772 12.5077 5 11.9005 5H1.09953C0.492278 5 0 4.50772 0 3.90047V2.19906C0 0.984555 0.984555 0 2.19907 0H10.8009Z" fill="#262626"/>
+</svg>
\ No newline at end of file
diff --git a/packages/nc-gui/assets/nc-icons-v2/softr-colored.svg b/packages/nc-gui/assets/nc-icons-v2/softr-colored.svg
new file mode 100644
index 0000000000..9891a6bc78
--- /dev/null
+++ b/packages/nc-gui/assets/nc-icons-v2/softr-colored.svg
@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
+ <path d="M21.6 0H2.4C1.07452 0 0 1.07452 0 2.39999V8.4C0 9.72547 1.07452 10.8 2.4 10.8H21.6C22.9255 10.8 24 9.72547 24 8.4V2.39999C24 1.07452 22.9255 0 21.6 0Z" fill="#F9A619"/>
+ <path d="M21.5999 13.1992H15.6C14.2745 13.1992 13.2 14.2737 13.2 15.5992V21.5992C13.2 22.9247 14.2745 23.9992 15.6 23.9992H21.5999C22.9254 23.9992 24 22.9247 24 21.5992V15.5992C24 14.2737 22.9254 13.1992 21.5999 13.1992Z" fill="#3B85DB"/>
+ <path d="M5.39886 24.0009C8.38058 24.0009 10.7978 21.5837 10.7978 18.602C10.7978 15.6203 8.38058 13.2031 5.39886 13.2031C2.41715 13.2031 0 15.6203 0 18.602C0 21.5837 2.41715 24.0009 5.39886 24.0009Z" fill="#EB3669"/>
+</svg>
\ No newline at end of file
diff --git a/packages/nc-gui/assets/nc-icons-v2/zapier-colored.svg b/packages/nc-gui/assets/nc-icons-v2/zapier-colored.svg
new file mode 100644
index 0000000000..5b837eea90
--- /dev/null
+++ b/packages/nc-gui/assets/nc-icons-v2/zapier-colored.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
+ <path d="M14.9999 12.0052C15.0003 12.8706 14.8442 13.7289 14.5391 14.5387C13.729 14.8438 12.8705 15.0001 12.0049 15.0003H11.9948C11.1034 14.9992 10.2493 14.8362 9.46125 14.5391C9.15597 13.7292 8.99971 12.8708 9 12.0052V11.9948C8.99958 11.1295 9.15553 10.2714 9.46031 9.46163C10.2704 9.15601 11.1291 8.99961 11.9948 9H12.005C12.8707 8.99958 13.7293 9.15595 14.5392 9.46153C14.8443 10.2712 15.0004 11.1294 15 11.9947V12.0052L14.9999 12.0052ZM23.8333 10H16.8287L21.7814 5.04694C21.3927 4.50086 20.959 3.98817 20.485 3.51422V3.51384C20.011 3.0404 19.4985 2.60715 18.9527 2.21859L13.9996 7.17169V0.167062C13.3408 0.0562433 12.674 0.000363459 12.006 0L11.9936 0C11.3141 0.000375 10.6486 0.058125 10 0.167062V7.17169L5.04694 2.21859C4.50107 2.60705 3.98875 3.0406 3.51534 3.51469L3.51272 3.51656C3.03952 3.98993 2.6065 4.50181 2.21812 5.04694L7.17159 10H0.167062C0.167062 10 0 11.3156 0 11.9959V12.0041C0 12.6844 0.0576562 13.351 0.167062 14H7.17169L2.21822 18.9531C2.99744 20.0466 3.95344 21.0026 5.04694 21.7818L10 16.8283V23.8333C10.6581 23.9436 11.3241 23.9993 11.9913 24H12.0082C12.6755 23.9994 13.3415 23.9436 13.9995 23.8333V16.8283L18.9531 21.7818C19.4987 21.3931 20.0111 20.9597 20.485 20.4862L20.4862 20.485C20.9595 20.0111 21.3927 19.4986 21.7814 18.9531L16.8279 14H23.8333C23.9423 13.3522 23.9993 12.6875 24 12.0087V11.9913C23.9993 11.3125 23.9423 10.6478 23.8333 10Z" fill="#FF4A00"/>
+</svg>
\ No newline at end of file
diff --git a/packages/nc-gui/components/auth/onboarding/Question/Option/Icon.vue b/packages/nc-gui/components/auth/onboarding/Question/Option/Icon.vue
index 8641c3004c..ad9bacffb4 100644
--- a/packages/nc-gui/components/auth/onboarding/Question/Option/Icon.vue
+++ b/packages/nc-gui/components/auth/onboarding/Question/Option/Icon.vue
@@ -1,6 +1,8 @@
<script lang="ts" setup>
interface Props {
option: OnboardingOptionType
+ index: number
+ totalOptions: number
iconSize?: OnboardingQuestionType['iconSize']
}
@@ -41,9 +43,31 @@ const bgColorClass = computed(() => {
height: `${iconSize?.height ?? 24}px`,
}"
>
- <GeneralIcon :icon="option.icon!" class="flex-none" :class="iconColor" />
+ <GeneralIcon
+ :icon="option.icon!"
+ class="flex-none"
+ :class="[
+ iconColor,
+ {
+ 'w-full h-full': iconSize?.fullWidth,
+ },
+ ]"
+ />
</div>
- <div></div>
+ <div v-else-if="option.iconType === 'indexedStepProgressBar'" class="flex items-stretch gap-0.5">
+ <div
+ v-for="i in totalOptions"
+ :key="i"
+ class="flex-none w-3 h-3"
+ :class="{
+ 'bg-green-600': i <= index,
+ 'bg-nc-bg-gray-dark': i !== index,
+ 'rounded-l-full': i === 1,
+ 'rounded-r-full': i === totalOptions,
+ }"
+ ></div>
+ </div>
+ <div v-else></div>
</div>
</template>
diff --git a/packages/nc-gui/components/auth/onboarding/Question/Option/index.vue b/packages/nc-gui/components/auth/onboarding/Question/Option/index.vue
index 9a70187441..90f5928510 100644
--- a/packages/nc-gui/components/auth/onboarding/Question/Option/index.vue
+++ b/packages/nc-gui/components/auth/onboarding/Question/Option/index.vue
@@ -1,6 +1,8 @@
<script lang="ts" setup>
interface Props {
option: OnboardingOptionType
+ index: number
+ totalOptions: number
iconSize?: OnboardingQuestionType['iconSize']
}
@@ -16,7 +18,7 @@ const { option } = toRefs(props)
'!px-2 !rounded-xl': option.iconColor,
}"
>
- <AuthOnboardingQuestionOptionIcon :option="option" :icon-size="iconSize" />
+ <AuthOnboardingQuestionOptionIcon :option="option" :index="index" :total-options="totalOptions" :icon-size="iconSize" />
<div v-if="option.description" class="flex flex-col gap-1">
<div class="text-bodyDefaultSmBold text-nc-content-gray-subtle">
{{ option.value }}
diff --git a/packages/nc-gui/components/auth/onboarding/Question/index.vue b/packages/nc-gui/components/auth/onboarding/Question/index.vue
index 34abd189ec..85369c0f8b 100644
--- a/packages/nc-gui/components/auth/onboarding/Question/index.vue
+++ b/packages/nc-gui/components/auth/onboarding/Question/index.vue
@@ -37,9 +37,11 @@ const isOptionSelected = (option: OnboardingOptionType) => {
<div class="flex flex-col gap-6">
<h3 class="my-0 text-heading3 text-nc-content-gray-emphasis">{{ question.question }}</h3>
<div class="flex flex-wrap gap-4 children:(w-[calc(50%-8px)] flex-none)">
- <template v-for="option of options" :key="option.value">
+ <template v-for="(option, index) of options" :key="option.value">
<AuthOnboardingQuestionOption
:option="option"
+ :index="index"
+ :total-options="options.length"
:icon-size="question.iconSize"
@click="onSelectOption(option, question, questionIndex)"
:class="{
diff --git a/packages/nc-gui/composables/useOnboardingFlow.ts b/packages/nc-gui/composables/useOnboardingFlow.ts
index e31b9ee77a..517534a32c 100644
--- a/packages/nc-gui/composables/useOnboardingFlow.ts
+++ b/packages/nc-gui/composables/useOnboardingFlow.ts
@@ -38,6 +38,7 @@ export interface OnboardingQuestionType {
iconSize?: {
width: number
height: number
+ fullWidth?: boolean
}
}
@@ -57,7 +58,7 @@ export const useOnboardingFlow = createSharedComposable(() => {
/**
* If true, the onboarding flow will be shown in home page - `/`
*/
- const showOnboardingFlowLocalState = ref(false)
+ const showOnboardingFlowLocalState = ref(true)
const showOnboardingFlow = computed(() => {
return isEnabledOnboardingFlow.value && showOnboardingFlowLocalState.value && route.value.name === 'index'
@@ -222,33 +223,43 @@ export const useOnboardingFlow = createSharedComposable(() => {
options: [
{
value: 'Airtable',
+ icon: 'importAirtable',
},
{
value: 'Baserow',
+ icon: 'ncLogoBaserowColored',
},
{
value: 'Monday',
+ icon: 'importMonday',
},
{
value: 'Softr',
+ icon: 'ncLogoSoftrColored',
},
{
value: 'Notion',
+ icon: 'ncLogoNotionColored',
},
{
value: 'Coda',
+ icon: 'ncLogoCodaColored',
},
{
value: 'Retool',
+ icon: 'ncLogoRetoolColored',
},
{
value: 'n8n',
+ icon: 'ncLogoN8nColored',
},
{
value: 'Zapier',
+ icon: 'ncLogoZapierColored',
},
{
value: 'Make',
+ icon: 'ncLogoMakeColored',
},
{
value: 'Other',
@@ -265,6 +276,11 @@ export const useOnboardingFlow = createSharedComposable(() => {
moscot: 'moscotGridTableOrange',
imageName: 'calendar',
},
+ iconSize: {
+ width: 24,
+ height: 24,
+ fullWidth: true,
+ },
},
{
id: 7,
diff --git a/packages/nc-gui/utils/iconUtils.ts b/packages/nc-gui/utils/iconUtils.ts
index b6d22efd56..37173d6e39 100644
--- a/packages/nc-gui/utils/iconUtils.ts
+++ b/packages/nc-gui/utils/iconUtils.ts
@@ -735,6 +735,15 @@ import NcLogoZendeskColored from '~icons/nc-icons-v2/zendesk-colored.svg'
import NcLogoZendesk from '~icons/nc-icons-v2/zendesk.svg'
import NcLogoZohoColored from '~icons/nc-icons-v2/zoho-colored.svg'
import NcLogoZoho from '~icons/nc-icons-v2/zoho.svg'
+import NcLogoBaserowColored from '~icons/nc-icons-v2/baserow-colored.svg'
+import NcLogoSoftrColored from '~icons/nc-icons-v2/softr-colored.svg'
+import NcLogoNotionColored from '~icons/nc-icons-v2/notion-colored.svg'
+import NcLogoCodaColored from '~icons/nc-icons-v2/coda-colored.svg'
+import NcLogoRetoolColored from '~icons/nc-icons-v2/retool-colored.svg'
+import NcLogoN8nColored from '~icons/nc-icons-v2/n8n-colored.svg'
+import NcLogoZapierColored from '~icons/nc-icons-v2/zapier-colored.svg'
+import NcLogoMakeColored from '~icons/nc-icons-v2/make-colored.svg'
+
import NcSendAlt from '~icons/nc-icons-v2/send-alt.svg'
import NcBaseOutline from '~icons/nc-icons-v2/base-outline.svg'
import NcBasePrivate from '~icons/nc-icons-v2/base-private.svg'
@@ -1709,6 +1718,15 @@ export const iconMap = {
'ncLogoZendesk': h(NcLogoZendesk, { stroke: 'transparent' }),
'ncLogoZohoColored': h(NcLogoZohoColored, { stroke: 'transparent' }),
'ncLogoZoho': h(NcLogoZoho, { stroke: 'transparent' }),
+ 'ncLogoBaserowColored': h(NcLogoBaserowColored, { stroke: 'transparent' }),
+ 'ncLogoSoftrColored': h(NcLogoSoftrColored, { stroke: 'transparent' }),
+ 'ncLogoNotionColored': h(NcLogoNotionColored, { stroke: 'transparent' }),
+ 'ncLogoCodaColored': h(NcLogoCodaColored, { stroke: 'transparent' }),
+ 'ncLogoRetoolColored': h(NcLogoRetoolColored, { stroke: 'transparent' }),
+ 'ncLogoN8nColored': h(NcLogoN8nColored, { stroke: 'transparent' }),
+ 'ncLogoZapierColored': h(NcLogoZapierColored, { stroke: 'transparent' }),
+ 'ncLogoMakeColored': h(NcLogoMakeColored, { stroke: 'transparent' }),
+
'ncSendAlt': h(NcSendAlt, { stroke: 'transparent' }),
'ncStopCircle': h(NcStopCircle, { stroke: 'transparent' }),
'ncAiPlay': AiPlayIcon,
@@ -4304,6 +4322,38 @@ export const searchableMap = {
icon: h(NcLogoZoho, { stroke: 'transparent' }),
keywords: ['crm', 'business apps', 'collaboration', 'productivity', 'enterprise'],
},
+ ncLogoBaserowColored: {
+ icon: h(NcLogoBaserowColored, { stroke: 'transparent' }),
+ keywords: ['baserow', 'nocode', 'database', 'table', 'collaboration', 'open-source'],
+ },
+ ncLogoSoftrColored: {
+ icon: h(NcLogoSoftrColored, { stroke: 'transparent' }),
+ keywords: ['softr', 'nocode', 'website', 'app', 'frontend', 'builder'],
+ },
+ ncLogoNotionColored: {
+ icon: h(NcLogoNotionColored, { stroke: 'transparent' }),
+ keywords: ['notion', 'docs', 'wiki', 'notes', 'productivity', 'database', 'collaboration'],
+ },
+ ncLogoCodaColored: {
+ icon: h(NcLogoCodaColored, { stroke: 'transparent' }),
+ keywords: ['coda', 'docs', 'automation', 'spreadsheet', 'teamwork', 'collaboration'],
+ },
+ ncLogoRetoolColored: {
+ icon: h(NcLogoRetoolColored, { stroke: 'transparent' }),
+ keywords: ['retool', 'internal-tools', 'builder', 'frontend', 'admin', 'dashboard', 'crud'],
+ },
+ ncLogoN8nColored: {
+ icon: h(NcLogoN8nColored, { stroke: 'transparent' }),
+ keywords: ['n8n', 'workflow', 'automation', 'integration', 'open-source', 'pipeline'],
+ },
+ ncLogoZapierColored: {
+ icon: h(NcLogoZapierColored, { stroke: 'transparent' }),
+ keywords: ['zapier', 'automation', 'integration', 'workflow', 'task', 'connect'],
+ },
+ ncLogoMakeColored: {
+ icon: h(NcLogoMakeColored, { stroke: 'transparent' }),
+ keywords: ['make', 'automation', 'workflow', 'integration', 'connect', 'nocode'],
+ },
ncBaseOutline: {
icon: NcBaseOutline,
keywords: ['base', 'database', 'storage', 'db'],