Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
7944d18
component: Initial shadcn button commit
DrJKL Dec 15, 2025
d9bde9b
style: Align variants with Figma designs (excluding outlined)
DrJKL Dec 15, 2025
67e446d
component: Stories (mostly copied from TextButton)
DrJKL Dec 15, 2025
5ea477d
component: First migration to standard Button
DrJKL Dec 15, 2025
9eecc11
component: Second use of TextButton replaced with Button (also texton…
DrJKL Dec 16, 2025
2ba7774
component: Migrate clear button in multiselect.
DrJKL Dec 16, 2025
f5f9970
component: Migrating more TextButtons
DrJKL Dec 16, 2025
0931aa7
component: migrate Job Filters Tab buttons
DrJKL Dec 16, 2025
c1fdaea
component: Remaining TextButton instances
DrJKL Dec 16, 2025
e7b85f5
cleanup: Delete TextButton
DrJKL Dec 16, 2025
517fade
fix: Still need to figure out why the body font doesn't apply sometimes.
DrJKL Dec 16, 2025
6b7d6ea
Feat: Combinatoric Story
DrJKL Dec 16, 2025
c83b61c
feat: Use the variants/sizes in generating the story, add a Single Bu…
DrJKL Dec 16, 2025
816b693
cleanup: Simplify button options, add two text only variants
DrJKL Dec 16, 2025
9772832
component: Update what used to be subtype
DrJKL Dec 16, 2025
472ca5b
Storybook: Static size with a maintenance comment
DrJKL Dec 16, 2025
49b17d2
fix: Update subtype props
DrJKL Dec 16, 2025
e88c84d
[automated] Apply ESLint and Prettier fixes
actions-user Dec 16, 2025
82de3b6
Even better: Didn't need that button.
DrJKL Dec 17, 2025
2b2e32a
Fix: Make sure storybook works by disabling vue devtools
DrJKL Dec 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
component: migrate Job Filters Tab buttons
  • Loading branch information
DrJKL committed Dec 17, 2025
commit 0931aa7ae21273288e310cd61343cc5863264e68
18 changes: 9 additions & 9 deletions src/components/queue/job/JobFiltersBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<div class="flex items-center justify-between gap-2 px-3">
<div class="min-w-0 flex-1 overflow-x-auto">
<div class="inline-flex items-center gap-1 whitespace-nowrap">
<TextButton
<Button
v-for="tab in visibleJobTabs"
:key="tab"
class="h-6 px-3 py-1 text-[12px] leading-none hover:opacity-90"
:type="selectedJobTab === tab ? 'secondary' : 'transparent'"
:class="[
selectedJobTab === tab ? 'text-text-primary' : 'text-text-secondary'
]"
:label="tabLabel(tab)"
variant="secondary"
:subtype="selectedJobTab === tab ? 'unset' : 'textonly'"
size="sm"
class="px-3"
@click="$emit('update:selectedJobTab', tab)"
/>
>
{{ tabLabel(tab) }}
</Button>
</div>
</div>
<div class="ml-2 flex shrink-0 items-center gap-2">
Expand Down Expand Up @@ -155,7 +155,7 @@ import { useI18n } from 'vue-i18n'

import IconButton from '@/components/button/IconButton.vue'
import IconTextButton from '@/components/button/IconTextButton.vue'
import TextButton from '@/components/button/TextButton.vue'
import Button from '@/components/ui/button/Button.vue'
import { jobSortModes, jobTabs } from '@/composables/queue/useJobList'
import type { JobSortMode, JobTab } from '@/composables/queue/useJobList'
import { buildTooltipConfig } from '@/composables/useTooltipConfig'
Expand Down