Skip to content

Commit

Permalink
fix: bundle size and routes, refactor: core
Browse files Browse the repository at this point in the history
  • Loading branch information
mnenie committed Jan 23, 2025
1 parent 5a8d6ff commit 707ce93
Show file tree
Hide file tree
Showing 23 changed files with 111 additions and 633 deletions.
3 changes: 2 additions & 1 deletion apps/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"dayjs": "1.11.13",
"echarts": "5.6.0",
"floating-vue": "^5.2.2",
"pinia": "^2.1.7",
"radix-vue": "^1.9.12",
Expand All @@ -62,7 +63,7 @@
"unplugin-vue-router-extend": "0.1.15",
"vee-validate": "^4.15.0",
"vue": "^3.5.8",
"vue-data-ui": "^2.3.44",
"vue-echarts": "7.0.3",
"vue-i18n": "^11.0.1",
"vue-router": "^4.3.3",
"vue-sonner": "^1.2.1",
Expand Down
2 changes: 0 additions & 2 deletions apps/client/src/core/components/sidebar/AppSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { computed } from 'vue'
import { refDebounced } from '@vueuse/core'
import InfoMenu from './InfoMenu.vue'
import IntegrationItems from './IntegrationItems.vue'
import ProjectsList from './ProjectsList.vue'
import WorkSpace from './WorkSpace.vue'
import WorkspaceChooser from './WorkSpaceChooser.vue'
import PlanCard from './plan/PlanCard.vue'
Expand Down Expand Up @@ -40,7 +39,6 @@ const paddingExpanded = computed(() => {
<SearchBox :boards />
<WorkSpace :links />
<IntegrationItems />
<ProjectsList :boards />
</div>
<div>
<InfoMenu :is-show-plan />
Expand Down
98 changes: 0 additions & 98 deletions apps/client/src/core/components/sidebar/ProjectsList.vue

This file was deleted.

3 changes: 0 additions & 3 deletions apps/client/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { createApp } from 'vue'
import { createHead } from '@unhead/vue'
import { vTooltip } from 'floating-vue'
import Vue3Marquee from 'vue3-marquee'
import { VueUiRadar } from 'vue-data-ui'

// @ts-expect-error: unresolved type definitions for vue-writer
import VueWriter from 'vue-writer'
Expand All @@ -17,7 +16,6 @@ import './styles/index.css'
import '@unocss/reset/tailwind-compat.css'
import 'virtual:uno.css'
import 'floating-vue/dist/style.css'
import 'vue-data-ui/style.css'

const app = createApp(App)
// head plugin
Expand All @@ -31,5 +29,4 @@ app.use(autoAnimatePlugin)
app.use(Vue3Marquee)
app.use(VueWriter)
app.directive('tooltip', vTooltip)
app.component('VueUiRadar', VueUiRadar)
app.mount('#app')
20 changes: 20 additions & 0 deletions apps/client/src/modules/calendar/pages/calendar.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<script setup lang="ts">
import { useHead } from '@unhead/vue'
definePage({
meta: {
requiresAuth: true,
},
name: 'calendar',
})
useHead({
title: 'Calendar - Jenda',
})
</script>

<template>
<div>
Calendar
</div>
</template>
40 changes: 0 additions & 40 deletions apps/client/src/modules/charts/components/ChartItemWrapper.vue

This file was deleted.

17 changes: 0 additions & 17 deletions apps/client/src/modules/charts/components/SharedSection.vue

This file was deleted.

100 changes: 0 additions & 100 deletions apps/client/src/modules/charts/components/charts/BoardsChart.vue

This file was deleted.

Loading

0 comments on commit 707ce93

Please sign in to comment.