Skip to content

TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.

fix: ui and recurring issues

Nikolai Giman22dc24f8e09e
diff --git a/README.md b/README.md
index 217c129..1572563 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# TaskView™
<p align="center">
- <img src="./assets/taskview-logo.png" alt="TaskView logo" width="320">
+ <img src="./assets/taskview/kanban-dark.png" alt="TaskView logo" width="320">
</p>
<p align="center">
@@ -13,6 +13,35 @@
analytics, and AI-assisted automation in a platform you can run on your own infrastructure.
</p>
+<details>
+ <summary><strong>View more screenshots</strong></summary>
+
+ <br>
+
+ <img src="./assets/taskview/main-light.png" alt="Main dashboard (light theme)" width="100%">
+ <img src="./assets/taskview/main-dark.png" alt="Main dashboard (dark theme)" width="100%">
+ <img src="./assets/taskview/main-collapsed-light.png" alt="Main dashboard with collapsed sidebar (light theme)" width="100%">
+ <img src="./assets/taskview/main-collapsed-dark.png" alt="Main dashboard with collapsed sidebar (dark theme)" width="100%">
+ <img src="./assets/taskview/kanban-light.png" alt="Kanban board (light theme)" width="100%">
+ <img src="./assets/taskview/kanban-dark.png" alt="Kanban board (dark theme)" width="100%">
+ <img src="./assets/taskview/tasks-light.png" alt="Task list view (light theme)" width="100%">
+ <img src="./assets/taskview/tasks-dark.png" alt="Task list view (dark theme)" width="100%">
+ <img src="./assets/taskview/recent-tasks.png" alt="Recent tasks overview" width="100%">
+ <img src="./assets/taskview/sprints.png" alt="Sprint planning" width="100%">
+ <img src="./assets/taskview/time-tracking.png" alt="Time tracking" width="100%">
+ <img src="./assets/taskview/analytics.png" alt="Analytics dashboard" width="100%">
+ <img src="./assets/taskview/members.png" alt="Organization members management" width="100%">
+ <img src="./assets/taskview/permissions-light.png" alt="Role permissions (light theme)" width="100%">
+ <img src="./assets/taskview/permissions-dark.png" alt="Role permissions (dark theme)" width="100%">
+ <img src="./assets/taskview/sso.png" alt="Single Sign-On (SSO) configuration" width="100%">
+ <img src="./assets/taskview/api-tokens.png" alt="API tokens management" width="100%">
+ <img src="./assets/taskview/webhooks.png" alt="Webhooks configuration" width="100%">
+ <img src="./assets/taskview/integrations.png" alt="Integrations" width="100%">
+ <img src="./assets/taskview/ui-customization.png" alt="UI customization" width="100%">
+ <img src="./assets/taskview/settings.png" alt="Settings" width="100%">
+
+</details>
+
<p align="center">
<a href="https://app.taskview.tech"><strong>TaskView Cloud</strong></a>
·
diff --git a/api/package.json b/api/package.json
index efbeddd..4f31cbb 100644
--- a/api/package.json
+++ b/api/package.json
@@ -1,6 +1,6 @@
{
"name": "taskview-ce-api-server",
- "version": "1.45.0",
+ "version": "1.48.1",
"scripts": {
"dev": "bun run --watch ./server.ts",
"start": "NODE_ENV=production node ./dist/taskview-server.js",
@@ -83,4 +83,4 @@
"engines": {
"node": ">=24 <25"
}
-}
+}
\ No newline at end of file
diff --git a/api/src/tv-modules/analytics/AnalyticsController.ts b/api/src/tv-modules/analytics/AnalyticsController.ts
index d1347eb..303c5df 100644
--- a/api/src/tv-modules/analytics/AnalyticsController.ts
+++ b/api/src/tv-modules/analytics/AnalyticsController.ts
@@ -28,7 +28,7 @@ export class AnalyticsController {
scope = { kind: out.scope }
}
- const range = resolveRange(out.period, out.from, out.to)
+ const range = resolveRange({ period: out.period, timezone: out.timezone, from: out.from, to: out.to })
if (!range) return res.status(400).send('invalid range')
const sectionIds = out.sections
@@ -41,6 +41,7 @@ export class AnalyticsController {
organizationId: out.organizationId,
period: out.period,
range,
+ timezone: out.timezone,
sectionIds,
})
return res.tvJson(data)
@@ -76,7 +77,7 @@ export class AnalyticsController {
scope = { kind: out.scope }
}
- const range = resolveRange(out.period, out.from, out.to)
+ const range = resolveRange({ period: out.period, timezone: out.timezone, from: out.from, to: out.to })
if (!range) return res.status(400).send('invalid range')
const meta = parseDrillDownMeta(out.meta)
diff --git a/api/src/tv-modules/analytics/AnalyticsManager.ts b/api/src/tv-modules/analytics/AnalyticsManager.ts
index ba623cd..9e1d322 100644
--- a/api/src/tv-modules/analytics/AnalyticsManager.ts
+++ b/api/src/tv-modules/analytics/AnalyticsManager.ts
@@ -10,6 +10,7 @@ import type { AppUser } from '../../core/AppUser'
import { $logger } from '../../modules/logget'
import { GoalPermissions } from '../../types/auth.types'
import { AnalyticsRepository } from './AnalyticsRepository'
+import { formatDateInZone } from './helpers'
import { SectionRegistry } from './sections/SectionRegistry'
import type {
AnalyticsArgBuildSections,
@@ -45,7 +46,7 @@ export class AnalyticsManager {
}
async buildSections(params: AnalyticsArgBuildSections): Promise<AnalyticsSectionsResponse> {
- const { scope, organizationId, period, range, sectionIds } = params
+ const { scope, organizationId, period, range, timezone, sectionIds } = params
const allAccessible = await this.getAccessibleGoalIds(organizationId)
const accessibleGoalIds = this.narrowToScope(allAccessible, scope)
@@ -86,7 +87,7 @@ export class AnalyticsManager {
return {
scope,
period,
- range: { from: range.from.toISOString(), to: range.to.toISOString() },
+ range: { from: formatDateInZone(range.from, timezone), to: formatDateInZone(range.to, timezone) },
sections,
availableGoals,
failedSectionIds,
diff --git a/api/src/tv-modules/analytics/helpers.ts b/api/src/tv-modules/analytics/helpers.ts
index dd578ee..0cbfe96 100644
--- a/api/src/tv-modules/analytics/helpers.ts
+++ b/api/src/tv-modules/analytics/helpers.ts
@@ -1,7 +1,8 @@
import { type } from 'arktype'
import { sql, type SQL } from 'drizzle-orm'
+import { DateTime } from 'luxon'
import type { AnalyticsPeriod } from 'taskview-api'
-import { DrillDownMetaArkType, type AnalyticsRange, type DrillDownMeta } from './types'
+import { DrillDownMetaArkType, type AnalyticsRange, type DrillDownMeta, type ResolveRangeArgs } from './types'
const MAX_INT32 = 2147483647
@@ -23,32 +24,51 @@ export function parseDrillDownMeta(raw: string | undefined): DrillDownMeta {
}
}
-export function resolveRange(
- period: AnalyticsPeriod,
- from?: string,
- to?: string,
-): AnalyticsRange | null {
- const now = new Date()
+const DAYS_BY_PERIOD: Record<Exclude<AnalyticsPeriod, 'custom' | 'month'>, number> = {
+ '7d': 7,
+ '30d': 30,
+ '90d': 90,
+ '180d': 180,
+ '365d': 365,
+}
+
+/**
+ * Resolve a period into a concrete UTC instant range, with all calendar
+ * boundaries ("this month", a custom day) computed in the *viewer's* IANA
+ * timezone — not the server's. The returned Dates are real instants used for
+ * SQL filtering; the user-facing 'YYYY-MM-DD' labels come from
+ * {@link formatDateInZone} with the same timezone.
+ */
+export function resolveRange(args: ResolveRangeArgs): AnalyticsRange | null {
+ const { period, from, to } = args
+ const zone = args.timezone && DateTime.now().setZone(args.timezone).isValid ? args.timezone : 'utc'
+ const now = DateTime.now().setZone(zone)
if (period === 'custom') {
if (!from || !to) return null
- const fromDate = new Date(from)
- const toDate = new Date(to)
- if (Number.isNaN(fromDate.getTime()) || Number.isNaN(toDate.getTime())) return null
- if (fromDate > toDate) return null
- const maxRangeMs = 365 * 24 * 60 * 60 * 1000
- if (toDate.getTime() - fromDate.getTime() > maxRangeMs) return null
- return { from: fromDate, to: toDate }
+ const fromDt = DateTime.fromISO(from.slice(0, 10), { zone }).startOf('day')
+ const toDt = DateTime.fromISO(to.slice(0, 10), { zone }).endOf('day')
+ if (!fromDt.isValid || !toDt.isValid) return null
+ if (fromDt > toDt) return null
+ const maxRangeMs = 366 * 24 * 60 * 60 * 1000
+ if (toDt.toMillis() - fromDt.toMillis() > maxRangeMs) return null
+ return { from: fromDt.toJSDate(), to: toDt.toJSDate() }
}
- const daysByPeriod: Record<Exclude<AnalyticsPeriod, 'custom'>, number> = {
- '7d': 7,
- '30d': 30,
- '90d': 90,
- '180d': 180,
- '365d': 365,
+ if (period === 'month') {
+ return { from: now.startOf('month').toJSDate(), to: now.toJSDate() }
}
- const days = daysByPeriod[period]
- const fromDate = new Date(now.getTime() - days * 24 * 60 * 60 * 1000)
- return { from: fromDate, to: now }
+
+ return { from: now.minus({ days: DAYS_BY_PERIOD[period] }).toJSDate(), to: now.toJSDate() }
+}
+
+/**
+ * Format a range boundary as a 'YYYY-MM-DD' calendar day in the viewer's
+ * timezone. Slicing a UTC ISO string instead would shift the day across the
+ * date line for offset timezones (e.g. a "this month" range rendering from the
+ * 31st of the prior month).
+ */
+export function formatDateInZone(date: Date, timezone?: string): string {
+ const dt = DateTime.fromJSDate(date).setZone(timezone && DateTime.fromJSDate(date).setZone(timezone).isValid ? timezone : 'utc')
+ return dt.toISODate() as string
}
diff --git a/api/src/tv-modules/analytics/types.ts b/api/src/tv-modules/analytics/types.ts
index 2e6620c..b315c4c 100644
--- a/api/src/tv-modules/analytics/types.ts
+++ b/api/src/tv-modules/analytics/types.ts
@@ -20,8 +20,9 @@ const nonNegativeIntFromQuery = type('string | number')
export const AnalyticsFetchSectionsArkType = type({
scope: "'org' | 'project'",
organizationId: positiveIntFromQuery,
- period: "'7d' | '30d' | '90d' | '180d' | '365d' | 'custom'",
+ period: "'month' | '7d' | '30d' | '90d' | '180d' | '365d' | 'custom'",
'goalId?': positiveIntFromQuery,
+ 'timezone?': 'string',
'from?': 'string',
'to?': 'string',
'sections?': 'string',
@@ -30,8 +31,9 @@ export const AnalyticsFetchSectionsArkType = type({
export const AnalyticsDrillDownArkType = type({
scope: "'org' | 'project'",
organizationId: positiveIntFromQuery,
- period: "'7d' | '30d' | '90d' | '180d' | '365d' | 'custom'",
+ period: "'month' | '7d' | '30d' | '90d' | '180d' | '365d' | 'custom'",
'goalId?': positiveIntFromQuery,
+ 'timezone?': 'string',
'from?': 'string',
'to?': 'string',
'bucket?': 'string',
@@ -53,6 +55,14 @@ export type AnalyticsRange = {
to: Date
}
+export type ResolveRangeArgs = {
+ period: AnalyticsPeriod
+ /** IANA timezone the period boundaries are resolved in; defaults to UTC. */
+ timezone?: string
+ from?: string
+ to?: string
+}
+
export type BuilderContext = {
appUser: AppUser
scope: AnalyticsScope
@@ -97,6 +107,8 @@ export type AnalyticsArgBuildSections = {
organizationId: number
period: AnalyticsPeriod
range: AnalyticsRange
+ /** IANA timezone of the viewer; used to format the response range. */
+ timezone?: string
sectionIds?: string[]
}
diff --git a/api/src/tv-modules/notifications/NotificationDispatcher.ts b/api/src/tv-modules/notifications/NotificationDispatcher.ts
index 700c8eb..c97f2a5 100644
--- a/api/src/tv-modules/notifications/NotificationDispatcher.ts
+++ b/api/src/tv-modules/notifications/NotificationDispatcher.ts
@@ -28,6 +28,8 @@ export class NotificationDispatcher implements Dispatcher {
eventBus.on('task.updated', (data) => this.onTaskUpdated(data));
eventBus.on('task.assigneesChanged', (data) => this.onAssigneesChanged(data));
eventBus.on('task.deleted', (data) => this.onTaskDeleted(data));
+ eventBus.on('recurrence.created', (data) => this.onRecurrenceScheduled(data));
+ eventBus.on('recurrence.updated', (data) => this.onRecurrenceScheduled(data));
}
async registerWorkers(): Promise<void> {
@@ -79,6 +81,19 @@ export class NotificationDispatcher implements Dispatcher {
}
}
+ private async onRecurrenceScheduled(data: AppEvents['recurrence.created'] | AppEvents['recurrence.updated']): Promise<void> {
+ const instance = await new RecurrenceRepository().findOpenInstance(data.rule.id);
+ if (!instance) return;
+
+ this.notificationsRepo.deleteByTaskAndType(instance.id, NotificationType.DEADLINE);
+ await this.deadlineScheduler.cancel(instance.id);
+
+ if (data.rule.notifyOnOccurrence && instance.endDate) {
+ $logger.info(`[NotificationDispatcher] Scheduling occurrence deadline for task=${instance.id}, rule=${data.rule.id}`);
+ await this.deadlineScheduler.schedule(instance, data.initiatorId);
+ }
+ }
+
private async onAssigneesChanged(data: AppEvents['task.assigneesChanged']): Promise<void> {
if (data.userIds.length === 0) return;
diff --git a/api/src/tv-modules/recurrence/RecurrenceManager.ts b/api/src/tv-modules/recurrence/RecurrenceManager.ts
index 064e4ac..3941601 100644
--- a/api/src/tv-modules/recurrence/RecurrenceManager.ts
+++ b/api/src/tv-modules/recurrence/RecurrenceManager.ts
@@ -230,6 +230,22 @@ export class RecurrenceManager {
const updated = await this.repository.patch({ ruleId: args.ruleId, patch });
if (!updated) return fail('invalid_state');
+ if (patch.dtstart !== undefined || patch.timezone !== undefined || patch.rrule !== undefined) {
+ const openInstance = await this.repository.findOpenInstance(args.ruleId);
+ if (openInstance?.recurrenceInstanceDate) {
+ await this.repository.updateInstanceWindow({
+ taskId: openInstance.id,
+ window: RecurrenceParser.instanceWindowUtc({
+ occurrenceDate: openInstance.recurrenceInstanceDate,
+ dtstart: updated.dtstart,
+ hasTime: updated.hasTime,
+ timezone: updated.timezone,
+ durationMinutes: updated.templateDurationMinutes,
+ }),
+ });
+ }
+ }
+
eventBus.emit('recurrence.updated', { rule: updated, changes: patch, initiatorId: this.initiatorId });
return ok(await this.cleanRuleFieldsRegardPermissions(updated));
}
diff --git a/api/src/tv-modules/recurrence/RecurrenceRepository.ts b/api/src/tv-modules/recurrence/RecurrenceRepository.ts
index 7c1572c..a34cb35 100644
--- a/api/src/tv-modules/recurrence/RecurrenceRepository.ts
+++ b/api/src/tv-modules/recurrence/RecurrenceRepository.ts
@@ -19,6 +19,7 @@ import type {
CreateRuleWithOriginResult,
RecurrenceRulePatchArgs,
RemoveTemplateAssigneeFromGoalArgs,
+ UpdateInstanceWindowArgs,
} from './types';
const PG_UNIQUE_VIOLATION = '23505';
@@ -194,6 +195,21 @@ export class RecurrenceRepository {
return result?.[0] ?? null;
}
+ /** Re-stamp an open instance's deadline window after the series time/timezone changed. */
+ async updateInstanceWindow(args: UpdateInstanceWindowArgs): Promise<void> {
+ await callWithCatch(() =>
+ this.db.dbDrizzle
+ .update(TasksSchema)
+ .set({
+ startDate: args.window.startDate,
+ startTime: args.window.startTime,
+ endDate: args.window.endDate,
+ endTime: args.window.endTime,
+ })
+ .where(eq(TasksSchema.id, args.taskId))
+ );
+ }
+
/** Active rules with no open instance — the reconcile sweep input. Empty in normal operation. */
async findStalledActiveRules(): Promise<RecurrenceRulesSchemaTypeForSelect[]> {
const openInstance = this.db.dbDrizzle
diff --git a/api/src/tv-modules/recurrence/types.ts b/api/src/tv-modules/recurrence/types.ts
index 3c95b30..6276e73 100644
--- a/api/src/tv-modules/recurrence/types.ts
+++ b/api/src/tv-modules/recurrence/types.ts
@@ -81,6 +81,11 @@ export type InstanceWindow = {
/** Repository args */
+export type UpdateInstanceWindowArgs = {
+ taskId: number;
+ window: InstanceWindow;
+};
+
export type RecurrenceRulePatchArgs = {
ruleId: number;
patch: Partial<{
diff --git a/api/src/tv-modules/tasks/TaskItemForClient.ts b/api/src/tv-modules/tasks/TaskItemForClient.ts
index 4ee8c74..d0411a2 100644
--- a/api/src/tv-modules/tasks/TaskItemForClient.ts
+++ b/api/src/tv-modules/tasks/TaskItemForClient.ts
@@ -36,6 +36,7 @@ export class TaskItemForClient {
amount: number | null;
transactionType: 1 | 0 | null;
nodeGraphPosition: Record<string, unknown> | null;
+ recurrenceRuleId: number | null;
constructor(task: TaskItemInDb, tags: number[] = [], historyId: number | null = null, assignees: number[] = []) {
this.id = task.id;
@@ -69,5 +70,6 @@ export class TaskItemForClient {
this.amount = task.amount;
this.transactionType = task.transaction_type;
this.nodeGraphPosition = task.node_graph_position;
+ this.recurrenceRuleId = task.recurrence_rule_id;
}
}
diff --git a/api/src/types/tasks.types.ts b/api/src/types/tasks.types.ts
index 243f880..e34c27f 100644
--- a/api/src/types/tasks.types.ts
+++ b/api/src/types/tasks.types.ts
@@ -26,6 +26,7 @@ export type TaskItemInDb = {
amount: number | null;
transaction_type: 1 | 0 | null;
node_graph_position: Record<string, unknown> | null;
+ recurrence_rule_id: number | null;
// history_id?: number | null;
};
diff --git a/assets/taskview/analytics.png b/assets/taskview/analytics.png
new file mode 100644
index 0000000..b87477b
Binary files /dev/null and b/assets/taskview/analytics.png differ
diff --git a/assets/taskview/api-tokens.png b/assets/taskview/api-tokens.png
new file mode 100644
index 0000000..c99dba9
Binary files /dev/null and b/assets/taskview/api-tokens.png differ
diff --git a/assets/taskview/integrations.png b/assets/taskview/integrations.png
new file mode 100644
index 0000000..85a8c5a
Binary files /dev/null and b/assets/taskview/integrations.png differ
diff --git a/assets/taskview/kanban-dark.png b/assets/taskview/kanban-dark.png
new file mode 100644
index 0000000..5f60cfa
Binary files /dev/null and b/assets/taskview/kanban-dark.png differ
diff --git a/assets/taskview/kanban-light.png b/assets/taskview/kanban-light.png
new file mode 100644
index 0000000..108e100
Binary files /dev/null and b/assets/taskview/kanban-light.png differ
diff --git a/assets/taskview/main-collapsed-dark.png b/assets/taskview/main-collapsed-dark.png
new file mode 100644
index 0000000..fc34db4
Binary files /dev/null and b/assets/taskview/main-collapsed-dark.png differ
diff --git a/assets/taskview/main-collapsed-light.png b/assets/taskview/main-collapsed-light.png
new file mode 100644
index 0000000..53c11eb
Binary files /dev/null and b/assets/taskview/main-collapsed-light.png differ
diff --git a/assets/taskview/main-dark.png b/assets/taskview/main-dark.png
new file mode 100644
index 0000000..4349ce7
Binary files /dev/null and b/assets/taskview/main-dark.png differ
diff --git a/assets/taskview/main-light.png b/assets/taskview/main-light.png
new file mode 100644
index 0000000..d5da4d6
Binary files /dev/null and b/assets/taskview/main-light.png differ
diff --git a/assets/taskview/members.png b/assets/taskview/members.png
new file mode 100644
index 0000000..07061f3
Binary files /dev/null and b/assets/taskview/members.png differ
diff --git a/assets/taskview/permissions-dark.png b/assets/taskview/permissions-dark.png
new file mode 100644
index 0000000..0644574
Binary files /dev/null and b/assets/taskview/permissions-dark.png differ
diff --git a/assets/taskview/permissions-light.png b/assets/taskview/permissions-light.png
new file mode 100644
index 0000000..c084cbe
Binary files /dev/null and b/assets/taskview/permissions-light.png differ
diff --git a/assets/taskview/recent-tasks.png b/assets/taskview/recent-tasks.png
new file mode 100644
index 0000000..9134865
Binary files /dev/null and b/assets/taskview/recent-tasks.png differ
diff --git a/assets/taskview/settings.png b/assets/taskview/settings.png
new file mode 100644
index 0000000..959c5ce
Binary files /dev/null and b/assets/taskview/settings.png differ
diff --git a/assets/taskview/sprints.png b/assets/taskview/sprints.png
new file mode 100644
index 0000000..637f0a1
Binary files /dev/null and b/assets/taskview/sprints.png differ
diff --git a/assets/taskview/sso.png b/assets/taskview/sso.png
new file mode 100644
index 0000000..4f526e6
Binary files /dev/null and b/assets/taskview/sso.png differ
diff --git a/assets/taskview/tasks-dark.png b/assets/taskview/tasks-dark.png
new file mode 100644
index 0000000..a11b249
Binary files /dev/null and b/assets/taskview/tasks-dark.png differ
diff --git a/assets/taskview/tasks-light.png b/assets/taskview/tasks-light.png
new file mode 100644
index 0000000..4754a8a
Binary files /dev/null and b/assets/taskview/tasks-light.png differ
diff --git a/assets/taskview/time-tracking.png b/assets/taskview/time-tracking.png
new file mode 100644
index 0000000..bd50f92
Binary files /dev/null and b/assets/taskview/time-tracking.png differ
diff --git a/assets/taskview/ui-customization.png b/assets/taskview/ui-customization.png
new file mode 100644
index 0000000..d7c1fc4
Binary files /dev/null and b/assets/taskview/ui-customization.png differ
diff --git a/assets/taskview/webhooks.png b/assets/taskview/webhooks.png
new file mode 100644
index 0000000..5974fa9
Binary files /dev/null and b/assets/taskview/webhooks.png differ
diff --git a/package.json b/package.json
index bec908d..633d5d9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "taskview-ce-monorepo",
- "version": "1.45.0",
+ "version": "1.48.1",
"private": true,
"description": "TaskView CE monorepo containing web, API, and packages",
"workspaces": [
@@ -44,4 +44,4 @@
"passport-github2": "^0.1.12",
"passport-google-oauth20": "^2.0.0"
}
-}
+}
\ No newline at end of file
diff --git a/taskview-packages/taskview-api/src/api/analytics.ts b/taskview-packages/taskview-api/src/api/analytics.ts
index 0a0cbd7..8930e62 100644
--- a/taskview-packages/taskview-api/src/api/analytics.ts
+++ b/taskview-packages/taskview-api/src/api/analytics.ts
@@ -35,6 +35,7 @@ export default class TvAnalyticsApi extends TvApiBase {
organizationId: String(arg.organizationId),
period: arg.period,
}
+ if (arg.timezone) params.timezone = arg.timezone
if (arg.from) params.from = arg.from
if (arg.to) params.to = arg.to
if (arg.sections?.length) params.sections = arg.sections.join(',')
@@ -53,6 +54,7 @@ export default class TvAnalyticsApi extends TvApiBase {
organizationId: String(arg.organizationId),
period: arg.period,
}
+ if (arg.timezone) params.timezone = arg.timezone
if (arg.from) params.from = arg.from
if (arg.to) params.to = arg.to
if (arg.bucket) params.bucket = arg.bucket
diff --git a/taskview-packages/taskview-api/src/api/analytics.types.ts b/taskview-packages/taskview-api/src/api/analytics.types.ts
index 6a35ce6..15c2e49 100644
--- a/taskview-packages/taskview-api/src/api/analytics.types.ts
+++ b/taskview-packages/taskview-api/src/api/analytics.types.ts
@@ -13,7 +13,7 @@ export type AnalyticsScope =
| { kind: 'org' }
| { kind: 'project'; goalId: number }
-export type AnalyticsPeriod = '7d' | '30d' | '90d' | '180d' | '365d' | 'custom'
+export type AnalyticsPeriod = 'month' | '7d' | '30d' | '90d' | '180d' | '365d' | 'custom'
export type AnalyticsRange = {
from: string
@@ -136,6 +136,8 @@ export type AnalyticsFetchSectionsArg = {
scope: AnalyticsScope
organizationId: number
period: AnalyticsPeriod
+ /** IANA timezone of the viewer; period boundaries are resolved in it. */
+ timezone?: string
from?: string
to?: string
sections?: string[]
@@ -165,6 +167,8 @@ export type AnalyticsFetchDrillDownArg = {
scope: AnalyticsScope
organizationId: number
period: AnalyticsPeriod
+ /** IANA timezone of the viewer; period boundaries are resolved in it. */
+ timezone?: string
from?: string
to?: string
bucket?: string
diff --git a/taskview-packages/taskview-mcp/src/tools/organizations.ts b/taskview-packages/taskview-mcp/src/tools/organizations.ts
index 5de0253..94492a1 100644
--- a/taskview-packages/taskview-mcp/src/tools/organizations.ts
+++ b/taskview-packages/taskview-mcp/src/tools/organizations.ts
@@ -107,7 +107,7 @@ export function registerOrganizationsTools(server: McpServer, api: TvApi) {
server.registerTool(
'add_organization_member',
{
- description: 'Add a member to an organization by email. Requires admin or owner role.',
+ description: 'Add a member to an organization by email. Requires admin or owner role. NOTE: organization membership alone does NOT grant access to any project — the user will not see a project until they are also added to it via invite_collaborator. After adding the member, invite them to the relevant project(s).',
inputSchema: {
organizationId: z.coerce.number().describe('Organization ID'),
email: z.string().describe('Email of the user to add'),
diff --git a/taskview-packages/taskview-mcp/src/tools/tasks.ts b/taskview-packages/taskview-mcp/src/tools/tasks.ts
index e2b4cff..b245346 100644
--- a/taskview-packages/taskview-mcp/src/tools/tasks.ts
+++ b/taskview-packages/taskview-mcp/src/tools/tasks.ts
@@ -81,7 +81,7 @@ export function registerTasksTools(server: McpServer, api: TvApi) {
server.registerTool(
'update_task',
{
- description: 'Update an existing task (description, status, priority, dates, etc.)',
+ description: 'Update an existing task (description, status, priority, dates, cost, etc.)',
inputSchema: {
id: z.coerce.number().describe('Task ID to update'),
description: z.string().optional().describe('New task description'),
@@ -93,6 +93,10 @@ export function registerTasksTools(server: McpServer, api: TvApi) {
startDate: z.string().optional().nullable().describe('Start date (ISO format)'),
endDate: z.string().optional().nullable().describe('End/due date (ISO format)'),
statusId: z.coerce.number().optional().nullable().describe('Kanban column status ID'),
+ amount: z.coerce.string().optional().nullable()
+ .describe('Cost/value of the task (decimal as string, e.g. "1500.00"). Pass null to clear.'),
+ transactionType: z.union([z.literal(1), z.literal(0)]).optional().nullable()
+ .describe('Cost type: 1=income, 0=expense, null=none'),
},
},
async (params) => {
diff --git a/web/android/app/build.gradle b/web/android/app/build.gradle
index 90b3847..db1f52b 100644
--- a/web/android/app/build.gradle
+++ b/web/android/app/build.gradle
@@ -7,8 +7,8 @@ android {
applicationId "com.handscreamgnl.taskview.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 1420
- versionName "1.42.0"
+ versionCode 14801
+ versionName "1.48.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
diff --git a/web/ios/App/App.xcodeproj/project.pbxproj b/web/ios/App/App.xcodeproj/project.pbxproj
index 50da779..02a0c63 100644
--- a/web/ios/App/App.xcodeproj/project.pbxproj
+++ b/web/ios/App/App.xcodeproj/project.pbxproj
@@ -304,7 +304,7 @@
CODE_SIGN_ALLOW_ENTITLEMENTS_MODIFICATION = YES;
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 1.42.0;
+ CURRENT_PROJECT_VERSION = 1.48.1;
DEVELOPMENT_TEAM = H2W2SG48JT;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
@@ -312,7 +312,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- MARKETING_VERSION = 1.42.0;
+ MARKETING_VERSION = 1.48.1;
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
PRODUCT_BUNDLE_IDENTIFIER = com.handscream.taskview.app;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -329,7 +329,7 @@
CODE_SIGN_ALLOW_ENTITLEMENTS_MODIFICATION = YES;
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 1.42.0;
+ CURRENT_PROJECT_VERSION = 1.48.1;
DEVELOPMENT_TEAM = H2W2SG48JT;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
@@ -337,7 +337,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- MARKETING_VERSION = 1.42.0;
+ MARKETING_VERSION = 1.48.1;
PRODUCT_BUNDLE_IDENTIFIER = com.handscream.taskview.app;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
diff --git a/web/package.json b/web/package.json
index 341a19a..77c4284 100644
--- a/web/package.json
+++ b/web/package.json
@@ -2,7 +2,7 @@
"name": "web-nuxt-ui",
"private": true,
"type": "module",
- "version": "1.45.0",
+ "version": "1.48.1",
"scripts": {
"dev": "vite",
"build:packages": "pnpm --filter taskview-db-schemas build && pnpm --filter taskview-api build",
@@ -91,4 +91,4 @@
"vue-tsc": "^3.2.2"
},
"packageManager": "[email protected]"
-}
+}
\ No newline at end of file
diff --git a/web/src/components/NotificationBell.vue b/web/src/components/NotificationBell.vue
index 5b641be..a66b1a5 100644
--- a/web/src/components/NotificationBell.vue
+++ b/web/src/components/NotificationBell.vue
@@ -26,7 +26,7 @@
:fullscreen="isMobile"
:ui="{
overlay: 'sm:items-center sm:justify-center',
- content: 'sm:max-w-lg sm:max-h-[80vh] sm:rounded-lg sm:m-auto w-full',
+ content: 'sm:max-w-lg sm:max-h-[80vh] sm:m-auto w-full',
body: 'p-0!',
footer: 'p-4!',
}"
@@ -91,7 +91,7 @@
>
<UButton
:label="t('notifications.loadMore')"
- variant="ghost"
+ variant="soft"
color="neutral"
size="xs"
block
@@ -107,7 +107,7 @@
<UButton
:label="t('common.close')"
color="neutral"
- variant="outline"
+ variant="soft"
@click="isOpen = false"
/>
</div>
diff --git a/web/src/components/UserMenu.vue b/web/src/components/UserMenu.vue
index b6cb888..e04944e 100644
--- a/web/src/components/UserMenu.vue
+++ b/web/src/components/UserMenu.vue
@@ -261,6 +261,15 @@ const items = computed<DropdownMenuItem[][]>(() => [
saveLocale('de')
},
},
+ {
+ label: 'Español',
+ type: 'checkbox',
+ checked: locale.value === 'es',
+ onSelect(e: Event) {
+ e.preventDefault()
+ saveLocale('es')
+ },
+ },
],
},
{
diff --git a/web/src/components/features/analytics/AnalyticsFilters.vue b/web/src/components/features/analytics/AnalyticsFilters.vue
index 0fc7c9a..2d9e6f5 100644
--- a/web/src/components/features/analytics/AnalyticsFilters.vue
+++ b/web/src/components/features/analytics/AnalyticsFilters.vue
@@ -5,15 +5,46 @@
:items="scopeOptions"
value-key="value"
class="sm:w-64"
+ size="xl"
@update:model-value="onScopeChange"
/>
- <USelectMenu
- :model-value="analyticsStore.period"
- :items="periodOptions"
- value-key="value"
- class="sm:w-40"
- @update:model-value="onPeriodChange"
- />
+
+ <UPopover v-model:open="periodOpen">
+ <UButton
+ icon="i-lucide-calendar"
+ :label="activatorLabel"
+ color="neutral"
+ variant="soft"
+ class="sm:w-auto justify-start"
+ :ui="{ leadingIcon: 'size-4.5' }"
+ />
+
+ <template #content>
+ <div class="p-2 flex flex-col gap-2 w-72">
+ <div class="flex flex-wrap gap-1.5">
+ <UButton
+ v-for="opt in periodOptions"
+ :key="opt.value"
+ :label="opt.label"
+ color="neutral"
+ :variant="analyticsStore.period === opt.value ? 'solid' : 'soft'"
+ size="xs"
+ @click="onPresetClick(opt.value)"
+ />
+ </div>
+
+ <USeparator />
+
+ <UCalendar
+ :model-value="rangeModel"
+ range
+ :week-starts-on="weekStart"
+ @update:model-value="onRangeSelect"
+ />
+ </div>
+ </template>
+ </UPopover>
+
<UButton
icon="i-lucide-refresh-cw"
variant="ghost"
@@ -26,14 +57,24 @@
<script setup lang="ts">
import type { AnalyticsPeriod, AnalyticsScope } from 'taskview-api'
-import { computed } from 'vue'
+import { computed, ref, shallowRef, watch } from 'vue'
import { useI18n } from 'vue-i18n'
+import { useDateFormat } from '@vueuse/core'
+import { CalendarDate } from '@internationalized/date'
+import type { DateValue } from '@internationalized/date'
import { useAnalyticsStore } from '@/stores/analytics.store'
+import { useWeekStart } from '@/composables/useWeekStart'
const analyticsStore = useAnalyticsStore()
const { t } = useI18n()
+const weekStart = useWeekStart()
+
+const periodOpen = ref(false)
+
+type DateRange = { start: DateValue | undefined; end: DateValue | undefined }
const periodOptions = computed<{ label: string; value: AnalyticsPeriod }[]>(() => [
+ { label: t('analytics.filters.periods.month'), value: 'month' },
{ label: t('analytics.filters.periods.7d'), value: '7d' },
{ label: t('analytics.filters.periods.30d'), value: '30d' },
{ label: t('analytics.filters.periods.90d'), value: '90d' },
@@ -41,6 +82,55 @@ const periodOptions = computed<{ label: string; value: AnalyticsPeriod }[]>(() =
{ label: t('analytics.filters.periods.365d'), value: '365d' },
])
+function isoToCalendarDate(iso: string): CalendarDate {
+ const [year, month, day] = iso.slice(0, 10).split('-').map(Number)
+ return new CalendarDate(year, month, day)
+}
+
+// Parse a 'YYYY-MM-DD' as a local date (new Date(iso) would treat it as UTC).
+function localDate(iso: string): Date {
+ const [year, month, day] = iso.slice(0, 10).split('-').map(Number)
+ return new Date(year, month - 1, day)
+}
+
+// Seed the calendar with the active range so the current selection is visible.
+function rangeFromStore(): DateRange {
+ const r = analyticsStore.range
+ if (!r) return { start: undefined, end: undefined }
+ return { start: isoToCalendarDate(r.from), end: isoToCalendarDate(r.to) }
+}
+
+const rangeModel = shallowRef<DateRange>(rangeFromStore())
+
+// Reflect the resolved range whenever it changes (preset clicks, refresh).
+watch(() => analyticsStore.range, () => {
+ rangeModel.value = rangeFromStore()
+})
+
+// User picked a range in the calendar → switch to a custom period.
+function onRangeSelect(value: DateRange | null) {
+ rangeModel.value = value ?? { start: undefined, end: undefined }
+ if (!value?.start || !value?.end) return
+ analyticsStore.setCustomRange(value.start.toString().slice(0, 10), value.end.toString().slice(0, 10))
+ periodOpen.value = false
+}
+
+const activatorLabel = computed(() => {
+ if (analyticsStore.period !== 'custom') {
+ return periodOptions.value.find(o => o.value === analyticsStore.period)?.label ?? ''
+ }
+ const r = analyticsStore.range
+ if (!r) return t('analytics.filters.periods.custom')
+ const from = useDateFormat(localDate(r.from), 'DD MMM YYYY').value
+ const to = useDateFormat(localDate(r.to), 'DD MMM YYYY').value
+ return `${from} — ${to}`
+})
+
+function onPresetClick(value: AnalyticsPeriod) {
+ analyticsStore.setPeriod(value)
+ periodOpen.value = false
+}
+
type ScopeOption = { label: string; value: string; scope: AnalyticsScope }
const scopeOptions = computed<ScopeOption[]>(() => {
@@ -65,10 +155,4 @@ function onScopeChange(value: string) {
const option = scopeOptions.value.find(o => o.value === value)
if (option) analyticsStore.setScope(option.scope)
}
-
-function onPeriodChange(value: AnalyticsPeriod) {
- analyticsStore.setPeriod(value)
-}
</script>
-
-
diff --git a/web/src/components/features/base/TvMobileBottomNav.vue b/web/src/components/features/base/TvMobileBottomNav.vue
index 451cb66..c175d12 100644
--- a/web/src/components/features/base/TvMobileBottomNav.vue
+++ b/web/src/components/features/base/TvMobileBottomNav.vue
@@ -27,6 +27,7 @@ import { useRoute, useRouter, type RouteLocationRaw } from 'vue-router'
import { useI18n } from 'vue-i18n'
import { useDashboard } from '@/composables/useDashboard'
import { useAppRouteInfo } from '@/composables/useAppRouteInfo'
+import { ALL_TASKS_LIST_ID } from 'taskview-api'
import { useGoalsStore } from '@/stores/goals.store'
import { useGoalPermissionsFor } from '@/composables/useGoalPermissions'
@@ -66,7 +67,7 @@ const navItems = computed<NavItem[]>(() => {
{
key: 'projects',
label: t('projects.title'),
- icon: 'i-lucide-folder',
+ icon: 'i-lucide-panel-left',
active: () => isSidebarOpen.value,
onClick: () => { isSidebarOpen.value = !isSidebarOpen.value },
},
@@ -91,15 +92,26 @@ const navItems = computed<NavItem[]>(() => {
active: () => route.name === 'graph',
})
}
+ items.push({
+ key: 'list',
+ label: t('contextMenu.tasks'),
+ icon: 'i-lucide-list',
+ to: { name: 'user', params: { projectId: projectId.value, listId: ALL_TASKS_LIST_ID } },
+ active: () => isUserRoute.value && hasProject.value,
+ })
}
- items.push({
- key: 'account',
- label: t('account.nav'),
- icon: 'i-lucide-settings',
- to: { name: 'account' },
- active: () => isAccountRoute.value,
- })
+ // Inside a project the bar fills up with project shortcuts (List/Kanban/Graph),
+ // so drop Settings there — it stays reachable from the global tabs.
+ if (!hasProject.value) {
+ items.push({
+ key: 'account',
+ label: t('account.nav'),
+ icon: 'i-lucide-settings',
+ to: { name: 'account' },
+ active: () => isAccountRoute.value,
+ })
+ }
return items
})
diff --git a/web/src/components/features/collaboration/CollaborationPanel.vue b/web/src/components/features/collaboration/CollaborationPanel.vue
index 592c871..52d5bf8 100644
--- a/web/src/components/features/collaboration/CollaborationPanel.vue
+++ b/web/src/components/features/collaboration/CollaborationPanel.vue
@@ -16,6 +16,7 @@
v-model="activeTab"
:items="tabs"
class="w-full"
+ :ui="{ list: 'rounded-2xl', trigger: 'rounded-xl', indicator: 'rounded-xl' }"
>
<template #members>
<MembersList
diff --git a/web/src/components/features/collaboration/parts/members/MemberEditModal.vue b/web/src/components/features/collaboration/parts/members/MemberEditModal.vue
index 97a1933..d23f0c3 100644
--- a/web/src/components/features/collaboration/parts/members/MemberEditModal.vue
+++ b/web/src/components/features/collaboration/parts/members/MemberEditModal.vue
@@ -46,13 +46,13 @@
<UButton
:label="t('common.cancel')"
color="neutral"
- variant="outline"
+ variant="soft"
@click="isOpen = false"
/>
<UButton
:label="t('common.save')"
color="primary"
- variant="outline"
+ variant="soft"
@click="handleSave"
/>
</div>
diff --git a/web/src/components/features/collaboration/parts/members/MemberItem.vue b/web/src/components/features/collaboration/parts/members/MemberItem.vue
index 88a8bfa..77bc7e3 100644
--- a/web/src/components/features/collaboration/parts/members/MemberItem.vue
+++ b/web/src/components/features/collaboration/parts/members/MemberItem.vue
@@ -1,5 +1,5 @@
<template>
- <div class="flex items-center justify-between p-3 rounded-lg border border-default hover:bg-elevated transition-colors">
+ <div class="flex items-center justify-between p-3 rounded-2xl border border-default hover:bg-elevated transition-colors">
<div class="flex items-center gap-3">
<UAvatar
:alt="member.email"
diff --git a/web/src/components/features/collaboration/parts/roles/RoleDeleteDialog.vue b/web/src/components/features/collaboration/parts/roles/RoleDeleteDialog.vue
index 81d70b5..7b8f6ee 100644
--- a/web/src/components/features/collaboration/parts/roles/RoleDeleteDialog.vue
+++ b/web/src/components/features/collaboration/parts/roles/RoleDeleteDialog.vue
@@ -14,13 +14,13 @@
<UButton
:label="t('common.cancel')"
color="neutral"
- variant="outline"
+ variant="soft"
@click="isOpen = false"
/>
<UButton
:label="t('contextMenu.delete')"
color="error"
- variant="outline"
+ variant="soft"
@click="handleDelete"
/>
</div>
diff --git a/web/src/components/features/collaboration/parts/roles/RoleEditModal.vue b/web/src/components/features/collaboration/parts/roles/RoleEditModal.vue
index d723c61..5eb9070 100644
--- a/web/src/components/features/collaboration/parts/roles/RoleEditModal.vue
+++ b/web/src/components/features/collaboration/parts/roles/RoleEditModal.vue
@@ -39,7 +39,7 @@
<UButton
:label="t('common.done')"
color="primary"
- variant="outline"
+ variant="soft"
@click="isOpen = false"
/>
</div>
diff --git a/web/src/components/features/collaboration/parts/roles/RoleItem.vue b/web/src/components/features/collaboration/parts/roles/RoleItem.vue
index e294023..0314fa3 100644
--- a/web/src/components/features/collaboration/parts/roles/RoleItem.vue
+++ b/web/src/components/features/collaboration/parts/roles/RoleItem.vue
@@ -1,5 +1,5 @@
<template>
- <div class="flex items-center justify-between p-3 rounded-lg border border-default hover:bg-elevated transition-colors">
+ <div class="flex items-center justify-between p-3 rounded-2xl border border-default hover:bg-elevated transition-colors">
<div class="flex items-center gap-2">
<UIcon
name="i-lucide-shield"
diff --git a/web/src/components/features/main/screen-main/DashboardList.vue b/web/src/components/features/main/screen-main/DashboardList.vue
index fc3116e..189c8c6 100644
--- a/web/src/components/features/main/screen-main/DashboardList.vue
+++ b/web/src/components/features/main/screen-main/DashboardList.vue
@@ -2,7 +2,7 @@
<div class="overflow-auto flex flex-col">
<div class="sticky top-0 p-2 lg:p-5 z-10 bg-default">
<div class="w-full max-w-3xl mx-auto">
- <SearchAll />
+ <SearchActivator />
</div>
</div>
@@ -15,6 +15,7 @@
:add-title="t('msg.addTaskToToday')"
:tasks="todayPending"
:completed-tasks="todayCompleted"
+ section-key="today"
@toggle="(task) => toggle(task, 'tasksToday')"
/>
@@ -27,6 +28,8 @@
:tasks="upcomingPending"
:completed-tasks="upcomingCompleted"
upcoming-task
+ groupable
+ section-key="upcoming"
@toggle="(task) => toggle(task, 'tasksUpcoming')"
/>
@@ -40,6 +43,7 @@
:completed-tasks="recentCompleted"
no-dates
tabbed
+ section-key="recent"
:show-progress="false"
@toggle="toggleRecent"
/>
@@ -50,7 +54,7 @@
<script setup lang="ts">
import { computed, watch } from 'vue'
import { useI18n } from 'vue-i18n'
-import SearchAll from './parts/SearchAll.vue'
+import SearchActivator from './parts/SearchActivator.vue'
import DashboardSection from './DashboardList/parts/DashboardSection.vue'
import type { TaskItem } from '@/types/tasks.types'
import { useBaseScreenStore } from '@/stores/base-screen.store'
diff --git a/web/src/components/features/main/screen-main/DashboardList/parts/DashboardSection.vue b/web/src/components/features/main/screen-main/DashboardList/parts/DashboardSection.vue
index 235fff4..c9524ab 100644
--- a/web/src/components/features/main/screen-main/DashboardList/parts/DashboardSection.vue
+++ b/web/src/components/features/main/screen-main/DashboardList/parts/DashboardSection.vue
@@ -21,6 +21,9 @@
:add-disabled="!hasActiveGoals"
:upcoming-task="upcomingTask"
:no-dates="noDates"
+ :groupable="groupable"
+ :grouped="grouped"
+ @toggle-group="grouped = !grouped"
/>
<template #content>
@@ -79,7 +82,32 @@
class="flex flex-col gap-3 pt-3"
>
<div
- v-if="tasks.length"
+ v-if="groupable && grouped && tasks.length"
+ class="flex flex-col gap-4"
+ >
+ <div
+ v-for="group in taskGroups"
+ :key="group.key"
+ class="flex flex-col gap-2"
+ >
+ <div class="flex items-center gap-3 px-1">
+ <span class="text-sm text-highlighted opacity-80 font-medium">
+ {{ group.label }}
+ </span>
+ <span class="text-xs text-muted">{{ group.tasks.length }}</span>
+ <div class="flex-1 h-px bg-default" />
+ </div>
+ <TaskItem
+ v-for="task in group.tasks"
+ :key="task.id"
+ :task="task"
+ @toggle="$emit('toggle', $event, 'pending')"
+ />
+ </div>
+ </div>
+
+ <div
+ v-else-if="tasks.length"
class="flex flex-col gap-2"
>
<TaskItem
@@ -126,6 +154,7 @@ import { useI18n } from 'vue-i18n'
import type { TabsItem } from '@nuxt/ui'
import type { TaskItem as TaskItemType } from '@/types/tasks.types'
import { useTaskView } from '@/composables/useTaskView'
+import { useLsRef } from '@/composables/useLsRef'
import TaskItem from '@/components/features/tasks/parts/TaskItem.vue'
import DashboardAddTask from './DashboardAddTask.vue'
import DashboardSectionHeader from './DashboardSectionHeader.vue'
@@ -145,6 +174,8 @@ const props = withDefaults(defineProps<{
noDates?: boolean
showProgress?: boolean
tabbed?: boolean
+ groupable?: boolean
+ sectionKey: string
}>(), {
showProgress: true,
})
@@ -153,9 +184,39 @@ defineEmits<{
toggle: [task: TaskItemType, bucket: TaskBucket]
}>()
-const { t } = useI18n()
+const { t, locale } = useI18n()
const { hasActiveGoals } = useTaskView()
+const grouped = useLsRef(`taskview:dashboard:${props.sectionKey}:grouped`, true)
+
+const NO_DATE_KEY = '~'
+
+function dateKey(date: Date): string {
+ const pad = (n: number) => String(n).padStart(2, '0')
+ return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`
+}
+
+function groupLabel(key: string): string {
+ const date = new Date(`${key}T00:00:00`)
+ const day = new Intl.DateTimeFormat(locale.value, { day: 'numeric' }).format(date)
+ const month = new Intl.DateTimeFormat(locale.value, { month: 'short' }).format(date)
+ const weekday = new Intl.DateTimeFormat(locale.value, { weekday: 'long' }).format(date)
+ const formatted = `${day} ${month} ${weekday}`
+ return formatted.charAt(0).toUpperCase() + formatted.slice(1)
+}
+
+const taskGroups = computed(() => {
+ const groups = new Map<string, TaskItemType[]>()
+ for (const task of props.tasks) {
+ const key = task.endDate ? dateKey(new Date(task.endDate)) : NO_DATE_KEY
+ if (!groups.has(key)) groups.set(key, [])
+ groups.get(key)!.push(task)
+ }
+ return [...groups.entries()]
+ .sort(([a], [b]) => a.localeCompare(b))
+ .map(([key, tasks]) => ({ key, label: key === NO_DATE_KEY ? t('msg.noDeadline') : groupLabel(key), tasks }))
+})
+
const ACCENTS: Record<Accent, { bg: string; icon: string; bar: string }> = {
indigo: { bg: 'bg-indigo-500/15', icon: 'text-indigo-500', bar: 'bg-indigo-500' },
sky: { bg: 'bg-sky-500/15', icon: 'text-sky-500', bar: 'bg-sky-500' },
@@ -164,7 +225,7 @@ const ACCENTS: Record<Accent, { bg: string; icon: string; bar: string }> = {
const accentClasses = computed(() => ACCENTS[props.accent])
-const expanded = ref(true)
+const expanded = useLsRef(`taskview:dashboard:${props.sectionKey}:expanded`, true)
const activeTab = ref('active')
const tabItems = computed<TabsItem[]>(() => [
diff --git a/web/src/components/features/main/screen-main/DashboardList/parts/DashboardSectionHeader.vue b/web/src/components/features/main/screen-main/DashboardList/parts/DashboardSectionHeader.vue
index fec78fb..4ff9f9d 100644
--- a/web/src/components/features/main/screen-main/DashboardList/parts/DashboardSectionHeader.vue
+++ b/web/src/components/features/main/screen-main/DashboardList/parts/DashboardSectionHeader.vue
@@ -39,6 +39,15 @@
/>
</div>
</template>
+ <UButton
+ v-if="groupable"
+ :icon="grouped ? 'i-lucide-list' : 'i-lucide-calendar-days'"
+ :aria-label="grouped ? t('msg.showAsList') : t('msg.groupByDate')"
+ color="neutral"
+ variant="ghost"
+ size="sm"
+ @click.stop="$emit('toggle-group')"
+ />
<DashboardAddTask
compact
:title="addTitle"
@@ -52,6 +61,7 @@
</template>
<script setup lang="ts">
+import { useI18n } from 'vue-i18n'
import DashboardAddTask from './DashboardAddTask.vue'
defineProps<{
@@ -68,5 +78,13 @@ defineProps<{
addDisabled?: boolean
upcomingTask?: boolean
noDates?: boolean
+ groupable?: boolean
+ grouped?: boolean
+}>()
+
+defineEmits<{
+ 'toggle-group': []
}>()
+
+const { t } = useI18n()
</script>
diff --git a/web/src/components/features/main/screen-main/DesktopScreen.vue b/web/src/components/features/main/screen-main/DesktopScreen.vue
index 2af4fae..80c3c1a 100644
--- a/web/src/components/features/main/screen-main/DesktopScreen.vue
+++ b/web/src/components/features/main/screen-main/DesktopScreen.vue
@@ -1,7 +1,7 @@
<template>
<div class="overflow-auto flex flex-col gap-0">
<div class="md:block sticky top-0 p-2 lg:p-5 z-10 bg-default">
- <SearchAll />
+ <SearchActivator />
</div>
<div class="flex flex-col gap-5 p-2 md:p-5 md:pt-0 w-full mx-auto">
<div class="flex gap-5 flex-col md:flex-row">
@@ -14,7 +14,7 @@
</template>
<script async setup lang="ts">
import { watch } from 'vue'
-import SearchAll from './parts/SearchAll.vue'
+import SearchActivator from './parts/SearchActivator.vue'
import WidgetLastAddedTasks from './parts/WidgetLastAddedTasks.vue'
import WidgetToday from './parts/WidgetToday.vue'
import WidgetUpcoming from './parts/WidgetUpcoming.vue'
diff --git a/web/src/components/features/main/screen-main/parts/SearchActivator.vue b/web/src/components/features/main/screen-main/parts/SearchActivator.vue
new file mode 100644
index 0000000..d4c3d17
--- /dev/null
+++ b/web/src/components/features/main/screen-main/parts/SearchActivator.vue
@@ -0,0 +1,19 @@
+<template>
+ <UDashboardSearchButton
+ :label="t('admin.search')"
+ :disabled="!hasActiveGoals"
+ class="w-full"
+ variant="soft"
+ size="xl"
+ />
+</template>
+
+<script lang="ts" setup>
+import { computed } from 'vue'
+import { useI18n } from 'vue-i18n'
+import { useGoalsStore } from '@/stores/goals.store'
+
+const { t } = useI18n()
+const goalsStore = useGoalsStore()
+const hasActiveGoals = computed(() => goalsStore.goals.length > 0)
+</script>
diff --git a/web/src/components/features/main/screen-main/parts/SearchAll.vue b/web/src/components/features/main/screen-main/parts/SearchAll.vue
index 10fb005..fce7cb8 100644
--- a/web/src/components/features/main/screen-main/parts/SearchAll.vue
+++ b/web/src/components/features/main/screen-main/parts/SearchAll.vue
@@ -1,13 +1,5 @@
<template>
<div>
- <UDashboardSearchButton
- :label="t('admin.search')"
- :disabled="!hasActiveGoals"
- class="w-full "
- variant="soft"
- size="xl"
- />
-
<UDashboardSearch
v-model:search-term="searchTerm"
v-model:open="isOpen"
@@ -81,7 +73,6 @@ import { useI18n } from 'vue-i18n'
import { refDebounced } from '@vueuse/core'
import MainScreenAddTaskDialog from './MainScreenAddTaskDialog.vue'
import { useBaseScreenStore } from '@/stores/base-screen.store'
-import { useGoalsStore } from '@/stores/goals.store'
import { ALL_TASKS_LIST_ID } from 'taskview-api'
import type { TaskItem } from '@/types/tasks.types'
import { useTaskView } from '@/composables/useTaskView'
@@ -95,9 +86,6 @@ const isOpen = ref(false)
const baseScreenStore = useBaseScreenStore()
const tasks = ref<TaskItem[]>([])
const addTaskDialogModel = ref(false)
-const goalsStore = useGoalsStore()
-
-const hasActiveGoals = computed(() => goalsStore.goals.length > 0)
watch(searchTermDebounced, async (term) => {
if (!term) {
diff --git a/web/src/components/features/projects/parts/ProjectAddInput.vue b/web/src/components/features/projects/parts/ProjectAddInput.vue
index 7534fde..e68d59f 100644
--- a/web/src/components/features/projects/parts/ProjectAddInput.vue
+++ b/web/src/components/features/projects/parts/ProjectAddInput.vue
@@ -1,5 +1,4 @@
<template>
- <div class="shadow-sm rounded-lg">
<UInput
v-model="projectName"
:placeholder="placeholder ?? t('projects.addPlaceholder')"
@@ -7,9 +6,7 @@
variant="soft"
class="w-full"
data-testid="project-add-input"
- :ui="{
- base: 'bg-tv-ui-bg-elevated',
- }"
+
@keydown.enter="addProject"
>
<template #trailing>
@@ -29,7 +26,6 @@
/>
</template>
</UInput>
- </div>
</template>
<script setup lang="ts">
diff --git a/web/src/components/features/sprints/parts/SprintTaskList.vue b/web/src/components/features/sprints/parts/SprintTaskList.vue
index 05f7bf7..cab5c01 100644
--- a/web/src/components/features/sprints/parts/SprintTaskList.vue
+++ b/web/src/components/features/sprints/parts/SprintTaskList.vue
@@ -40,7 +40,7 @@
/>
<span
class="truncate"
- :class="{ 'line-through text-dimmed': task.complete }"
+ :class="{ 'text-dimmed': task.complete }"
>
{{ task.description }}
</span>
diff --git a/web/src/components/features/tasks/TvTaskDetailOverlay.vue b/web/src/components/features/tasks/TvTaskDetailOverlay.vue
index 0c3d501..a7f5075 100644
--- a/web/src/components/features/tasks/TvTaskDetailOverlay.vue
+++ b/web/src/components/features/tasks/TvTaskDetailOverlay.vue
@@ -60,13 +60,13 @@
<UButton
:label="t('common.delete')"
color="error"
- variant="outline"
+ variant="soft"
@click="openDeleteDialog"
/>
<UButton
:label="t('common.close')"
color="neutral"
- variant="outline"
+ variant="soft"
@click="closeTask"
/>
</div>
diff --git a/web/src/components/features/tasks/parts/TaskItem.vue b/web/src/components/features/tasks/parts/TaskItem.vue
index 8bce23a..0e38460 100644
--- a/web/src/components/features/tasks/parts/TaskItem.vue
+++ b/web/src/components/features/tasks/parts/TaskItem.vue
@@ -23,7 +23,7 @@
<div class="flex-1 min-w-0 self-start flex flex-col gap-1">
<p
class="text-base wrap-break-word"
- :class="{ 'line-through text-muted': localComplete }"
+ :class="{ 'text-muted': localComplete }"
>
{{ task.description }}
</p>
diff --git a/web/src/components/features/tasks/parts/TaskRecurrenceDialog.vue b/web/src/components/features/tasks/parts/TaskRecurrenceDialog.vue
index 41b6788..2544ca5 100644
--- a/web/src/components/features/tasks/parts/TaskRecurrenceDialog.vue
+++ b/web/src/components/features/tasks/parts/TaskRecurrenceDialog.vue
@@ -7,10 +7,7 @@
>
<template #body>
<div class="flex flex-col gap-5">
- <TaskRecurrenceForm
- v-model="form"
- :dtstart="dtstart.date"
- />
+ <TaskRecurrenceForm v-model="form" />
<div
v-if="rule"
@@ -63,7 +60,6 @@
@click="save"
/>
</div>
-
</div>
</template>
</UModal>
@@ -130,11 +126,12 @@ watch(open, (value) => {
async function save() {
actionLoading.value = 'save'
try {
- const rrule = buildRruleString({ form: form.value, dtstart: dtstart.value.date })
-
+ const startDateObj = new Date(`${form.value.startDate}T00:00:00Z`)
+ const rrule = buildRruleString({ form: form.value, dtstart: startDateObj })
+
const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone || 'UTC'
-
- const dtstartIso = buildDtstartIso({ dateStr: dtstart.value.iso.slice(0, 10), time: form.value.time })
+
+ const dtstartIso = buildDtstartIso({ dateStr: form.value.startDate, time: form.value.time })
const result = props.rule
? await tasksStore.updateRecurrence({
ruleId: props.rule.id,
@@ -152,6 +149,7 @@ async function save() {
})
if (result) {
+ await tasksStore.refreshTask(props.task.id)
toast.add({ title: t('recurrence.toasts.saved'), color: 'success' })
emit('changed')
open.value = false
diff --git a/web/src/components/features/tasks/parts/TaskRecurrenceForm.vue b/web/src/components/features/tasks/parts/TaskRecurrenceForm.vue
index e64501b..7429de6 100644
--- a/web/src/components/features/tasks/parts/TaskRecurrenceForm.vue
+++ b/web/src/components/features/tasks/parts/TaskRecurrenceForm.vue
@@ -17,6 +17,28 @@
/>
</div>
+ <div class="flex items-center justify-between gap-3">
+ <span class="text-base font-medium text-highlighted">{{ t('recurrence.startDate') }}</span>
+ <UPopover>
+ <UButton
+ icon="i-lucide-calendar"
+ :label="startDateLabel"
+ color="neutral"
+ variant="soft"
+ size="md"
+ class="rounded-xl"
+ />
+ <template #content>
+ <UCalendar
+ :model-value="startDateModel"
+ class="p-2"
+ :week-starts-on="weekStart"
+ @update:model-value="onStartDateSelect"
+ />
+ </template>
+ </UPopover>
+ </div>
+
<div class="flex items-center justify-between gap-3">
<span class="text-base font-medium text-highlighted">{{ t('recurrence.repeatEvery') }}</span>
<UInputNumber
@@ -27,6 +49,7 @@
size="md"
class="w-27"
variant="soft"
+ :ui="{ base: 'text-base' }"
/>
</div>
@@ -123,6 +146,11 @@
/>
</div>
+ <div class="flex items-center justify-between gap-3">
+ <span class="text-base font-medium text-highlighted">{{ t('recurrence.notifyOnOccurrence') }}</span>
+ <USwitch v-model="form.notifyOnOccurrence" />
+ </div>
+
<div
v-if="preview.length"
class="flex flex-col gap-3 p-3.5 rounded-2xl bg-elevated"
@@ -160,6 +188,7 @@
import { computed, ref, shallowRef, watch } from 'vue'
import { useI18n } from 'vue-i18n'
import { CalendarDate, Time } from '@internationalized/date'
+import type { DateValue } from '@internationalized/date'
import { buildRruleString, jsDayToRruleWeekday, previewOccurrences } from '@/helpers/recurrence'
import { useWeekStart } from '@/composables/useWeekStart'
import TaskRecurrenceWeekdays from './TaskRecurrenceWeekdays.vue'
@@ -169,13 +198,13 @@ const PREVIEW_LIMIT = 5
const form = defineModel<RecurrenceFormValue>({ required: true })
-const props = defineProps<{
- dtstart: Date
-}>()
-
const { t, locale } = useI18n()
const weekStart = useWeekStart()
+// The series start date is part of the form now; its UTC components are the
+// wall-clock date (matches how the rest of the form reads dtstart).
+const startDateObj = computed(() => new Date(`${form.value.startDate}T00:00:00Z`))
+
const frequencyItems = computed<{ label: string; value: RecurrenceFrequency }[]>(() => [
{ label: t('recurrence.freqShort.daily'), value: 'daily' },
{ label: t('recurrence.freqShort.weekly'), value: 'weekly' },
@@ -184,7 +213,7 @@ const frequencyItems = computed<{ label: string; value: RecurrenceFrequency }[]>
])
const monthlyModeItems = computed(() => [
- { label: t('recurrence.monthly.dayOfMonth', { day: props.dtstart.getUTCDate() }), value: 'dayOfMonth' },
+ { label: t('recurrence.monthly.dayOfMonth', { day: startDateObj.value.getUTCDate() }), value: 'dayOfMonth' },
{ label: t('recurrence.monthly.lastDay'), value: 'lastDay' },
])
@@ -194,7 +223,35 @@ const endsItems = computed<{ label: string; value: RecurrenceEndsMode }[]>(() =>
{ label: t('recurrence.ends.after'), value: 'after' },
])
-const startWeekday = computed(() => jsDayToRruleWeekday(props.dtstart.getUTCDay()))
+const startWeekday = computed(() => jsDayToRruleWeekday(startDateObj.value.getUTCDay()))
+
+const startDateLabel = computed(() =>
+ capitalize(new Intl.DateTimeFormat(locale.value, {
+ day: 'numeric', month: 'long', year: 'numeric', timeZone: 'UTC',
+ }).format(startDateObj.value)),
+)
+
+const startDateModel = shallowRef<CalendarDate>(parseCalendarDate(form.value.startDate))
+
+// External resets (dialog re-inits the form on open) → keep the calendar in sync,
+// but DON'T touch the weekday selection (that would clobber a saved rule).
+watch(() => form.value.startDate, (value) => {
+ if (value !== startDateModel.value?.toString()) startDateModel.value = parseCalendarDate(value)
+})
+
+// User picked a date: re-anchor the series. A weekly rule whose selected day no
+// longer covers the new start day would silently jump to the next matching day,
+// so move the anchor to the picked weekday in that case.
+type CalendarSelection = DateValue | DateValue[] | { start?: DateValue; end?: DateValue } | null | undefined
+
+function onStartDateSelect(value: CalendarSelection): void {
+ if (!value || Array.isArray(value) || !('day' in value)) return
+ const picked = new CalendarDate(value.year, value.month, value.day)
+ startDateModel.value = picked
+ form.value.startDate = picked.toString()
+ const weekday = jsDayToRruleWeekday(new Date(`${picked.toString()}T00:00:00Z`).getUTCDay())
+ if (!form.value.weekdays.includes(weekday)) form.value.weekdays = [weekday]
+}
const untilDateModel = shallowRef<CalendarDate | undefined>(
form.value.untilDate ? parseCalendarDate(form.value.untilDate) : undefined,
@@ -250,8 +307,8 @@ watch(timeModel, (time) => {
})
const preview = computed(() => {
- const rrule = buildRruleString({ form: form.value, dtstart: props.dtstart })
- return previewOccurrences({ rrule, dtstart: props.dtstart, limit: PREVIEW_LIMIT })
+ const rrule = buildRruleString({ form: form.value, dtstart: startDateObj.value })
+ return previewOccurrences({ rrule, dtstart: startDateObj.value, limit: PREVIEW_LIMIT })
})
function capitalize(value: string): string {
diff --git a/web/src/components/features/tasks/parts/TaskSubtaskItem.vue b/web/src/components/features/tasks/parts/TaskSubtaskItem.vue
index 91cf879..84542f8 100644
--- a/web/src/components/features/tasks/parts/TaskSubtaskItem.vue
+++ b/web/src/components/features/tasks/parts/TaskSubtaskItem.vue
@@ -8,7 +8,7 @@
v-model="localDescription"
type="text"
class="flex-1 text-sm border-none outline-none focus:ring-0 p-1 rounded-14 hover:bg-muted/10 focus:bg-muted/10 shadow-sm dark:bg-tv-ui-bg-elevated!"
- :class="{ 'line-through text-muted': subtask.complete }"
+ :class="{ 'text-muted': subtask.complete }"
:rows="1"
:autoresize="true"
:ui="{ base: 'rounded-xl' }"
diff --git a/web/src/components/features/tasks/parts/tags/TaskTagsManager.vue b/web/src/components/features/tasks/parts/tags/TaskTagsManager.vue
index 08d31a2..6f78a30 100644
--- a/web/src/components/features/tasks/parts/tags/TaskTagsManager.vue
+++ b/web/src/components/features/tasks/parts/tags/TaskTagsManager.vue
@@ -144,6 +144,7 @@ import { useGoalPermissions } from '@/composables/useGoalPermissions'
import { useProjectContext } from '@/composables/useProjectContext'
import { useTaskView } from '@/composables/useTaskView'
import { useNuxtUiTaskItemStyles } from '@/composables/useNuxtUiTaskItemStyles'
+import { useLsRef } from '@/composables/useLsRef'
const props = defineProps<{
taskId: number
@@ -165,7 +166,7 @@ onMounted(async () => {
}
})
-const isExpanded = ref(false)
+const isExpanded = useLsRef('taskview:task:tagsExpanded', false)
const isEditMode = ref(false)
const isEditDialogOpen = ref(false)
const isDeleteDialogOpen = ref(false)
diff --git a/web/src/components/features/time-reports/TimeReportsEntriesList.vue b/web/src/components/features/time-reports/TimeReportsEntriesList.vue
index e961149..3919b00 100644
--- a/web/src/components/features/time-reports/TimeReportsEntriesList.vue
+++ b/web/src/components/features/time-reports/TimeReportsEntriesList.vue
@@ -16,10 +16,10 @@
<div
v-for="entry in entries"
:key="entry.id"
- class="flex items-center justify-between gap-2 px-2 py-1.5 rounded bg-elevated/50 text-sm"
+ class="flex items-center justify-between gap-2 px-3 py-2 rounded-xl bg-elevated/50 text-sm"
>
<div class="flex flex-col min-w-0 flex-1">
- <div class="flex items-center gap-2 text-xs text-muted">
+ <div class="flex items-center gap-2 text-sm text-muted">
<span class="font-mono">{{ formatDate(entry.startedAt) }}</span>
<span class="truncate">· {{ entry.userEmail ?? `#${entry.userId}` }}</span>
</div>
@@ -31,8 +31,9 @@
<UBadge
:label="formatDuration(entry.durationSeconds ?? 0)"
color="neutral"
- variant="subtle"
- size="xs"
+ variant="soft"
+ size="md"
+ class="rounded-lg"
/>
</div>
</div>
diff --git a/web/src/components/features/time-reports/TimeReportsFilters.vue b/web/src/components/features/time-reports/TimeReportsFilters.vue
index 118a40e..564b691 100644
--- a/web/src/components/features/time-reports/TimeReportsFilters.vue
+++ b/web/src/components/features/time-reports/TimeReportsFilters.vue
@@ -5,7 +5,7 @@
:label="formattedFrom"
icon="i-lucide-calendar"
color="neutral"
- variant="outline"
+ variant="soft"
size="lg"
class="grow lg:grow-0"
:ui="activatorStyle"
@@ -28,7 +28,7 @@
:label="formattedTo"
icon="i-lucide-calendar-check"
color="neutral"
- variant="outline"
+ variant="soft"
size="lg"
class="grow lg:grow-0"
:ui="activatorStyle"
diff --git a/web/src/components/features/time-reports/TimeReportsKpis.vue b/web/src/components/features/time-reports/TimeReportsKpis.vue
index 6ad3c3f..2664eb3 100644
--- a/web/src/components/features/time-reports/TimeReportsKpis.vue
+++ b/web/src/components/features/time-reports/TimeReportsKpis.vue
@@ -1,6 +1,6 @@
<template>
<div class="grid grid-cols-1 sm:grid-cols-3 gap-3">
- <UCard>
+ <UCard :ui="{ root: 'rounded-2xl' }" variant="soft">
<div class="text-xs text-muted">
{{ t('timeTracking.reports.kpiTotal') }}
</div>
@@ -8,7 +8,7 @@
{{ totalLabel }}
</div>
</UCard>
- <UCard>
+ <UCard :ui="{ root: 'rounded-2xl' }" variant="soft">
<div class="text-xs text-muted">
{{ t('timeTracking.reports.kpiBillable') }}
</div>
@@ -16,7 +16,7 @@
{{ billableLabel }}
</div>
</UCard>
- <UCard>
+ <UCard :ui="{ root: 'rounded-2xl' }" variant="soft">
<div class="text-xs text-muted">
{{ t('timeTracking.reports.kpiEntries') }}
</div>
diff --git a/web/src/components/features/time-reports/TimeReportsViewTabs.vue b/web/src/components/features/time-reports/TimeReportsViewTabs.vue
index 93612c9..6e7d3ba 100644
--- a/web/src/components/features/time-reports/TimeReportsViewTabs.vue
+++ b/web/src/components/features/time-reports/TimeReportsViewTabs.vue
@@ -3,6 +3,7 @@
v-model="active"
:items="items"
class="w-full"
+ :ui="{ list: 'rounded-2xl', trigger: 'rounded-xl', indicator: 'rounded-xl' }"
>
<template #by-task>
<TimeReportsByTaskTable />
diff --git a/web/src/components/features/webhooks/parts/AddWebhookModal.vue b/web/src/components/features/webhooks/parts/AddWebhookModal.vue
index c3e7f23..4bdecbd 100644
--- a/web/src/components/features/webhooks/parts/AddWebhookModal.vue
+++ b/web/src/components/features/webhooks/parts/AddWebhookModal.vue
@@ -25,6 +25,7 @@
value-key="value"
:placeholder="t('webhooks.selectEvents')"
class="w-full"
+ size="xl"
/>
</UFormField>
</div>
@@ -34,11 +35,13 @@
<UButton
:label="t('common.cancel')"
variant="ghost"
+ color="neutral"
@click="isOpen = false"
/>
<UButton
:label="t('common.add')"
color="primary"
+ variant="soft"
:disabled="!url || selectedEvents.length === 0"
:loading="saving"
@click="handleCreate"
diff --git a/web/src/components/sidebars/DashboardSidebarSecond.vue b/web/src/components/sidebars/DashboardSidebarSecond.vue
index 1df8485..7493cae 100644
--- a/web/src/components/sidebars/DashboardSidebarSecond.vue
+++ b/web/src/components/sidebars/DashboardSidebarSecond.vue
@@ -13,6 +13,7 @@
:to="{ name: 'user' }"
variant="taskview"
class="flex-1"
+ :ui="{ container: 'px-4 py-3' }"
>
{{ t('main') }}
</TvGoalLikeItem>
@@ -20,7 +21,7 @@
<NotificationBell />
</div>
- <SearchAll />
+ <SearchActivator />
<SidebarProjectSelect />
<SidebarTools />
<ProjectAddInput
@@ -46,7 +47,7 @@ import { ALL_TASKS_LIST_ID } from 'taskview-api'
import { useDashboard } from '@/composables/useDashboard'
import { useGoalsStore } from '@/stores/goals.store'
import { useOrganizationStore } from '@/stores/organization.store'
-import SearchAll from '@/components/features/main/screen-main/parts/SearchAll.vue'
+import SearchActivator from '@/components/features/main/screen-main/parts/SearchActivator.vue'
import ProjectAddInput from '@/components/features/projects/parts/ProjectAddInput.vue'
import UserMenu from '@/components/UserMenu.vue'
import TvGoalLikeItem from '@/components/features/base/TvGoalLikeItem.vue'
diff --git a/web/src/components/sidebars/dashboard-second/SidebarOrgSelect.vue b/web/src/components/sidebars/dashboard-second/SidebarOrgSelect.vue
index 8b4f478..5a5db1c 100644
--- a/web/src/components/sidebars/dashboard-second/SidebarOrgSelect.vue
+++ b/web/src/components/sidebars/dashboard-second/SidebarOrgSelect.vue
@@ -1,5 +1,5 @@
<template>
- <div class="flex flex-col gap-2">
+ <div class="flex flex-col gap-3">
<UPopover
v-model:open="open"
:content="{ align: 'start' }"
@@ -51,7 +51,7 @@
<div
v-if="currentOrg"
- class="flex items-center justify-center gap-2"
+ class="flex items-center justify-center gap-2 mb-3"
>
<UButton
icon="i-lucide-user-plus"
diff --git a/web/src/composables/useDashboard.ts b/web/src/composables/useDashboard.ts
index ba6578a..9755eae 100644
--- a/web/src/composables/useDashboard.ts
+++ b/web/src/composables/useDashboard.ts
@@ -4,7 +4,12 @@ import { createSharedComposable } from '@vueuse/core'
const _useDashboard = () => {
const route = useRoute()
- const isSidebarOpen = ref(true)
+ // Mobile slideover state — must start closed. `UDashboardSidebar` renders the
+ // mobile drawer as a Reka Dialog; when `open` is true it locks the body
+ // (pointer-events:none + scroll lock + aria-hidden) even though it's visually
+ // `lg:hidden` on desktop, freezing the whole page until the user clicks to
+ // dismiss it. The desktop sidebar shows via `lg:flex` regardless of this flag.
+ const isSidebarOpen = ref(false)
const isSidebarCollapsed = ref(false)
watch(
diff --git a/web/src/composables/useOrgSwitcher.ts b/web/src/composables/useOrgSwitcher.ts
index 2af454c..e9e2fd0 100644
--- a/web/src/composables/useOrgSwitcher.ts
+++ b/web/src/composables/useOrgSwitcher.ts
@@ -1,14 +1,20 @@
import { useRouter } from 'vue-router'
import type { Organization } from 'taskview-api'
import { useOrganizationStore } from '@/stores/organization.store'
+import { useGoalsStore } from '@/stores/goals.store'
export function useOrgSwitcher() {
const router = useRouter()
const orgStore = useOrganizationStore()
+ const goalsStore = useGoalsStore()
function switchOrg(org: Organization) {
if (org.id === orgStore.currentOrg?.id) return
orgStore.setCurrentOrg(org)
+ // Projects are org-scoped — drop the previous org's list and refetch for the
+ // new one. `initialized = false` keeps the route guard from acting on stale goals.
+ goalsStore.initialized = false
+ goalsStore.fetchGoals()
router.push({ name: 'user', params: { orgSlug: org.slug } })
}
diff --git a/web/src/helpers/recurrence.ts b/web/src/helpers/recurrence.ts
index a9057b1..acdb117 100644
--- a/web/src/helpers/recurrence.ts
+++ b/web/src/helpers/recurrence.ts
@@ -28,7 +28,8 @@ function timeFromDtstart(dtstart: Date): string {
export function defaultRecurrenceForm(dtstart: Date, hasTime: boolean): RecurrenceFormValue {
return {
- frequency: 'weekly',
+ frequency: 'daily',
+ startDate: formatUtcDate(dtstart),
interval: 1,
weekdays: [jsDayToRruleWeekday(dtstart.getUTCDay())],
monthlyMode: 'dayOfMonth',
@@ -145,6 +146,12 @@ function formatLocalDate(date: Date): string {
return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`
}
+/** 'YYYY-MM-DD' from the date's UTC components (the floating wall-clock date). */
+export function formatUtcDate(date: Date): string {
+ const pad = (n: number) => String(n).padStart(2, '0')
+ return `${date.getUTCFullYear()}-${pad(date.getUTCMonth() + 1)}-${pad(date.getUTCDate())}`
+}
+
function formatLocalTime(date: Date): string {
const pad = (n: number) => String(n).padStart(2, '0')
return `${pad(date.getHours())}:${pad(date.getMinutes())}:00`
diff --git a/web/src/layouts/UserLayout.vue b/web/src/layouts/UserLayout.vue
index 2175bdb..3d608bf 100644
--- a/web/src/layouts/UserLayout.vue
+++ b/web/src/layouts/UserLayout.vue
@@ -10,6 +10,9 @@
<DashboardSidebarSecond v-else />
<RouterView />
+
+ <!-- Single global search palette; activators (SearchActivator) trigger it. -->
+ <SearchAll />
</UDashboardGroup>
<TvMobileBottomNav />
@@ -28,6 +31,7 @@ import { useI18n } from 'vue-i18n'
import ConnectionStatusBanner from '@/components/ConnectionStatusBanner.vue'
import DashboardSidebarFirst from '@/components/sidebars/DashboardSidebarFirst.vue'
import DashboardSidebarSecond from '@/components/sidebars/DashboardSidebarSecond.vue'
+import SearchAll from '@/components/features/main/screen-main/parts/SearchAll.vue'
import { useCentrifugo } from '@/composables/useCentrifugo'
import { usePushNotifications } from '@/composables/usePushNotifications'
import { useGoalsStore } from '@/stores/goals.store'
diff --git a/web/src/locales/de.ts b/web/src/locales/de.ts
index 883fa23..7a4f241 100644
--- a/web/src/locales/de.ts
+++ b/web/src/locales/de.ts
@@ -100,6 +100,7 @@ export default {
add: 'Projekt hinzufügen',
},
contextMenu: {
+ tasks: 'Liste',
kanban: 'Kanban',
graph: 'Graph',
collaboration: 'Zusammenarbeit',
@@ -484,11 +485,13 @@ export default {
},
filters: {
periods: {
+ month: 'Aktueller Monat',
'7d': '7 Tage',
'30d': '30 Tage',
'90d': '90 Tage',
'180d': 'Quartal',
'365d': 'Jahr',
+ custom: 'Benutzerdefiniert',
},
scopes: {
org: 'Gesamte Organisation',
diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts
index 15cd852..5d1b77b 100644
--- a/web/src/locales/en.ts
+++ b/web/src/locales/en.ts
@@ -102,8 +102,10 @@ export default {
addPlaceholder: 'Enter project name',
createNew: 'Create new project',
add: 'Add project',
+ empty: 'No projects yet',
},
contextMenu: {
+ tasks: 'Tasks',
kanban: 'Kanban',
graph: 'Graph',
sprints: 'Sprints',
@@ -177,6 +179,9 @@ export default {
addTask: 'Add task',
addTaskToToday: 'Add task for today',
addTaskToUpcoming: 'Add upcoming task',
+ groupByDate: 'Group by date',
+ showAsList: 'Show as list',
+ noDeadline: 'No date',
addFirstProject: 'Add your first project',
today: 'Today',
lastAddedTasks: 'Added',
@@ -221,6 +226,7 @@ export default {
notifyOnOccurrence: 'Remind about each occurrence',
preview: 'Next occurrences',
repeatEvery: 'Repeat every',
+ startDate: 'Start date',
specifyTime: 'Specify time',
occurrenceTime: 'Occurrence time',
datesCount: '{n} dates',
@@ -586,11 +592,13 @@ export default {
},
filters: {
periods: {
+ month: 'This month',
'7d': '7 days',
'30d': '30 days',
'90d': '90 days',
'180d': 'Quarter',
'365d': 'Year',
+ custom: 'Custom range',
},
scopes: {
org: 'Whole organization',
diff --git a/web/src/locales/es.ts b/web/src/locales/es.ts
new file mode 100644
index 0000000..8c659b1
--- /dev/null
+++ b/web/src/locales/es.ts
@@ -0,0 +1,1039 @@
+export default {
+ auth: {
+ welcome: 'Bienvenido de nuevo',
+ signInToAccount: 'Inicia sesión en tu cuenta',
+ continueWithGoogle: 'Continuar con Google',
+ continueWithGithub: 'Continuar con GitHub',
+ continueWithApple: 'Continuar con Apple',
+ orContinueWith: 'O continúa con',
+ magicLink: 'Enlace mágico',
+ password: 'Contraseña',
+ termsText: 'Al continuar, aceptas nuestros',
+ termsOfService: 'Términos del servicio',
+ and: 'y',
+ privacyPolicy: 'Política de privacidad',
+
+ // Login by code
+ email: 'Correo electrónico',
+ emailPlaceholder: 'tu{\'@\'}ejemplo.com',
+ sendCode: 'Enviar código',
+ codeSent: 'Código enviado',
+ checkInbox: 'Revisa tu bandeja de entrada en {email}',
+ enterCode: 'Introduce el código de 6 dígitos enviado a',
+ verificationCode: 'Código de verificación',
+ verifyAndSignIn: 'Verificar e iniciar sesión',
+ back: 'Atrás',
+ resendCode: 'Reenviar código',
+ codeResent: 'Código reenviado',
+ newCodeSent: 'Nuevo código enviado a {email}',
+
+ // Login by password
+ login: 'Iniciar sesión',
+ loginPlaceholder: 'Usuario o correo electrónico',
+ passwordLabel: 'Contraseña',
+ passwordPlaceholder: 'Tu contraseña',
+ forgotPassword: '¿Olvidaste tu contraseña?',
+ signIn: 'Iniciar sesión',
+
+ // Forgot password
+ forgotPasswordTitle: 'Restablecer contraseña',
+ forgotPasswordDescription: 'Introduce tu dirección de correo electrónico y te enviaremos un enlace para restablecer tu contraseña.',
+ sendResetLink: 'Enviar enlace de restablecimiento',
+ backToLogin: 'Volver al inicio de sesión',
+ checkYourEmail: 'Revisa tu correo electrónico',
+ resetLinkSent: 'Enviamos un enlace para restablecer la contraseña a',
+ emailSent: 'Correo enviado',
+ checkInboxForReset: 'Revisa tu bandeja de entrada para el enlace de restablecimiento de contraseña',
+
+ // Reset password
+ setNewPassword: 'Establecer nueva contraseña',
+ setNewPasswordDescription: 'Introduce una nueva contraseña para tu cuenta.',
+ newPassword: 'Nueva contraseña',
+ newPasswordPlaceholder: 'Introduce la nueva contraseña',
+ confirmPassword: 'Confirmar contraseña',
+ confirmPasswordPlaceholder: 'Repite la nueva contraseña',
+ resetPassword: 'Restablecer contraseña',
+ passwordReset: 'Contraseña restablecida',
+ passwordResetSuccess: 'Tu contraseña se ha cambiado correctamente. Ya puedes iniciar sesión.',
+ invalidResetLink: 'Enlace inválido',
+ invalidResetLinkDescription: 'El enlace para restablecer la contraseña es inválido o ha caducado.',
+ canNotResetPassword: 'No se pudo restablecer la contraseña. Inténtalo de nuevo.',
+ passwordTooShort: 'La contraseña debe tener al menos 6 caracteres',
+ passwordsDoNotMatch: 'Las contraseñas no coinciden',
+
+ // Messages
+ success: 'Éxito',
+ error: 'Error',
+ loggedIn: 'Te damos la bienvenida a TaskView',
+ invalidCode: 'Código inválido. Inténtalo de nuevo.',
+ invalidCredentials: 'Usuario o contraseña inválidos',
+ loginFailed: 'Error al iniciar sesión. Inténtalo de nuevo.',
+ failedToSendCode: 'Error al enviar el código. Inténtalo de nuevo.',
+ failedToResendCode: 'Error al reenviar el código',
+ failedToSendResetLink: 'Error al enviar el enlace de restablecimiento. Inténtalo de nuevo.',
+ tooManyAttempts: 'Demasiados intentos fallidos. Espera unos minutos antes de volver a intentarlo.',
+
+ // SSO
+ ssoSignIn: 'Iniciar sesión con SSO',
+ ssoNotFound: 'SSO no configurado',
+ ssoNotFoundDescription: 'No se encontró ningún proveedor de SSO para el dominio {domain}',
+ ssoError: 'Error de autenticación SSO. Inténtalo de nuevo.',
+
+ // Validation
+ invalidEmail: 'Dirección de correo electrónico inválida',
+ loginRequired: 'El usuario es obligatorio',
+ passwordRequired: 'La contraseña es obligatoria',
+ codeMustBe6: 'El código debe tener 6 caracteres',
+ },
+ projects: {
+ title: 'Proyectos',
+ project: 'Proyecto',
+ selectProject: 'Seleccionar proyecto',
+ edit: 'Editar proyecto',
+ name: 'Nombre',
+ namePlaceholder: 'Introduce el nombre del proyecto',
+ description: 'Descripción',
+ descriptionPlaceholder: 'Introduce la descripción del proyecto',
+ estimateUnit: 'Unidad de estimación',
+ estimateUnitHours: 'Horas',
+ estimateUnitPoints: 'Puntos de historia',
+ deleteConfirm: 'Eliminar proyecto',
+ deleteMessage: '¿Seguro que quieres eliminar el proyecto "{name}"? Se eliminará todo el historial del proyecto, incluido el historial de cambios de tareas y listas. Esta acción no se puede deshacer.',
+ addPlaceholder: 'Introduce el nombre del proyecto',
+ createNew: 'Crear nuevo proyecto',
+ add: 'Añadir proyecto',
+ empty: 'Aún no hay proyectos',
+ },
+ contextMenu: {
+ tasks: 'Lista',
+ kanban: 'Kanban',
+ graph: 'Gráfico',
+ sprints: 'Sprints',
+ collaboration: 'Colaboración',
+ integrations: 'Integraciones',
+ webhooks: 'Webhooks',
+ timeReports: 'Informes de tiempo',
+ edit: 'Editar',
+ moveToArchive: 'Mover al archivo',
+ restoreFromArchive: 'Restaurar desde el archivo',
+ delete: 'Eliminar',
+ },
+ archive: {
+ title: 'Archivo',
+ },
+ lists: {
+ title: 'Listas',
+ selectList: 'Selecciona una lista',
+ selectListToViewTasks: 'Selecciona una lista para ver las tareas',
+ addPlaceholder: 'Introduce el nombre de la lista',
+ add: 'Añadir lista',
+ edit: 'Editar lista',
+ name: 'Nombre',
+ namePlaceholder: 'Introduce el nombre de la lista',
+ deleteConfirm: 'Eliminar lista',
+ deleteMessage: '¿Seguro que quieres eliminar la lista "{name}"? La lista se eliminará, incluido su historial de cambios, así como todas las tareas de la lista y su historial. Esta acción no se puede deshacer.',
+ },
+ common: {
+ cancel: 'Cancelar',
+ save: 'Guardar',
+ edit: 'Editar',
+ delete: 'Eliminar',
+ done: 'Hecho',
+ yes: 'Sí',
+ no: 'No',
+ loading: 'Cargando...',
+ close: 'Cerrar',
+ add: 'Añadir',
+ },
+ kanban: {
+ title: 'Kanban',
+ description: 'La vista de tablero Kanban estará disponible pronto',
+ addColumn: 'Añadir columna',
+ addTask: 'Añadir tarea',
+ edit: 'Editar',
+ delete: 'Eliminar',
+ deleteColumn: 'Eliminar columna',
+ deleteColumnConfirm: '¿Seguro que quieres eliminar esta columna? Las tareas se moverán al Backlog.',
+ editColumn: 'Editar columna',
+ columnName: 'Nombre de la columna',
+ loadMore: 'Cargar más',
+ sprintFilter: {
+ all: 'Todas las tareas',
+ current: 'Sprint actual',
+ },
+ },
+ msg: {
+ allTasks: 'Backlog',
+ tools: 'Herramientas',
+ tasks: 'Tareas',
+ todayTasks: 'Hoy',
+ upcomingTasks: 'Próximas',
+ lastTasks: 'Tareas recientes',
+ todayExplanation: 'Tareas con fecha límite para hoy o anterior',
+ upcomingExplanation: 'Tareas con fecha límite en un futuro cercano',
+ lastAddedTasksExplanation: 'Tareas añadidas recientemente sin fecha límite',
+ lastCompletedTasksExplanation: 'Tareas completadas recientemente',
+ pending: 'Activas',
+ completed: 'Completadas',
+ noTasks: 'No hay tareas',
+ addTask: 'Añadir tarea',
+ addTaskToToday: 'Añadir tarea para hoy',
+ addTaskToUpcoming: 'Añadir tarea próxima',
+ groupByDate: 'Agrupar por fecha',
+ showAsList: 'Mostrar como lista',
+ noDeadline: 'Sin fecha',
+ addFirstProject: 'Añade tu primer proyecto',
+ today: 'Hoy',
+ lastAddedTasks: 'Añadidas',
+ lastCompletedTasks: 'Completadas',
+ },
+ admin: {
+ search: 'Buscar tareas...',
+ },
+ motivationToday: [
+ '¡Gran día para la productividad!',
+ '¡Hoy es tu día!',
+ '¡Empieza por algo pequeño!',
+ '¡Cada tarea es un paso adelante!',
+ ],
+ motivationUpcoming: [
+ '¡Planifica con antelación!',
+ '¡El futuro está en tus manos!',
+ '¡Prepárate para el éxito!',
+ '¡Cosas emocionantes por venir!',
+ ],
+ deadline: {
+ startDate: 'Fecha de inicio',
+ endDate: 'Fecha de fin',
+ selectTime: 'Seleccionar hora',
+ selectRange: 'Seleccionar rango',
+ today: 'Hoy',
+ tomorrow: 'Mañana',
+ yesterday: 'Ayer',
+ thisWeek: 'Esta semana',
+ thisMonth: 'Este mes',
+ },
+ recurrence: {
+ title: 'Repetir',
+ noRepeat: 'Sin repetición',
+ paused: 'En pausa',
+ ended: 'Finalizada',
+ skip: 'Omitir ocurrencia',
+ pause: 'Pausar',
+ resume: 'Reanudar',
+ deleteSeries: 'Eliminar serie',
+ selectTime: 'Seleccionar hora',
+ notifyOnOccurrence: 'Recordar cada ocurrencia',
+ preview: 'Próximas ocurrencias',
+ repeatEvery: 'Repetir cada',
+ startDate: 'Fecha de inicio',
+ specifyTime: 'Especificar hora',
+ occurrenceTime: 'Hora de la ocurrencia',
+ datesCount: '{n} fechas',
+ previewFooterTime: '{period} · a las {time}',
+ frequency: {
+ daily: 'Diaria',
+ weekly: 'Semanal',
+ monthly: 'Mensual',
+ yearly: 'Anual',
+ },
+ freqShort: {
+ none: 'Ninguna',
+ daily: 'Día',
+ weekly: 'Semana',
+ monthly: 'Mes',
+ yearly: 'Año',
+ },
+ units: {
+ daily: 'días',
+ weekly: 'semanas',
+ monthly: 'meses',
+ yearly: 'años',
+ },
+ summary: {
+ daily: 'Diaria',
+ weekly: 'Semanal',
+ monthly: 'Mensual',
+ yearly: 'Anual',
+ everyN: 'Cada {n} {unit}',
+ },
+ weekdays: {
+ mon: 'Lun',
+ tue: 'Mar',
+ wed: 'Mié',
+ thu: 'Jue',
+ fri: 'Vie',
+ sat: 'Sáb',
+ sun: 'Dom',
+ },
+ monthly: {
+ dayOfMonth: 'El día {day}',
+ lastDay: 'El último día del mes',
+ },
+ ends: {
+ title: 'Finaliza',
+ never: 'Nunca',
+ after: 'Después de N ocurrencias',
+ onDate: 'En una fecha',
+ pickDate: 'Elige una fecha',
+ },
+ toasts: {
+ saved: 'Recurrencia guardada',
+ skipped: 'Ocurrencia omitida',
+ deleted: 'Serie eliminada',
+ },
+ },
+ graph: {
+ title: 'Gráfico',
+ description: 'La vista de gráfico estará disponible pronto',
+ addTask: 'Añadir tarea',
+ selectedEdge: 'Conexión seleccionada',
+ },
+ collaboration: {
+ title: 'Colaboración',
+ description: 'Las funciones de colaboración estarán disponibles pronto',
+ selectProject: 'Selecciona un proyecto para gestionar la colaboración',
+ tabs: {
+ members: 'Miembros',
+ roles: 'Roles',
+ },
+ members: {
+ title: 'Miembros del equipo',
+ add: 'Añadir miembro',
+ invite: 'Añadir miembro',
+ email: 'Dirección de correo electrónico',
+ emailPlaceholder: 'colega{\'@\'}ejemplo.com',
+ sendInvite: 'Enviar invitación',
+ pending: 'Pendiente',
+ owner: 'Propietario',
+ invitedAt: 'Invitado',
+ noRoles: 'Sin roles asignados',
+ assignRoles: 'Asignar roles',
+ selectRoles: 'Selecciona los roles para este miembro',
+ resendInvite: 'Reenviar invitación',
+ remove: 'Eliminar miembro',
+ empty: 'Aún no hay miembros del equipo. ¡Añade a alguien para colaborar!',
+ },
+ roles: {
+ title: 'Roles',
+ create: 'Crear rol',
+ name: 'Nombre del rol',
+ namePlaceholder: 'Introduce el nombre del rol',
+ permissionsCount: '{count} permisos',
+ system: 'Sistema',
+ assignPermissions: 'Asignar permisos',
+ systemRoleWarning: 'Los roles del sistema no se pueden modificar',
+ deleteConfirm: 'Eliminar rol',
+ deleteMessage: '¿Seguro que quieres eliminar "{name}"? Los miembros con este rol deberán reasignarse.',
+ empty: 'Aún no hay roles personalizados. Crea uno para definir permisos específicos.',
+ },
+ permissions: {
+ searchPlaceholder: 'Buscar permisos...',
+ groups: {
+ tasks: 'Tareas',
+ lists: 'Listas',
+ members: 'Miembros',
+ roles: 'Roles',
+ },
+ view_tasks: 'Ver tareas',
+ view_tasksDesc: 'Puede ver las tareas del proyecto',
+ create_tasks: 'Crear tareas',
+ create_tasksDesc: 'Puede crear nuevas tareas',
+ edit_tasks: 'Editar tareas',
+ edit_tasksDesc: 'Puede editar tareas existentes',
+ delete_tasks: 'Eliminar tareas',
+ delete_tasksDesc: 'Puede eliminar tareas',
+ view_lists: 'Ver listas',
+ view_listsDesc: 'Puede ver las listas del proyecto',
+ create_lists: 'Crear listas',
+ create_listsDesc: 'Puede crear nuevas listas',
+ edit_lists: 'Editar listas',
+ edit_listsDesc: 'Puede editar listas existentes',
+ delete_lists: 'Eliminar listas',
+ delete_listsDesc: 'Puede eliminar listas',
+ view_members: 'Ver miembros',
+ view_membersDesc: 'Puede ver los miembros del proyecto',
+ invite_members: 'Invitar miembros',
+ invite_membersDesc: 'Puede invitar a nuevos miembros',
+ remove_members: 'Eliminar miembros',
+ remove_membersDesc: 'Puede eliminar miembros del proyecto',
+ view_roles: 'Ver roles',
+ view_rolesDesc: 'Puede ver los roles',
+ manage_roles: 'Gestionar roles',
+ manage_rolesDesc: 'Puede crear, editar y eliminar roles',
+ },
+ },
+ integrations: {
+ title: 'Integraciones',
+ selectProject: 'Selecciona un proyecto para gestionar las integraciones',
+ add: 'Añadir integración',
+ addTitle: 'Conectar repositorio',
+ connectDescription: 'Elige un proveedor para conectar tu repositorio.',
+ provider: 'Proveedor',
+ repoFullName: 'Repositorio',
+ repoPlaceholder: 'propietario/repositorio',
+ empty: 'Aún no hay integraciones. Conecta un repositorio de GitHub o GitLab para sincronizar las incidencias.',
+ selectRepo: 'Seleccionar repositorio',
+ searchRepos: 'Buscar repositorios...',
+ noReposFound: 'No se encontraron repositorios',
+ pendingSelectRepo: 'Repositorio no seleccionado',
+ private: 'Privado',
+ syncFailed: 'Error al sincronizar la incidencia',
+ syncFailedDescription: 'No se pudo actualizar la incidencia en el repositorio remoto. Usa el botón de sincronización en la página de integraciones para reintentarlo.',
+ sync: 'Sincronizar',
+ syncing: 'Sincronizando...',
+ },
+ webhooks: {
+ title: 'Webhooks',
+ selectProject: 'Selecciona un proyecto para gestionar los Webhooks',
+ add: 'Añadir Webhook',
+ empty: 'Aún no hay Webhooks. Añade un Webhook para recibir notificaciones de eventos.',
+ url: 'URL',
+ urlPlaceholder: 'https://example.com/webhook',
+ events: 'Eventos',
+ selectEvents: 'Seleccionar eventos',
+ test: 'Probar',
+ deliveries: 'Entregas',
+ noDeliveries: 'Aún no hay entregas',
+ rotateSecret: 'Rotar secreto',
+ secretTitle: 'Secreto del Webhook',
+ secretDescription: 'Copia este secreto y guárdalo de forma segura. No se volverá a mostrar.',
+ event: 'Evento',
+ status: 'Estado',
+ httpCode: 'Código HTTP',
+ attempts: 'Intentos',
+ time: 'Hora',
+ payload: 'Carga útil',
+ viewPayload: 'Ver carga útil',
+ copy: 'Copiar',
+ edit: 'Editar',
+ allStatuses: 'Todos los estados',
+ rotateConfirm: '¿Seguro que quieres rotar el secreto? El secreto actual dejará de funcionar de inmediato y todos los consumidores del Webhook deberán actualizarse con el nuevo secreto.',
+ },
+ main: 'Principal',
+ mainScreen: {
+ welcome: 'Bienvenido',
+ selectProject: 'Selecciona un proyecto en la barra lateral para empezar',
+ },
+ tasks: {
+ amount: 'Importe',
+ enterAmount: 'Introduce el importe',
+ noTransactionType: 'Tipo de transacción',
+ income: 'Ingreso',
+ expense: 'Gasto',
+ allTasks: 'Todas las tareas',
+ addPlaceholder: 'Introduce el nombre de la tarea',
+ searchPlaceholder: 'Buscar tareas...',
+ add: 'Añadir tarea',
+ details: 'Detalles de la tarea',
+ description: 'Descripción',
+ addDescription: 'Añade una descripción...',
+ note: 'Nota',
+ addNote: 'Añade una nota...',
+ priority: 'Prioridad',
+ priorityNone: 'Sin prioridad',
+ priorityLow: 'Baja',
+ priorityMedium: 'Media',
+ priorityHigh: 'Alta',
+ priorityLowDesc: 'Puede esperar',
+ priorityMediumDesc: 'Importancia normal',
+ priorityHighDesc: 'Urgente, hacer primero',
+ dueDate: 'Fecha de vencimiento',
+ deadline: 'Fecha límite',
+ addDueDate: 'Añadir fecha de vencimiento',
+ assignees: 'Responsables',
+ selectAssignees: 'Seleccionar responsables',
+ searchUsers: 'Buscar usuarios...',
+ noUsersAvailable: 'No hay usuarios disponibles',
+ list: 'Lista',
+ selectList: 'Seleccionar lista',
+ searchLists: 'Buscar listas...',
+ noList: 'Sin lista',
+ sprintNone: 'Sin sprint',
+ sprintUpdateFailed: 'Error al actualizar el sprint',
+ estimatePlaceholder: 'Puntos de historia',
+ fields: {
+ sprint: 'Sprint',
+ estimate: 'Estimación',
+ },
+ status: 'Estado',
+ selectStatus: 'Seleccionar estado',
+ searchStatuses: 'Buscar estados...',
+ noStatus: 'Sin estado',
+ tags: 'Etiquetas',
+ addTag: 'Añadir etiqueta',
+ subtasks: 'Subtareas',
+ addSubtask: 'Añadir subtarea',
+ notFound: 'Tarea no encontrada',
+ noTasks: 'No hay tareas',
+ showCompleted: 'Mostrar completadas',
+ hideCompleted: 'Ocultar completadas',
+ sortNewestFirst: 'Más recientes primero',
+ sortOldestFirst: 'Más antiguas primero',
+ sortBy: 'Ordenar por',
+ sortByDate: 'Fecha de creación',
+ sortByPriority: 'Prioridad',
+ sortHighestFirst: 'Mayor primero',
+ sortLowestFirst: 'Menor primero',
+ deleteConfirm: 'Eliminar tarea',
+ deleteMessage: '¿Seguro que quieres eliminar "{name}"? Esta acción no se puede deshacer.',
+ },
+ tags: {
+ createTag: 'Crear etiqueta',
+ createNamed: 'Crear «{name}»',
+ editTag: 'Editar etiqueta',
+ name: 'Nombre',
+ namePlaceholder: 'Nombre de la etiqueta',
+ color: 'Color',
+ preview: 'Vista previa',
+ tagName: 'Nombre de la etiqueta',
+ searchPlaceholder: 'Buscar etiquetas...',
+ noTagsFound: 'No se encontraron etiquetas',
+ noTagsAssigned: 'No hay etiquetas asignadas',
+ manageTags: 'Gestionar',
+ deleteConfirm: 'Eliminar etiqueta',
+ deleteMessage: '¿Seguro que quieres eliminar "{name}"? Esta acción no se puede deshacer.',
+ },
+ priority: {
+ low: 'Baja',
+ medium: 'Media',
+ high: 'Alta',
+ },
+ history: {
+ title: 'Historial de cambios',
+ show: 'Mostrar historial',
+ hide: 'Ocultar historial',
+ empty: 'No hay historial de cambios',
+ changed: 'Cambiado',
+ restore: 'Restaurar',
+ details: 'Detalles del cambio',
+ completeTrue: 'Completada',
+ completeFalse: 'No completada',
+ fields: {
+ note: 'Nota',
+ description: 'Descripción',
+ complete: 'Estado de finalización',
+ priority: 'Prioridad',
+ list: 'Lista',
+ endDate: 'Fecha de vencimiento',
+ startDate: 'Fecha de inicio',
+ },
+ },
+ filters: {
+ title: 'Filtros',
+ assignee: 'Responsable',
+ selectAssignee: 'Seleccionar responsable',
+ allUsers: 'Todos los usuarios',
+ reset: 'Restablecer',
+ apply: 'Aplicar',
+ },
+ userMenu: {
+ profile: 'Perfil',
+ appearance: 'Apariencia',
+ light: 'Claro',
+ dark: 'Oscuro',
+ language: 'Idioma',
+ taskDetailView: 'Vista de detalles de tarea',
+ taskDetailSlideover: 'Panel lateral',
+ taskDetailModal: 'Diálogo',
+ sidebarView: 'Vista de la barra lateral',
+ sidebarViewSecond: 'Compacta',
+ sidebarViewFirst: 'Clásica',
+ site: 'Sitio',
+ documentation: 'Documentación',
+ github: 'Repositorio de GitHub',
+ docker: 'Imágenes de Docker',
+ accountSettings: 'Configuración de la cuenta',
+ uiCustomization: 'Personalización de la interfaz',
+ organizations: 'Organizaciones',
+ analytics: 'Analíticas',
+ timeReports: 'Informes de tiempo',
+ switchOrganization: 'Cambiar de organización',
+ logout: 'Cerrar sesión',
+ logoutFailed: 'Error al cerrar sesión',
+ logoutFailedDescription: 'Intenta borrar la caché del navegador para eliminar el token de autorización',
+ },
+ analytics: {
+ page: {
+ title: 'Analíticas',
+ subtitle: 'Métricas de productividad y estado del proyecto',
+ emptyState: 'Aún no hay datos. Crea tareas para ver las analíticas.',
+ emptyStateForPeriod: 'No hay datos para el período seleccionado. Prueba con uno más largo.',
+ partialFailure: 'Algunas secciones no se pudieron cargar. Prueba a actualizar.',
+ },
+ errors: {
+ forbidden: 'No tienes acceso a estas analíticas.',
+ network: 'No se pudo conectar con el servidor. Comprueba tu conexión.',
+ server: 'El servidor devolvió un error. Prueba a actualizar la página.',
+ unknown: 'Error al cargar las analíticas.',
+ },
+ help: {
+ aria: 'Ayuda para esta métrica',
+ },
+ chartTypes: {
+ line: 'Líneas',
+ bar: 'Barras',
+ area: 'Área',
+ stackedBar: 'Apiladas',
+ stackedArea: 'Área apilada',
+ horizontalBar: 'Horiz.',
+ donut: 'Anillo',
+ histogram: 'Histograma',
+ radar: 'Radar',
+ },
+ units: {
+ days: 'd',
+ hours: 'h',
+ },
+ priorities: {
+ low: 'Baja',
+ medium: 'Media',
+ high: 'Alta',
+ },
+ filters: {
+ periods: {
+ month: 'Este mes',
+ '7d': '7 días',
+ '30d': '30 días',
+ '90d': '90 días',
+ '180d': 'Trimestre',
+ '365d': 'Año',
+ custom: 'Rango personalizado',
+ },
+ scopes: {
+ org: 'Toda la organización',
+ },
+ },
+ drillDown: {
+ defaultTitle: 'Tareas',
+ empty: 'No hay tareas en esta selección',
+ denied: 'No tienes permiso para ver los detalles de tareas individuales',
+ noTaskTitle: 'Sin título',
+ due: 'vence',
+ created: 'creada',
+ closed: 'cerrada',
+ },
+ sectionCard: {
+ noData: 'No hay datos para el período seleccionado',
+ },
+ },
+ account: {
+ title: 'Configuración de la cuenta',
+ nav: 'Configuración',
+ management: 'Gestión de la cuenta',
+ deleteAccount: 'Eliminar cuenta',
+ deleteConfirm: '¿Seguro que quieres eliminar la cuenta y todos los datos asociados?',
+ deleteWarning: '¡Se eliminarán todos los datos asociados a esta cuenta! ¡Esta acción no se puede deshacer!',
+ enterCode: 'Introduce el código del correo electrónico',
+ confirm: 'Confirmar',
+ cancel: 'Cancelar',
+ deleted: 'Cuenta eliminada',
+ codeSendError: 'No se pudo enviar el código. Ponte en contacto con soporte para eliminar tu cuenta.',
+ },
+ organizations: {
+ title: 'Organizaciones',
+ create: 'Crear organización',
+ name: 'Nombre',
+ namePlaceholder: 'p. ej. Mi equipo',
+ slug: 'Slug',
+ slugPlaceholder: 'mi-equipo',
+ members: 'Miembros',
+ addMember: 'Añadir miembro',
+ email: 'Correo electrónico',
+ role: 'Rol',
+ owner: 'Propietario',
+ admin: 'Administrador',
+ member: 'Miembro',
+ remove: 'Eliminar',
+ delete: 'Eliminar organización',
+ deleteConfirm: '¿Seguro que quieres eliminar esta organización y todos sus proyectos?',
+ empty: 'Aún no hay organizaciones',
+ currentOrg: 'Organización actual',
+ active: 'Activa',
+ settings: 'Configuración',
+ general: 'General',
+ save: 'Guardar',
+ created: 'Organización creada',
+ updated: 'Organización actualizada',
+ deleted: 'Organización eliminada',
+ memberAdded: 'Miembro añadido',
+ memberRemoved: 'Miembro eliminado',
+ roleUpdated: 'Rol actualizado',
+ close: 'Cerrar',
+ slugTaken: 'Este slug ya está en uso',
+ personal: 'Este es tu espacio de trabajo personal',
+ personalHint: 'Se creó automáticamente junto con tu cuenta. No se puede eliminar.',
+ },
+ uiCustomization: {
+ title: 'Personalización de la interfaz',
+ description: 'Activa o desactiva la visibilidad y reordena los elementos en las distintas secciones de la app. Arrastra desde el controlador de la izquierda para reordenar. Aquí se muestran todos los elementos disponibles — las comprobaciones de permisos se aplican en el momento del renderizado y pueden ocultar un elemento aunque esté activado.',
+ show: 'Mostrar',
+ hide: 'Ocultar',
+ narrow: 'Estrecho',
+ wide: 'Ancho',
+ empty: 'No hay elementos que personalizar',
+ sections: {
+ analyticsIndicators: 'Analíticas — Indicadores',
+ analyticsCharts: 'Analíticas — Gráficos',
+ tasks: 'Tareas',
+ others: 'Otros',
+ },
+ others: {
+ weekStart: 'Primer día de la semana',
+ weekStartHint: 'Se aplica a todos los selectores de fecha del calendario.',
+ weekStartDefault: 'Predeterminado',
+ monday: 'Lunes',
+ tuesday: 'Martes',
+ wednesday: 'Miércoles',
+ thursday: 'Jueves',
+ friday: 'Viernes',
+ saturday: 'Sábado',
+ sunday: 'Domingo',
+ },
+ taskFields: {
+ subtasks: 'Subtareas',
+ note: 'Descripción',
+ status: 'Estado',
+ priority: 'Prioridad',
+ assignees: 'Responsables',
+ list: 'Lista',
+ sprint: 'Sprint',
+ estimate: 'Estimación',
+ tags: 'Etiquetas',
+ deadline: 'Fecha límite',
+ amount: 'Importe',
+ timeTracking: 'Registro de tiempo',
+ history: 'Historial',
+ },
+ },
+ sso: {
+ noConfig: 'El SSO no está configurado para esta organización',
+ configure: 'Configurar SSO',
+ protocol: 'Protocolo',
+ displayName: 'Nombre del proveedor',
+ displayNamePlaceholder: 'p. ej. Okta, Azure AD',
+ emailDomain: 'Dominio de correo electrónico',
+ metadataUrl: 'URL de metadatos del IdP',
+ metadataUrlRequired: 'Introduce la URL de metadatos',
+ metadataSynced: 'Metadatos sincronizados correctamente',
+ metadataSyncFailed: 'Error al sincronizar los metadatos',
+ sync: 'Sincronizar',
+ samlEntryPoint: 'URL de SSO del IdP',
+ samlIssuer: 'ID de entidad del SP',
+ samlCert: 'Certificado del IdP',
+ samlCertPlaceholder: 'Pega el certificado público del IdP (formato PEM)',
+ samlCallbackUrl: 'URL de ACS (Callback)',
+ samlLogoutUrl: 'URL de cierre de sesión del IdP (SLO)',
+ requestSigning: 'Firma de solicitudes (enterprise)',
+ requestSigningDescription: 'Firma las AuthnRequest de SAML con una clave privada. Algunos IdP lo requieren para mayor seguridad.',
+ generateKeysTitle: 'openssl req -x509 -newkey rsa:2048 -keyout sp-key.pem -out sp-cert.pem -days 3650 -nodes -subj "/CN=taskview"',
+ generateKeysHint: 'sp-key.pem → campo Clave privada. sp-cert.pem → campo Certificado + subir al IdP.',
+ samlSigningKey: 'Clave privada del SP (PEM)',
+ samlSigningKeyPlaceholder: 'Pega la clave privada PEM (-----BEGIN PRIVATE KEY-----...)',
+ samlSigningCert: 'Certificado del SP (PEM)',
+ samlSigningCertPlaceholder: 'Pega el certificado PEM (-----BEGIN CERTIFICATE-----...)',
+ secretConfigured: 'El valor está configurado (deja vacío para mantener el actual)',
+ secretAlreadySet: 'Configurado - deja vacío para mantener el valor actual',
+ oidcIssuer: 'URL del emisor',
+ oidcClientId: 'ID de cliente',
+ oidcClientSecret: 'Secreto de cliente',
+ oidcCallbackUrl: 'URL de Callback',
+ enabled: 'Activado',
+ disabled: 'Desactivado',
+ callbackUrlLabel: 'URL de Callback (úsala en tu IdP)',
+ copied: 'Copiado al portapapeles',
+ copyFailed: 'Error al copiar',
+ create: 'Crear',
+ save: 'Guardar',
+ cancel: 'Cancelar',
+ created: 'Proveedor de SSO creado',
+ updated: 'Proveedor de SSO actualizado',
+ deleted: 'Proveedor de SSO eliminado',
+ domainAlreadyExists: 'Ya existe una configuración de SSO para este dominio',
+ saveFailed: 'Error al guardar la configuración de SSO',
+ deleteFailed: 'Error al eliminar la configuración de SSO',
+ fillRequired: 'Rellena todos los campos obligatorios',
+ },
+ scim: {
+ description: 'Sincroniza automáticamente el ciclo de vida de los usuarios desde tu IdP',
+ endpointUrl: 'URL del endpoint de SCIM',
+ generateToken: 'Generar token de SCIM',
+ regenerateToken: 'Regenerar token',
+ tokenWarning: 'Copia este token ahora. No se volverá a mostrar.',
+ tokenGenerated: 'Token de SCIM generado',
+ tokenFailed: 'Error al generar el token',
+ toggleFailed: 'Error al activar o desactivar SCIM',
+ },
+ apiTokens: {
+ title: 'Tokens de API',
+ description: 'Crea tokens para acceder a la API de forma programática.',
+ add: 'Generar nuevo token',
+ name: 'Nombre del token',
+ namePlaceholder: 'p. ej. CI/CD, App móvil',
+ expiration: 'Caducidad',
+ noExpiration: 'Sin caducidad',
+ days30: '30 días',
+ days60: '60 días',
+ days90: '90 días',
+ year1: '1 año',
+ projects: 'Proyectos',
+ projectsHint: 'Restringe el token a proyectos específicos. Deja vacío para acceder a todos los proyectos.',
+ allProjects: 'Todos los proyectos',
+ permissions: 'Permisos',
+ permissionsCount: 'permisos',
+ permissionsDocs: 'Más información sobre los permisos',
+ generate: 'Generar token',
+ tokenCreated: 'Token creado',
+ tokenDescription: 'Copia este token ahora. No se volverá a mostrar.',
+ lastUsed: 'Último uso',
+ never: 'Nunca',
+ expires: 'Caduca',
+ deleteConfirm: '¿Seguro que quieres eliminar este token? Cualquier aplicación que lo use perderá el acceso.',
+ empty: 'Aún no hay tokens de API.',
+ },
+ sessions: {
+ title: 'Sesiones activas',
+ description: 'Gestiona tus sesiones activas. Puedes revocar el acceso de cualquier sesión excepto la actual.',
+ current: 'Sesión actual',
+ lastUsed: 'Último uso',
+ created: 'Creada',
+ deleteConfirm: '¿Seguro que quieres finalizar esta sesión? El dispositivo se cerrará la sesión.',
+ deleteAll: 'Finalizar todas las demás sesiones',
+ deleteAllConfirm: '¿Seguro que quieres finalizar todas las demás sesiones? Todos los dispositivos excepto el actual cerrarán la sesión.',
+ empty: 'No hay otras sesiones activas.',
+ unknown: 'Dispositivo desconocido',
+ },
+ notifications: {
+ title: 'Notificaciones',
+ empty: 'No hay notificaciones',
+ markAllRead: 'Marcar todo como leído',
+ loadMore: 'Cargar más',
+ settings: {
+ title: 'Configuración de notificaciones',
+ description: 'Elige qué notificaciones quieres recibir y cómo.',
+ push: 'Push',
+ websocket: 'En la app',
+ types: {
+ deadline: 'Fechas límite',
+ deadlineDescription: 'Cuando se alcanza la fecha límite de una tarea',
+ assign: 'Asignaciones',
+ assignDescription: 'Cuando se te asigna una tarea',
+ },
+ saved: 'Configuración guardada',
+ },
+ },
+ server: {
+ selectServer: 'Servidor',
+ addServer: 'Añadir servidor',
+ addNewServer: 'Añadir nuevo servidor',
+ serverUrl: 'URL del servidor',
+ serverUrlHint: 'Introduce la URL completa del servidor de la API, p. ej. https://api.example.com',
+ defaultServer: 'Servidor predeterminado',
+ },
+ connection: {
+ offline: 'Sin conexión a internet',
+ restored: 'Conexión restablecida',
+ reload: 'Recargar',
+ },
+ timeTracking: {
+ title: 'Registro de tiempo',
+ empty: 'Aún no hay registros de tiempo',
+ you: 'Tú',
+ unknownUser: 'Usuario desconocido',
+ start: 'Iniciar',
+ stop: 'Detener',
+ running: 'En curso',
+ addManual: 'Añadir manualmente',
+ startedAt: 'Iniciado a las',
+ endedAt: 'Finalizado a las',
+ description: 'Descripción',
+ billable: 'Facturable',
+ save: 'Guardar',
+ cancel: 'Cancelar',
+ willStopOther: 'Al iniciar se detendrá tu temporizador actual en otra tarea',
+ previousStopped: 'Temporizador anterior detenido',
+ previousStoppedDescription: 'Tu temporizador anterior estuvo en curso durante {duration} y se ha detenido',
+ activeTimerTooltip: 'Haz clic para abrir la tarea — el icono cuadrado para detener',
+ autostopHours: 'Detener temporizadores automáticamente después de (horas)',
+ autostopHint: 'Deja vacío para desactivar',
+ delete: 'Eliminar',
+ deleteConfirmTitle: '¿Eliminar registro de tiempo?',
+ deleteConfirm: 'Esta acción no se puede deshacer.',
+ errors: {
+ generic: 'Error en la acción de registro de tiempo',
+ forbidden: 'No tienes permiso para esta acción',
+ notFound: 'Registro de tiempo no encontrado',
+ validation: 'Datos de entrada inválidos',
+ network: 'Error de red. Comprueba tu conexión.',
+ },
+ reports: {
+ title: 'Informes de tiempo',
+ allProjects: 'Todos los proyectos',
+ allUsers: 'Todos los usuarios',
+ clearUser: 'Limpiar filtro de usuario',
+ billableOnly: 'Solo facturable',
+ openTask: 'Abrir tarea',
+ kpiTotal: 'Tiempo total',
+ kpiBillable: 'Facturable',
+ kpiEntries: 'Registros',
+ byTask: 'Por tarea',
+ byUser: 'Por usuario',
+ byDay: 'Por día',
+ colTask: 'Tarea',
+ colUser: 'Usuario',
+ colDay: 'Día',
+ colHours: 'Tiempo',
+ colEntries: 'Registros',
+ empty: 'No hay datos para los filtros seleccionados',
+ recentEntries: 'Registros recientes',
+ noPermission: 'No tienes permiso para ver los informes de tiempo',
+ noPermissionHint: 'Pide a un administrador del proyecto el permiso de visualización de registro de tiempo para acceder a los informes.',
+ },
+ },
+ sprints: {
+ title: 'Sprints',
+ create: 'Nuevo sprint',
+ editTitle: 'Editar sprint',
+ empty: 'Aún no hay sprints',
+ noActive: 'No hay sprint activo',
+ noPermission: 'No tienes permiso para ver los sprints',
+ paused: 'En pausa',
+ deleteConfirm: '¿Eliminar el sprint "{name}"? Esto no se puede deshacer.',
+ tabs: {
+ backlog: 'Backlog',
+ active: 'Activo',
+ planned: 'Planificado',
+ completed: 'Completado',
+ },
+ status: {
+ draft: 'Borrador',
+ planned: 'Planificado',
+ active: 'Activo',
+ review: 'Revisión',
+ completed: 'Completado',
+ },
+ fields: {
+ name: 'Nombre',
+ namePlaceholder: 'p. ej. Sprint 14',
+ goal: 'Objetivo del sprint',
+ goalPlaceholder: 'Cómo se ve el éxito para este sprint',
+ startDate: 'Fecha de inicio',
+ endDate: 'Fecha de fin',
+ capacity: 'Capacidad (SP)',
+ capacityPlaceholder: 'Puntos de historia',
+ estimate: 'Estimación',
+ },
+ units: {
+ points: 'puntos de historia',
+ pointsShort: 'SP',
+ hours: 'horas',
+ hoursShort: 'h',
+ },
+ actions: {
+ activate: 'Activar',
+ startReview: 'Iniciar revisión',
+ close: 'Cerrar sprint',
+ pause: 'Pausar',
+ resume: 'Reanudar',
+ delete: 'Eliminar',
+ saveRetro: 'Guardar retrospectiva',
+ plan: 'Planificar',
+ },
+ metrics: {
+ capacityUtilization: 'Uso de la capacidad',
+ noCapacity: 'Sin capacidad definida',
+ planned: 'Planificado',
+ accepted: 'Aceptado',
+ goal: 'Objetivo',
+ goalAchieved: 'Logrado',
+ goalMissed: 'No logrado',
+ },
+ taskList: {
+ title: 'Tareas',
+ empty: 'No hay tareas en este sprint',
+ estimate: 'Est',
+ },
+ burndown: {
+ title: 'Burndown',
+ empty: 'No hay datos de burndown disponibles',
+ ideal: 'Ideal',
+ actual: 'Real',
+ },
+ velocity: {
+ title: 'Velocidad',
+ empty: 'Aún no hay datos de velocidad',
+ lastN: 'Últimos {n} sprints',
+ planned: 'Planificado',
+ accepted: 'Aceptado',
+ },
+ retro: {
+ title: 'Retrospectiva',
+ wentWell: 'Qué fue bien',
+ wentWellPlaceholder: 'Cosas que funcionaron',
+ wentBad: 'Qué fue mal',
+ wentBadPlaceholder: 'Cosas a mejorar',
+ actionItems: 'Acciones a realizar',
+ actionItemsPlaceholder: 'Qué cambiar en el próximo sprint',
+ },
+ review: {
+ title: 'Cerrar sprint',
+ hint: 'Establece un resultado para cada tarea antes de cerrar el sprint.',
+ noTasks: 'No hay tareas que revisar',
+ goalAchieved: 'Objetivo del sprint logrado',
+ carryTo: 'Trasladar a',
+ backlogOption: 'Backlog',
+ warningTitle: 'Esto finaliza el sprint',
+ warning: 'Una vez cerrado, el sprint se marca como completado y cuenta para la velocidad. Las tareas sin terminar se trasladan o se descartan según las opciones de abajo.',
+ confirmTitle: '¿Cerrar este sprint?',
+ confirmMessage: 'El sprint se marcará como completado y sus tareas se moverán según los resultados elegidos. ¿Continuar?',
+ },
+ outcomes: {
+ accepted: 'Aceptada',
+ carriedOver: 'Trasladada',
+ dropped: 'Descartada',
+ },
+ carryOver: {
+ backlog: 'Mover al backlog',
+ next: 'Mover al siguiente sprint',
+ keep: 'Mantener en el sprint',
+ },
+ planning: {
+ title: 'Planificación del sprint',
+ backlog: 'Backlog',
+ backlogEmpty: 'No hay tareas en el backlog',
+ inSprint: 'En el sprint',
+ sprintEmpty: 'Aún no hay tareas asignadas',
+ loadError: 'Error al cargar las tareas',
+ retry: 'Reintentar',
+ },
+ cadence: {
+ button: 'Auto-sprints',
+ title: 'Sprints automáticos',
+ description: 'Genera sprints con un calendario fijo, como Linear. Los sprints actual y próximos se crean por ti — actívalos manualmente cuando estés listo.',
+ enable: 'Activar auto-sprints',
+ enableHint: 'Aún puedes crear y cerrar sprints manualmente.',
+ length: 'Duración del sprint',
+ weeks: '{n} semana | {n} semanas',
+ startDate: 'El primer sprint comienza',
+ startDateHint: 'Fecha de anclaje — cada sprint se cuenta hacia adelante desde aquí.',
+ lookahead: 'Sprints por adelantado',
+ lookaheadHint: 'Cuántos sprints futuros mantener creados además del actual.',
+ nameTemplate: 'Plantilla de nombre',
+ nameTemplateHint: 'Usa {\'{n}\'} donde debe aparecer el número del sprint.',
+ saved: 'Configuración de auto-sprints guardada',
+ },
+ notifications: {
+ starting: 'El sprint empieza pronto',
+ ending: 'El sprint termina pronto',
+ completed: 'Sprint completado',
+ },
+ toasts: {
+ created: 'Sprint creado',
+ updated: 'Sprint actualizado',
+ closed: 'Sprint cerrado',
+ retroSaved: 'Retrospectiva guardada',
+ assignFailed: 'Error al actualizar la tarea',
+ closeFailed: 'Error al cerrar el sprint',
+ },
+ },
+}
diff --git a/web/src/locales/index.ts b/web/src/locales/index.ts
index d023e7c..3b32067 100644
--- a/web/src/locales/index.ts
+++ b/web/src/locales/index.ts
@@ -1,13 +1,15 @@
import de from './de'
import en from './en'
+import es from './es'
import ru from './ru'
export const messages = {
en,
ru,
de,
+ es,
}
export type Locale = keyof typeof messages
-export const locales: Locale[] = ['en', 'ru', 'de']
+export const locales: Locale[] = ['en', 'ru', 'de', 'es']
export const defaultLocale: Locale = 'en'
diff --git a/web/src/locales/ru.ts b/web/src/locales/ru.ts
index 269b7b5..daa6088 100644
--- a/web/src/locales/ru.ts
+++ b/web/src/locales/ru.ts
@@ -102,8 +102,10 @@ export default {
addPlaceholder: 'Введите название проекта',
createNew: 'Создать новый проект',
add: 'Добавить проект',
+ empty: 'Пока нет проектов',
},
contextMenu: {
+ tasks: 'Список',
kanban: 'Канбан',
graph: 'Граф',
sprints: 'Спринты',
@@ -177,6 +179,9 @@ export default {
addTask: 'Добавить задачу',
addTaskToToday: 'Добавить задачу на сегодня',
addTaskToUpcoming: 'Добавить предстоящую задачу',
+ groupByDate: 'Группировать по дате',
+ showAsList: 'Показать списком',
+ noDeadline: 'Без даты',
addFirstProject: 'Добавьте свой первый проект',
today: 'Сегодня',
lastAddedTasks: 'Добавленные',
@@ -221,6 +226,7 @@ export default {
notifyOnOccurrence: 'Напоминать о каждом повторении',
preview: 'Ближайшие повторения',
repeatEvery: 'Повторять каждые',
+ startDate: 'Дата начала',
specifyTime: 'Указать время',
occurrenceTime: 'Время повторения',
datesCount: '{n} дат',
@@ -559,11 +565,13 @@ export default {
},
filters: {
periods: {
+ month: 'Текущий месяц',
'7d': '7 дней',
'30d': '30 дней',
'90d': '90 дней',
'180d': 'Квартал',
'365d': 'Год',
+ custom: 'Произвольный период',
},
scopes: {
org: 'Вся организация',
diff --git a/web/src/stores/analytics.store.ts b/web/src/stores/analytics.store.ts
index c68d10b..f532bf3 100644
--- a/web/src/stores/analytics.store.ts
+++ b/web/src/stores/analytics.store.ts
@@ -33,7 +33,7 @@ function classifyError(e: unknown): AnalyticsError {
export const useAnalyticsStore = defineStore('analytics', {
state: (): AnalyticsState => ({
scope: { kind: 'org' },
- period: '30d',
+ period: 'month',
customFrom: null,
customTo: null,
sections: [],
@@ -113,6 +113,7 @@ export const useAnalyticsStore = defineStore('analytics', {
scope: this.scope,
organizationId,
period: this.period,
+ timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
from: this.customFrom ?? undefined,
to: this.customTo ?? undefined,
}, controller.signal)
@@ -172,6 +173,7 @@ export const useAnalyticsStore = defineStore('analytics', {
scope: this.scope,
organizationId,
period: this.period,
+ timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
from: this.customFrom ?? undefined,
to: this.customTo ?? undefined,
bucket: args.bucket,
diff --git a/web/src/stores/tasks.store.ts b/web/src/stores/tasks.store.ts
index c3125c1..6972546 100644
--- a/web/src/stores/tasks.store.ts
+++ b/web/src/stores/tasks.store.ts
@@ -53,6 +53,14 @@ export const useTasksStore = defineStore('tasks', {
}
},
+ async refreshTask(taskId: TaskBase['id']) {
+ const task = await $tvApi.tasks.fetchTaskById(taskId).catch(logError)
+ if (!task) return
+ this.updateSelectedTask(task)
+ const localTask = this.tasks.find((t) => t.id === taskId)
+ if (localTask) Object.assign(localTask, task)
+ },
+
async fetchTaskById(taskId: TaskBase['id']) {
if (taskId === this.selectedTask?.id) return
diff --git a/web/src/types/recurrence.types.ts b/web/src/types/recurrence.types.ts
index 5bd4958..63c08ad 100644
--- a/web/src/types/recurrence.types.ts
+++ b/web/src/types/recurrence.types.ts
@@ -4,6 +4,8 @@ export type RecurrenceMonthlyMode = 'dayOfMonth' | 'lastDay'
export type RecurrenceFormValue = {
frequency: RecurrenceFrequency
+ /** 'YYYY-MM-DD' wall-clock start date of the series. */
+ startDate: string
interval: number
/** rrule weekday numbers: 0=Mon … 6=Sun. Used when frequency is 'weekly'. */
weekdays: number[]
diff --git a/web/vite.config.ts b/web/vite.config.ts
index c7f7969..d7985dd 100644
--- a/web/vite.config.ts
+++ b/web/vite.config.ts
@@ -123,6 +123,9 @@ export default defineConfig({
}
},
inputNumber: {
+ slots: {
+ base: 'text-base',
+ },
defaultVariants: {
variant: 'soft'
}
@@ -192,7 +195,8 @@ export default defineConfig({
slots: {
content: 'rounded-2xl',
item: 'rounded-xl hover:bg-accented/40 before:rounded-xl',
- base: 'rounded-xl'
+ base: 'rounded-xl',
+ input: 'text-base'
},
defaultVariants: {
variant: 'soft',