chore(ci): correct Gitea runner to runs-on ubuntu-24.04 and feat(billing): implement US-3.7 billing/subscription UX
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import { useNoteEditorContext } from './note-editor-context'
|
||||
import { LabelBadge } from '../label-badge'
|
||||
import { GhostTags } from '../ghost-tags'
|
||||
import { InlinePaywall } from '@/components/settings/inline-paywall'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
export function NoteMetadataSection() {
|
||||
@@ -31,13 +32,20 @@ export function NoteMetadataSection() {
|
||||
|
||||
{/* Ghost Tags - only show in dialog mode */}
|
||||
{!readOnly && !state.isMarkdown && (
|
||||
<GhostTags
|
||||
suggestions={state.filteredSuggestions}
|
||||
addedTags={state.labels}
|
||||
isAnalyzing={state.isAnalyzingSuggestions}
|
||||
onSelectTag={actions.handleSelectGhostTag}
|
||||
onDismissTag={actions.handleDismissGhostTag}
|
||||
/>
|
||||
state.quotaExceededFeature === 'auto_tag' ? (
|
||||
<InlinePaywall
|
||||
feature="auto_tag"
|
||||
onDismiss={() => actions.setQuotaExceededFeature(null)}
|
||||
/>
|
||||
) : (
|
||||
<GhostTags
|
||||
suggestions={state.filteredSuggestions}
|
||||
addedTags={state.labels}
|
||||
isAnalyzing={state.isAnalyzingSuggestions}
|
||||
onSelectTag={actions.handleSelectGhostTag}
|
||||
onDismissTag={actions.handleDismissGhostTag}
|
||||
/>
|
||||
)
|
||||
)}
|
||||
|
||||
{/* Color indicator */}
|
||||
|
||||
Reference in New Issue
Block a user