fix: delete unused old files

This commit is contained in:
sriramveeraghanta
2025-10-15 21:10:23 +05:30
parent 54c53f6776
commit 8fd194c135
44 changed files with 76 additions and 34 deletions

View File

@@ -58,7 +58,7 @@ export const PROJECT_SETTINGS = {
href: `/automations`,
access: [EUserPermissions.ADMIN],
highlight: (pathname: string, baseUrl: string) => pathname === `${baseUrl}/automations/`,
Icon: <SettingIcon />,
Icon: SettingIcon,
},
};
@@ -68,7 +68,8 @@ export const PROJECT_SETTINGS_LINKS: {
href: string;
access: EUserPermissions[];
highlight: (pathname: string, baseUrl: string) => boolean;
Icon: React.ReactNode;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Icon: React.FC<any>;
}[] = [
PROJECT_SETTINGS["general"],
PROJECT_SETTINGS["members"],

View File

@@ -1 +0,0 @@
export * from "./attachment";

View File

@@ -56,7 +56,7 @@ export const IssueAttachmentsListItem: FC<TIssueAttachmentsListItem> = observer(
<div className="group flex items-center justify-between gap-3 h-11 hover:bg-custom-background-90 pl-9 pr-2">
<div className="flex items-center gap-3 text-sm truncate">
<div className="flex items-center gap-3">
<FileIcon extension={fileExtension} size={18} />
<FileIcon extension={fileExtension} size={28} />
</div>
<Tooltip tooltipContent={`${fileName}.${fileExtension}`} isMobile={isMobile}>
<p className="text-custom-text-200 font-medium truncate">{`${fileName}.${fileExtension}`}</p>

View File

@@ -28,7 +28,7 @@ export const IssueAttachmentsUploadItem: React.FC<Props> = observer((props) => {
<div className="flex items-center justify-between gap-3 h-11 bg-custom-background-90 pl-9 pr-2 pointer-events-none">
<div className="flex items-center gap-3 text-sm truncate">
<div className="flex-shrink-0">
<FileIcon extension={fileExtension} size={18} />
<FileIcon extension={fileExtension} size={28} />
</div>
<Tooltip tooltipContent={fileName} isMobile={isMobile}>
<p className="text-custom-text-200 font-medium truncate">{fileName}</p>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

View File

@@ -6,18 +6,18 @@ export type AudioIconProps = {
};
export const AudioIcon: React.FC<AudioIconProps> = ({ width = 40, height = 40 }) => (
<svg xmlns="http://www.w3.org/2000/svg" width={width} height={height} fill="none">
<svg width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill="none">
<path
stroke="#D5D7DA"
stroke-width="1.5"
strokeWidth="1.5"
d="M4.75 4A3.25 3.25 0 0 1 8 .75h16c.121 0 .238.048.323.134l10.793 10.793a.46.46 0 0 1 .134.323v24A3.25 3.25 0 0 1 32 39.25H8A3.25 3.25 0 0 1 4.75 36z"
/>
<path stroke="#D5D7DA" stroke-width="1.5" d="M24 .5V8a4 4 0 0 0 4 4h7.5" />
<path stroke="#D5D7DA" strokeWidth="1.5" d="M24 .5V8a4 4 0 0 0 4 4h7.5" />
<path
stroke="#DD2590"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
d="M16.85 28.5v-8.733c0-.362 0-.542.066-.689a.75.75 0 0 1 .269-.317c.133-.089.312-.119.668-.178l6.6-1.1c.48-.08.72-.12.908-.05a.75.75 0 0 1 .39.33c.099.172.099.416.099.904V27m-9 1.5a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m9-1.5a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0"
/>
</svg>

File diff suppressed because one or more lines are too long

View File

@@ -5,18 +5,48 @@ export type PngIconProps = {
height?: number;
};
// export const PngIcon: React.FC<PngIconProps> = ({ width = 40, height = 40 }) => (
// <svg width={width} height={height} viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
// <g clipPath="url(#clip0_3125_137)">
// <path
// d="M3.0999 14.3994V1.59961C3.09995 1.29821 3.2046 1.00757 3.39385 0.776367L3.48076 0.680664C3.72451 0.436913 4.055 0.299856 4.39971 0.299805H10.8001L10.8694 0.313477C10.8916 0.32258 10.9119 0.33619 10.929 0.353516L15.2464 4.6709C15.2804 4.70521 15.2999 4.75145 15.3001 4.7998V14.3994L15.2933 14.5283C15.2637 14.8259 15.1325 15.106 14.9192 15.3193L14.8235 15.4053C14.6252 15.5677 14.3833 15.6681 14.1282 15.6934L14.0003 15.7002V14.4502C14.0134 14.4501 14.0262 14.4448 14.0354 14.4355C14.0448 14.4262 14.0501 14.4127 14.0501 14.3994V5.24219L10.3577 1.5498H4.39971C4.38652 1.54986 4.37388 1.55512 4.36455 1.56445C4.35522 1.57378 4.34995 1.58642 4.3499 1.59961V14.3994C4.3499 14.4127 4.35517 14.4262 4.36455 14.4355C4.37386 14.4448 4.38661 14.4501 4.39971 14.4502V15.7002L4.27178 15.6934C4.01665 15.6681 3.7748 15.5677 3.57646 15.4053L3.48076 15.3193C3.23696 15.0755 3.0999 14.7442 3.0999 14.3994ZM14.0003 14.4502V15.7002H4.39971V14.4502H14.0003Z"
// fill="#D5D7DA"
// />
// <path
// d="M10.1749 3.1998V0.999609H11.4249V3.1998C11.4249 3.4583 11.5273 3.70643 11.7101 3.88926C11.8928 4.07201 12.1411 4.17431 12.3995 4.17441H14.5001V5.42441H12.3995C11.8095 5.42431 11.2434 5.19022 10.8263 4.77305C10.4091 4.3558 10.1749 3.78982 10.1749 3.1998Z"
// fill="#D5D7DA"
// />
// <path
// d="M10.7999 7.1998H1.1999C0.758075 7.1998 0.399902 7.55798 0.399902 7.9998V12.7998C0.399902 13.2416 0.758075 13.5998 1.1999 13.5998H10.7999C11.2417 13.5998 11.5999 13.2416 11.5999 12.7998V7.9998C11.5999 7.55798 11.2417 7.1998 10.7999 7.1998Z"
// fill="#7F56D9"
// />
// <path
// d="M1.9655 11.9998V9.0906H3.1135C3.33377 9.0906 3.52177 9.13274 3.6775 9.217C3.8327 9.30074 3.95097 9.41674 4.0323 9.56501C4.11497 9.71301 4.1563 9.88354 4.1563 10.0766C4.1563 10.2697 4.11457 10.4401 4.0311 10.5878C3.94764 10.7358 3.82684 10.8509 3.6687 10.933C3.51137 11.0154 3.3211 11.0566 3.0979 11.0566H2.3659V10.5638H2.9983C3.1167 10.5638 3.2143 10.5434 3.2911 10.5026C3.36844 10.461 3.42617 10.4037 3.4643 10.3306C3.50297 10.257 3.5223 10.1723 3.5223 10.0766C3.5223 9.9798 3.50297 9.89554 3.4643 9.8238C3.4261 9.75037 3.36541 9.69109 3.2911 9.6546C3.2135 9.6138 3.11484 9.5934 2.9951 9.5934H2.5811V11.9998H1.9655ZM6.9887 9.0906V11.9998H6.4575L5.1919 10.169H5.1707V11.9998H4.5555V9.0906H5.0955L6.3511 10.9202H6.3763V9.0906H6.9887ZM9.4259 10.031C9.40775 9.96589 9.3794 9.90405 9.3419 9.84781C9.3059 9.79367 9.2619 9.74834 9.2099 9.71181C9.15683 9.6726 9.09725 9.64308 9.0339 9.62461C8.96318 9.60426 8.88989 9.59429 8.8163 9.59501C8.66777 9.59501 8.5371 9.63194 8.4243 9.7058C8.31257 9.77967 8.2255 9.88714 8.1631 10.0282C8.1007 10.1685 8.0695 10.3398 8.0695 10.5422C8.0695 10.7449 8.10017 10.9173 8.1615 11.0594C8.2231 11.2015 8.3103 11.3099 8.4231 11.3846C8.53564 11.4585 8.6687 11.4954 8.8223 11.4954C8.9615 11.4954 9.0803 11.4709 9.1787 11.4218C9.27817 11.3717 9.3539 11.301 9.4059 11.2098C9.45924 11.1191 9.48577 11.0118 9.4855 10.8878L9.6107 10.9062H8.8599V10.443H10.0775V10.8094C10.0775 11.0654 10.0235 11.2851 9.9155 11.4686C9.8075 11.6515 9.65884 11.7926 9.4695 11.8918C9.2799 11.9905 9.0631 12.0398 8.8191 12.0398C8.5463 12.0398 8.3067 11.9795 8.1003 11.859C7.89307 11.7371 7.72532 11.5581 7.6171 11.3434C7.50244 11.1202 7.4451 10.8551 7.4451 10.5482C7.4451 10.3125 7.47924 10.1022 7.5475 9.91741C7.61684 9.73181 7.7135 9.5746 7.8375 9.4458C7.9615 9.317 8.1059 9.219 8.2707 9.1518C8.44091 9.08344 8.62289 9.0492 8.8063 9.05101C8.9711 9.05101 9.12444 9.075 9.2663 9.123C9.40844 9.17074 9.53444 9.23807 9.6443 9.325C9.75497 9.4122 9.84537 9.51594 9.9155 9.6362C9.98564 9.7554 10.0306 9.887 10.0503 10.031H9.4259Z"
// fill="white"
// />
// </g>
// <defs>
// <clipPath id="clip0_3125_137">
// <rect width="16" height="16" fill="white" />
// </clipPath>
// </defs>
// </svg>
// );
export const PngIcon: React.FC<PngIconProps> = ({ width = 40, height = 40 }) => (
<svg xmlns="http://www.w3.org/2000/svg" width={width} height={height} fill="none">
<svg width={width} height={height} viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
stroke="#D5D7DA"
stroke-width="1.5"
d="M7.75 4A3.25 3.25 0 0 1 11 .75h16c.121 0 .238.048.323.134l10.793 10.793a.46.46 0 0 1 .134.323v24A3.25 3.25 0 0 1 35 39.25H11A3.25 3.25 0 0 1 7.75 36z"
d="M1.6001 1.6C1.6001 1.17565 1.76867 0.768687 2.06873 0.468629C2.36878 0.168571 2.77575 0 3.2001 0L9.6001 0L14.4001 4.8V14.4C14.4001 14.8243 14.2315 15.2313 13.9315 15.5314C13.6314 15.8314 13.2244 16 12.8001 16H3.2001C2.77575 16 2.36878 15.8314 2.06873 15.5314C1.76867 15.2313 1.6001 14.8243 1.6001 14.4V1.6Z"
fill="#7F56D9"
/>
<path stroke="#D5D7DA" stroke-width="1.5" d="M27 .5V8a4 4 0 0 0 4 4h7.5" />
<rect width="28" height="16" x="1" y="18" fill="#7F56D9" rx="2" />
<path
fill="#fff"
d="M4.914 30v-7.273h2.87q.826 0 1.41.316.582.314.887.87.31.555.31 1.279t-.313 1.278q-.313.555-.906.863-.59.309-1.427.309h-1.83V26.41h1.581q.444 0 .732-.153.29-.156.433-.43.145-.276.145-.635 0-.363-.145-.632a.97.97 0 0 0-.433-.423q-.291-.153-.74-.153H6.453V30zm12.558-7.273V30h-1.328l-3.164-4.577h-.053V30h-1.538v-7.273h1.35l3.139 4.574h.063v-4.574zm6.093 2.351a1.6 1.6 0 0 0-.21-.458q-.135-.203-.33-.34a1.4 1.4 0 0 0-.44-.218 1.9 1.9 0 0 0-.544-.074q-.557 0-.98.277-.419.277-.653.806-.234.526-.234 1.285 0 .76.23 1.293.231.533.654.813.422.277.998.277.522 0 .891-.184.373-.188.568-.53.2-.34.199-.805l.313.046H22.15v-1.158h3.044v.916q0 .96-.405 1.648-.405.686-1.115 1.058-.711.37-1.626.37-1.023 0-1.797-.452a3.13 3.13 0 0 1-1.208-1.289q-.43-.837-.43-1.988 0-.884.256-1.577.26-.696.725-1.179t1.083-.735a3.5 3.5 0 0 1 1.339-.252q.618 0 1.15.18.533.179.945.505.415.327.678.778.263.447.337.987z"
opacity="0.3"
d="M9.6001 0L14.4001 4.8H11.2001C10.7758 4.8 10.3688 4.63143 10.0687 4.33137C9.76867 4.03131 9.6001 3.62435 9.6001 3.2V0Z"
fill="white"
/>
<path
d="M4.36914 12.8005V10.1821H5.40194C5.60061 10.1821 5.76994 10.2201 5.90994 10.2961C6.04941 10.371 6.15581 10.4754 6.22914 10.6093C6.30327 10.7421 6.34034 10.8954 6.34034 11.0693C6.34034 11.2434 6.30287 11.3969 6.22794 11.5297C6.15239 11.6632 6.03894 11.7714 5.90194 11.8405C5.76061 11.9146 5.58927 11.9517 5.38794 11.9517H4.72954V11.5077H5.29834C5.40501 11.5077 5.49287 11.4894 5.56194 11.4529C5.62874 11.4189 5.68328 11.3649 5.71794 11.2985C5.75393 11.2277 5.7718 11.1491 5.76994 11.0697C5.77167 10.9906 5.75381 10.9122 5.71794 10.8417C5.68332 10.7758 5.6287 10.7226 5.56194 10.6897C5.49207 10.6532 5.40341 10.6349 5.29594 10.6349H4.92274V12.8005H4.36914ZM8.88994 10.1821V12.8005H8.41154L7.27274 11.1525H7.25354V12.8005H6.69994V10.1821H7.18594L8.31594 11.8289H8.33874V10.1821H8.88994ZM11.0831 11.0285C11.0672 10.9698 11.0418 10.9142 11.0079 10.8637C10.9415 10.7666 10.8433 10.6957 10.7303 10.6629C10.6668 10.6445 10.6009 10.6355 10.5347 10.6361C10.4011 10.6361 10.2835 10.6694 10.1819 10.7361C10.0771 10.8079 9.99539 10.9087 9.94674 11.0261C9.89074 11.152 9.86274 11.3062 9.86274 11.4889C9.86274 11.6713 9.89034 11.8264 9.94554 11.9541C10.0007 12.0821 10.0791 12.1797 10.1807 12.2469C10.2821 12.3136 10.4018 12.3469 10.5399 12.3469C10.6653 12.3469 10.7722 12.3246 10.8607 12.2801C10.9503 12.235 11.0186 12.1716 11.0655 12.0897C11.1133 12.0081 11.1371 11.9113 11.1371 11.7993L11.2491 11.8161H10.5743V11.3993H11.6703V11.7293C11.6703 11.9594 11.6217 12.1572 11.5243 12.3225C11.4291 12.4846 11.29 12.6166 11.1231 12.7033C10.9525 12.7921 10.7573 12.8364 10.5375 12.8361C10.2919 12.8361 10.0763 12.7821 9.89074 12.6741C9.70402 12.5647 9.553 12.4035 9.45594 12.2101C9.35274 12.0088 9.30114 11.7701 9.30114 11.4941C9.30114 11.2818 9.33181 11.0925 9.39314 10.9261C9.44948 10.7681 9.53833 10.6236 9.65394 10.5021C9.76594 10.3864 9.89594 10.2981 10.0439 10.2373C10.1919 10.1768 10.3526 10.1465 10.5259 10.1465C10.6742 10.1465 10.8122 10.1682 10.9399 10.2117C11.0679 10.2544 11.1813 10.3149 11.2799 10.3933C11.3797 10.472 11.4611 10.5653 11.5243 10.6733C11.5875 10.7805 11.6281 10.8989 11.6459 11.0285H11.0831Z"
fill="white"
/>
</svg>
);

View File

@@ -6,13 +6,13 @@ export type SvgIconProps = {
};
export const SvgIcon: React.FC<SvgIconProps> = ({ width = 40, height = 40 }) => (
<svg xmlns="http://www.w3.org/2000/svg" width={width} height={height} fill="none">
<svg width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill="none">
<path
stroke="#D5D7DA"
stroke-width="1.5"
strokeWidth="1.5"
d="M7.75 4A3.25 3.25 0 0 1 11 .75h16c.121 0 .238.048.323.134l10.793 10.793a.46.46 0 0 1 .134.323v24A3.25 3.25 0 0 1 35 39.25H11A3.25 3.25 0 0 1 7.75 36z"
/>
<path stroke="#D5D7DA" stroke-width="1.5" d="M27 .5V8a4 4 0 0 0 4 4h7.5" />
<path stroke="#D5D7DA" strokeWidth="1.5" d="M27 .5V8a4 4 0 0 0 4 4h7.5" />
<rect width="28" height="16" x="1" y="18" fill="#7F56D9" rx="2" />
<path
fill="#fff"