Skip to content

Commit

Permalink
release-app revert store effect
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Feb 28, 2025
1 parent 0309472 commit 64c2440
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
16 changes: 0 additions & 16 deletions screenpipe-app-tauri/components/pipe-store/pipe-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export const PipeCard: React.FC<PipeCardProps> = ({
}) => {
const [isLoading, setIsLoading] = useState(false);
const { settings } = useSettings();
const [isHovered, setIsHovered] = useState(false);

const handleOpenWindow = async (e: React.MouseEvent) => {
e.stopPropagation();
Expand Down Expand Up @@ -266,8 +265,6 @@ export const PipeCard: React.FC<PipeCardProps> = ({
onClick={() => onClick(pipe)}
initial={{ opacity: 0, scale: 0.95 }}
animate={{ opacity: 1, scale: 1 }}
onHoverStart={() => setIsHovered(true)}
onHoverEnd={() => setIsHovered(false)}
whileHover={{
boxShadow: "0 0 10px rgba(255,255,255,0.1)",
transition: { duration: 0.2 },
Expand Down Expand Up @@ -398,19 +395,6 @@ export const PipeCard: React.FC<PipeCardProps> = ({
</div>
)}
</div>
{isHovered && (
<motion.div
className="absolute inset-0 bg-background/90 backdrop-blur-md rounded-xl p-4 overflow-auto z-50"
initial={{ opacity: 0, scale: 0.95 }}
animate={{ opacity: 1, scale: 1 }}
exit={{ opacity: 0, scale: 0.95 }}
transition={{ duration: 0.2 }}
>
<h3 className="font-semibold text-xl mb-2">{pipe.name}</h3>
<PipeStoreMarkdown content={pipe.description || ""} />
{/* Add any additional detailed content you want to show here */}
</motion.div>
)}
</motion.div>
);
};
2 changes: 1 addition & 1 deletion screenpipe-app-tauri/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion screenpipe-app-tauri/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
version = "0.39.1"
version = "0.39.2"
description = ""
authors = ["you"]
license = ""
Expand Down

0 comments on commit 64c2440

Please sign in to comment.