feat: add refill toggle in admin settings and compact checkout UI layout
Deploy Canina / deploy (push) Successful in 1m31s
Deploy Canina / deploy (push) Successful in 1m31s
This commit is contained in:
1 parent
6454c18071
commit
4e768d66a9
14 files changed
+3445
-3422
No files matched your search
@@ -15,6 +15,8 @@ export default function FinancialSettingsPage() {
|
||||
walletWithdrawalEnabled: false,
|
||||
});
|
||||
const [charityStep, setCharityStep] = useState('10000');
|
||||
const [refillEnabled, setRefillEnabled] = useState(false);
|
||||
const [refillPercent, setRefillPercent] = useState('5');
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const [isSaving, setIsSaving] = useState(false);
|
||||
const [donationInput, setDonationInput] = useState('');
|
||||
@@ -41,6 +43,8 @@ export default function FinancialSettingsPage() {
|
||||
}
|
||||
if (resAdmin.data?.success) {
|
||||
setCharityStep(resAdmin.data.data.CHARITY_ROUND_STEP || '10000');
|
||||
setRefillEnabled(resAdmin.data.data.REFILL_SUBSCRIPTION_ENABLED === 'true');
|
||||
setRefillPercent(resAdmin.data.data.REFILL_REWARD_PERCENT || '5');
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
@@ -63,6 +67,8 @@ export default function FinancialSettingsPage() {
|
||||
api.put('/admin/settings', {
|
||||
TAX_PERCENTAGE: String(financial.taxPercentage),
|
||||
CHARITY_ROUND_STEP: charityStep,
|
||||
REFILL_SUBSCRIPTION_ENABLED: refillEnabled ? 'true' : 'false',
|
||||
REFILL_REWARD_PERCENT: refillPercent,
|
||||
}),
|
||||
]);
|
||||
toast.success('تنظیمات مالی با موفقیت بروزرسانی شد');
|
||||
@@ -191,6 +197,52 @@ export default function FinancialSettingsPage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Refill Subscription and Reward Cashback */}
|
||||
<div className="md:col-span-2 pt-4 border-t border-gray-100 space-y-4">
|
||||
<label className="flex items-center justify-between cursor-pointer p-4 bg-indigo-50/50 hover:bg-indigo-50 rounded-2xl border border-indigo-100 transition-colors">
|
||||
<div className="flex items-start gap-3">
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={refillEnabled}
|
||||
onChange={(e) => setRefillEnabled(e.target.checked)}
|
||||
className="w-5 h-5 mt-0.5 rounded-lg text-indigo-600 focus:ring-indigo-500 border-gray-300 cursor-pointer"
|
||||
/>
|
||||
<div>
|
||||
<span className="text-sm font-black text-gray-900 block flex items-center gap-2">
|
||||
<Percent className="w-4 h-4 text-indigo-600" />
|
||||
فعالسازی سرویس «رزرو هوشمند تمدید و پاداش خرید بعدی» (Refill Subscription)
|
||||
</span>
|
||||
<span className="text-xs text-gray-500 font-medium block mt-0.5">
|
||||
در صورت فعال بودن، گزینهای در سبد خرید و تسویهحساب به مشتری پیشنهاد میشود تا با فعالسازی یادآور تمدید، درصد مشخصی پاداش (اعتبار خرید بعدی) رزرو کند.
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</label>
|
||||
|
||||
{refillEnabled && (
|
||||
<div className="p-4 bg-white rounded-2xl border border-indigo-100 grid grid-cols-1 md:grid-cols-2 gap-4">
|
||||
<div>
|
||||
<label className="block text-xs font-bold text-gray-700 mb-1.5">
|
||||
درصد پاداش رزرو تمدید (Cashback Reward Percent)
|
||||
</label>
|
||||
<div className="relative">
|
||||
<input
|
||||
type="number"
|
||||
min="1"
|
||||
max="100"
|
||||
value={refillPercent}
|
||||
onChange={(e) => setRefillPercent(e.target.value)}
|
||||
className="w-full px-4 py-2.5 rounded-xl border border-gray-200 focus:border-indigo-500 outline-none font-bold text-xs"
|
||||
dir="ltr"
|
||||
/>
|
||||
<span className="absolute left-4 top-1/2 -translate-y-1/2 text-gray-400 font-bold text-xs">%</span>
|
||||
</div>
|
||||
<p className="text-[11px] text-gray-400 mt-1">پیشفرض: ۵ درصد</p>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Wallet Withdrawal Feature Toggle */}
|
||||
<div className="md:col-span-2 pt-4 border-t border-gray-100">
|
||||
<label className="flex items-center gap-3 cursor-pointer p-4 bg-emerald-50/50 hover:bg-emerald-50 rounded-2xl border border-emerald-100 transition-colors">
|
||||
|
||||
@@ -8,6 +8,7 @@ import { Product } from "../lib/data/products";
|
||||
import { productService } from "../lib/services/productService";
|
||||
import SafeImage from "./SafeImage";
|
||||
import { useUserStore } from "../lib/store/userStore";
|
||||
import { useSettingsStore } from "../lib/store/settingsStore";
|
||||
import AuthModal from "./AuthModal";
|
||||
import { toast } from "sonner";
|
||||
|
||||
@@ -19,6 +20,8 @@ export default function CartDrawer({ isOpen, onClose, onCheckout, onShopNavigate
|
||||
}) {
|
||||
const { items, updateQuantity, removeItem, isSubscribed, toggleSubscription, getTotal, getSubtotal, getDiscount, coupon, applyCoupon, addItem } = useCartStore();
|
||||
const { isLoggedIn } = useUserStore();
|
||||
const isRefillEnabled = useSettingsStore((state) => state.getText('REFILL_SUBSCRIPTION_ENABLED', 'false') === 'true');
|
||||
const refillPercent = useSettingsStore((state) => state.getText('REFILL_REWARD_PERCENT', '5'));
|
||||
const [isAuthModalOpen, setIsAuthModalOpen] = useState(false);
|
||||
const [couponCode, setCouponCode] = useState("");
|
||||
const [couponStatus, setCouponStatus] = useState<"idle" | "success" | "error">("idle");
|
||||
@@ -271,31 +274,33 @@ export default function CartDrawer({ isOpen, onClose, onCheckout, onShopNavigate
|
||||
</div>
|
||||
|
||||
{/* Subscription Toggle */}
|
||||
<div
|
||||
onClick={() => {
|
||||
if (!isLoggedIn && !isSubscribed) {
|
||||
toast.info("برای فعالسازی سرویس تمدید خودکار و دریافت یادآورها، لطفاً ابتدا وارد حساب کاربری خود شوید.");
|
||||
setIsAuthModalOpen(true);
|
||||
return;
|
||||
}
|
||||
toggleSubscription();
|
||||
}}
|
||||
className={`p-4 rounded-2xl border-2 transition-all cursor-pointer ${isSubscribed ? 'bg-canina-blue/5 border-canina-blue' : 'bg-white border-medical-gray-100 hover:border-canina-blue/30'}`}
|
||||
>
|
||||
<div className="flex items-center gap-3">
|
||||
<div className={`w-10 h-10 rounded-xl flex items-center justify-center transition-colors ${isSubscribed ? 'bg-canina-blue text-white' : 'bg-medical-gray-50 text-medical-gray-300'}`}>
|
||||
<ShieldCheck className="w-6 h-6" />
|
||||
</div>
|
||||
<div className="flex-1">
|
||||
<h5 className="text-xs font-black text-medical-gray-900">سامانه تمدید هوشمند و ۵٪ پاداش Cashback</h5>
|
||||
<p className="text-[10px] text-canina-blue font-black mt-0.5">۵٪ شارژ هدیه کیف پول روی خرید تمدید بعدی همین محصول + ارسال اولویتدار</p>
|
||||
<p className="text-[9px] text-medical-gray-500 font-bold mt-1">برنامه هوشمند وفاداری — یادآوری دقیق زمان اتمام مکمل پت بر اساس دوز دامپزشک + ۵٪ اعتبار هدیه بازگشت وجه</p>
|
||||
</div>
|
||||
<div className={`w-5 h-5 rounded-full border-2 flex items-center justify-center ${isSubscribed ? 'bg-canina-blue border-canina-blue' : 'border-medical-gray-200'}`}>
|
||||
{isSubscribed && <X className="w-3 h-3 text-white" />}
|
||||
{isRefillEnabled && (
|
||||
<div
|
||||
onClick={() => {
|
||||
if (!isLoggedIn && !isSubscribed) {
|
||||
toast.info("برای فعالسازی سرویس تمدید خودکار و دریافت یادآورها، لطفاً ابتدا وارد حساب کاربری خود شوید.");
|
||||
setIsAuthModalOpen(true);
|
||||
return;
|
||||
}
|
||||
toggleSubscription();
|
||||
}}
|
||||
className={`p-4 rounded-2xl border-2 transition-all cursor-pointer ${isSubscribed ? 'bg-canina-blue/5 border-canina-blue' : 'bg-white border-medical-gray-100 hover:border-canina-blue/30'}`}
|
||||
>
|
||||
<div className="flex items-center gap-3">
|
||||
<div className={`w-10 h-10 rounded-xl flex items-center justify-center transition-colors ${isSubscribed ? 'bg-canina-blue text-white' : 'bg-medical-gray-50 text-medical-gray-300'}`}>
|
||||
<ShieldCheck className="w-6 h-6" />
|
||||
</div>
|
||||
<div className="flex-1">
|
||||
<h5 className="text-xs font-black text-medical-gray-900">سامانه تمدید هوشمند و {toPersian(refillPercent)}٪ پاداش Cashback</h5>
|
||||
<p className="text-[10px] text-canina-blue font-black mt-0.5">{toPersian(refillPercent)}٪ شارژ هدیه کیف پول روی خرید تمدید بعدی همین محصول + ارسال اولویتدار</p>
|
||||
<p className="text-[9px] text-medical-gray-500 font-bold mt-1">برنامه هوشمند وفاداری — یادآوری دقیق زمان اتمام مکمل پت بر اساس دوز دامپزشک + {toPersian(refillPercent)}٪ اعتبار هدیه بازگشت وجه</p>
|
||||
</div>
|
||||
<div className={`w-5 h-5 rounded-full border-2 flex items-center justify-center ${isSubscribed ? 'bg-canina-blue border-canina-blue' : 'border-medical-gray-200'}`}>
|
||||
{isSubscribed && <X className="w-3 h-3 text-white" />}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Official Germany Catalog Authenticity Guarantee Banner */}
|
||||
<div className="p-3.5 bg-amber-50/80 border border-amber-200/80 rounded-2xl flex items-center justify-between gap-3 text-amber-900">
|
||||
|
||||
@@ -243,7 +243,6 @@ export default function CheckoutPage() {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
if (items.length === 0) {
|
||||
return (
|
||||
<div className="min-h-screen bg-medical-gray-50 flex items-center justify-center p-6" dir="rtl">
|
||||
@@ -258,66 +257,67 @@ export default function CheckoutPage() {
|
||||
);
|
||||
}
|
||||
|
||||
const isRefillEnabled = useSettingsStore((state) => state.getText('REFILL_SUBSCRIPTION_ENABLED', 'false') === 'true');
|
||||
const refillPercent = Number(useSettingsStore((state) => state.getText('REFILL_REWARD_PERCENT', '5'))) || 5;
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-medical-gray-50 py-6 sm:py-12 px-3 sm:px-6 font-vazir w-full max-w-full overflow-x-hidden" dir="rtl">
|
||||
<div className="min-h-screen bg-medical-gray-50/60 py-4 sm:py-8 px-3 sm:px-6 font-vazir w-full max-w-full overflow-x-hidden text-right" dir="rtl">
|
||||
<div className="max-w-7xl mx-auto w-full">
|
||||
|
||||
{/* Mobile Navigation & Breadcrumbs */}
|
||||
<div className="lg:hidden mb-6 sm:mb-10 space-y-4">
|
||||
<button
|
||||
onClick={() => router.back()}
|
||||
className="flex items-center gap-1.5 text-medical-gray-500 font-bold hover:text-canina-blue transition-colors font-vazir"
|
||||
>
|
||||
<span>بازگشت به سبد خرید</span>
|
||||
<ChevronLeft className="w-5 h-5" />
|
||||
</button>
|
||||
|
||||
<div className="flex items-center gap-2 text-[10px] font-black text-medical-gray-400 uppercase tracking-widest overflow-x-auto whitespace-nowrap pb-2">
|
||||
{/* Navigation & Breadcrumbs */}
|
||||
<div className="flex items-center justify-between gap-2 mb-5">
|
||||
<div className="flex items-center gap-2 text-xs font-bold text-medical-gray-500">
|
||||
<button
|
||||
onClick={() => router.back()}
|
||||
className="flex items-center gap-1 hover:text-canina-blue transition-colors cursor-pointer"
|
||||
>
|
||||
<ChevronRight className="w-4 h-4" />
|
||||
<span>بازگشت</span>
|
||||
</button>
|
||||
<span className="text-medical-gray-300">/</span>
|
||||
<span className="cursor-pointer hover:text-canina-blue" onClick={() => router.push('/shop')}>سبد خرید</span>
|
||||
<ChevronLeft className="w-2.5 h-2.5" />
|
||||
<span className="text-canina-blue">نهاییسازی سفارش</span>
|
||||
<span className="text-medical-gray-300">/</span>
|
||||
<span className="text-canina-blue font-black">تسویهحساب و پرداخت</span>
|
||||
</div>
|
||||
<div className="hidden sm:flex items-center gap-1.5 text-xs text-emerald-700 bg-emerald-50 border border-emerald-200 px-3 py-1 rounded-full font-bold">
|
||||
<ShieldCheck className="w-3.5 h-3.5" />
|
||||
<span>پرداخت ۱۰۰٪ امن با پروتکل SSL</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Desktop Breadcrumbs (Hidden on Mobile) */}
|
||||
<div className="hidden lg:flex items-center gap-2 text-[10px] font-black text-medical-gray-400 uppercase tracking-widest mb-10">
|
||||
<span className="cursor-pointer hover:text-canina-blue" onClick={() => router.push('/')}>خانه</span>
|
||||
<ChevronLeft className="w-2.5 h-2.5" />
|
||||
<span className="text-canina-blue">درگاه پرداخت امن و نهاییسازی</span>
|
||||
</div>
|
||||
|
||||
<div className="grid lg:grid-cols-12 gap-6 lg:gap-12 w-full">
|
||||
{/* Main Form */}
|
||||
<div className="lg:col-span-8 space-y-6 sm:space-y-8 w-full min-w-0">
|
||||
<div className="grid lg:grid-cols-12 gap-5 w-full items-start">
|
||||
{/* Main Content (8 cols) */}
|
||||
<div className="lg:col-span-8 space-y-4 w-full min-w-0">
|
||||
|
||||
{/* Step 1: Shipping */}
|
||||
<section className="bg-white rounded-[2rem] sm:rounded-[3rem] border border-medical-gray-200 p-4 sm:p-10 overflow-hidden relative w-full">
|
||||
<div className="absolute top-0 right-0 w-2.5 sm:w-3 h-full bg-canina-blue opacity-20" />
|
||||
<div className="flex items-center gap-3 sm:gap-4 mb-6 sm:mb-10">
|
||||
<div className="w-10 h-10 sm:w-12 sm:h-12 bg-medical-gray-900 text-white rounded-2xl flex items-center justify-center font-black text-sm sm:text-base">۱</div>
|
||||
<h2 className="text-xl sm:text-2xl font-black text-medical-gray-900 italic">اطلاعات ارسال</h2>
|
||||
<section className="bg-white rounded-2xl border border-medical-gray-200 p-4 sm:p-6 shadow-xs relative w-full overflow-hidden">
|
||||
<div className="flex items-center justify-between pb-3 mb-4 border-b border-medical-gray-100">
|
||||
<div className="flex items-center gap-2.5">
|
||||
<div className="w-7 h-7 bg-canina-blue text-white rounded-lg flex items-center justify-center font-black text-xs">۱</div>
|
||||
<h2 className="text-base sm:text-lg font-black text-medical-gray-900">اطلاعات تحویل و گیرنده</h2>
|
||||
</div>
|
||||
{isLoggedIn && (
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setShowAddressModal(true)}
|
||||
className="flex items-center gap-1 text-canina-blue font-bold text-xs hover:underline bg-canina-blue/5 border border-canina-blue/20 px-2.5 py-1 rounded-lg transition-all cursor-pointer"
|
||||
>
|
||||
<PlusCircle className="w-3.5 h-3.5" />
|
||||
<span>+ افزودن آدرس</span>
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{isLoggedIn && profile.addresses && profile.addresses.length > 0 ? (
|
||||
<div className="space-y-4 w-full">
|
||||
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-2 mb-2">
|
||||
<p className="text-xs font-bold text-medical-gray-500">انتخاب آدرس جهت تحویل سفارش:</p>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setShowAddressModal(true)}
|
||||
className="self-start sm:self-auto flex items-center gap-1.5 text-canina-blue font-black text-xs hover:underline bg-canina-blue/5 border border-canina-blue/20 px-3 py-1.5 rounded-xl transition-all"
|
||||
>
|
||||
<PlusCircle className="w-4 h-4" />
|
||||
<span>+ افزودن آدرس جدید</span>
|
||||
</button>
|
||||
</div>
|
||||
<div className="grid gap-3 w-full">
|
||||
<div className="space-y-3">
|
||||
<div className="grid sm:grid-cols-2 gap-2.5">
|
||||
{profile.addresses.map((addr) => (
|
||||
<div
|
||||
key={addr.id}
|
||||
onClick={() => setSelectedAddressId(addr.id)}
|
||||
className={cn(
|
||||
"p-3 sm:p-4 rounded-2xl border-2 cursor-pointer transition-all flex items-start gap-2.5 sm:gap-3 w-full min-w-0 max-w-full overflow-hidden",
|
||||
selectedAddressId === addr.id ? "border-canina-blue bg-canina-blue/5" : "border-medical-gray-100 hover:border-medical-gray-200"
|
||||
"p-3 rounded-xl border transition-all flex items-start gap-2.5 cursor-pointer",
|
||||
selectedAddressId === addr.id ? "border-canina-blue bg-canina-blue/5 shadow-xs" : "border-medical-gray-200 hover:border-medical-gray-300"
|
||||
)}
|
||||
>
|
||||
<input
|
||||
@@ -325,425 +325,361 @@ export default function CheckoutPage() {
|
||||
name="selectedAddress"
|
||||
checked={selectedAddressId === addr.id}
|
||||
onChange={() => setSelectedAddressId(addr.id)}
|
||||
className="mt-1 shrink-0"
|
||||
className="mt-1 shrink-0 cursor-pointer"
|
||||
/>
|
||||
<div className="flex-1 min-w-0 break-words">
|
||||
<div className="flex items-center gap-2 mb-1 flex-wrap">
|
||||
<span className="font-black text-sm text-medical-gray-900">{addr.title}</span>
|
||||
<div className="flex-1 min-w-0">
|
||||
<div className="flex items-center gap-2 mb-0.5">
|
||||
<span className="font-black text-xs text-medical-gray-900">{addr.title}</span>
|
||||
{addr.isDefault && (
|
||||
<span className="bg-canina-blue/10 text-canina-blue text-[9px] font-black px-2 py-0.5 rounded-full shrink-0">پیشفرض</span>
|
||||
<span className="bg-canina-blue/10 text-canina-blue text-[9px] font-bold px-1.5 py-0.2 rounded-md">پیشفرض</span>
|
||||
)}
|
||||
</div>
|
||||
<p className="text-xs text-medical-gray-600 leading-relaxed break-words line-clamp-3 sm:line-clamp-none">{addr.province}، {addr.city}، {addr.detail}</p>
|
||||
<p className="text-[10px] text-medical-gray-400 font-bold mt-1 break-words">گیرنده: {addr.receptorName} | همراه: {toPersian(addr.phone)}</p>
|
||||
<p className="text-[11px] text-medical-gray-600 line-clamp-2 leading-relaxed">{addr.province}، {addr.city}، {addr.detail}</p>
|
||||
<p className="text-[10px] text-medical-gray-400 font-bold mt-1">گیرنده: {addr.receptorName} ({toPersian(addr.phone)})</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<div className="space-y-4">
|
||||
{isLoggedIn && (
|
||||
<div className="flex justify-end mb-2">
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setShowAddressModal(true)}
|
||||
className="flex items-center gap-1.5 text-canina-blue font-black text-xs hover:underline bg-canina-blue/5 border border-canina-blue/20 px-3 py-1.5 rounded-xl transition-all"
|
||||
>
|
||||
<PlusCircle className="w-4 h-4" />
|
||||
<span>افزودن و ذخیره آدرس جدید</span>
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
<div className="grid md:grid-cols-2 gap-4 sm:gap-6">
|
||||
<div className="space-y-2">
|
||||
<label htmlFor="chk-fullname" className="text-[10px] font-black text-medical-gray-400 uppercase tracking-widest block">نام و نام خانوادگی گیرنده *</label>
|
||||
<input
|
||||
id="chk-fullname"
|
||||
name="name"
|
||||
type="text"
|
||||
autoComplete="name"
|
||||
value={manualName}
|
||||
onChange={(e) => setManualName(e.target.value)}
|
||||
className="w-full bg-medical-gray-50 border border-medical-gray-200 rounded-2xl py-3 sm:py-4 px-4 sm:px-6 text-xs sm:text-sm focus:outline-none focus:ring-2 focus:ring-canina-blue/20"
|
||||
placeholder="مثلاً: پارسا آقایی"
|
||||
/>
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
<label htmlFor="chk-tel" className="text-[10px] font-black text-medical-gray-400 uppercase tracking-widest block">شماره تماس گیرنده *</label>
|
||||
<input
|
||||
id="chk-tel"
|
||||
name="tel"
|
||||
type="tel"
|
||||
autoComplete="tel"
|
||||
value={manualPhone}
|
||||
onChange={(e) => setManualPhone(e.target.value.replace(/[^0-9]/g, ''))}
|
||||
className="w-full bg-medical-gray-50 border border-medical-gray-200 rounded-2xl py-3 sm:py-4 px-4 sm:px-6 text-xs sm:text-sm focus:outline-none focus:ring-2 focus:ring-canina-blue/20 dir-ltr text-right"
|
||||
placeholder="۰۹۱۲XXXXXXX"
|
||||
/>
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
<label htmlFor="chk-province" className="text-[10px] font-black text-medical-gray-400 uppercase tracking-widest block">استان *</label>
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-3">
|
||||
<div>
|
||||
<label htmlFor="chk-fullname" className="text-[11px] font-bold text-medical-gray-700 block mb-1">نام و نام خانوادگی *</label>
|
||||
<input
|
||||
id="chk-fullname"
|
||||
name="name"
|
||||
type="text"
|
||||
autoComplete="name"
|
||||
value={manualName}
|
||||
onChange={(e) => setManualName(e.target.value)}
|
||||
className="w-full bg-medical-gray-50/70 border border-medical-gray-200 rounded-xl py-2 px-3 text-xs focus:ring-1 focus:ring-canina-blue outline-none"
|
||||
placeholder="مثلاً: پارسا آقایی"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label htmlFor="chk-tel" className="text-[11px] font-bold text-medical-gray-700 block mb-1">شماره همراه *</label>
|
||||
<input
|
||||
id="chk-tel"
|
||||
name="tel"
|
||||
type="tel"
|
||||
autoComplete="tel"
|
||||
value={manualPhone}
|
||||
onChange={(e) => setManualPhone(e.target.value.replace(/[^0-9]/g, ''))}
|
||||
className="w-full bg-medical-gray-50/70 border border-medical-gray-200 rounded-xl py-2 px-3 text-xs focus:ring-1 focus:ring-canina-blue outline-none dir-ltr text-right"
|
||||
placeholder="۰۹۱۲XXXXXXX"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label htmlFor="chk-province" className="text-[11px] font-bold text-medical-gray-700 block mb-1">استان *</label>
|
||||
<SearchableSelect
|
||||
id="chk-province"
|
||||
options={IRAN_PROVINCES}
|
||||
value={manualProvince}
|
||||
placeholder="انتخاب استان..."
|
||||
searchPlaceholder="جستجوی استان..."
|
||||
onChange={(prov) => {
|
||||
const cities = PROVINCE_CITIES[prov] || [];
|
||||
setManualProvince(prov);
|
||||
setManualCity(cities[0] || '');
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label htmlFor="chk-city" className="text-[11px] font-bold text-medical-gray-700 block mb-1">شهر *</label>
|
||||
{manualProvince && PROVINCE_CITIES[manualProvince] ? (
|
||||
<SearchableSelect
|
||||
id="chk-province"
|
||||
options={IRAN_PROVINCES}
|
||||
value={manualProvince}
|
||||
placeholder="انتخاب استان..."
|
||||
searchPlaceholder="جستجوی استان..."
|
||||
onChange={(prov) => {
|
||||
const cities = PROVINCE_CITIES[prov] || [];
|
||||
setManualProvince(prov);
|
||||
setManualCity(cities[0] || '');
|
||||
}}
|
||||
id="chk-city"
|
||||
options={PROVINCE_CITIES[manualProvince]}
|
||||
value={manualCity}
|
||||
placeholder="انتخاب شهر..."
|
||||
searchPlaceholder="جستجوی شهر..."
|
||||
onChange={(c) => setManualCity(c)}
|
||||
/>
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
<label htmlFor="chk-city" className="text-[10px] font-black text-medical-gray-400 uppercase tracking-widest block">شهر *</label>
|
||||
{manualProvince && PROVINCE_CITIES[manualProvince] ? (
|
||||
<SearchableSelect
|
||||
id="chk-city"
|
||||
options={PROVINCE_CITIES[manualProvince]}
|
||||
value={manualCity}
|
||||
placeholder="انتخاب شهر..."
|
||||
searchPlaceholder="جستجوی شهر..."
|
||||
onChange={(c) => setManualCity(c)}
|
||||
/>
|
||||
) : (
|
||||
<input
|
||||
id="chk-city"
|
||||
type="text"
|
||||
value={manualCity}
|
||||
onChange={(e) => setManualCity(e.target.value)}
|
||||
className="w-full bg-medical-gray-50 border border-medical-gray-200 rounded-2xl py-3 sm:py-4 px-4 sm:px-6 text-xs sm:text-sm focus:outline-none focus:ring-2 focus:ring-canina-blue/20"
|
||||
placeholder="نام شهر..."
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<div className="md:col-span-2 space-y-2">
|
||||
<label htmlFor="chk-street" className="text-[10px] font-black text-medical-gray-400 uppercase tracking-widest block">آدرس دقیق پستی *</label>
|
||||
<textarea
|
||||
id="chk-street"
|
||||
name="street-address"
|
||||
autoComplete="street-address"
|
||||
value={manualAddress}
|
||||
onChange={(e) => setManualAddress(e.target.value)}
|
||||
className="w-full bg-medical-gray-50 border border-medical-gray-200 rounded-2xl py-3 sm:py-4 px-4 sm:px-6 text-xs sm:text-sm focus:outline-none focus:ring-2 focus:ring-canina-blue/20 h-24 sm:h-28"
|
||||
placeholder="خیابان، کوچه، پلاک، واحد..."
|
||||
/>
|
||||
</div>
|
||||
<div className="md:col-span-2 space-y-2">
|
||||
<label htmlFor="chk-zipcode" className="text-[10px] font-black text-medical-gray-400 uppercase tracking-widest block">کد پستی ۱۰ رقمی</label>
|
||||
) : (
|
||||
<input
|
||||
id="chk-zipcode"
|
||||
id="chk-city"
|
||||
type="text"
|
||||
maxLength={10}
|
||||
value={manualZipCode}
|
||||
onChange={(e) => setManualZipCode(e.target.value.replace(/[^0-9]/g, ''))}
|
||||
className="w-full bg-medical-gray-50 border border-medical-gray-200 rounded-2xl py-3 sm:py-4 px-4 sm:px-6 text-xs sm:text-sm focus:outline-none focus:ring-2 focus:ring-canina-blue/20 dir-ltr text-right"
|
||||
placeholder="۱۲۳۴۵۶۷۸۹۰"
|
||||
value={manualCity}
|
||||
onChange={(e) => setManualCity(e.target.value)}
|
||||
className="w-full bg-medical-gray-50/70 border border-medical-gray-200 rounded-xl py-2 px-3 text-xs focus:ring-1 focus:ring-canina-blue outline-none"
|
||||
placeholder="نام شهر..."
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
<div className="sm:col-span-2 md:col-span-3">
|
||||
<label htmlFor="chk-street" className="text-[11px] font-bold text-medical-gray-700 block mb-1">آدرس دقیق پستی *</label>
|
||||
<input
|
||||
id="chk-street"
|
||||
name="street-address"
|
||||
autoComplete="street-address"
|
||||
value={manualAddress}
|
||||
onChange={(e) => setManualAddress(e.target.value)}
|
||||
className="w-full bg-medical-gray-50/70 border border-medical-gray-200 rounded-xl py-2 px-3 text-xs focus:ring-1 focus:ring-canina-blue outline-none"
|
||||
placeholder="خیابان، کوچه، پلاک، واحد..."
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label htmlFor="chk-zipcode" className="text-[11px] font-bold text-medical-gray-700 block mb-1">کد پستی (۱۰ رقمی)</label>
|
||||
<input
|
||||
id="chk-zipcode"
|
||||
type="text"
|
||||
maxLength={10}
|
||||
value={manualZipCode}
|
||||
onChange={(e) => setManualZipCode(e.target.value.replace(/[^0-9]/g, ''))}
|
||||
className="w-full bg-medical-gray-50/70 border border-medical-gray-200 rounded-xl py-2 px-3 text-xs focus:ring-1 focus:ring-canina-blue outline-none dir-ltr text-right"
|
||||
placeholder="۱۲۳۴۵۶۷۸۹۰"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</section>
|
||||
|
||||
{/* Pet Selection */}
|
||||
{pets.length > 0 && (
|
||||
<section className="bg-white rounded-[2rem] sm:rounded-[3rem] border border-medical-gray-200 p-5 sm:p-8 overflow-hidden relative">
|
||||
<div className="flex items-center justify-between mb-4">
|
||||
<div className="flex items-center gap-3">
|
||||
<div className="w-10 h-10 bg-purple-100 text-purple-700 rounded-2xl flex items-center justify-center font-black">🐾</div>
|
||||
<div>
|
||||
<h2 className="text-lg font-black text-medical-gray-900 italic">انتخاب همدم (حیوان خانگی)</h2>
|
||||
<p className="text-xs text-medical-gray-500">برای ثبت سابقه خرید در پرونده سلامت پت، همدم موردنظر را انتخاب کنید:</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-2 sm:grid-cols-3 gap-3">
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setSelectedPetId(null)}
|
||||
className={cn(
|
||||
"p-3 rounded-2xl border-2 text-xs font-black transition-all flex items-center justify-center gap-2 cursor-pointer",
|
||||
selectedPetId === null ? "border-canina-blue bg-canina-blue/10 text-canina-blue shadow-xs" : "border-medical-gray-100 text-medical-gray-500 hover:bg-medical-gray-50"
|
||||
)}
|
||||
>
|
||||
<span>هیچکدام (خرید عمومی)</span>
|
||||
</button>
|
||||
{pets.map(p => (
|
||||
<button
|
||||
key={p.id}
|
||||
type="button"
|
||||
onClick={() => setSelectedPetId(p.id)}
|
||||
className={cn(
|
||||
"p-3 rounded-2xl border-2 text-xs font-black transition-all flex items-center justify-center gap-2 cursor-pointer",
|
||||
selectedPetId === p.id ? "border-canina-blue bg-canina-blue/10 text-canina-blue shadow-xs" : "border-medical-gray-100 text-medical-gray-600 hover:bg-medical-gray-50"
|
||||
)}
|
||||
>
|
||||
<span>🐾 {p.name} ({p.breed || p.type})</span>
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
)}
|
||||
|
||||
{/* Step 2: Payment */}
|
||||
<section className="bg-white rounded-[2rem] sm:rounded-[3rem] border border-medical-gray-200 p-5 sm:p-10 overflow-hidden relative">
|
||||
<div className="absolute top-0 right-0 w-2.5 sm:w-3 h-full bg-medical-gray-900 opacity-20" />
|
||||
<div className="flex items-center gap-3 sm:gap-4 mb-6 sm:mb-10">
|
||||
<div className="w-10 h-10 sm:w-12 sm:h-12 bg-medical-gray-900 text-white rounded-2xl flex items-center justify-center font-black text-sm sm:text-base">۲</div>
|
||||
<h2 className="text-xl sm:text-2xl font-black text-medical-gray-900 italic">شیوه پرداخت</h2>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-3 sm:gap-4">
|
||||
{(() => {
|
||||
const getText = useSettingsStore.getState().getText;
|
||||
const allGateways = [
|
||||
{
|
||||
id: 'card',
|
||||
label: getText('PAY_GATEWAY_CARD_LABEL', 'کارت به کارت (واریز مستقیم)'),
|
||||
desc: getText('PAY_GATEWAY_CARD_DESC', 'واریز به شماره کارت بانک سامان'),
|
||||
icon: <CreditCard className="w-5 h-5 sm:w-6 sm:h-6" />,
|
||||
enabled: isCardToCardEnabled
|
||||
},
|
||||
{
|
||||
id: 'wallet',
|
||||
label: getText('PAY_GATEWAY_WALLET_LABEL', 'اعتبار حساب (کیف پول)'),
|
||||
desc: `موجودی: ${toPersian((profile.walletBalance || 0).toLocaleString())} تومان`,
|
||||
icon: <Wallet className="w-5 h-5 sm:w-6 sm:h-6" />,
|
||||
enabled: getText('PAY_GATEWAY_WALLET_ENABLE', 'true') === 'true'
|
||||
},
|
||||
{
|
||||
id: 'online',
|
||||
label: getText('PAY_GATEWAY_ONLINE_LABEL', 'درگاه پرداخت اینترنتی (زیبال / شتاب)'),
|
||||
desc: getText('PAY_GATEWAY_ONLINE_DESC', 'پرداخت امن و آنی با کلیه کارتهای عضو شتاب'),
|
||||
icon: <ShieldCheck className="w-5 h-5 sm:w-6 sm:h-6" />,
|
||||
enabled: getText('PAY_GATEWAY_ONLINE_ENABLE', 'true') === 'true'
|
||||
},
|
||||
{
|
||||
id: 'cod',
|
||||
label: getText('PAY_GATEWAY_COD_LABEL', 'پرداخت در محل (کارتخوان)'),
|
||||
desc: getText('PAY_GATEWAY_COD_DESC', 'تحویل کالا و پرداخت درب منزل'),
|
||||
icon: <Truck className="w-5 h-5 sm:w-6 sm:h-6" />,
|
||||
enabled: getText('PAY_GATEWAY_COD_ENABLE', 'false') === 'true'
|
||||
}
|
||||
];
|
||||
|
||||
const sortedGateways = [...allGateways].sort((a, b) => (b.enabled ? 1 : 0) - (a.enabled ? 1 : 0));
|
||||
|
||||
return sortedGateways.map((pay) => (
|
||||
<div
|
||||
key={pay.id}
|
||||
onClick={() => {
|
||||
if (pay.enabled) {
|
||||
setPaymentMethod(pay.id);
|
||||
} else {
|
||||
toast.info("این روش پرداخت به زودی فعال خواهد شد.");
|
||||
}
|
||||
}}
|
||||
className={cn(
|
||||
"p-4 sm:p-6 rounded-2xl sm:rounded-3xl border-2 transition-all group flex sm:flex-col items-center sm:items-start gap-4 sm:gap-0 relative",
|
||||
pay.enabled
|
||||
? (paymentMethod === pay.id ? "border-canina-blue bg-canina-blue/5 cursor-pointer" : "border-medical-gray-100 hover:border-canina-blue cursor-pointer")
|
||||
: "border-medical-gray-100 bg-medical-gray-50/60 opacity-60 cursor-not-allowed"
|
||||
)}
|
||||
>
|
||||
<div className="w-10 h-10 sm:w-12 sm:h-12 bg-medical-gray-50 rounded-xl sm:rounded-2xl flex items-center justify-center text-medical-gray-400 group-hover:text-canina-blue group-hover:bg-canina-blue/10 sm:mb-4 transition-all flex-shrink-0">
|
||||
{pay.icon}
|
||||
</div>
|
||||
<div className="min-w-0 flex-1 w-full">
|
||||
<div className="flex items-center justify-between gap-2 mb-0.5 sm:mb-1">
|
||||
<h4 className="font-black text-xs sm:text-sm text-medical-gray-900 truncate">{pay.label}</h4>
|
||||
{!pay.enabled && (
|
||||
<span className="text-[9px] font-black bg-amber-100 text-amber-800 px-2 py-0.5 rounded-full shrink-0 font-vazir">
|
||||
به زودی
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
<div className="flex items-center justify-between gap-2">
|
||||
<p className={cn("text-[10px] font-bold truncate", pay.id === 'wallet' ? "text-canina-blue" : "text-medical-gray-400")}>{pay.desc}</p>
|
||||
{pay.id === 'wallet' && pay.enabled && (
|
||||
<button
|
||||
type="button"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
setShowTopUpModal(true);
|
||||
}}
|
||||
className="text-[10px] bg-canina-blue text-white px-2 py-0.5 rounded-lg font-bold hover:bg-blue-700 transition-colors flex items-center gap-1 shrink-0 font-vazir"
|
||||
>
|
||||
<PlusCircle className="w-3 h-3" />
|
||||
<span>افزایش موجودی</span>
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
));
|
||||
})()}
|
||||
</div>
|
||||
|
||||
{isCardToCardEnabled && paymentMethod === 'card' && (
|
||||
<div className="mt-6 bg-blue-50/80 border border-blue-200 rounded-2xl p-5 space-y-3 font-vazir">
|
||||
<div className="flex items-center gap-2 text-canina-blue font-bold text-sm">
|
||||
<CreditCard className="w-5 h-5" />
|
||||
<span>اطلاعات کارت جهت واریز وجه سفارش:</span>
|
||||
</div>
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 text-xs bg-white p-4 rounded-xl border border-blue-100 shadow-sm">
|
||||
|
||||
{/* Card Number Box */}
|
||||
<div className="bg-gray-50/80 p-3 rounded-xl border border-gray-200/60 flex items-center justify-between group hover:border-canina-blue transition-all">
|
||||
<div className="space-y-1">
|
||||
<span className="text-[11px] text-gray-500 font-bold block">شماره کارت (بانک سامان):</span>
|
||||
<span
|
||||
onClick={() => handleCopy("6219861974012071", "شماره کارت")}
|
||||
className="font-mono text-sm sm:text-base font-extrabold text-gray-900 tracking-wider dir-ltr block cursor-pointer hover:text-canina-blue transition-colors"
|
||||
>
|
||||
6219 - 8619 - 7401 - 2071
|
||||
</span>
|
||||
</div>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => handleCopy("6219861974012071", "شماره کارت")}
|
||||
className="p-2 rounded-lg bg-white border border-gray-200 text-gray-500 hover:text-canina-blue hover:border-canina-blue transition-all"
|
||||
title="کپی شماره کارت"
|
||||
>
|
||||
<Copy className="w-4 h-4" />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* Sheba Box */}
|
||||
<div className="bg-gray-50/80 p-3 rounded-xl border border-gray-200/60 flex items-center justify-between group hover:border-canina-blue transition-all">
|
||||
<div className="space-y-1">
|
||||
<span className="text-[11px] text-gray-500 font-bold block">شماره شبا:</span>
|
||||
<span
|
||||
onClick={() => handleCopy("IR650560611828005725101501", "شماره شبا")}
|
||||
className="font-mono text-xs sm:text-sm font-extrabold text-gray-900 tracking-wider dir-ltr block cursor-pointer hover:text-canina-blue transition-colors"
|
||||
>
|
||||
IR-65 0560 6118 2800 5725 1015 01
|
||||
</span>
|
||||
</div>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => handleCopy("IR650560611828005725101501", "شماره شبا")}
|
||||
className="p-2 rounded-lg bg-white border border-gray-200 text-gray-500 hover:text-canina-blue hover:border-canina-blue transition-all"
|
||||
title="کپی شماره شبا"
|
||||
>
|
||||
<Copy className="w-4 h-4" />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div className="md:col-span-2 pt-2 border-t border-gray-100 flex flex-col sm:flex-row items-start sm:items-center justify-between gap-2 text-gray-700 font-bold">
|
||||
<span className="text-xs">به نام: <strong className="text-gray-900">پارسا آقایی</strong></span>
|
||||
<span className="text-canina-blue text-[11px]">پس از ثبت سفارش، کارشناسان فروش جهت تایید فیش با شما تماس میگیرند.</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</section>
|
||||
|
||||
{/* Step 3: Charity Section */}
|
||||
<section className="bg-white rounded-[2rem] sm:rounded-[3rem] border border-medical-gray-200 p-5 sm:p-10 overflow-hidden relative">
|
||||
<div className="absolute top-0 right-0 w-2.5 sm:w-3 h-full bg-pink-500 opacity-20" />
|
||||
<div className="flex items-center justify-between mb-6 sm:mb-8">
|
||||
<div className="flex items-center gap-3 sm:gap-4">
|
||||
<div className="w-10 h-10 sm:w-12 sm:h-12 bg-pink-500 text-white rounded-2xl flex items-center justify-center flex-shrink-0">
|
||||
<Heart className="w-5 h-5 sm:w-6 sm:h-6 fill-white" />
|
||||
</div>
|
||||
<div>
|
||||
<h2 className="text-xl sm:text-2xl font-black text-medical-gray-900 italic">ردپای مهربانی</h2>
|
||||
<p className="text-[10px] sm:text-xs font-bold text-pink-500 mt-0.5">سهم شما در حمایت از حیوانات بیپناه</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="bg-pink-50 rounded-[2rem] sm:rounded-[2.5rem] p-5 sm:p-8 border border-pink-100">
|
||||
<div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4 sm:gap-6">
|
||||
<div className="flex-1">
|
||||
<h4 className="text-base sm:text-lg font-black text-medical-gray-900 italic mb-1 sm:mb-2">رند کردن مبلغ و کمک به پناهگاه</h4>
|
||||
<p className="text-xs sm:text-sm text-medical-gray-600 leading-relaxed font-medium"> مابقی مبلغ تا {toPersian(roundStep.toLocaleString())} تومان بعدی صرف تامین غذا و دارو برای حیوانات بیسرپرست میشود.</p>
|
||||
</div>
|
||||
|
||||
<button
|
||||
onClick={handleCharityToggle}
|
||||
{/* Pet Selection (if user has pets) */}
|
||||
{pets.length > 0 && (
|
||||
<section className="bg-white rounded-2xl border border-medical-gray-200 p-4 shadow-xs">
|
||||
<div className="flex items-center gap-2 mb-2.5">
|
||||
<span className="text-base">🐾</span>
|
||||
<h3 className="text-xs font-black text-medical-gray-900">اتصال سفارش به پرونده سلامت حیوان خانگی:</h3>
|
||||
</div>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setSelectedPetId(null)}
|
||||
className={cn(
|
||||
"px-3 py-1.5 rounded-xl border text-xs font-bold transition-all cursor-pointer",
|
||||
selectedPetId === null ? "border-canina-blue bg-canina-blue/10 text-canina-blue" : "border-medical-gray-200 text-medical-gray-600 hover:bg-medical-gray-50"
|
||||
)}
|
||||
>
|
||||
خرید عمومی (بدون پت)
|
||||
</button>
|
||||
{pets.map(p => (
|
||||
<button
|
||||
key={p.id}
|
||||
type="button"
|
||||
onClick={() => setSelectedPetId(p.id)}
|
||||
className={cn(
|
||||
"w-14 h-14 sm:w-20 sm:h-20 rounded-full flex items-center justify-center transition-all shadow-lg self-end sm:self-center",
|
||||
useRoundUp ? "bg-pink-500 text-white shadow-pink-200" : "bg-white text-medical-gray-300 border-2 border-medical-gray-100"
|
||||
"px-3 py-1.5 rounded-xl border text-xs font-bold transition-all cursor-pointer",
|
||||
selectedPetId === p.id ? "border-canina-blue bg-canina-blue/10 text-canina-blue" : "border-medical-gray-200 text-medical-gray-600 hover:bg-medical-gray-50"
|
||||
)}
|
||||
>
|
||||
<PlusCircle className={cn("w-7 h-7 sm:w-10 sm:h-10", useRoundUp ? "rotate-45" : "rotate-0")} />
|
||||
{p.name} ({p.breed || p.type})
|
||||
</button>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
)}
|
||||
|
||||
{/* Step 2: Payment Methods */}
|
||||
<section className="bg-white rounded-2xl border border-medical-gray-200 p-4 sm:p-6 shadow-xs relative">
|
||||
<div className="flex items-center gap-2.5 pb-3 mb-4 border-b border-medical-gray-100">
|
||||
<div className="w-7 h-7 bg-canina-blue text-white rounded-lg flex items-center justify-center font-black text-xs">۲</div>
|
||||
<h2 className="text-base sm:text-lg font-black text-medical-gray-900">شیوه پرداخت</h2>
|
||||
</div>
|
||||
{useRoundUp && (
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 10 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
className="mt-6 pt-6 border-t border-pink-100 flex items-center justify-between"
|
||||
>
|
||||
<span className="text-sm font-black text-pink-600 italic">مبلغ اهدایی شما:</span>
|
||||
<span className="text-lg font-black font-vazir text-pink-500">{toPersian(charityDonation.toLocaleString())} تومان</span>
|
||||
</motion.div>
|
||||
)}
|
||||
|
||||
<p className="mt-6 text-[10px] text-center text-medical-gray-400 font-bold">«با خرید این محصول، شما هم در درمان یک حیوان پناهگاهی سهیم شدید.»</p>
|
||||
</section>
|
||||
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-3">
|
||||
{(() => {
|
||||
const getText = useSettingsStore.getState().getText;
|
||||
const allGateways = [
|
||||
{
|
||||
id: 'online',
|
||||
label: getText('PAY_GATEWAY_ONLINE_LABEL', 'درگاه پرداخت اینترنتی (زیبال / شتاب)'),
|
||||
desc: 'پرداخت آنلاین و آنی با کلیه کارتهای شتاب',
|
||||
icon: <ShieldCheck className="w-5 h-5" />,
|
||||
enabled: getText('PAY_GATEWAY_ONLINE_ENABLE', 'true') === 'true'
|
||||
},
|
||||
{
|
||||
id: 'wallet',
|
||||
label: getText('PAY_GATEWAY_WALLET_LABEL', 'اعتبار حساب (کیف پول)'),
|
||||
desc: `موجودی: ${toPersian((profile.walletBalance || 0).toLocaleString())} تومان`,
|
||||
icon: <Wallet className="w-5 h-5" />,
|
||||
enabled: getText('PAY_GATEWAY_WALLET_ENABLE', 'true') === 'true'
|
||||
},
|
||||
{
|
||||
id: 'card',
|
||||
label: getText('PAY_GATEWAY_CARD_LABEL', 'کارت به کارت (واریز مستقیم)'),
|
||||
desc: getText('PAY_GATEWAY_CARD_DESC', 'واریز به شماره کارت بانک سامان'),
|
||||
icon: <CreditCard className="w-5 h-5" />,
|
||||
enabled: isCardToCardEnabled
|
||||
},
|
||||
{
|
||||
id: 'cod',
|
||||
label: getText('PAY_GATEWAY_COD_LABEL', 'پرداخت در محل (کارتخوان)'),
|
||||
desc: getText('PAY_GATEWAY_COD_DESC', 'تحویل کالا و پرداخت درب منزل'),
|
||||
icon: <Truck className="w-5 h-5" />,
|
||||
enabled: getText('PAY_GATEWAY_COD_ENABLE', 'false') === 'true'
|
||||
}
|
||||
];
|
||||
|
||||
const sortedGateways = [...allGateways].sort((a, b) => (b.enabled ? 1 : 0) - (a.enabled ? 1 : 0));
|
||||
|
||||
return sortedGateways.map((pay) => (
|
||||
<div
|
||||
key={pay.id}
|
||||
onClick={() => {
|
||||
if (pay.enabled) {
|
||||
setPaymentMethod(pay.id);
|
||||
} else {
|
||||
toast.info("این روش پرداخت به زودی فعال خواهد شد.");
|
||||
}
|
||||
}}
|
||||
className={cn(
|
||||
"p-3.5 rounded-xl border-2 transition-all flex items-center justify-between gap-3 relative cursor-pointer",
|
||||
pay.enabled
|
||||
? (paymentMethod === pay.id ? "border-canina-blue bg-canina-blue/5 shadow-xs" : "border-medical-gray-200 hover:border-canina-blue/40")
|
||||
: "border-medical-gray-100 bg-medical-gray-50 opacity-60 cursor-not-allowed"
|
||||
)}
|
||||
>
|
||||
<div className="flex items-center gap-3 min-w-0">
|
||||
<div className={cn(
|
||||
"w-9 h-9 rounded-xl flex items-center justify-center shrink-0",
|
||||
paymentMethod === pay.id ? "bg-canina-blue text-white" : "bg-medical-gray-100 text-medical-gray-500"
|
||||
)}>
|
||||
{pay.icon}
|
||||
</div>
|
||||
<div className="min-w-0">
|
||||
<h4 className="font-bold text-xs text-medical-gray-900 truncate">{pay.label}</h4>
|
||||
<p className="text-[10px] text-medical-gray-500 truncate mt-0.5">{pay.desc}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{pay.id === 'wallet' && pay.enabled && (
|
||||
<button
|
||||
type="button"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
setShowTopUpModal(true);
|
||||
}}
|
||||
className="text-[10px] bg-canina-blue text-white px-2.5 py-1 rounded-lg font-bold hover:bg-blue-700 transition-colors shrink-0 shadow-xs cursor-pointer"
|
||||
>
|
||||
+ افزایش
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
));
|
||||
})()}
|
||||
</div>
|
||||
|
||||
{isCardToCardEnabled && paymentMethod === 'card' && (
|
||||
<div className="mt-4 bg-blue-50/80 border border-blue-200 rounded-xl p-3.5 space-y-2">
|
||||
<div className="flex items-center gap-2 text-canina-blue font-bold text-xs">
|
||||
<CreditCard className="w-4 h-4" />
|
||||
<span>اطلاعات کارت جهت واریز وجه سفارش:</span>
|
||||
</div>
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-2 text-xs bg-white p-3 rounded-lg border border-blue-100">
|
||||
<div className="flex items-center justify-between p-2 bg-gray-50 rounded-lg">
|
||||
<div>
|
||||
<span className="text-[10px] text-gray-500 block">شماره کارت سامان:</span>
|
||||
<span className="font-mono font-bold text-xs" dir="ltr">6219 8619 7401 2071</span>
|
||||
</div>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => handleCopy("6219861974012071", "شماره کارت")}
|
||||
className="text-[10px] text-canina-blue hover:underline font-bold"
|
||||
>
|
||||
کپی
|
||||
</button>
|
||||
</div>
|
||||
<div className="flex items-center justify-between p-2 bg-gray-50 rounded-lg">
|
||||
<div>
|
||||
<span className="text-[10px] text-gray-500 block">صاحب حساب:</span>
|
||||
<span className="font-bold text-xs text-gray-900">پارسادرمانی کنینا (نوواگارد)</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</section>
|
||||
|
||||
{/* Charity Donation Banner (Compact) */}
|
||||
<section className="bg-pink-50/70 border border-pink-200/80 rounded-2xl p-3.5 flex items-center justify-between gap-3">
|
||||
<div className="flex items-center gap-2.5">
|
||||
<div className="w-8 h-8 bg-pink-500 text-white rounded-xl flex items-center justify-center shrink-0">
|
||||
<Heart className="w-4 h-4 fill-white" />
|
||||
</div>
|
||||
<div>
|
||||
<h4 className="text-xs font-bold text-medical-gray-900">کمک به حیوانات پناهگاه (ردپای مهربانی)</h4>
|
||||
<p className="text-[10px] text-medical-gray-500">رند کردن مبلغ فاکتور تا {toPersian(roundStep.toLocaleString())} تومان بعدی</p>
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
type="button"
|
||||
onClick={handleCharityToggle}
|
||||
className={cn(
|
||||
"px-3 py-1.5 rounded-xl text-xs font-bold transition-all shrink-0 cursor-pointer",
|
||||
useRoundUp ? "bg-pink-500 text-white shadow-xs" : "bg-white text-pink-600 border border-pink-200 hover:bg-pink-50"
|
||||
)}
|
||||
>
|
||||
{useRoundUp ? `اهدای ${toPersian(charityDonation.toLocaleString())} ت` : 'مشارکت در خیریه'}
|
||||
</button>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
{/* Sidebar Summary */}
|
||||
<div className="lg:col-span-4 space-y-8">
|
||||
<div className="bg-medical-gray-900 rounded-[3rem] p-10 text-white shadow-2xl sticky top-32">
|
||||
<h3 className="text-2xl font-black italic mb-8 border-b border-white/20 pb-4 text-white">خلاصه سفارش</h3>
|
||||
{/* Sticky Order Summary Sidebar (4 cols) */}
|
||||
<div className="lg:col-span-4 w-full">
|
||||
<div className="bg-medical-gray-900 rounded-2xl p-5 text-white shadow-xl sticky top-24 space-y-4">
|
||||
<div className="flex items-center justify-between border-b border-white/10 pb-3">
|
||||
<h3 className="text-base font-black text-white">خلاصه سفارش</h3>
|
||||
<span className="text-[11px] text-white/60 font-bold">{toPersian(items.length)} قلم کالا</span>
|
||||
</div>
|
||||
|
||||
<div className="space-y-6 mb-10 overflow-y-auto max-h-60 pr-2">
|
||||
{/* Items List (Compact) */}
|
||||
<div className="space-y-2.5 max-h-48 overflow-y-auto pr-1">
|
||||
{items.map((item) => (
|
||||
<div key={item.product.id} className="flex justify-between items-start gap-4">
|
||||
<div className="flex-1">
|
||||
<p className="text-sm font-black text-white leading-tight">{item.product.name}</p>
|
||||
<p className="text-[10px] text-white/60 font-bold mt-1">تعداد: {toPersian(item.quantity)} بسته</p>
|
||||
<div key={item.product.id} className="flex justify-between items-center text-xs gap-2">
|
||||
<div className="min-w-0 flex-1">
|
||||
<p className="font-bold text-white/90 truncate">{item.product.name}</p>
|
||||
<p className="text-[10px] text-white/50">{toPersian(item.quantity)} بسته</p>
|
||||
</div>
|
||||
<span className="text-xs font-mono font-bold font-vazir text-white">{toPersian((item.product.priceValue * item.quantity).toLocaleString())} تومان</span>
|
||||
<span className="font-bold font-vazir text-white whitespace-nowrap">
|
||||
{toPersian((item.product.priceValue * item.quantity).toLocaleString())} ت
|
||||
</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div className="space-y-4 pt-8 border-t border-white/20">
|
||||
<div className="flex justify-between text-sm font-bold text-white/80">
|
||||
{/* Cost Breakdown */}
|
||||
<div className="space-y-2 pt-3 border-t border-white/10 text-xs">
|
||||
<div className="flex justify-between text-white/80">
|
||||
<span>مجموع اقلام</span>
|
||||
<span className="font-vazir text-white">{toPersian(getSubtotal().toLocaleString())} تومان</span>
|
||||
</div>
|
||||
{isSubscribed && (
|
||||
<div className="flex justify-between text-xs font-bold text-green-400 bg-green-500/10 p-2.5 rounded-xl border border-green-500/20">
|
||||
<span>رزرو هوشمند تمدید (پاداش ۵٪ خرید بعدی):</span>
|
||||
<span className="font-vazir font-black text-green-400">رزرو شد ({toPersian(Math.round(getSubtotal() * 0.05).toLocaleString())} تومان)</span>
|
||||
|
||||
{isRefillEnabled && isSubscribed && (
|
||||
<div className="flex justify-between text-xs font-bold text-emerald-400 bg-emerald-500/10 p-2 rounded-xl border border-emerald-500/20">
|
||||
<span>رزرو تمدید ({toPersian(refillPercent)}٪ پاداش خرید بعد):</span>
|
||||
<span className="font-vazir">{toPersian(Math.round(getSubtotal() * (refillPercent / 100)).toLocaleString())} ت</span>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{charityDonation > 0 && (
|
||||
<div className="flex justify-between text-sm font-bold text-pink-400">
|
||||
<div className="flex justify-between text-pink-400 font-bold">
|
||||
<span>ردپای مهربانی</span>
|
||||
<span className="font-vazir text-pink-400">{toPersian(charityDonation.toLocaleString())} تومان+</span>
|
||||
<span className="font-vazir">{toPersian(charityDonation.toLocaleString())} تومان+</span>
|
||||
</div>
|
||||
)}
|
||||
<div className="flex justify-between text-sm font-bold text-white/80">
|
||||
|
||||
<div className="flex justify-between text-white/80">
|
||||
<span>هزینه ارسال</span>
|
||||
{shippingFee > 0 ? (
|
||||
<span className="font-vazir font-bold text-white">{toPersian(shippingFee.toLocaleString())} تومان</span>
|
||||
<span className="font-vazir text-white">{toPersian(shippingFee.toLocaleString())} تومان</span>
|
||||
) : (
|
||||
<span className="text-green-400 uppercase tracking-widest text-[10px] font-black">رایگان</span>
|
||||
<span className="text-emerald-400 font-bold">رایگان</span>
|
||||
)}
|
||||
</div>
|
||||
<div className="flex justify-between items-end pt-4">
|
||||
<span className="text-xl font-black italic text-white">مبلغ نهایی</span>
|
||||
|
||||
<div className="flex justify-between items-center pt-3 border-t border-white/10">
|
||||
<span className="text-sm font-black text-white">مبلغ قابل پرداخت:</span>
|
||||
<div className="text-left">
|
||||
<p className="text-3xl font-black text-canina-gold leading-none font-vazir">{toPersian((getTotal() + shippingFee).toLocaleString())}</p>
|
||||
<p className="text-[10px] text-white/50 font-bold mt-1">تومان</p>
|
||||
<span className="text-2xl font-black text-canina-gold leading-none font-vazir">
|
||||
{toPersian((getTotal() + shippingFee).toLocaleString())}
|
||||
</span>
|
||||
<span className="text-[10px] text-white/60 font-bold mr-1">تومان</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Discount Code */}
|
||||
<div className="mt-8 pt-8 border-t border-white/10">
|
||||
{/* Discount Code Input */}
|
||||
<div className="pt-1">
|
||||
<form
|
||||
className="flex gap-2"
|
||||
onSubmit={async (e) => {
|
||||
@@ -751,9 +687,9 @@ export default function CheckoutPage() {
|
||||
const code = (e.currentTarget.elements.namedItem('coupon') as HTMLInputElement).value;
|
||||
const success = await useCartStore.getState().applyCoupon(code);
|
||||
if (success) {
|
||||
toast.success("تبریک! کد تخفیف با موفقیت اعمال شد.");
|
||||
toast.success("کد تخفیف با موفقیت اعمال شد.");
|
||||
} else {
|
||||
toast.error("کد تخفیف معتبر نیست.");
|
||||
toast.error("کد تخفیف نامعتبر است.");
|
||||
}
|
||||
}}
|
||||
>
|
||||
@@ -762,63 +698,35 @@ export default function CheckoutPage() {
|
||||
name="coupon"
|
||||
type="text"
|
||||
autoComplete="off"
|
||||
placeholder="کد تخفیف (مثلاً: CANINO2024)"
|
||||
className="flex-1 bg-white/5 border border-white/10 rounded-xl px-4 py-3 text-xs focus:ring-1 focus:ring-canina-blue outline-none"
|
||||
placeholder="کد تخفیف..."
|
||||
className="flex-1 bg-white/10 border border-white/10 rounded-xl px-3 py-2 text-xs focus:ring-1 focus:ring-canina-blue outline-none text-white placeholder-white/40 font-mono"
|
||||
/>
|
||||
<button type="submit" className="bg-white/10 px-4 py-3 rounded-xl text-[10px] font-black uppercase tracking-widest hover:bg-white/20 transition-all">اعمال</button>
|
||||
<button type="submit" className="bg-white/15 px-3 py-2 rounded-xl text-xs font-bold hover:bg-white/25 transition-all cursor-pointer">اعمال</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{/* Refill Estimates */}
|
||||
<div className="mt-10 p-6 bg-white/5 rounded-3xl border border-white/10 space-y-4">
|
||||
<div className="flex items-center gap-3">
|
||||
<Clock className="w-5 h-5 text-canina-blue" />
|
||||
<h4 className="text-xs font-black uppercase tracking-widest font-vazir">تخمین اتمام مصرف (هوش مصنوعی)</h4>
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
{items.map(item => {
|
||||
const activePet = usePetStore.getState().getActivePet();
|
||||
// Re-hydrate product to ensure methods like calculateDosage exist from static config
|
||||
const staticProduct = PRODUCTS.find(p => p.id === item.product.id || p.artNo === item.product.artNo);
|
||||
const calculateFn = staticProduct?.calculateDosage || item.product.calculateDosage;
|
||||
|
||||
const dose = activePet && typeof calculateFn === 'function'
|
||||
? calculateFn(activePet.weight, activePet.age <= 1)
|
||||
: { quantity: 1 };
|
||||
|
||||
const days = Math.floor((staticProduct?.packageSize || item.product.packageSize || 50) / (dose.quantity || 1));
|
||||
|
||||
return (
|
||||
<div key={item.product.id} className="flex items-center justify-between text-[10px] font-medium font-vazir">
|
||||
<span className="text-white/40">{item.product.name}</span>
|
||||
<span className="text-canina-blue">~ {toPersian(days)} روز دیگر</span>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Submit Button */}
|
||||
<button
|
||||
onClick={handleFinalize}
|
||||
disabled={loading}
|
||||
className="w-full bg-canina-blue text-white py-6 rounded-2xl font-black text-xl mt-10 hover:scale-[1.02] transition-all shadow-xl shadow-canina-blue/20 flex items-center justify-center gap-3 disabled:opacity-50 disabled:cursor-not-allowed"
|
||||
className="w-full bg-canina-blue hover:bg-blue-600 text-white py-3.5 rounded-xl font-black text-sm transition-all shadow-md shadow-canina-blue/20 flex items-center justify-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer mt-2"
|
||||
>
|
||||
{loading ? (
|
||||
<>
|
||||
<div className="w-6 h-6 border-4 border-white/20 border-t-white rounded-full animate-spin" />
|
||||
<div className="w-4 h-4 border-2 border-white/20 border-t-white rounded-full animate-spin" />
|
||||
در حال ثبت...
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
پرداخت و تکمیل سفارش
|
||||
<ArrowRight className="w-6 h-6 rotate-180" />
|
||||
<span>پرداخت و تکمیل سفارش</span>
|
||||
<ArrowRight className="w-4 h-4 rotate-180" />
|
||||
</>
|
||||
)}
|
||||
</button>
|
||||
|
||||
<div className="mt-6 flex items-center justify-center gap-2 text-[10px] font-black text-white/20 tracking-widest uppercase">
|
||||
<ShieldCheck className="w-4 h-4" />
|
||||
تضمین امنیت تراکنش بانکی
|
||||
<div className="flex items-center justify-center gap-1.5 text-[10px] font-bold text-white/30 tracking-wide pt-1">
|
||||
<ShieldCheck className="w-3.5 h-3.5 text-emerald-400" />
|
||||
<span>تضمین امنیت پرداخت و اصالت کالا</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"3": "app.module.ts",
|
||||
"4": "reviews.controller.ts",
|
||||
"5": "tickets.controller.ts",
|
||||
"6": "AuthService",
|
||||
"6": "faq.module.ts",
|
||||
"7": "MediaSelector.tsx",
|
||||
"8": "PetProfile.tsx",
|
||||
"9": "Roles",
|
||||
@@ -51,7 +51,7 @@
|
||||
"49": "SmartAdvisorService",
|
||||
"50": "TestimonialsService",
|
||||
"51": "Role & Core Objective",
|
||||
"52": ".initiateOrderPayment",
|
||||
"52": ".handleZibalCallback",
|
||||
"53": "ZibalEBankService",
|
||||
"54": "compilerOptions",
|
||||
"55": "Media.tsx",
|
||||
@@ -118,7 +118,7 @@
|
||||
"116": "compilerOptions",
|
||||
"117": "compilerOptions",
|
||||
"118": "backend/README.md",
|
||||
"119": "devDependencies",
|
||||
"119": "eslint",
|
||||
"120": "Repository Map",
|
||||
"121": "validate_integrity.js",
|
||||
"122": "admin-panel/package.json",
|
||||
@@ -173,7 +173,7 @@
|
||||
"171": "🎨 Frontend & Admin Panel Technical Review (06_dev_frontend)",
|
||||
"172": "🚀 SEO & Content Strategy Review (12_seo_content)",
|
||||
"173": "@types/node",
|
||||
"174": "MetricsController",
|
||||
"174": "wiki/page.tsx",
|
||||
"175": "seed-ui-texts.ts",
|
||||
"176": "seed-wiki.ts",
|
||||
"177": "update-blog.dto.ts",
|
||||
@@ -234,7 +234,7 @@
|
||||
"232": "ProductDto",
|
||||
"233": "@testing-library/react",
|
||||
"234": "@types/react",
|
||||
"235": "typescript",
|
||||
"235": "bcryptjs",
|
||||
"236": "vitest",
|
||||
"237": "axios",
|
||||
"238": "Body",
|
||||
@@ -242,7 +242,7 @@
|
||||
"240": "ts-loader",
|
||||
"241": "VerifyOtpDto",
|
||||
"242": "@types/bcrypt",
|
||||
"243": "app.e2e-spec.js",
|
||||
"243": "helmet",
|
||||
"244": "blog.entity.ts",
|
||||
"245": "home.entity.ts",
|
||||
"246": "wiki.entity.ts",
|
||||
@@ -289,22 +289,37 @@
|
||||
"287": "Production Docker Compose",
|
||||
"288": "Staging Docker Compose",
|
||||
"289": "tailwindcss",
|
||||
"290": "@types/passport-jwt",
|
||||
"290": "devDependencies",
|
||||
"291": "useSettingsStore",
|
||||
"292": "@types/supertest",
|
||||
"293": "typescript",
|
||||
"292": "js-yaml",
|
||||
"293": "@nestjs/core",
|
||||
"294": "app-audit-verification.e2e-spec.d.ts",
|
||||
"295": "app.e2e-spec.d.ts",
|
||||
"296": "dashboard/page.tsx",
|
||||
"296": "@nestjs/jwt",
|
||||
"297": "CreateHealthLogDto",
|
||||
"298": "eslint-config-prettier",
|
||||
"299": "CreateReminderDto",
|
||||
"300": ".sendOtp",
|
||||
"301": "track/page.tsx",
|
||||
"302": "@types/react-dom",
|
||||
"303": "eslint-plugin-prettier",
|
||||
"303": "@nestjs/swagger",
|
||||
"304": "@nestjs/throttler",
|
||||
"305": "RouteErrorBoundary",
|
||||
"306": "passport-jwt",
|
||||
"307": "@prisma/client",
|
||||
"308": "swagger-ui-express",
|
||||
"309": "globals",
|
||||
"310": "admin.module.ts",
|
||||
"312": "tailwindcss"
|
||||
"311": "@eslint/eslintrc",
|
||||
"312": "tailwindcss",
|
||||
"313": "@eslint/js",
|
||||
"314": "jest",
|
||||
"315": "@nestjs/schematics",
|
||||
"316": "@nestjs/testing",
|
||||
"317": "source-map-support",
|
||||
"318": "ts-jest",
|
||||
"319": "tsconfig-paths",
|
||||
"320": "@types/bcryptjs",
|
||||
"321": "typescript-eslint",
|
||||
"322": "eslint-config-next"
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
{"0": "5deb3b5d2e2004d5", "1": "5ba97148ab7542f9", "2": "f34c872571e8a774", "3": "79b76f19fe562748", "4": "e276e5845f115c99", "5": "57f26bed5f2b7960", "6": "54decf0dc3db231e", "7": "2bcaf6828db72def", "8": "632f5b8c5725303d", "9": "484dfb7f04a6dd92", "10": "a5e100ecbe0db80d", "11": "48811b755a540f9e", "12": "974069a641b18374", "13": "67fa454d58c72fad", "14": "0e290698fd1e38fc", "15": "b89a477e3c8206ac", "16": "459539eb1f6b2b52", "17": "bf2e4069a3e06fe8", "18": "4d695b5ab77afe3b", "19": "5b058911f6e8588b", "20": "4eda46a5b0695ef6", "21": "c15787a7453232bc", "22": "90b79d6027d60d30", "23": "6bd6f2633370820c", "24": "7664e56213a29331", "25": "942c4f9928c60a45", "26": "0614b98d9013b5f5", "27": "53ff49b3d54f0fba", "28": "2153ddcd7477dfb7", "29": "5499104e9ca4fdad", "30": "571266c2ba728290", "31": "3b71b94c176083fb", "32": "d90ec336fcf752f0", "33": "1c9a1f4c72613346", "34": "f38c905c9af9edc0", "35": "4c59d1cd2ef8804b", "36": "7abb5bc6a0e4f65f", "37": "e5f59705d4b860a6", "38": "be3689094661c515", "39": "7dd5c61562c827a8", "40": "cbaa20536db72d3e", "41": "f74d29bd4f6b6043", "42": "65e41c1c22dcd058", "43": "b73994254301dd0e", "44": "cf43e144340a5383", "45": "232133469caadcaf", "46": "93d54dd865cba4db", "47": "e3d13e2060945d3f", "48": "73df605d6eec20d9", "49": "cb17af4eb831480f", "50": "b4c82af1f2f566f7", "51": "0f62727f3b4907c0", "52": "9372bf2b2a6a0b97", "53": "69f2014dab3c4a93", "54": "7369e85febb97f1a", "55": "5419ef90cab3e3cd", "56": "01d4f9d6d9f3b08a", "57": "10d4f0bfa19dd52f", "58": "2ed221ee90de65a7", "59": "1f914a584cbde781", "60": "3b9521f7d7986eaa", "61": "933b36ae07c1b0dd", "62": "cbccfd08dcc77edf", "63": "d54b86213534b1e9", "64": "7478d6755ca2248a", "65": "31a5a53f1fe77e46", "66": "805aa87bb5077e5e", "67": "69d0f8b228227690", "68": "22456307ff273d80", "69": "d9e74b032c5b8440", "70": "9467dcad50bef8fe", "71": "e776e6021f9e088b", "72": "62430df45afa65b5", "73": "4606d2a2fd516e41", "74": "ba7bc17581366c9a", "75": "0727bb53199085fc", "76": "91393683c97d1773", "77": "b1fb8b1d0bcaa7fd", "78": "70497658d0e0cea6", "79": "a659ab05cde46908", "80": "7bccf2d862553e0e", "81": "b1c3283bd55a8fe9", "82": "e6b3cdbd52c87bfc", "83": "8c4c02353e3f3b15", "84": "841013681f4e6e8c", "85": "656f816eb51f2ab1", "86": "25a6695f5783d2be", "87": "bf5a253cc5340107", "88": "f7a706f5fcb260c3", "89": "71d2ce6fb684bc0e", "90": "acb5879cbd24a488", "91": "46e9411f2b2e725a", "92": "eced7a49a05de643", "93": "3c1d9844d072bd2a", "94": "f0f56796aaebb4f5", "95": "b3c5433df880f335", "96": "6cfdd09a6fdd9ff9", "97": "e036dbd1de0f8b38", "98": "271590b4ae5b2841", "99": "ac7cb5ec7d5c0802", "100": "622f83f2eb300a25", "101": "1ccf271dde5845aa", "102": "75f2ae6055847724", "103": "9b0eb2e9b68ff17d", "104": "4937232fc9cf1c68", "105": "6d16ccde1291c9d4", "106": "d7cad630fb1d1414", "107": "d228746e85ead3af", "108": "b55ba9125ffb5729", "109": "5f50a360f18a880b", "110": "c6b57d78299a27b3", "111": "39d16c91943d85e4", "112": "c4acedd7472cf7cb", "113": "db70db08c00162df", "114": "9a1080686fc7c39b", "115": "77fd76193df9f573", "116": "28355f848c862b6e", "117": "25f77f5455bdc96a", "118": "9141a0ede9461fd5", "119": "051ba28e492dcfc6", "120": "3ceda88239910d9a", "121": "9409b3b8a334f51d", "122": "ac95a9f152e3d1c4", "123": "a7299f20633c0236", "124": "887eec8487bacef2", "125": "7f405315686459b9", "126": "44c7924c829cc215", "127": "17ecb7325285cf7a", "128": "4487fd85ddc13c93", "129": "6c9b506f719e06db", "130": "c4abf0eb38ef740d", "131": "07d37aeefbe50e21", "132": "70b58e32c2890fdd", "133": "f2c7afb0c277c4b7", "134": "167643bcbbc26244", "135": "dcffd9ad7a1f7df6", "136": "1b0ef1cf87b53de3", "137": "a37dc83d6c895c8a", "138": "34581929891cefb2", "139": "c7ddffce8605b65b", "140": "5910eeefe2f97a20", "141": "3037b2b82ea44c45", "142": "8bb2a365cb47f717", "143": "f96abde54d365ff7", "144": "66efafa1e86d8081", "145": "bee7620bf612dcfe", "146": "48f898ce95c8e90c", "147": "a2fe690317aef2ee", "148": "e30004421d79ffeb", "149": "cd66a5f43cd3407d", "150": "fa2d7dcf52348095", "151": "78aa95566e86b57f", "152": "75efc6457f7fce22", "153": "8375a4fbf0573a52", "154": "edb079558c6f3d59", "155": "fc778d7a22e550eb", "156": "1d80b74f885d6716", "157": "f47469d48b3776b5", "158": "3cd15de82f23093a", "159": "7a77349497fcdf37", "160": "85cd9ca1246dc437", "161": "3e93071fc4a80e95", "162": "6114ccb7b9036e33", "163": "f3d92800d756dd79", "164": "2aa85a497fd142d7", "165": "35d3a2679371e9a4", "166": "b8f35a499b36a57a", "167": "8d1aad761b4c839d", "168": "0dd5439f11354ec2", "169": "4ac5f9965007617d", "170": "cff999497d56b512", "171": "06b38ffa6f58195d", "172": "ee705c178d6958bb", "173": "6ddbf62ac93920e1", "174": "1a833537ef5e569c", "175": "867babdd40f0c3fc", "176": "298144d1548a7dee", "177": "00d275127a7e435e", "178": "2942a9d30dae4a29", "179": "3e21e2fb50e12670", "180": "be62daa7d5bc336a", "181": "47c3e1a9d4bb7e67", "182": "82ff39c105ae3090", "183": "6747ecf936cb0400", "184": "ebc0087e3400009c", "185": "51d4e15c7e10decf", "186": "acfe5a84eaab81d7", "187": "bbcea5ec9d046ac0", "188": "162b36508e5879f3", "189"Line truncated
|
||||
{"0": "5deb3b5d2e2004d5", "1": "e087665c8f74a0b4", "2": "f34c872571e8a774", "3": "39e5d949b246960b", "4": "e276e5845f115c99", "5": "57f26bed5f2b7960", "6": "fa857a2f98e5040b", "7": "2bcaf6828db72def", "8": "503510e1bfad4579", "9": "40c5b8d4d8409af5", "10": "bbaf7539ddd300b0", "11": "48811b755a540f9e", "12": "974069a641b18374", "13": "b213c1c119e11b8c", "14": "0e290698fd1e38fc", "15": "b89a477e3c8206ac", "16": "4618fa022bfa204e", "17": "bf2e4069a3e06fe8", "18": "4d695b5ab77afe3b", "19": "5b058911f6e8588b", "20": "4eda46a5b0695ef6", "21": "c15787a7453232bc", "22": "90b79d6027d60d30", "23": "6bd6f2633370820c", "24": "7664e56213a29331", "25": "942c4f9928c60a45", "26": "0614b98d9013b5f5", "27": "53ff49b3d54f0fba", "28": "2153ddcd7477dfb7", "29": "5499104e9ca4fdad", "30": "571266c2ba728290", "31": "956adad19387f466", "32": "3a18199f5dca6a57", "33": "1c9a1f4c72613346", "34": "f38c905c9af9edc0", "35": "4c59d1cd2ef8804b", "36": "7abb5bc6a0e4f65f", "37": "e5f59705d4b860a6", "38": "be3689094661c515", "39": "7dd5c61562c827a8", "40": "cbaa20536db72d3e", "41": "f74d29bd4f6b6043", "42": "65e41c1c22dcd058", "43": "b73994254301dd0e", "44": "cf43e144340a5383", "45": "232133469caadcaf", "46": "93d54dd865cba4db", "47": "e3d13e2060945d3f", "48": "73df605d6eec20d9", "49": "cb17af4eb831480f", "50": "b4c82af1f2f566f7", "51": "0f62727f3b4907c0", "52": "ad02e728e6811ead", "53": "69f2014dab3c4a93", "54": "7369e85febb97f1a", "55": "5419ef90cab3e3cd", "56": "01d4f9d6d9f3b08a", "57": "10d4f0bfa19dd52f", "58": "96a9e2031ec4c4e5", "59": "060c64726e8d1bd3", "60": "3b9521f7d7986eaa", "61": "501e94eafd0b4b21", "62": "cbccfd08dcc77edf", "63": "d54b86213534b1e9", "64": "7478d6755ca2248a", "65": "31a5a53f1fe77e46", "66": "805aa87bb5077e5e", "67": "69d0f8b228227690", "68": "22456307ff273d80", "69": "d9e74b032c5b8440", "70": "9467dcad50bef8fe", "71": "e776e6021f9e088b", "72": "62430df45afa65b5", "73": "4606d2a2fd516e41", "74": "ba7bc17581366c9a", "75": "0727bb53199085fc", "76": "91393683c97d1773", "77": "b1fb8b1d0bcaa7fd", "78": "70497658d0e0cea6", "79": "a659ab05cde46908", "80": "7bccf2d862553e0e", "81": "f251ff55a8bb2e87", "82": "e6b3cdbd52c87bfc", "83": "8c4c02353e3f3b15", "84": "841013681f4e6e8c", "85": "656f816eb51f2ab1", "86": "25a6695f5783d2be", "87": "bf5a253cc5340107", "88": "f7a706f5fcb260c3", "89": "71d2ce6fb684bc0e", "90": "acb5879cbd24a488", "91": "46e9411f2b2e725a", "92": "eced7a49a05de643", "93": "3c1d9844d072bd2a", "94": "f0f56796aaebb4f5", "95": "b3c5433df880f335", "96": "6cfdd09a6fdd9ff9", "97": "e036dbd1de0f8b38", "98": "271590b4ae5b2841", "99": "ac7cb5ec7d5c0802", "100": "622f83f2eb300a25", "101": "1ccf271dde5845aa", "102": "75f2ae6055847724", "103": "9b0eb2e9b68ff17d", "104": "4937232fc9cf1c68", "105": "6d16ccde1291c9d4", "106": "d7cad630fb1d1414", "107": "d228746e85ead3af", "108": "b55ba9125ffb5729", "109": "5f50a360f18a880b", "110": "c6b57d78299a27b3", "111": "39d16c91943d85e4", "112": "c4acedd7472cf7cb", "113": "db70db08c00162df", "114": "9a1080686fc7c39b", "115": "77fd76193df9f573", "116": "28355f848c862b6e", "117": "25f77f5455bdc96a", "118": "9141a0ede9461fd5", "119": "70e62553403661a3", "120": "3ceda88239910d9a", "121": "9409b3b8a334f51d", "122": "ac95a9f152e3d1c4", "123": "a7299f20633c0236", "124": "887eec8487bacef2", "125": "7f405315686459b9", "126": "44c7924c829cc215", "127": "17ecb7325285cf7a", "128": "4487fd85ddc13c93", "129": "6c9b506f719e06db", "130": "c4abf0eb38ef740d", "131": "07d37aeefbe50e21", "132": "70b58e32c2890fdd", "133": "f2c7afb0c277c4b7", "134": "167643bcbbc26244", "135": "dcffd9ad7a1f7df6", "136": "1b0ef1cf87b53de3", "137": "a37dc83d6c895c8a", "138": "34581929891cefb2", "139": "c7ddffce8605b65b", "140": "5910eeefe2f97a20", "141": "3037b2b82ea44c45", "142": "91f79754024824f7", "143": "41c108d56c217e37", "144": "66efafa1e86d8081", "145": "bee7620bf612dcfe", "146": "48f898ce95c8e90c", "147": "a2fe690317aef2ee", "148": "e30004421d79ffeb", "149": "cd66a5f43cd3407d", "150": "fa2d7dcf52348095", "151": "78aa95566e86b57f", "152": "75efc6457f7fce22", "153": "8375a4fbf0573a52", "154": "edb079558c6f3d59", "155": "fc778d7a22e550eb", "156": "1d80b74f885d6716", "157": "f47469d48b3776b5", "158": "3cd15de82f23093a", "159": "7a77349497fcdf37", "160": "85cd9ca1246dc437", "161": "3e93071fc4a80e95", "162": "6114ccb7b9036e33", "163": "f3d92800d756dd79", "164": "2aa85a497fd142d7", "165": "35d3a2679371e9a4", "166": "b8f35a499b36a57a", "167": "8d1aad761b4c839d", "168": "0dd5439f11354ec2", "169": "4ac5f9965007617d", "170": "cff999497d56b512", "171": "06b38ffa6f58195d", "172": "ee705c178d6958bb", "173": "6ddbf62ac93920e1", "174": "64b66c8459282faa", "175": "867babdd40f0c3fc", "176": "298144d1548a7dee", "177": "00d275127a7e435e", "178": "2942a9d30dae4a29", "179": "3e21e2fb50e12670", "180": "be62daa7d5bc336a", "181": "47c3e1a9d4bb7e67", "182": "82ff39c105ae3090", "183": "6747ecf936cb0400", "184": "ebc0087e3400009c", "185": "51d4e15c7e10decf", "186": "acfe5a84eaab81d7", "187": "bbcea5ec9d046ac0", "188": "162b36508e5879f3", "189"Line truncated
|
||||
@@ -51,7 +51,7 @@
|
||||
"49": "SmartAdvisorService",
|
||||
"50": "TestimonialsService",
|
||||
"51": "Role & Core Objective",
|
||||
"52": ".handleZibalCallback",
|
||||
"52": ".initiateOrderPayment",
|
||||
"53": "ZibalEBankService",
|
||||
"54": "compilerOptions",
|
||||
"55": "Media.tsx",
|
||||
@@ -295,13 +295,13 @@
|
||||
"293": "typescript",
|
||||
"294": "app-audit-verification.e2e-spec.d.ts",
|
||||
"295": "app.e2e-spec.d.ts",
|
||||
"296": "wiki/page.tsx",
|
||||
"296": "dashboard/page.tsx",
|
||||
"297": "CreateHealthLogDto",
|
||||
"298": "eslint-config-prettier",
|
||||
"299": "CreateReminderDto",
|
||||
"300": ".sendOtp",
|
||||
"301": "track/page.tsx",
|
||||
"302": "eslint-config-next",
|
||||
"302": "@types/react-dom",
|
||||
"303": "eslint-plugin-prettier",
|
||||
"305": "RouteErrorBoundary",
|
||||
"309": "globals",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Graph Report - canina (2026-08-22)
|
||||
|
||||
## Corpus Check
|
||||
- 539 files · ~762,735 words
|
||||
- 539 files · ~762,770 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
@@ -10,7 +10,7 @@
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Graph Freshness
|
||||
- Built from commit: `d62787cd`
|
||||
- Built from commit: `992c8157`
|
||||
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
||||
- Run `graphify update .` after code changes (no API cost).
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
- SmartAdvisorService
|
||||
- TestimonialsService
|
||||
- Role & Core Objective
|
||||
- .handleZibalCallback
|
||||
- .initiateOrderPayment
|
||||
- ZibalEBankService
|
||||
- compilerOptions
|
||||
- Media.tsx
|
||||
@@ -294,12 +294,12 @@
|
||||
- useSettingsStore
|
||||
- @types/supertest
|
||||
- typescript
|
||||
- wiki/page.tsx
|
||||
- dashboard/page.tsx
|
||||
- CreateHealthLogDto
|
||||
- eslint-config-prettier
|
||||
- CreateReminderDto
|
||||
- track/page.tsx
|
||||
- eslint-config-next
|
||||
- @types/react-dom
|
||||
- eslint-plugin-prettier
|
||||
- RouteErrorBoundary
|
||||
- globals
|
||||
@@ -374,8 +374,8 @@ Cohesion: 0.11
|
||||
Nodes (18): FeaturedProducts(), ProductCard(), OrderSuccess(), PrescriptionUploadModal(), PrescriptionUploadModalProps, SearchResultsPage(), OrderRowSkeleton(), PetProfileSkeleton() (+10 more)
|
||||
|
||||
### Community 9 - "Roles"
|
||||
Cohesion: 0.20
|
||||
Nodes (15): Roles(), PaymentController, ApiBadRequestResponse, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body (+7 more)
|
||||
Cohesion: 0.24
|
||||
Nodes (13): Roles(), PaymentController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Get (+5 more)
|
||||
|
||||
### Community 10 - "DoctorQueryDto"
|
||||
Cohesion: 0.08
|
||||
@@ -467,7 +467,7 @@ Nodes (7): JwtAuthGuard, Injectable, ROLES_KEY, RequestWithUser, RolesGuard, Inj
|
||||
|
||||
### Community 32 - "ZibalService"
|
||||
Cohesion: 0.09
|
||||
Nodes (5): Put, PaymentService, Injectable, Injectable, ZibalService
|
||||
Nodes (4): PaymentService, Injectable, Injectable, ZibalService
|
||||
|
||||
### Community 33 - "راهنمای تست سیستم (Software Testing)"
|
||||
Cohesion: 0.07
|
||||
@@ -545,9 +545,9 @@ Nodes (14): TestimonialsController, ApiBearerAuth, ApiOperation, ApiTags, Body,
|
||||
Cohesion: 0.09
|
||||
Nodes (22): CREATE MODE — Normal Operation, Expected JSON Output Schema, File Scope Boundary, Forbidden Actions, MODE 1: REVIEW (called during Review Phase), MODE 2: CONTENT CREATION (standalone task from backlog), Operating Modes, Operational Rules & Boundaries (+14 more)
|
||||
|
||||
### Community 52 - ".handleZibalCallback"
|
||||
Cohesion: 0.25
|
||||
Nodes (7): ApiPropertyOptional, IsOptional, IsString, ZibalCallbackQueryDto, Res, Headers, Ip
|
||||
### Community 52 - ".initiateOrderPayment"
|
||||
Cohesion: 0.20
|
||||
Nodes (10): ApiPropertyOptional, IsOptional, IsString, ZibalCallbackQueryDto, ApiBadRequestResponse, ApiOkResponse, Req, Res (+2 more)
|
||||
|
||||
### Community 54 - "compilerOptions"
|
||||
Cohesion: 0.06
|
||||
@@ -586,7 +586,7 @@ Cohesion: 0.14
|
||||
Nodes (16): BlogsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Body, Controller, Delete (+8 more)
|
||||
|
||||
### Community 63 - "ApiOperation"
|
||||
Cohesion: 0.17
|
||||
Cohesion: 0.19
|
||||
Nodes (8): ApiOperation, ApiQuery, Get, Query, AdminQueryDto, ApiPropertyOptional, IsOptional, IsString
|
||||
|
||||
### Community 64 - "BannersService"
|
||||
@@ -659,7 +659,7 @@ Nodes (16): BlogPost, BlogPreviewSection(), ProductDetailModalProps, SafeImage()
|
||||
|
||||
### Community 81 - "devDependencies"
|
||||
Cohesion: 0.13
|
||||
Nodes (15): devDependencies, eslint, jsdom, tailwindcss, @tailwindcss/postcss, @types/node, @types/react-dom, @vitejs/plugin-react (+7 more)
|
||||
Nodes (15): eslint-config-next, devDependencies, eslint, eslint-config-next, jsdom, tailwindcss, @tailwindcss/postcss, @types/node (+7 more)
|
||||
|
||||
### Community 82 - "auth.controller.ts"
|
||||
Cohesion: 0.18
|
||||
@@ -726,8 +726,8 @@ Cohesion: 0.15
|
||||
Nodes (13): jest, collectCoverageFrom, coverageDirectory, moduleFileExtensions, rootDir, testEnvironment, testRegex, transform (+5 more)
|
||||
|
||||
### Community 98 - "AdminService"
|
||||
Cohesion: 0.13
|
||||
Nodes (5): Delete, Param, Put, AdminService, Injectable
|
||||
Cohesion: 0.18
|
||||
Nodes (4): Delete, Param, AdminService, Injectable
|
||||
|
||||
### Community 99 - "Comprehensive Change Log"
|
||||
Cohesion: 0.15
|
||||
@@ -1042,8 +1042,8 @@ Cohesion: 0.29
|
||||
Nodes (6): AdminLoginDto, ApiProperty, IsEmail, IsNotEmpty, IsString, MinLength
|
||||
|
||||
### Community 215 - "AdminController"
|
||||
Cohesion: 0.25
|
||||
Nodes (5): AdminController, ApiBearerAuth, ApiTags, Controller, UseGuards
|
||||
Cohesion: 0.14
|
||||
Nodes (6): AdminController, ApiBearerAuth, ApiTags, Controller, Put, UseGuards
|
||||
|
||||
### Community 220 - "getPageMetadata"
|
||||
Cohesion: 0.13
|
||||
@@ -1107,7 +1107,7 @@ _Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `ApiResponse` connect `ApiResponse` to `OrdersService`, `UsersService`, `PetsController`, `ProductsService`, `src/services/api.ts`, `AuthController`?**
|
||||
_High betweenness centrality (0.064) - this node is a cross-community bridge._
|
||||
- **Why does `Roles()` connect `Roles` to `BannersService`, `ZibalService`, `CmsController`, `B2BService`, `reviews.controller.ts`, `tickets.controller.ts`, `SslController`, `IngredientsService`, `FaqService`, `MenuService`, `ContactService`, `ProductsService`, `PrescriptionsService`, `SmartAdvisorService`, `TestimonialsService`, `SmsService`, `WholesaleService`, `JwtAuthGuard`?**
|
||||
- **Why does `Roles()` connect `Roles` to `BannersService`, `CmsController`, `B2BService`, `reviews.controller.ts`, `tickets.controller.ts`, `SslController`, `IngredientsService`, `FaqService`, `MenuService`, `ContactService`, `ProductsService`, `PrescriptionsService`, `SmartAdvisorService`, `TestimonialsService`, `SmsService`, `WholesaleService`, `JwtAuthGuard`?**
|
||||
_High betweenness centrality (0.060) - this node is a cross-community bridge._
|
||||
- **Why does `PrismaService` connect `PrismaService` to `OrdersService`, `CmsController`, `app.module.ts`, `reviews.controller.ts`, `tickets.controller.ts`, `DoctorQueryDto`, `MenuService`, `pets/pets.controller.ts`, `auth.service.ts`, `ProductsService`, `CreateVideoDto`, `SmsService`, `WholesaleService`, `ZibalService`, `CategoriesController`, `B2BService`, `UsersService`, `IngredientsService`, `FaqService`, `MediaController`, `MetricsController`, `ContactService`, `zibal.service.ts`, `PrescriptionsService`, `SmartAdvisorService`, `TestimonialsService`, `ZibalEBankService`, `admin.module.ts`, `PetsController`, `PaginationDto`, `BannersService`, `admin.service.ts`, `seo.module.ts`, `AuthController`, `ApiResponse`, `payment.service.ts`, `PetsService`, `WholesaleApplyDto`?**
|
||||
_High betweenness centrality (0.040) - this node is a cross-community bridge._
|
||||
|
||||
+329
-329
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -1,16 +1,16 @@
|
||||
# Graph Report - canina (2026-08-22)
|
||||
|
||||
## Corpus Check
|
||||
- 539 files · ~762,770 words
|
||||
- 539 files · ~762,408 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 3902 nodes · 6878 edges · 308 communities (207 shown, 101 thin omitted)
|
||||
- 3902 nodes · 6881 edges · 323 communities (205 shown, 118 thin omitted)
|
||||
- Extraction: 96% EXTRACTED · 4% INFERRED · 0% AMBIGUOUS · INFERRED: 262 edges (avg confidence: 0.79)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Graph Freshness
|
||||
- Built from commit: `992c8157`
|
||||
- Built from commit: `6454c180`
|
||||
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
||||
- Run `graphify update .` after code changes (no API cost).
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
- app.module.ts
|
||||
- reviews.controller.ts
|
||||
- tickets.controller.ts
|
||||
- AuthService
|
||||
- faq.module.ts
|
||||
- MediaSelector.tsx
|
||||
- PetProfile.tsx
|
||||
- Roles
|
||||
@@ -67,7 +67,7 @@
|
||||
- SmartAdvisorService
|
||||
- TestimonialsService
|
||||
- Role & Core Objective
|
||||
- .initiateOrderPayment
|
||||
- .handleZibalCallback
|
||||
- ZibalEBankService
|
||||
- compilerOptions
|
||||
- Media.tsx
|
||||
@@ -134,7 +134,7 @@
|
||||
- compilerOptions
|
||||
- compilerOptions
|
||||
- backend/README.md
|
||||
- devDependencies
|
||||
- eslint
|
||||
- Repository Map
|
||||
- validate_integrity.js
|
||||
- admin-panel/package.json
|
||||
@@ -189,7 +189,7 @@
|
||||
- 🎨 Frontend & Admin Panel Technical Review (06_dev_frontend)
|
||||
- 🚀 SEO & Content Strategy Review (12_seo_content)
|
||||
- @types/node
|
||||
- MetricsController
|
||||
- wiki/page.tsx
|
||||
- seed-ui-texts.ts
|
||||
- seed-wiki.ts
|
||||
- update-blog.dto.ts
|
||||
@@ -250,14 +250,14 @@
|
||||
- ProductDto
|
||||
- @testing-library/react
|
||||
- @types/react
|
||||
- typescript
|
||||
- bcryptjs
|
||||
- vitest
|
||||
- Body
|
||||
- WholesaleApplyDto
|
||||
- ts-loader
|
||||
- VerifyOtpDto
|
||||
- @types/bcrypt
|
||||
- app.e2e-spec.js
|
||||
- helmet
|
||||
- blog.entity.ts
|
||||
- home.entity.ts
|
||||
- wiki.entity.ts
|
||||
@@ -290,26 +290,41 @@
|
||||
- Shabnam Font Sample
|
||||
- Production Docker Compose
|
||||
- Staging Docker Compose
|
||||
- @types/passport-jwt
|
||||
- devDependencies
|
||||
- useSettingsStore
|
||||
- @types/supertest
|
||||
- typescript
|
||||
- dashboard/page.tsx
|
||||
- js-yaml
|
||||
- @nestjs/core
|
||||
- @nestjs/jwt
|
||||
- CreateHealthLogDto
|
||||
- eslint-config-prettier
|
||||
- CreateReminderDto
|
||||
- track/page.tsx
|
||||
- @types/react-dom
|
||||
- eslint-plugin-prettier
|
||||
- @nestjs/swagger
|
||||
- @nestjs/throttler
|
||||
- RouteErrorBoundary
|
||||
- passport-jwt
|
||||
- @prisma/client
|
||||
- swagger-ui-express
|
||||
- globals
|
||||
- admin.module.ts
|
||||
- @eslint/eslintrc
|
||||
- tailwindcss
|
||||
- @eslint/js
|
||||
- jest
|
||||
- @nestjs/schematics
|
||||
- @nestjs/testing
|
||||
- source-map-support
|
||||
- ts-jest
|
||||
- tsconfig-paths
|
||||
- @types/bcryptjs
|
||||
- typescript-eslint
|
||||
- eslint-config-next
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `Roles()` - 105 edges
|
||||
2. `PrismaService` - 87 edges
|
||||
3. `useSettingsStore` - 51 edges
|
||||
3. `useSettingsStore` - 53 edges
|
||||
4. `api` - 43 edges
|
||||
5. `SmsService` - 42 edges
|
||||
6. `PaginationDto` - 41 edges
|
||||
@@ -339,23 +354,23 @@
|
||||
- **Rastikerdar Font Ecosystem** — frontend_application_public_fonts_shabnam_font_v5_0_1_readme, frontend_application_public_fonts_vazirmatn_v33_003_readme, vazir_font [EXTRACTED 0.95]
|
||||
- **Canina Deployment Stack** — scripts_compose_prod, scripts_compose_stage [EXTRACTED 1.00]
|
||||
|
||||
## Communities (308 total, 101 thin omitted)
|
||||
## Communities (323 total, 118 thin omitted)
|
||||
|
||||
### Community 0 - "OrdersService"
|
||||
Cohesion: 0.06
|
||||
Nodes (35): CreateOrderDto, OrderItemDto, ApiProperty, ApiPropertyOptional, IsArray, IsNotEmpty, IsNumber, IsOptional (+27 more)
|
||||
|
||||
### Community 1 - "productService.ts"
|
||||
Cohesion: 0.10
|
||||
Nodes (24): BlogPost, CatalogPageSpread(), CatalogPageSpreadProps, CategoryMeta, getFormBadge(), getSpeciesBadge(), FlipbookCatalog(), FlipbookCatalogProps (+16 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (28): BlogPost, CatalogPageSpread(), CatalogPageSpreadProps, CategoryMeta, getFormBadge(), getSpeciesBadge(), FlipbookCatalog(), FlipbookCatalogProps (+20 more)
|
||||
|
||||
### Community 2 - "CmsController"
|
||||
Cohesion: 0.09
|
||||
Nodes (24): CmsController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+16 more)
|
||||
|
||||
### Community 3 - "app.module.ts"
|
||||
Cohesion: 0.07
|
||||
Nodes (36): B2BModule, Module, BannersModule, Module, CmsModule, Module, SmsModule, Global (+28 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (34): B2BModule, Module, BannersModule, Module, CmsModule, Module, SmsModule, Global (+26 more)
|
||||
|
||||
### Community 4 - "reviews.controller.ts"
|
||||
Cohesion: 0.07
|
||||
@@ -370,16 +385,16 @@ Cohesion: 0.07
|
||||
Nodes (26): ConfirmModal(), ConfirmModalProps, getFileType(), Media, MediaSelector(), MediaSelectorProps, BlogPost, Category (+18 more)
|
||||
|
||||
### Community 8 - "PetProfile.tsx"
|
||||
Cohesion: 0.11
|
||||
Nodes (18): FeaturedProducts(), ProductCard(), OrderSuccess(), PrescriptionUploadModal(), PrescriptionUploadModalProps, SearchResultsPage(), OrderRowSkeleton(), PetProfileSkeleton() (+10 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (19): FeaturedProducts(), ProductCard(), Header(), OrderSuccess(), PrescriptionUploadModal(), PrescriptionUploadModalProps, SearchResultsPage(), OrderRowSkeleton() (+11 more)
|
||||
|
||||
### Community 9 - "Roles"
|
||||
Cohesion: 0.24
|
||||
Nodes (13): Roles(), PaymentController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Get (+5 more)
|
||||
Cohesion: 0.20
|
||||
Nodes (15): Roles(), PaymentController, ApiBadRequestResponse, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body (+7 more)
|
||||
|
||||
### Community 10 - "DoctorQueryDto"
|
||||
Cohesion: 0.08
|
||||
Nodes (26): DoctorsController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+18 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (24): DoctorsController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+16 more)
|
||||
|
||||
### Community 11 - "MenuService"
|
||||
Cohesion: 0.12
|
||||
@@ -390,8 +405,8 @@ Cohesion: 0.09
|
||||
Nodes (16): App(), HeroBanner, VetTestimonial, ContactInfoItem, ContactSubmission, CategoryDist, DashboardData, Ticket (+8 more)
|
||||
|
||||
### Community 13 - "PrismaService"
|
||||
Cohesion: 0.08
|
||||
Nodes (18): MeliPayamakPattern, MeliPayamakResponse, SendPatternSmsOptions, SmsConfig, SmsLogQuery, CreateContactSubmissionDto, UpdateContactInfoItemDto, MenuType (+10 more)
|
||||
Cohesion: 0.07
|
||||
Nodes (25): ApiExcludeController, MetricsController, Controller, Get, Res, MeliPayamakPattern, MeliPayamakResponse, SendPatternSmsOptions (+17 more)
|
||||
|
||||
### Community 14 - "pets/pets.controller.ts"
|
||||
Cohesion: 0.16
|
||||
@@ -402,8 +417,8 @@ Cohesion: 0.13
|
||||
Nodes (12): ProductsController, ApiOperation, ApiTags, Body, Controller, Get, Param, Patch (+4 more)
|
||||
|
||||
### Community 16 - "UserDashboard.tsx"
|
||||
Cohesion: 0.09
|
||||
Nodes (41): VerifyContent(), AddressModal(), AddressModalProps, ArchiveProductCard(), AuthModal(), AuthModalProps, extractOtpFromText(), B2BPortal() (+33 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (31): VerifyContent(), AddressModal(), AddressModalProps, ArchiveProductCard(), B2BPortal(), BackButton(), BackButtonProps, CartDrawer() (+23 more)
|
||||
|
||||
### Community 17 - "CreateVideoDto"
|
||||
Cohesion: 0.08
|
||||
@@ -467,7 +482,7 @@ Nodes (7): JwtAuthGuard, Injectable, ROLES_KEY, RequestWithUser, RolesGuard, Inj
|
||||
|
||||
### Community 32 - "ZibalService"
|
||||
Cohesion: 0.09
|
||||
Nodes (4): PaymentService, Injectable, Injectable, ZibalService
|
||||
Nodes (5): Put, PaymentService, Injectable, Injectable, ZibalService
|
||||
|
||||
### Community 33 - "راهنمای تست سیستم (Software Testing)"
|
||||
Cohesion: 0.07
|
||||
@@ -545,9 +560,9 @@ Nodes (14): TestimonialsController, ApiBearerAuth, ApiOperation, ApiTags, Body,
|
||||
Cohesion: 0.09
|
||||
Nodes (22): CREATE MODE — Normal Operation, Expected JSON Output Schema, File Scope Boundary, Forbidden Actions, MODE 1: REVIEW (called during Review Phase), MODE 2: CONTENT CREATION (standalone task from backlog), Operating Modes, Operational Rules & Boundaries (+14 more)
|
||||
|
||||
### Community 52 - ".initiateOrderPayment"
|
||||
Cohesion: 0.20
|
||||
Nodes (10): ApiPropertyOptional, IsOptional, IsString, ZibalCallbackQueryDto, ApiBadRequestResponse, ApiOkResponse, Req, Res (+2 more)
|
||||
### Community 52 - ".handleZibalCallback"
|
||||
Cohesion: 0.25
|
||||
Nodes (7): ApiPropertyOptional, IsOptional, IsString, ZibalCallbackQueryDto, Res, Headers, Ip
|
||||
|
||||
### Community 54 - "compilerOptions"
|
||||
Cohesion: 0.06
|
||||
@@ -566,20 +581,20 @@ Cohesion: 0.10
|
||||
Nodes (14): PetsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller, Delete, Get (+6 more)
|
||||
|
||||
### Community 58 - "PaginationDto"
|
||||
Cohesion: 0.06
|
||||
Cohesion: 0.05
|
||||
Nodes (24): BlogsService, Injectable, BlogsModule, Module, BlogsService, Injectable, PaginationDto, SortOrder (+16 more)
|
||||
|
||||
### Community 59 - "dependencies"
|
||||
Cohesion: 0.05
|
||||
Nodes (41): dependencies, bcrypt, bcryptjs, class-transformer, class-validator, helmet, ioredis, js-yaml (+33 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (21): dependencies, bcrypt, class-transformer, class-validator, ioredis, @nestjs/common, @nestjs/passport, @nestjs/platform-express (+13 more)
|
||||
|
||||
### Community 60 - "compilerOptions"
|
||||
Cohesion: 0.10
|
||||
Nodes (20): compilerOptions, allowImportingTsExtensions, erasableSyntaxOnly, lib, module, moduleDetection, moduleResolution, noEmit (+12 more)
|
||||
|
||||
### Community 61 - "HomeClient.tsx"
|
||||
Cohesion: 0.11
|
||||
Nodes (20): HomeClient(), HomeClientProps, CATEGORY_MAP, ICON_MAP, BannerPlacement(), BannerPlacementProps, FAQItem, FAQSection() (+12 more)
|
||||
Cohesion: 0.13
|
||||
Nodes (18): HomeClient(), HomeClientProps, CATEGORY_MAP, ICON_MAP, BannerPlacement(), BannerPlacementProps, Hero(), StatCounter() (+10 more)
|
||||
|
||||
### Community 62 - "BlogsController"
|
||||
Cohesion: 0.14
|
||||
@@ -659,7 +674,7 @@ Nodes (16): BlogPost, BlogPreviewSection(), ProductDetailModalProps, SafeImage()
|
||||
|
||||
### Community 81 - "devDependencies"
|
||||
Cohesion: 0.13
|
||||
Nodes (15): eslint-config-next, devDependencies, eslint, eslint-config-next, jsdom, tailwindcss, @tailwindcss/postcss, @types/node (+7 more)
|
||||
Nodes (15): devDependencies, eslint, jsdom, tailwindcss, @tailwindcss/postcss, @types/node, typescript, @vitejs/plugin-react (+7 more)
|
||||
|
||||
### Community 82 - "auth.controller.ts"
|
||||
Cohesion: 0.18
|
||||
@@ -801,10 +816,6 @@ Nodes (9): compilerOptions, esModuleInterop, module, moduleResolution, skipLibCh
|
||||
Cohesion: 0.20
|
||||
Nodes (9): Compile and run the project, Deployment, Description, License, Project setup, Resources, Run tests, Stay in touch (+1 more)
|
||||
|
||||
### Community 119 - "devDependencies"
|
||||
Cohesion: 0.09
|
||||
Nodes (23): devDependencies, eslint, @eslint/eslintrc, @eslint/js, jest, @nestjs/schematics, @nestjs/testing, source-map-support (+15 more)
|
||||
|
||||
### Community 120 - "Repository Map"
|
||||
Cohesion: 0.20
|
||||
Nodes (9): 1. Active Customer Storefront: React 19 + Vite Application, 2. Active Backend Service: NestJS Application, 3. Excluded Placeholder / Non-Auditable Directories, Active Applications & Non-Auditable Scopes, Documentation Governance, Important Configuration & Infrastructure Files, Mandatory Global Audit Exclusions, Repository Map (+1 more)
|
||||
@@ -890,11 +901,11 @@ Cohesion: 0.18
|
||||
Nodes (9): PetsController, ApiBadRequestResponse, ApiBearerAuth, ApiCreatedResponse, ApiTags, Controller, UploadedFile, UseGuards (+1 more)
|
||||
|
||||
### Community 142 - "lib/services/api.ts"
|
||||
Cohesion: 0.08
|
||||
Nodes (19): ContactInfoItem, api, ApiErrorPayload, baseURL, ApiErr, AuthResponse, User, ApiErr (+11 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (23): ContactInfoItem, FAQItem, FAQSection(), api, ApiErrorPayload, baseURL, ApiErr, AuthResponse (+15 more)
|
||||
|
||||
### Community 143 - "auth.service.ts"
|
||||
Cohesion: 0.14
|
||||
Cohesion: 0.12
|
||||
Nodes (8): AdminLoginInput, LoginInput, RegisterInput, RedisModule, Global, Module, RedisService, Injectable
|
||||
|
||||
### Community 144 - "Baseline Command Plan & Reconciled Command History"
|
||||
@@ -993,10 +1004,6 @@ Nodes (3): Architectural Overview, Critical Review Findings & Required Enhanceme
|
||||
Cohesion: 0.50
|
||||
Nodes (3): Overview & Content Foundation, SEO & Content Requirements, 🚀 SEO & Content Strategy Review (12_seo_content)
|
||||
|
||||
### Community 174 - "MetricsController"
|
||||
Cohesion: 0.20
|
||||
Nodes (5): ApiExcludeController, MetricsController, Controller, Get, Res
|
||||
|
||||
### Community 180 - "graphify reference: add a URL and watch a folder"
|
||||
Cohesion: 0.50
|
||||
Nodes (3): For /graphify add, For --watch, graphify reference: add a URL and watch a folder
|
||||
@@ -1066,20 +1073,20 @@ Cohesion: 0.21
|
||||
Nodes (3): Body, Post, CouponInput
|
||||
|
||||
### Community 239 - "WholesaleApplyDto"
|
||||
Cohesion: 0.29
|
||||
Nodes (6): ApiProperty, ApiPropertyOptional, IsNotEmpty, IsOptional, IsString, WholesaleApplyDto
|
||||
Cohesion: 0.17
|
||||
Nodes (9): ApiProperty, ApiPropertyOptional, IsNotEmpty, IsOptional, IsString, WholesaleApplyDto, app_module_1, supertest_1 (+1 more)
|
||||
|
||||
### Community 241 - "VerifyOtpDto"
|
||||
Cohesion: 0.29
|
||||
Nodes (6): ApiProperty, IsNotEmpty, IsString, Matches, VerifyOtpDto, Length
|
||||
|
||||
### Community 243 - "app.e2e-spec.js"
|
||||
Cohesion: 0.50
|
||||
Nodes (3): app_module_1, supertest_1, testing_1
|
||||
### Community 290 - "devDependencies"
|
||||
Cohesion: 0.22
|
||||
Nodes (9): devDependencies, eslint-plugin-prettier, @types/passport-jwt, @types/supertest, typescript, typescript, eslint-plugin-prettier, @types/passport-jwt (+1 more)
|
||||
|
||||
### Community 291 - "useSettingsStore"
|
||||
Cohesion: 0.13
|
||||
Nodes (20): ClientLayout(), BrandLogo(), BrandLogoProps, EnamadBadge(), Footer(), MENU_ICONS, MaintenancePage(), NetworkBanner() (+12 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (24): ClientLayout(), AuthModal(), AuthModalProps, extractOtpFromText(), BrandLogo(), BrandLogoProps, EnamadBadge(), Footer() (+16 more)
|
||||
|
||||
### Community 297 - "CreateHealthLogDto"
|
||||
Cohesion: 0.29
|
||||
@@ -1100,22 +1107,22 @@ Nodes (16): AdminModule, Module, CategoryQuery, ReportsController, ApiBearerAuth
|
||||
## Knowledge Gaps
|
||||
- **1274 isolated node(s):** `$schema`, `collection`, `sourceRoot`, `deleteOutDir`, `name` (+1269 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components.
|
||||
- **101 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
|
||||
- **118 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
|
||||
|
||||
## Suggested Questions
|
||||
_Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `ApiResponse` connect `ApiResponse` to `OrdersService`, `UsersService`, `PetsController`, `ProductsService`, `src/services/api.ts`, `AuthController`?**
|
||||
_High betweenness centrality (0.064) - this node is a cross-community bridge._
|
||||
- **Why does `Roles()` connect `Roles` to `BannersService`, `CmsController`, `B2BService`, `reviews.controller.ts`, `tickets.controller.ts`, `SslController`, `IngredientsService`, `FaqService`, `MenuService`, `ContactService`, `ProductsService`, `PrescriptionsService`, `SmartAdvisorService`, `TestimonialsService`, `SmsService`, `WholesaleService`, `JwtAuthGuard`?**
|
||||
- **Why does `Roles()` connect `Roles` to `BannersService`, `ZibalService`, `CmsController`, `B2BService`, `reviews.controller.ts`, `tickets.controller.ts`, `SslController`, `IngredientsService`, `FaqService`, `MenuService`, `ContactService`, `ProductsService`, `PrescriptionsService`, `SmartAdvisorService`, `TestimonialsService`, `SmsService`, `WholesaleService`, `JwtAuthGuard`?**
|
||||
_High betweenness centrality (0.060) - this node is a cross-community bridge._
|
||||
- **Why does `PrismaService` connect `PrismaService` to `OrdersService`, `CmsController`, `app.module.ts`, `reviews.controller.ts`, `tickets.controller.ts`, `DoctorQueryDto`, `MenuService`, `pets/pets.controller.ts`, `auth.service.ts`, `ProductsService`, `CreateVideoDto`, `SmsService`, `WholesaleService`, `ZibalService`, `CategoriesController`, `B2BService`, `UsersService`, `IngredientsService`, `FaqService`, `MediaController`, `MetricsController`, `ContactService`, `zibal.service.ts`, `PrescriptionsService`, `SmartAdvisorService`, `TestimonialsService`, `ZibalEBankService`, `admin.module.ts`, `PetsController`, `PaginationDto`, `BannersService`, `admin.service.ts`, `seo.module.ts`, `AuthController`, `ApiResponse`, `payment.service.ts`, `PetsService`, `WholesaleApplyDto`?**
|
||||
- **Why does `PrismaService` connect `PrismaService` to `OrdersService`, `CmsController`, `app.module.ts`, `reviews.controller.ts`, `tickets.controller.ts`, `faq.module.ts`, `DoctorQueryDto`, `MenuService`, `pets/pets.controller.ts`, `auth.service.ts`, `ProductsService`, `CreateVideoDto`, `SmsService`, `WholesaleService`, `ZibalService`, `CategoriesController`, `B2BService`, `UsersService`, `IngredientsService`, `FaqService`, `MediaController`, `ContactService`, `zibal.service.ts`, `PrescriptionsService`, `SmartAdvisorService`, `TestimonialsService`, `ZibalEBankService`, `admin.module.ts`, `PetsController`, `PaginationDto`, `BannersService`, `admin.service.ts`, `seo.module.ts`, `AuthController`, `ApiResponse`, `payment.service.ts`, `PetsService`, `WholesaleApplyDto`?**
|
||||
_High betweenness centrality (0.040) - this node is a cross-community bridge._
|
||||
- **What connects `$schema`, `collection`, `sourceRoot` to the rest of the system?**
|
||||
_1274 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
- **Should `OrdersService` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.059932659932659935 - nodes in this community are weakly interconnected._
|
||||
- **Should `productService.ts` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.09619450317124736 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.08549019607843138 - nodes in this community are weakly interconnected._
|
||||
- **Should `CmsController` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.0899854862119013 - nodes in this community are weakly interconnected._
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
{".ai_agency/AGENCY.md":{"size":8757,"mtime_ns":1785148021979607300,"indexed_at_ns":1786863693890454700,"word_count":1161,"hashes":{".ai_agency/agency.md":"88c7c13583a91fc7e41ce055fede9dce20f181e8d264557808989965e83a9030"}},".ai_agency/agents/00_intake.md":{"size":3819,"mtime_ns":1785148021984319000,"indexed_at_ns":1786863693892455200,"word_count":500,"hashes":{".ai_agency/agents/00_intake.md":"9dc8d7eeda0655717dc5b9d2f8572c47567b88ca88de7e4e5bf59869077ff407"}},".ai_agency/agents/01_auditor.md":{"size":3643,"mtime_ns":1785148021987782800,"indexed_at_ns":1786863693894964400,"word_count":467,"hashes":{".ai_agency/agents/01_auditor.md":"37ae09614034d9b5c855e0132b59a5e3cfd2fc38c54d1a5386fa43ba488c4d4d"}},".ai_agency/agents/02_ceo.md":{"size":2341,"mtime_ns":1785148021998374800,"indexed_at_ns":1786863693896964700,"word_count":294,"hashes":{".ai_agency/agents/02_ceo.md":"b4a76df6483fd52e1b9f1e70765b3f7b6d134dc003ef2ad0cb86b952c869c4a5"}},".ai_agency/agents/03_product_manager.md":{"size":8422,"mtime_ns":1785148022001968200,"indexed_at_ns":1786863693898470300,"word_count":1076,"hashes":{".ai_agency/agents/03_product_manager.md":"1927827474b1dd6fd4976af45b51f1ad3128fe3305c3af22639ab2584e8f0b55"}},".ai_agency/agents/04_architect.md":{"size":3603,"mtime_ns":1785148022004966000,"indexed_at_ns":1786863693899999300,"word_count":448,"hashes":{".ai_agency/agents/04_architect.md":"c96b04d5af093f455fa3c64ae177a69421e8150eb38c70bb8587b5a14e7d3ca8"}},".ai_agency/agents/05_dev_backend.md":{"size":7142,"mtime_ns":1785148022012481200,"indexed_at_ns":1786863693901997700,"word_count":953,"hashes":{".ai_agency/agents/05_dev_backend.md":"143a7c8a6fbedcd837d647efddb9f6b49074583502bd77f24c955bd86a6f3df8"}},".ai_agency/agents/06_dev_frontend.md":{"size":7518,"mtime_ns":1785148022017020100,"indexed_at_ns":1786863693902997800,"word_count":1011,"hashes":{".ai_agency/agents/06_dev_frontend.md":"e69679636d42dd626c7c76ddc96e1ddb656ab5b9ee912b89adcc7a9338f34a0b"}},".ai_agency/agents/07_qa_engineer.md":{"size":3764,"mtime_ns":1785148022020044600,"indexed_at_ns":1786863693905070800,"word_count":507,"hashes":{".ai_agency/agents/07_qa_engineer.md":"2616ef2b3ac39ded45fc669d5b5b140e72953fe61a819966fb040382e9b47d45"}},".ai_agency/agents/08_visual_qa.md":{"size":7910,"mtime_ns":1785148022030083200,"indexed_at_ns":1786863693907111900,"word_count":1121,"hashes":{".ai_agency/agents/08_visual_qa.md":"17a5a74039e8a9d7cb40c5bc3c616c7c92d53401efd92d0675d4bbe5e90572a8"}},".ai_agency/agents/09_devops_security.md":{"size":6825,"mtime_ns":1785148022034087400,"indexed_at_ns":1786863693908113400,"word_count":908,"hashes":{".ai_agency/agents/09_devops_security.md":"315bd3cee954ac3496da8db1b1718b75ab3822ec3a90f99bc77767ca99482edf"}},".ai_agency/agents/10_tech_writer.md":{"size":3119,"mtime_ns":1785148022037082600,"indexed_at_ns":1786863693910113400,"word_count":408,"hashes":{".ai_agency/agents/10_tech_writer.md":"3527b44265fec2472cc20ca4641667e1fa3d38cbc9b2fbf9a946ee1e531e9e37"}},".ai_agency/agents/11_deploy.md":{"size":3956,"mtime_ns":1785148022040602600,"indexed_at_ns":1786863693912113300,"word_count":537,"hashes":{".ai_agency/agents/11_deploy.md":"8169bc98b249cd83ba21551dea082f69dfa6deca5f5e4a7f2739a28746c143f9"}},".ai_agency/agents/12_seo_content.md":{"size":10963,"mtime_ns":1785148022048603900,"indexed_at_ns":1786863693913112900,"word_count":1539,"hashes":{".ai_agency/agents/12_seo_content.md":"2f50eb9db8bf1ad7bc23c7d8c3a4f167a2daafb73f095db9237c5bdb20e7a5f4"}},".ai_agency/memory/agent_outputs/README.txt":{"size":290,"mtime_ns":1785148022052150400,"indexed_at_ns":1786863693914617900,"word_count":34,"hashes":{".ai_agency/memory/agent_outputs/readme.txt":"49b19b781e865081a74a0a87282e6c266e373f443a79e0758ef60a6e644c6e04"}},".ai_agency/memory/backlog.json":{"size":10711,"mtime_ns":1785330750958890900,"indexed_at_ns":1786863680433252400,"word_count":981,"hashes":{".ai_agency/memory/backlog.json":"6bf3150a1877d03d03b368df21b84071381b1bb8cd03e3721fa9f8e6c38355be"}},".ai_agency/memory/scratchpad.md":{"size":1879,"mtime_ns":1785148022065114400,"indexed_at_ns":1786863693916623700,"word_count":249,"hashes":{".ai_agency/memory/scratchpad.md":"9d0f687cf8e95c6335f1efb070da8029878417c28117e3b89aa8536ad70a5b95"}},".ai_agency/memory/state.json":{"size":3654,"mtime_ns":1785330750963913800,"indexed_at_ns":1786863680437228800,"word_count":254,"hashes":{".ai_agency/memory/state.json":"1204676f8f295d89733888bb87936061b7a700df0cc936fbf08fd5269b534e8d"}},".ai_agency/orchestrate.py":{"size":6800,"mtime_ns":1785148022072662500,"indexed_at_ns":1786863680437736800,"word_count":644,"hashes":{".ai_agency/orchestrate.py":"90ec787fdd4c71f5203c56b6899aadcc26e6e0bad0cc576d2f982aa42eed42e1"}},".ai_agency/specs/api_contract.md":{"size":1515,"mtime_ns":1785148022077664900,"indexed_at_ns":1786863693918623100,"word_count":139,"hashes":{".ai_agency/specs/api_contract.md":"ea0911b6a5ad6a908ab707f7553f5f24712c1e198fd79255fa85e3249150e8b4"}},".ai_agency/specs/architecture_spec.md":{"size":790,"mtime_nsLine truncated
|
||||
{".ai_agency/AGENCY.md":{"size":8757,"mtime_ns":1785148021979607300,"indexed_at_ns":1786863693890454700,"word_count":1161,"hashes":{".ai_agency/agency.md":"88c7c13583a91fc7e41ce055fede9dce20f181e8d264557808989965e83a9030"}},".ai_agency/agents/00_intake.md":{"size":3819,"mtime_ns":1785148021984319000,"indexed_at_ns":1786863693892455200,"word_count":500,"hashes":{".ai_agency/agents/00_intake.md":"9dc8d7eeda0655717dc5b9d2f8572c47567b88ca88de7e4e5bf59869077ff407"}},".ai_agency/agents/01_auditor.md":{"size":3643,"mtime_ns":1785148021987782800,"indexed_at_ns":1786863693894964400,"word_count":467,"hashes":{".ai_agency/agents/01_auditor.md":"37ae09614034d9b5c855e0132b59a5e3cfd2fc38c54d1a5386fa43ba488c4d4d"}},".ai_agency/agents/02_ceo.md":{"size":2341,"mtime_ns":1785148021998374800,"indexed_at_ns":1786863693896964700,"word_count":294,"hashes":{".ai_agency/agents/02_ceo.md":"b4a76df6483fd52e1b9f1e70765b3f7b6d134dc003ef2ad0cb86b952c869c4a5"}},".ai_agency/agents/03_product_manager.md":{"size":8422,"mtime_ns":1785148022001968200,"indexed_at_ns":1786863693898470300,"word_count":1076,"hashes":{".ai_agency/agents/03_product_manager.md":"1927827474b1dd6fd4976af45b51f1ad3128fe3305c3af22639ab2584e8f0b55"}},".ai_agency/agents/04_architect.md":{"size":3603,"mtime_ns":1785148022004966000,"indexed_at_ns":1786863693899999300,"word_count":448,"hashes":{".ai_agency/agents/04_architect.md":"c96b04d5af093f455fa3c64ae177a69421e8150eb38c70bb8587b5a14e7d3ca8"}},".ai_agency/agents/05_dev_backend.md":{"size":7142,"mtime_ns":1785148022012481200,"indexed_at_ns":1786863693901997700,"word_count":953,"hashes":{".ai_agency/agents/05_dev_backend.md":"143a7c8a6fbedcd837d647efddb9f6b49074583502bd77f24c955bd86a6f3df8"}},".ai_agency/agents/06_dev_frontend.md":{"size":7518,"mtime_ns":1785148022017020100,"indexed_at_ns":1786863693902997800,"word_count":1011,"hashes":{".ai_agency/agents/06_dev_frontend.md":"e69679636d42dd626c7c76ddc96e1ddb656ab5b9ee912b89adcc7a9338f34a0b"}},".ai_agency/agents/07_qa_engineer.md":{"size":3764,"mtime_ns":1785148022020044600,"indexed_at_ns":1786863693905070800,"word_count":507,"hashes":{".ai_agency/agents/07_qa_engineer.md":"2616ef2b3ac39ded45fc669d5b5b140e72953fe61a819966fb040382e9b47d45"}},".ai_agency/agents/08_visual_qa.md":{"size":7910,"mtime_ns":1785148022030083200,"indexed_at_ns":1786863693907111900,"word_count":1121,"hashes":{".ai_agency/agents/08_visual_qa.md":"17a5a74039e8a9d7cb40c5bc3c616c7c92d53401efd92d0675d4bbe5e90572a8"}},".ai_agency/agents/09_devops_security.md":{"size":6825,"mtime_ns":1785148022034087400,"indexed_at_ns":1786863693908113400,"word_count":908,"hashes":{".ai_agency/agents/09_devops_security.md":"315bd3cee954ac3496da8db1b1718b75ab3822ec3a90f99bc77767ca99482edf"}},".ai_agency/agents/10_tech_writer.md":{"size":3119,"mtime_ns":1785148022037082600,"indexed_at_ns":1786863693910113400,"word_count":408,"hashes":{".ai_agency/agents/10_tech_writer.md":"3527b44265fec2472cc20ca4641667e1fa3d38cbc9b2fbf9a946ee1e531e9e37"}},".ai_agency/agents/11_deploy.md":{"size":3956,"mtime_ns":1785148022040602600,"indexed_at_ns":1786863693912113300,"word_count":537,"hashes":{".ai_agency/agents/11_deploy.md":"8169bc98b249cd83ba21551dea082f69dfa6deca5f5e4a7f2739a28746c143f9"}},".ai_agency/agents/12_seo_content.md":{"size":10963,"mtime_ns":1785148022048603900,"indexed_at_ns":1786863693913112900,"word_count":1539,"hashes":{".ai_agency/agents/12_seo_content.md":"2f50eb9db8bf1ad7bc23c7d8c3a4f167a2daafb73f095db9237c5bdb20e7a5f4"}},".ai_agency/memory/agent_outputs/README.txt":{"size":290,"mtime_ns":1785148022052150400,"indexed_at_ns":1786863693914617900,"word_count":34,"hashes":{".ai_agency/memory/agent_outputs/readme.txt":"49b19b781e865081a74a0a87282e6c266e373f443a79e0758ef60a6e644c6e04"}},".ai_agency/memory/backlog.json":{"size":10711,"mtime_ns":1785330750958890900,"indexed_at_ns":1786863680433252400,"word_count":981,"hashes":{".ai_agency/memory/backlog.json":"6bf3150a1877d03d03b368df21b84071381b1bb8cd03e3721fa9f8e6c38355be"}},".ai_agency/memory/scratchpad.md":{"size":1879,"mtime_ns":1785148022065114400,"indexed_at_ns":1786863693916623700,"word_count":249,"hashes":{".ai_agency/memory/scratchpad.md":"9d0f687cf8e95c6335f1efb070da8029878417c28117e3b89aa8536ad70a5b95"}},".ai_agency/memory/state.json":{"size":3654,"mtime_ns":1785330750963913800,"indexed_at_ns":1786863680437228800,"word_count":254,"hashes":{".ai_agency/memory/state.json":"1204676f8f295d89733888bb87936061b7a700df0cc936fbf08fd5269b534e8d"}},".ai_agency/orchestrate.py":{"size":6800,"mtime_ns":1785148022072662500,"indexed_at_ns":1786863680437736800,"word_count":644,"hashes":{".ai_agency/orchestrate.py":"90ec787fdd4c71f5203c56b6899aadcc26e6e0bad0cc576d2f982aa42eed42e1"}},".ai_agency/specs/api_contract.md":{"size":1515,"mtime_ns":1785148022077664900,"indexed_at_ns":1786863693918623100,"word_count":139,"hashes":{".ai_agency/specs/api_contract.md":"ea0911b6a5ad6a908ab707f7553f5f24712c1e198fd79255fa85e3249150e8b4"}},".ai_agency/specs/architecture_spec.md":{"size":790,"mtime_nsLine truncated
|
||||
@@ -63,12 +63,12 @@
|
||||
</div>
|
||||
<div id="legend"></div>
|
||||
</div>
|
||||
<div id="stats">3902 nodes · 6878 edges · 308 communities</div>
|
||||
<div id="stats">3902 nodes · 6881 edges · 323 communities</div>
|
||||
</div>
|
||||
<script>
|
||||
const RAW_NODES = [{"id": "ai_agency_orchestrate", "label": "orchestrate.py", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "orchestrate.py", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 8}, {"id": "ai_agency_orchestrate_load_json", "label": "load_json()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "load_json()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 5}, {"id": "ai_agency_orchestrate_save_json", "label": "save_json()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.9, "font": {"size": 0, "color": "#ffffff"}, "title": "save_json()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_status", "label": "cmd_status()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.9, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_status()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_progress", "label": "cmd_progress()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.9, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_progress()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_next_task", "label": "cmd_next_task()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.9, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_next_task()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_unblock", "label": "cmd_unblock()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.1, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_unblock()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 4}, {"id": "ai_agency_orchestrate_cmd_reset", "label": "cmd_reset()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.9, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_reset()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_main", "label": "main()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.7, "font": {"size": 0, "color": "#ffffff"}, "title": "main()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 6}, {"id": "gitea_scripts_with_vpn", "label": "with-vpn.sh", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.7, "font": {"size": 0, "color": "#ffffff"}, "title": "with-vpn.sh", "community": 147, "community_name": "with-vpn.sh", "source_file": ".gitea/scripts/with-vpn.sh", "file_type": "code", "degree": 6}, {"id": "gitea_scripts_with_vpn_sh__entry", "label": "with-vpn.sh script", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.9, "font": {"size": 0, "color": "#ffffff"}, "title": "with-vpn.sh script", "community": 147, "community_name": "with-vpn.sh", "source_file": ".gitea/scripts/with-vpn.sh", "file_type": "code", "degree": 3}, {"id": "gitea_scripts_with_vpn_log", "label": "log()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "log()", "community": 147, "community_name": "with-vpn.sh", "source_file": ".gitea/scripts/with-vpn.sh", "file_type": "code", "degree": 5}, {"id": "gitea_scripts_with_vpn_vpn_is_up", "label": "vpn_is_up()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffLine truncated
|
||||
const RAW_EDGES = [{"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_next_task", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_progress", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_reset", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_status", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_unblock", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_load_json", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_main", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_save_json", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_next_task", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_progress", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_status", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_unblock", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_reset", "to": "ai_agency_orchestrate_save_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_unblock", "to": "ai_agency_orchestrate_save_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_status", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_progress", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_next_task", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_unblock", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_reset", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_cleanup", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_log", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_sh__entry", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_start_vpn", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7},Line truncated
|
||||
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "OrdersService", "count": 55}, {"cid": 1, "color": "#F28E2B", "label": "productService.ts", "count": 44}, {"cid": 2, "color": "#E15759", "label": "CmsController", "count": 53}, {"cid": 3, "color": "#76B7B2", "label": "app.module.ts", "count": 54}, {"cid": 4, "color": "#59A14F", "label": "reviews.controller.ts", "count": 48}, {"cid": 5, "color": "#EDC948", "label": "tickets.controller.ts", "count": 51}, {"cid": 6, "color": "#B07AA1", "label": "AuthService", "count": 10}, {"cid": 7, "color": "#FF9DA7", "label": "MediaSelector.tsx", "count": 46}, {"cid": 8, "color": "#9C755F", "label": "PetProfile.tsx", "count": 29}, {"cid": 9, "color": "#BAB0AC", "label": "Roles", "count": 39}, {"cid": 10, "color": "#4E79A7", "label": "DoctorQueryDto", "count": 42}, {"cid": 11, "color": "#F28E2B", "label": "MenuService", "count": 32}, {"cid": 12, "color": "#E15759", "label": "adminRoutes.tsx", "count": 29}, {"cid": 13, "color": "#76B7B2", "label": "PrismaService", "count": 46}, {"cid": 14, "color": "#59A14F", "label": "pets/pets.controller.ts", "count": 19}, {"cid": 15, "color": "#EDC948", "label": "ProductsService", "count": 27}, {"cid": 16, "color": "#B07AA1", "label": "UserDashboard.tsx", "count": 63}, {"cid": 17, "color": "#FF9DA7", "label": "CreateVideoDto", "count": 44}, {"cid": 18, "color": "#9C755F", "label": "src/services/api.ts", "count": 47}, {"cid": 19, "color": "#BAB0AC", "label": ".adminLogin", "count": 16}, {"cid": 20, "color": "#4E79A7", "label": "BE-001", "count": 33}, {"cid": 21, "color": "#F28E2B", "label": "SmsService", "count": 98}, {"cid": 22, "color": "#E15759", "label": "FE-001", "count": 32}, {"cid": 23, "color": "#76B7B2", "label": "ADM-001", "count": 32}, {"cid": 24, "color": "#59A14F", "label": "DB-001", "count": 32}, {"cid": 25, "color": "#EDC948", "label": "TS-001", "count": 32}, {"cid": 26, "color": "#B07AA1", "label": "TEST-001", "count": 32}, {"cid": 27, "color": "#FF9DA7", "label": "DEVOPS-001", "count": 32}, {"cid": 28, "color": "#9C755F", "label": "DOC-001", "count": 32}, {"cid": 29, "color": "#BAB0AC", "label": "WholesaleService", "count": 24}, {"cid": 30, "color": "#4E79A7", "label": "app-audit-verification.e2e-spec.js", "count": 41}, {"cid": 31, "color": "#F28E2B", "label": "JwtAuthGuard", "count": 32}, {"cid": 32, "color": "#E15759", "label": "ZibalService", "count": 45}, {"cid": 33, "color": "#76B7B2", "label": "\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u062a\u0633\u062a \u0633\u06cc\u0633\u062a\u0645 (Software Testing)", "count": 29}, {"cid": 34, "color": "#59A14F", "label": "CategoriesController", "count": 28}, {"cid": 35, "color": "#EDC948", "label": "B2BService", "count": 29}, {"cid": 36, "color": "#B07AA1", "label": "What You Must Do When Invoked", "count": 27}, {"cid": 37, "color": "#FF9DA7", "label": ".update", "count": 19}, {"cid": 38, "color": "#9C755F", "label": "UsersService", "count": 69}, {"cid": 39, "color": "#BAB0AC", "label": "What You Must Do When Invoked", "count": 27}, {"cid": 40, "color": "#4E79A7", "label": "SslController", "count": 26}, {"cid": 41, "color": "#F28E2B", "label": "PodcastPlayerModal.tsx", "count": 5}, {"cid": 42, "color": "#E15759", "label": "IngredientsService", "count": 26}, {"cid": 43, "color": "#76B7B2", "label": "FaqService", "count": 28}, {"cid": 44, "color": "#59A14F", "label": "MediaController", "count": 28}, {"cid": 45, "color": "#EDC948", "label": "Coupons.tsx", "count": 20}, {"cid": 46, "color": "#B07AA1", "label": "ContactService", "count": 23}, {"cid": 47, "color": "#FF9DA7", "label": "zibal.service.ts", "count": 17}, {"cid": 48, "color": "#9C755F", "label": "PrescriptionsService", "count": 24}, {"cid": 49, "color": "#BAB0AC", "label": "SmartAdvisorService", "count": 24}, {"cid": 50, "color": "#4E79A7", "label": "TestimonialsService", "count": 26}, {"cid": 51, "color": "#F28E2B", "label": "Role & Core Objective", "count": 23}, {"cid": 52, "color": "#E15759", "label": ".initiateOrderPayment", "count": 17}, {"cid": 53, "color": "#76B7B2", "label": "ZibalEBankService", "count": 16}, {"cid": 54, "color": "#59A14F", "label": "compilerOptions", "count": 31}, {"cid": 55, "color": "#EDC948", "label": "Media.tsx", "count": 18}, {"cid": 56, "color": "#B07AA1", "label": "compilerOptions", "count": 24}, {"cid": 57, "color": "#FF9DA7", "label": "PetsController", "count": 22}, {"cid": 58, "color": "#9C755F", "label": "PaginationDto", "count": 52}, {"cid": 59, "color": "#BAB0AC", "label": "dependencies", "count": 41}, {"cid": 60, "color": "#4E79A7", "label": "compilerOptions", "count": 21}, {"cid": 61, "color": "#F28E2B", "label": "HomeClient.tsx", "count": 29}, {"cid": 62, "color": "#E15759", "label": "BlogsController", "count": 24}, {"cid": 63, "color": "#76B7B2", "label": "ApiOperation", "count": 19}, {"cid": 64, "color": "#59A14F", "label": "BannersService", "count": 27}, {"cid": 65, "color": "#EDC948", "label": "Required Review Group Closures", "count": 20}, {"cid": 66, "color": "#B07ALine truncated
|
||||
const RAW_NODES = [{"id": "ai_agency_orchestrate", "label": "orchestrate.py", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "orchestrate.py", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 8}, {"id": "ai_agency_orchestrate_load_json", "label": "load_json()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "load_json()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 5}, {"id": "ai_agency_orchestrate_save_json", "label": "save_json()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.9, "font": {"size": 0, "color": "#ffffff"}, "title": "save_json()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_status", "label": "cmd_status()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.9, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_status()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_progress", "label": "cmd_progress()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.9, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_progress()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_next_task", "label": "cmd_next_task()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.9, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_next_task()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_unblock", "label": "cmd_unblock()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.1, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_unblock()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 4}, {"id": "ai_agency_orchestrate_cmd_reset", "label": "cmd_reset()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.9, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_reset()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_main", "label": "main()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.7, "font": {"size": 0, "color": "#ffffff"}, "title": "main()", "community": 127, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 6}, {"id": "gitea_scripts_with_vpn", "label": "with-vpn.sh", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.7, "font": {"size": 0, "color": "#ffffff"}, "title": "with-vpn.sh", "community": 147, "community_name": "with-vpn.sh", "source_file": ".gitea/scripts/with-vpn.sh", "file_type": "code", "degree": 6}, {"id": "gitea_scripts_with_vpn_sh__entry", "label": "with-vpn.sh script", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.9, "font": {"size": 0, "color": "#ffffff"}, "title": "with-vpn.sh script", "community": 147, "community_name": "with-vpn.sh", "source_file": ".gitea/scripts/with-vpn.sh", "file_type": "code", "degree": 3}, {"id": "gitea_scripts_with_vpn_log", "label": "log()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "log()", "community": 147, "community_name": "with-vpn.sh", "source_file": ".gitea/scripts/with-vpn.sh", "file_type": "code", "degree": 5}, {"id": "gitea_scripts_with_vpn_vpn_is_up", "label": "vpn_is_up()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffLine truncated
|
||||
const RAW_EDGES = [{"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_next_task", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_progress", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_reset", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_status", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_unblock", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_load_json", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_main", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_save_json", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_next_task", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_progress", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_status", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_unblock", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_reset", "to": "ai_agency_orchestrate_save_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_unblock", "to": "ai_agency_orchestrate_save_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_status", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_progress", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_next_task", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_unblock", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_reset", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_cleanup", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_log", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_sh__entry", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_start_vpn", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7},Line truncated
|
||||
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "OrdersService", "count": 55}, {"cid": 1, "color": "#F28E2B", "label": "productService.ts", "count": 51}, {"cid": 2, "color": "#E15759", "label": "CmsController", "count": 53}, {"cid": 3, "color": "#76B7B2", "label": "app.module.ts", "count": 56}, {"cid": 4, "color": "#59A14F", "label": "reviews.controller.ts", "count": 48}, {"cid": 5, "color": "#EDC948", "label": "tickets.controller.ts", "count": 51}, {"cid": 6, "color": "#B07AA1", "label": "faq.module.ts", "count": 4}, {"cid": 7, "color": "#FF9DA7", "label": "MediaSelector.tsx", "count": 46}, {"cid": 8, "color": "#9C755F", "label": "PetProfile.tsx", "count": 32}, {"cid": 9, "color": "#BAB0AC", "label": "Roles", "count": 44}, {"cid": 10, "color": "#4E79A7", "label": "DoctorQueryDto", "count": 39}, {"cid": 11, "color": "#F28E2B", "label": "MenuService", "count": 32}, {"cid": 12, "color": "#E15759", "label": "adminRoutes.tsx", "count": 29}, {"cid": 13, "color": "#76B7B2", "label": "PrismaService", "count": 47}, {"cid": 14, "color": "#59A14F", "label": "pets/pets.controller.ts", "count": 19}, {"cid": 15, "color": "#EDC948", "label": "ProductsService", "count": 27}, {"cid": 16, "color": "#B07AA1", "label": "UserDashboard.tsx", "count": 47}, {"cid": 17, "color": "#FF9DA7", "label": "CreateVideoDto", "count": 44}, {"cid": 18, "color": "#9C755F", "label": "src/services/api.ts", "count": 47}, {"cid": 19, "color": "#BAB0AC", "label": ".adminLogin", "count": 16}, {"cid": 20, "color": "#4E79A7", "label": "BE-001", "count": 33}, {"cid": 21, "color": "#F28E2B", "label": "SmsService", "count": 98}, {"cid": 22, "color": "#E15759", "label": "FE-001", "count": 32}, {"cid": 23, "color": "#76B7B2", "label": "ADM-001", "count": 32}, {"cid": 24, "color": "#59A14F", "label": "DB-001", "count": 32}, {"cid": 25, "color": "#EDC948", "label": "TS-001", "count": 32}, {"cid": 26, "color": "#B07AA1", "label": "TEST-001", "count": 32}, {"cid": 27, "color": "#FF9DA7", "label": "DEVOPS-001", "count": 32}, {"cid": 28, "color": "#9C755F", "label": "DOC-001", "count": 32}, {"cid": 29, "color": "#BAB0AC", "label": "WholesaleService", "count": 24}, {"cid": 30, "color": "#4E79A7", "label": "app-audit-verification.e2e-spec.js", "count": 41}, {"cid": 31, "color": "#F28E2B", "label": "JwtAuthGuard", "count": 31}, {"cid": 32, "color": "#E15759", "label": "ZibalService", "count": 46}, {"cid": 33, "color": "#76B7B2", "label": "\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u062a\u0633\u062a \u0633\u06cc\u0633\u062a\u0645 (Software Testing)", "count": 29}, {"cid": 34, "color": "#59A14F", "label": "CategoriesController", "count": 28}, {"cid": 35, "color": "#EDC948", "label": "B2BService", "count": 29}, {"cid": 36, "color": "#B07AA1", "label": "What You Must Do When Invoked", "count": 27}, {"cid": 37, "color": "#FF9DA7", "label": ".update", "count": 19}, {"cid": 38, "color": "#9C755F", "label": "UsersService", "count": 69}, {"cid": 39, "color": "#BAB0AC", "label": "What You Must Do When Invoked", "count": 27}, {"cid": 40, "color": "#4E79A7", "label": "SslController", "count": 26}, {"cid": 41, "color": "#F28E2B", "label": "PodcastPlayerModal.tsx", "count": 5}, {"cid": 42, "color": "#E15759", "label": "IngredientsService", "count": 26}, {"cid": 43, "color": "#76B7B2", "label": "FaqService", "count": 28}, {"cid": 44, "color": "#59A14F", "label": "MediaController", "count": 28}, {"cid": 45, "color": "#EDC948", "label": "Coupons.tsx", "count": 20}, {"cid": 46, "color": "#B07AA1", "label": "ContactService", "count": 23}, {"cid": 47, "color": "#FF9DA7", "label": "zibal.service.ts", "count": 17}, {"cid": 48, "color": "#9C755F", "label": "PrescriptionsService", "count": 24}, {"cid": 49, "color": "#BAB0AC", "label": "SmartAdvisorService", "count": 24}, {"cid": 50, "color": "#4E79A7", "label": "TestimonialsService", "count": 26}, {"cid": 51, "color": "#F28E2B", "label": "Role & Core Objective", "count": 23}, {"cid": 52, "color": "#E15759", "label": ".handleZibalCallback", "count": 11}, {"cid": 53, "color": "#76B7B2", "label": "ZibalEBankService", "count": 16}, {"cid": 54, "color": "#59A14F", "label": "compilerOptions", "count": 31}, {"cid": 55, "color": "#EDC948", "label": "Media.tsx", "count": 18}, {"cid": 56, "color": "#B07AA1", "label": "compilerOptions", "count": 24}, {"cid": 57, "color": "#FF9DA7", "label": "PetsController", "count": 22}, {"cid": 58, "color": "#9C755F", "label": "PaginationDto", "count": 54}, {"cid": 59, "color": "#BAB0AC", "label": "dependencies", "count": 21}, {"cid": 60, "color": "#4E79A7", "label": "compilerOptions", "count": 21}, {"cid": 61, "color": "#F28E2B", "label": "HomeClient.tsx", "count": 25}, {"cid": 62, "color": "#E15759", "label": "BlogsController", "count": 24}, {"cid": 63, "color": "#76B7B2", "label": "ApiOperation", "count": 19}, {"cid": 64, "color": "#59A14F", "label": "BannersService", "count": 27}, {"cid": 65, "color": "#EDC948", "label": "Required Review Group Closures", "count": 20}, {"cid": 66, "color": "#B07ALine truncated
|
||||
|
||||
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
|
||||
function esc(s) {
|
||||
|
||||
+1420
-1384
File diff suppressed because it is too large.
Load diff
+567
-567
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user