fix: resolve seed encoding, search param, and wiki data source issues
- Fix seed-products.ts TS error (implicit any) and BOM handling - Re-run full seed to restore correct Persian encoding in DB - Fix productService query→search param mismatch - Fix IngredientWiki hardcoded port 4000→use settingsStore - Restore seed-products-data.json from git after accidental corruption
This commit is contained in:
1 parent
804a596711
commit
7615aa0e51
74 files changed
+683
-659
No files matched your search
@@ -20,7 +20,7 @@ export default function Tooltip({ termKey, children, onWikiNavigate }: TooltipPr
|
||||
|
||||
return (
|
||||
<span
|
||||
className="relative inline-block group cursor-help border-b border-dotted border-canino-blue/40"
|
||||
className="relative inline-block group cursor-help border-b border-dotted border-canina-blue/40"
|
||||
onMouseEnter={() => setIsVisible(true)}
|
||||
onMouseLeave={() => setIsVisible(false)}
|
||||
>
|
||||
@@ -35,9 +35,9 @@ export default function Tooltip({ termKey, children, onWikiNavigate }: TooltipPr
|
||||
className="absolute bottom-full left-1/2 -translate-x-1/2 mb-3 w-64 p-4 bg-medical-gray-900 text-white rounded-2xl shadow-2xl z-[100] text-sm"
|
||||
dir="rtl"
|
||||
>
|
||||
<div className="flex items-center gap-2 mb-2 text-canino-blue">
|
||||
<div className="flex items-center gap-2 mb-2 text-canina-blue">
|
||||
<Info className="w-4 h-4" />
|
||||
<span className="font-black text-[10px] uppercase tracking-widest">دانشنامه علمی کانینو</span>
|
||||
<span className="font-black text-[10px] uppercase tracking-widest">دانشنامه علمی کانینا</span>
|
||||
</div>
|
||||
<h5 className="font-black mb-1">{termData.term}</h5>
|
||||
<p className="text-white/70 text-xs leading-relaxed mb-3">
|
||||
@@ -46,7 +46,7 @@ export default function Tooltip({ termKey, children, onWikiNavigate }: TooltipPr
|
||||
{termData.wikiId && (
|
||||
<button
|
||||
onClick={() => onWikiNavigate?.(termData.wikiId!)}
|
||||
className="flex items-center gap-1.5 text-canino-blue hover:text-white transition-colors text-[10px] font-bold"
|
||||
className="flex items-center gap-1.5 text-canina-blue hover:text-white transition-colors text-[10px] font-bold"
|
||||
>
|
||||
<span>مطالعه مقاله کامل</span>
|
||||
<ExternalLink className="w-3 h-3" />
|
||||
|
||||
Reference in new issue
Block a user