mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-17 20:52:14 +01:00
refactor to shadcn components, dynamically load extension frontend
add jetstream permissions, add dynamic inertia module loading, add shadcn components, change modals and dropdowns to shadcn dismissable layer,
This commit is contained in:
@@ -60,10 +60,6 @@ const showEditProjectModal = ref(false);
|
||||
|
||||
const activeTab = ref<'active' | 'done'>('active');
|
||||
|
||||
function isActiveTab(tab: string) {
|
||||
return activeTab.value === tab;
|
||||
}
|
||||
|
||||
const { tasks } = storeToRefs(useTasksStore());
|
||||
|
||||
const shownTasks = computed(() => {
|
||||
@@ -97,7 +93,7 @@ const shownTasks = computed(() => {
|
||||
<div
|
||||
class="flex items-center space-x-3 text-text-primary font-semibold text-base">
|
||||
<ChevronRightIcon
|
||||
class="h-5 w-5 flex-shrink-0 text-muted"
|
||||
class="h-5 w-5 flex-shrink-0 text-text-secondary"
|
||||
aria-hidden="true" />
|
||||
<div class="flex space-x-3 items-center">
|
||||
<div
|
||||
@@ -149,15 +145,15 @@ const shownTasks = computed(() => {
|
||||
<div
|
||||
class="w-full items-center flex justify-between">
|
||||
<div class="pl-6">
|
||||
<TabBar>
|
||||
<TabBar
|
||||
v-model="activeTab"
|
||||
>
|
||||
<TabBarItem
|
||||
:active="isActiveTab('active')"
|
||||
@click="activeTab = 'active'"
|
||||
value="active"
|
||||
>Active
|
||||
</TabBarItem>
|
||||
<TabBarItem
|
||||
:active="isActiveTab('done')"
|
||||
@click="activeTab = 'done'"
|
||||
value="done"
|
||||
>Done
|
||||
</TabBarItem>
|
||||
</TabBar>
|
||||
|
||||
Reference in New Issue
Block a user