fallback creator, focus dragdrop on paste
This commit is contained in:
@@ -625,6 +625,8 @@ export default function VisualSearchForm({
|
||||
|
||||
if (imageFile) {
|
||||
await handleImageFile(imageFile);
|
||||
// focus the drag/drop zone
|
||||
dragDropRef.current?.focus();
|
||||
} else {
|
||||
showFeedback(
|
||||
'No image found in clipboard. Copy an image first, then paste here.',
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
<div class="px-2 pb-2 text-xs text-gray-600 mt-auto">
|
||||
<div class="flex justify-between items-center flex-wrap gap-1">
|
||||
<span class="flex items-center gap-0.5">
|
||||
<% if creator = post.primary_creator_for_view %>
|
||||
<% if creator = post.primary_creator_for_view || post.primary_fallback_creator_for_view %>
|
||||
<span class="text-gray-500 italic">by</span>
|
||||
<%= render "domain/has_description_html/inline_link_domain_user", user: creator, visual_style: "sky-link", size: "small" %>
|
||||
<% elsif creator = post.primary_creator_name_fallback_for_view %>
|
||||
|
||||
Reference in New Issue
Block a user