diff --git a/src/components/FeedSidebar.tsx b/src/components/FeedSidebar.tsx index 114195a..cb52b99 100644 --- a/src/components/FeedSidebar.tsx +++ b/src/components/FeedSidebar.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { Link } from 'react-router-dom'; -import { TrendingUp, Users, Eye } from 'lucide-react'; +import { TrendingUp, Users, Eye, CheckCircle } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; @@ -92,11 +92,10 @@ const FeedSidebar: React.FC = () => { )} - {verificationStatus === EVerificationStatus.WALLET_CONNECTED && - !ordinalDetails && ( + {verificationStatus === EVerificationStatus.WALLET_CONNECTED && (
- - Read-only mode. Acquire Ordinals to post. + + Connected. You can post, comment, and vote.
)} diff --git a/src/components/Header.tsx b/src/components/Header.tsx index eceacb8..bfc3a60 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -234,14 +234,13 @@ const Header = () => { > {getStatusIcon()} - {verificationStatus === - EVerificationStatus.ENS_ORDINAL_VERIFIED && - delegationInfo?.isValid - ? 'READY' - : verificationStatus === - EVerificationStatus.ENS_ORDINAL_VERIFIED - ? 'EXPIRED' - : 'VERIFY'} + {verificationStatus === EVerificationStatus.WALLET_UNCONNECTED + ? 'CONNECT' + : delegationInfo?.isValid + ? 'READY' + : verificationStatus === EVerificationStatus.ENS_ORDINAL_VERIFIED + ? 'EXPIRED' + : 'DELEGATE'} diff --git a/src/components/PostList.tsx b/src/components/PostList.tsx index 1811db6..fbc4512 100644 --- a/src/components/PostList.tsx +++ b/src/components/PostList.tsx @@ -9,7 +9,6 @@ import { useAuth, useForumData, } from '@/hooks'; -import { EVerificationStatus } from '@/types/identity'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { Textarea } from '@/components/ui/textarea'; @@ -23,13 +22,11 @@ import { ArrowUp, ArrowDown, RefreshCw, - Eye, Shield, UserX, } from 'lucide-react'; import { formatDistanceToNow } from 'date-fns'; import { CypherImage } from './ui/CypherImage'; -import { Badge } from '@/components/ui/badge'; import { AuthorDisplay } from './ui/author-display'; import { Tooltip, @@ -55,7 +52,7 @@ const PostList = () => { } = useForumActions(); const { canPost, canVote, canModerate } = usePermissions(); const userVotes = useUserVotes(); - const { currentUser, verificationStatus } = useAuth(); + const { currentUser } = useAuth(); const { commentsByPost } = useForumData(); const [newPostTitle, setNewPostTitle] = useState(''); @@ -248,22 +245,6 @@ const PostList = () => { )} - {!canPost && - verificationStatus === EVerificationStatus.WALLET_CONNECTED && ( -
-
- -

Read-Only Mode

-
-

- Your wallet does not contain any Ordinal Operators. You can browse - threads but cannot post or interact. -

- - No Ordinals Found - -
- )} {!canPost && !currentUser && (
diff --git a/src/hooks/core/usePermissions.ts b/src/hooks/core/usePermissions.ts index 0d64c6c..491b489 100644 --- a/src/hooks/core/usePermissions.ts +++ b/src/hooks/core/usePermissions.ts @@ -77,13 +77,13 @@ export function usePermissions(): Permission & return { voteReason: permissions.canVote ? 'You can vote' - : 'Verify ENS or Logos ordinal to vote', + : 'Connect your wallet to vote', postReason: permissions.canPost ? 'You can post' - : 'Verify ENS or Logos ordinal to post', + : 'Connect your wallet to post', commentReason: permissions.canComment ? 'You can comment' - : 'Verify ENS or Logos ordinal to comment', + : 'Connect your wallet to comment', createCellReason: permissions.canCreateCell ? 'You can create cells' : 'Verify ENS or Logos ordinal to create cells',