mirror of
https://github.com/Gimanh/taskview-community.git
synced 2026-09-24 19:32:09 +00:00
Merge pull request #36 from Gimanh/chore/version-1-24
chore: version up
This commit is contained in:
+3
-2
@@ -1,11 +1,12 @@
|
||||
{
|
||||
"name": "taskview-ce-api-server",
|
||||
"version": "1.20.7",
|
||||
"version": "1.24.0",
|
||||
"scripts": {
|
||||
"dev": "bun run --watch ./server.ts",
|
||||
"start": "NODE_ENV=production node ./dist/taskview-server.js",
|
||||
"build": "vite build",
|
||||
"build:docker": "vite build --config ./vite.config.docker.mts",
|
||||
"build:packages": "pnpm --filter taskview-db-schemas build && pnpm --filter taskview-api build",
|
||||
"build:docker": "pnpm run build:packages && vite build --config ./vite.config.docker.mts",
|
||||
"build:migration": "vite build --config ./vite.config-migration.mts",
|
||||
"build:all": "pnpm run build:docker && pnpm run build:migration",
|
||||
"test": "vitest",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "taskview-ce-monorepo",
|
||||
"version": "1.20.7",
|
||||
"version": "1.24.0",
|
||||
"private": true,
|
||||
"description": "TaskView CE monorepo containing web, API, and packages",
|
||||
"workspaces": [
|
||||
|
||||
+3
-2
@@ -2,10 +2,11 @@
|
||||
"name": "web-nuxt-ui",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"version": "1.20.7",
|
||||
"version": "1.24.0",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "pnpm run typecheck && vite build",
|
||||
"build:packages": "pnpm --filter taskview-db-schemas build && pnpm --filter taskview-api build",
|
||||
"build": "pnpm run build:packages && pnpm run typecheck && vite build",
|
||||
"build-only": "vite build",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint src",
|
||||
|
||||
@@ -134,7 +134,7 @@ const { projectId } = useAppRouteInfo()
|
||||
const goalsStore = useGoalsStore()
|
||||
const integrationsStore = useIntegrationsStore()
|
||||
|
||||
const { canViewIntegrations, canManageIntegrations } = useGoalPermissions()
|
||||
const { canManageIntegrations } = useGoalPermissions()
|
||||
const { integrations, repos, reposLoading } = storeToRefs(integrationsStore)
|
||||
const loading = ref(false)
|
||||
const isAddModalOpen = ref(false)
|
||||
|
||||
@@ -78,7 +78,7 @@ const { canDeleteTask } = useGoalPermissions()
|
||||
const localAmount = ref<string>(formatDisplay(props.amount))
|
||||
const tabResetKey = ref(0)
|
||||
// don't overwrite what user is typing with server response like "2.00"
|
||||
let editing:boolean = false
|
||||
const editing = ref(false)
|
||||
|
||||
function formatDisplay(value: number | string | null): string {
|
||||
if (value === null || value === '') return ''
|
||||
@@ -90,7 +90,7 @@ function formatDisplay(value: number | string | null): string {
|
||||
|
||||
// only sync from server when user is not editing
|
||||
watch(() => props.amount, (newAmount) => {
|
||||
if (editing) return
|
||||
if (editing.value) return
|
||||
localAmount.value = formatDisplay(newAmount)
|
||||
})
|
||||
|
||||
@@ -144,7 +144,7 @@ function handleAmountInput(value: string | number) {
|
||||
}
|
||||
|
||||
function handleBlur() {
|
||||
editing = false
|
||||
editing.value = false
|
||||
// clean up display: "2." -> "2", "02" -> "2"
|
||||
localAmount.value = formatDisplay(localAmount.value || null)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user