mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
add some IDs
This commit is contained in:
parent
7025c00581
commit
127b54f812
@ -417,6 +417,7 @@ const CurrentImageButtons = (props: CurrentImageButtonsProps) => {
|
|||||||
size="sm"
|
size="sm"
|
||||||
onClick={handleSendToImageToImage}
|
onClick={handleSendToImageToImage}
|
||||||
leftIcon={<FaShare />}
|
leftIcon={<FaShare />}
|
||||||
|
id="send-to-img2img"
|
||||||
>
|
>
|
||||||
{t('parameters.sendToImg2Img')}
|
{t('parameters.sendToImg2Img')}
|
||||||
</IAIButton>
|
</IAIButton>
|
||||||
@ -425,6 +426,7 @@ const CurrentImageButtons = (props: CurrentImageButtonsProps) => {
|
|||||||
size="sm"
|
size="sm"
|
||||||
onClick={handleSendToCanvas}
|
onClick={handleSendToCanvas}
|
||||||
leftIcon={<FaShare />}
|
leftIcon={<FaShare />}
|
||||||
|
id="send-to-canvas"
|
||||||
>
|
>
|
||||||
{t('parameters.sendToUnifiedCanvas')}
|
{t('parameters.sendToUnifiedCanvas')}
|
||||||
</IAIButton>
|
</IAIButton>
|
||||||
|
@ -250,11 +250,16 @@ const HoverableImage = memo((props: HoverableImageProps) => {
|
|||||||
<MenuItem
|
<MenuItem
|
||||||
icon={<FaShare />}
|
icon={<FaShare />}
|
||||||
onClickCapture={handleSendToImageToImage}
|
onClickCapture={handleSendToImageToImage}
|
||||||
|
id="send-to-img2img"
|
||||||
>
|
>
|
||||||
{t('parameters.sendToImg2Img')}
|
{t('parameters.sendToImg2Img')}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
{isCanvasEnabled && (
|
{isCanvasEnabled && (
|
||||||
<MenuItem icon={<FaShare />} onClickCapture={handleSendToCanvas}>
|
<MenuItem
|
||||||
|
icon={<FaShare />}
|
||||||
|
onClickCapture={handleSendToCanvas}
|
||||||
|
id="send-to-canvas"
|
||||||
|
>
|
||||||
{t('parameters.sendToUnifiedCanvas')}
|
{t('parameters.sendToUnifiedCanvas')}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
)}
|
)}
|
||||||
|
@ -132,6 +132,7 @@ const CancelButton = (
|
|||||||
isDisabled={!isConnected || !isProcessing || !isCancelable}
|
isDisabled={!isConnected || !isProcessing || !isCancelable}
|
||||||
onClick={handleClickCancel}
|
onClick={handleClickCancel}
|
||||||
colorScheme="error"
|
colorScheme="error"
|
||||||
|
id="cancel-button"
|
||||||
{...rest}
|
{...rest}
|
||||||
/>
|
/>
|
||||||
<Menu closeOnSelect={false}>
|
<Menu closeOnSelect={false}>
|
||||||
|
Loading…
Reference in New Issue
Block a user