-
Notifications
You must be signed in to change notification settings - Fork 496
New bottom button and badges #8603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
d0cfb15
Add node bottom button
AustinMroz a17436b
Add error tab to right side panel
AustinMroz 19dae0e
Minor styling tweaks
AustinMroz a1147e2
Add error indicator on widget label
AustinMroz ff40bfd
Fix error hover bg
AustinMroz 38bc520
Add copy to clipboard button
AustinMroz 2236888
Rework badge display in vue mode
AustinMroz 0dafeff
Fix node sizing, resize indicator on hover
AustinMroz 482c5c0
Move price badges back into header
AustinMroz 8591f25
truncate all
AustinMroz b3ab82e
no bg
AustinMroz c45ed2f
functional background and sizing
AustinMroz ffcfd01
fix localization
AustinMroz 374875e
Remove core comfy badge from api nodes
AustinMroz fcb6c6d
Add translation to label
AustinMroz 52b91e7
Fix tests
AustinMroz 48ce8f8
Fix empty padding with no badges
AustinMroz afed8cb
Fix widget scaling and revert valid test
AustinMroz dde1f88
Another less destructive stab at sizing
AustinMroz 3357656
Fix colored nodes
AustinMroz 85dcf99
Fix node header and light theme badge color
AustinMroz 8f6aa9d
Fix compatibility across badge display settings
AustinMroz 2a735f6
Reorder badges, prefix id with octothorpe
AustinMroz 039cef1
Fix parameter sorting
AustinMroz a2ed617
[automated] Update test expectations
invalid-email-address 190b93d
Fix lint/tests
AustinMroz 3495e1d
Nits
AustinMroz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file modified
BIN
+198 Bytes
(100%)
...nks/linkInteraction.spec.ts-snapshots/vue-node-dragging-link-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+196 Bytes
(100%)
...nkInteraction.spec.ts-snapshots/vue-node-input-drag-ctrl-alt-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+220 Bytes
(100%)
...eraction.spec.ts-snapshots/vue-node-input-drag-reuses-origin-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+203 Bytes
(100%)
...inkInteraction.spec.ts-snapshots/vue-node-reroute-input-drag-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.16 KB
(110%)
...raction.spec.ts-snapshots/vue-node-reroute-output-shift-drag-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+134 Bytes
(100%)
...teraction.spec.ts-snapshots/vue-node-shift-output-multi-link-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+265 Bytes
(100%)
...inks/linkInteraction.spec.ts-snapshots/vue-node-snap-to-node-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+228 Bytes
(100%)
...inks/linkInteraction.spec.ts-snapshots/vue-node-snap-to-slot-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+276 Bytes
(100%)
...ingToFront.spec.ts-snapshots/bring-to-front-overlapped-after-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+483 Bytes
(100%)
...ngToFront.spec.ts-snapshots/bring-to-front-overlapped-before-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+262 Bytes
(100%)
...ont.spec.ts-snapshots/bring-to-front-widget-overlapped-after-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+199 Bytes
(100%)
...nt.spec.ts-snapshots/bring-to-front-widget-overlapped-before-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| <script setup lang="ts"> | ||
| import { useI18n } from 'vue-i18n' | ||
| import Button from '@/components/ui/button/Button.vue' | ||
| import { useCopyToClipboard } from '@/composables/useCopyToClipboard' | ||
| import type { NodeError } from '@/schemas/apiSchema' | ||
| const { t } = useI18n() | ||
| defineProps<{ | ||
| errors: NodeError[] | ||
| }>() | ||
| const { copyToClipboard } = useCopyToClipboard() | ||
| </script> | ||
| <template> | ||
| <div class="m-4"> | ||
| <Button class="w-full" @click="copyToClipboard(JSON.stringify(errors))"> | ||
| {{ t('g.copy') }} | ||
| <i class="icon-[lucide--copy] size-4" /> | ||
| </Button> | ||
| </div> | ||
| <div | ||
| v-for="(error, index) in errors.flatMap((ne) => ne.errors)" | ||
| :key="index" | ||
| class="px-2" | ||
| > | ||
| <h3 class="text-error" v-text="error.message" /> | ||
| <div class="text-muted-foreground" v-text="error.details" /> | ||
| </div> | ||
| </template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.