openuispec 0.1.27 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -19
- package/cli/init.ts +7 -7
- package/docs/implementation-notes.md +5 -1
- package/docs/release-notes-v0.1.28.md +25 -0
- package/docs/stress-test-maturity-report.md +1 -1
- package/drift/index.ts +21 -4
- package/examples/taskflow/AGENTS.md +112 -0
- package/examples/taskflow/CLAUDE.md +112 -0
- package/examples/taskflow/generated/android/TaskFlow/README.md +43 -0
- package/examples/taskflow/generated/android/TaskFlow/app/build.gradle.kts +76 -0
- package/examples/taskflow/generated/android/TaskFlow/app/proguard-rules.pro +1 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/AndroidManifest.xml +21 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/java/uz/rsteam/taskflow/MainActivity.kt +19 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/java/uz/rsteam/taskflow/TaskFlowApp.kt +283 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/java/uz/rsteam/taskflow/model/DomainModels.kt +106 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/java/uz/rsteam/taskflow/model/SampleData.kt +57 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/java/uz/rsteam/taskflow/ui/components/Common.kt +109 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/java/uz/rsteam/taskflow/ui/screens/HomeScreen.kt +112 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/java/uz/rsteam/taskflow/ui/screens/ProjectsScreen.kt +61 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/java/uz/rsteam/taskflow/ui/screens/SettingsScreen.kt +82 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/java/uz/rsteam/taskflow/ui/screens/TaskDetailScreen.kt +111 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/java/uz/rsteam/taskflow/ui/sheets/Sheets.kt +77 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/java/uz/rsteam/taskflow/ui/theme/Color.kt +30 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/java/uz/rsteam/taskflow/ui/theme/Theme.kt +86 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/java/uz/rsteam/taskflow/ui/theme/Type.kt +57 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/res/values/strings.xml +155 -0
- package/examples/taskflow/generated/android/TaskFlow/app/src/main/res/values/themes.xml +4 -0
- package/examples/taskflow/generated/android/TaskFlow/build.gradle.kts +5 -0
- package/examples/taskflow/generated/android/TaskFlow/gradle/gradle-daemon-jvm.properties +12 -0
- package/examples/taskflow/generated/android/TaskFlow/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/examples/taskflow/generated/android/TaskFlow/gradle/wrapper/gradle-wrapper.properties +7 -0
- package/examples/taskflow/generated/android/TaskFlow/gradle.properties +4 -0
- package/examples/taskflow/generated/android/TaskFlow/gradlew +18 -0
- package/examples/taskflow/generated/android/TaskFlow/gradlew.bat +12 -0
- package/examples/taskflow/generated/android/TaskFlow/settings.gradle.kts +18 -0
- package/examples/taskflow/generated/ios/TaskFlow/README.md +21 -0
- package/examples/taskflow/generated/ios/TaskFlow/Resources/en.lproj/Localizable.strings +115 -0
- package/examples/taskflow/generated/ios/TaskFlow/Sources/TaskFlow/App/TaskFlowApp.swift +24 -0
- package/examples/taskflow/generated/ios/TaskFlow/Sources/TaskFlow/Components/AppChrome.swift +150 -0
- package/examples/taskflow/generated/ios/TaskFlow/Sources/TaskFlow/Flows/TaskEditorSheet.swift +220 -0
- package/examples/taskflow/generated/ios/TaskFlow/Sources/TaskFlow/Models/DomainModels.swift +122 -0
- package/examples/taskflow/generated/ios/TaskFlow/Sources/TaskFlow/Screens/CalendarView.swift +21 -0
- package/examples/taskflow/generated/ios/TaskFlow/Sources/TaskFlow/Screens/HomeView.swift +201 -0
- package/examples/taskflow/generated/ios/TaskFlow/Sources/TaskFlow/Screens/ProfileEditView.swift +48 -0
- package/examples/taskflow/generated/ios/TaskFlow/Sources/TaskFlow/Screens/ProjectDetailView.swift +59 -0
- package/examples/taskflow/generated/ios/TaskFlow/Sources/TaskFlow/Screens/ProjectsView.swift +63 -0
- package/examples/taskflow/generated/ios/TaskFlow/Sources/TaskFlow/Screens/SettingsView.swift +85 -0
- package/examples/taskflow/generated/ios/TaskFlow/Sources/TaskFlow/Screens/TaskDetailView.swift +219 -0
- package/examples/taskflow/generated/ios/TaskFlow/Sources/TaskFlow/Support/AppModel.swift +320 -0
- package/examples/taskflow/generated/ios/TaskFlow/Sources/TaskFlow/Support/AppSupport.swift +41 -0
- package/examples/taskflow/generated/ios/TaskFlow/project.yml +26 -0
- package/examples/taskflow/generated/web/TaskFlow/README.md +19 -0
- package/examples/taskflow/generated/web/TaskFlow/index.html +12 -0
- package/examples/taskflow/generated/web/TaskFlow/package-lock.json +1908 -0
- package/examples/taskflow/generated/web/TaskFlow/package.json +24 -0
- package/examples/taskflow/generated/web/TaskFlow/src/App.tsx +58 -0
- package/examples/taskflow/generated/web/TaskFlow/src/AppShell.tsx +55 -0
- package/examples/taskflow/generated/web/TaskFlow/src/components/Common.tsx +82 -0
- package/examples/taskflow/generated/web/TaskFlow/src/components/Modals.tsx +191 -0
- package/examples/taskflow/generated/web/TaskFlow/src/components/Nav.tsx +41 -0
- package/examples/taskflow/generated/web/TaskFlow/src/generated/messages.ts +131 -0
- package/examples/taskflow/generated/web/TaskFlow/src/hooks.ts +25 -0
- package/examples/taskflow/generated/web/TaskFlow/src/i18n.ts +39 -0
- package/examples/taskflow/generated/web/TaskFlow/src/locales.en.json +111 -0
- package/examples/taskflow/generated/web/TaskFlow/src/main.tsx +13 -0
- package/examples/taskflow/generated/web/TaskFlow/src/screens/HomeScreen.tsx +111 -0
- package/examples/taskflow/generated/web/TaskFlow/src/screens/ProjectsScreen.tsx +82 -0
- package/examples/taskflow/generated/web/TaskFlow/src/screens/SettingsScreens.tsx +132 -0
- package/examples/taskflow/generated/web/TaskFlow/src/screens/TaskDetail.tsx +105 -0
- package/examples/taskflow/generated/web/TaskFlow/src/store.ts +216 -0
- package/examples/taskflow/generated/web/TaskFlow/src/styles.css +617 -0
- package/examples/taskflow/generated/web/TaskFlow/src/types.ts +64 -0
- package/examples/taskflow/generated/web/TaskFlow/src/utils.ts +78 -0
- package/examples/taskflow/generated/web/TaskFlow/tsconfig.json +21 -0
- package/examples/taskflow/generated/web/TaskFlow/vite.config.ts +6 -0
- package/examples/taskflow/openuispec/README.md +49 -0
- package/examples/todo-orbit/AGENTS.md +44 -19
- package/examples/todo-orbit/CLAUDE.md +44 -19
- package/examples/todo-orbit/openuispec/README.md +2 -2
- package/package.json +1 -1
- package/schema/validate.ts +9 -4
- package/status/index.ts +16 -3
- /package/examples/taskflow/{contracts → openuispec/contracts}/README.md +0 -0
- /package/examples/taskflow/{contracts → openuispec/contracts}/action_trigger.yaml +0 -0
- /package/examples/taskflow/{contracts → openuispec/contracts}/collection.yaml +0 -0
- /package/examples/taskflow/{contracts → openuispec/contracts}/data_display.yaml +0 -0
- /package/examples/taskflow/{contracts → openuispec/contracts}/feedback.yaml +0 -0
- /package/examples/taskflow/{contracts → openuispec/contracts}/input_field.yaml +0 -0
- /package/examples/taskflow/{contracts → openuispec/contracts}/nav_container.yaml +0 -0
- /package/examples/taskflow/{contracts → openuispec/contracts}/surface.yaml +0 -0
- /package/examples/taskflow/{contracts → openuispec/contracts}/x_media_player.yaml +0 -0
- /package/examples/taskflow/{flows → openuispec/flows}/create_task.yaml +0 -0
- /package/examples/taskflow/{flows → openuispec/flows}/edit_task.yaml +0 -0
- /package/examples/taskflow/{locales → openuispec/locales}/en.json +0 -0
- /package/examples/taskflow/{openuispec.yaml → openuispec/openuispec.yaml} +0 -0
- /package/examples/taskflow/{platform → openuispec/platform}/android.yaml +0 -0
- /package/examples/taskflow/{platform → openuispec/platform}/ios.yaml +0 -0
- /package/examples/taskflow/{platform → openuispec/platform}/web.yaml +0 -0
- /package/examples/taskflow/{screens → openuispec/screens}/calendar.yaml +0 -0
- /package/examples/taskflow/{screens → openuispec/screens}/home.yaml +0 -0
- /package/examples/taskflow/{screens → openuispec/screens}/profile_edit.yaml +0 -0
- /package/examples/taskflow/{screens → openuispec/screens}/project_detail.yaml +0 -0
- /package/examples/taskflow/{screens → openuispec/screens}/projects.yaml +0 -0
- /package/examples/taskflow/{screens → openuispec/screens}/settings.yaml +0 -0
- /package/examples/taskflow/{screens → openuispec/screens}/task_detail.yaml +0 -0
- /package/examples/taskflow/{tokens → openuispec/tokens}/color.yaml +0 -0
- /package/examples/taskflow/{tokens → openuispec/tokens}/elevation.yaml +0 -0
- /package/examples/taskflow/{tokens → openuispec/tokens}/icons.yaml +0 -0
- /package/examples/taskflow/{tokens → openuispec/tokens}/layout.yaml +0 -0
- /package/examples/taskflow/{tokens → openuispec/tokens}/motion.yaml +0 -0
- /package/examples/taskflow/{tokens → openuispec/tokens}/spacing.yaml +0 -0
- /package/examples/taskflow/{tokens → openuispec/tokens}/themes.yaml +0 -0
- /package/examples/taskflow/{tokens → openuispec/tokens}/typography.yaml +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
package uz.rsteam.taskflow.ui.screens
|
|
2
|
+
|
|
3
|
+
import androidx.compose.foundation.layout.Arrangement
|
|
4
|
+
import androidx.compose.foundation.layout.Column
|
|
5
|
+
import androidx.compose.foundation.layout.fillMaxSize
|
|
6
|
+
import androidx.compose.foundation.layout.fillMaxWidth
|
|
7
|
+
import androidx.compose.foundation.layout.padding
|
|
8
|
+
import androidx.compose.foundation.lazy.grid.GridCells
|
|
9
|
+
import androidx.compose.foundation.lazy.grid.LazyVerticalGrid
|
|
10
|
+
import androidx.compose.foundation.lazy.grid.items
|
|
11
|
+
import androidx.compose.material3.Button
|
|
12
|
+
import androidx.compose.material3.ElevatedCard
|
|
13
|
+
import androidx.compose.material3.MaterialTheme
|
|
14
|
+
import androidx.compose.material3.Text
|
|
15
|
+
import androidx.compose.runtime.Composable
|
|
16
|
+
import androidx.compose.ui.Modifier
|
|
17
|
+
import androidx.compose.ui.text.font.FontWeight
|
|
18
|
+
import androidx.compose.ui.unit.dp
|
|
19
|
+
import uz.rsteam.taskflow.model.Project
|
|
20
|
+
import uz.rsteam.taskflow.model.Task
|
|
21
|
+
import uz.rsteam.taskflow.ui.components.EmptyStateCard
|
|
22
|
+
|
|
23
|
+
@Composable
|
|
24
|
+
fun ProjectsScreen(projects: List<Project>, onOpenProject: (String) -> Unit, onNewProject: () -> Unit) {
|
|
25
|
+
Column(modifier = Modifier.fillMaxSize().padding(24.dp), verticalArrangement = Arrangement.spacedBy(16.dp)) {
|
|
26
|
+
Text("Projects", style = MaterialTheme.typography.headlineSmall, fontWeight = FontWeight.Bold)
|
|
27
|
+
Button(onClick = onNewProject) { Text("New project") }
|
|
28
|
+
if (projects.isEmpty()) {
|
|
29
|
+
EmptyStateCard("No projects yet", "Create a project to organize your tasks")
|
|
30
|
+
} else {
|
|
31
|
+
LazyVerticalGrid(columns = GridCells.Fixed(2), verticalArrangement = Arrangement.spacedBy(12.dp), horizontalArrangement = Arrangement.spacedBy(12.dp)) {
|
|
32
|
+
items(projects, key = { it.id }) { project ->
|
|
33
|
+
ElevatedCard(onClick = { onOpenProject(project.id) }) {
|
|
34
|
+
Column(modifier = Modifier.fillMaxWidth().padding(16.dp), verticalArrangement = Arrangement.spacedBy(8.dp)) {
|
|
35
|
+
Text(project.name, fontWeight = FontWeight.SemiBold)
|
|
36
|
+
Text("${project.taskCount} tasks")
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@Composable
|
|
46
|
+
fun ProjectDetailScreen(project: Project, tasks: List<Task>, onOpenTask: (String) -> Unit) {
|
|
47
|
+
Column(modifier = Modifier.fillMaxSize().padding(24.dp), verticalArrangement = Arrangement.spacedBy(12.dp)) {
|
|
48
|
+
Text(project.name, style = MaterialTheme.typography.headlineSmall, fontWeight = FontWeight.Bold)
|
|
49
|
+
if (tasks.isEmpty()) {
|
|
50
|
+
EmptyStateCard("No tasks in this project", "Add a task to get started")
|
|
51
|
+
} else {
|
|
52
|
+
tasks.forEach { task ->
|
|
53
|
+
ElevatedCard(onClick = { onOpenTask(task.id) }) {
|
|
54
|
+
Column(modifier = Modifier.fillMaxWidth().padding(16.dp)) {
|
|
55
|
+
Text(task.title, fontWeight = FontWeight.SemiBold)
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
package uz.rsteam.taskflow.ui.screens
|
|
2
|
+
|
|
3
|
+
import androidx.compose.foundation.layout.Arrangement
|
|
4
|
+
import androidx.compose.foundation.layout.Column
|
|
5
|
+
import androidx.compose.foundation.layout.fillMaxSize
|
|
6
|
+
import androidx.compose.foundation.layout.fillMaxWidth
|
|
7
|
+
import androidx.compose.foundation.layout.padding
|
|
8
|
+
import androidx.compose.foundation.rememberScrollState
|
|
9
|
+
import androidx.compose.foundation.verticalScroll
|
|
10
|
+
import androidx.compose.material3.Button
|
|
11
|
+
import androidx.compose.material3.ElevatedCard
|
|
12
|
+
import androidx.compose.material3.MaterialTheme
|
|
13
|
+
import androidx.compose.material3.OutlinedTextField
|
|
14
|
+
import androidx.compose.material3.Switch
|
|
15
|
+
import androidx.compose.material3.Text
|
|
16
|
+
import androidx.compose.runtime.Composable
|
|
17
|
+
import androidx.compose.runtime.mutableStateOf
|
|
18
|
+
import androidx.compose.runtime.remember
|
|
19
|
+
import androidx.compose.ui.Modifier
|
|
20
|
+
import androidx.compose.ui.text.font.FontWeight
|
|
21
|
+
import androidx.compose.ui.unit.dp
|
|
22
|
+
import uz.rsteam.taskflow.model.Preferences
|
|
23
|
+
import uz.rsteam.taskflow.model.User
|
|
24
|
+
import uz.rsteam.taskflow.ui.components.Avatar
|
|
25
|
+
|
|
26
|
+
@Composable
|
|
27
|
+
fun SettingsScreen(
|
|
28
|
+
currentUser: User,
|
|
29
|
+
preferences: Preferences,
|
|
30
|
+
onPreferencesChange: (Preferences) -> Unit,
|
|
31
|
+
onEditProfile: () -> Unit
|
|
32
|
+
) {
|
|
33
|
+
Column(
|
|
34
|
+
modifier = Modifier.fillMaxSize().verticalScroll(rememberScrollState()).padding(24.dp),
|
|
35
|
+
verticalArrangement = Arrangement.spacedBy(16.dp)
|
|
36
|
+
) {
|
|
37
|
+
ElevatedCard(onClick = onEditProfile) {
|
|
38
|
+
Column(modifier = Modifier.fillMaxWidth().padding(16.dp)) {
|
|
39
|
+
Avatar(currentUser.name)
|
|
40
|
+
Text(currentUser.name, fontWeight = FontWeight.SemiBold)
|
|
41
|
+
Text(currentUser.email)
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
Text("Preferences", style = MaterialTheme.typography.titleLarge, fontWeight = FontWeight.Bold)
|
|
46
|
+
|
|
47
|
+
ElevatedCard {
|
|
48
|
+
Column(modifier = Modifier.fillMaxWidth().padding(16.dp), verticalArrangement = Arrangement.spacedBy(12.dp)) {
|
|
49
|
+
Text("Default priority: ${preferences.defaultPriority.name}")
|
|
50
|
+
Text("Notifications")
|
|
51
|
+
Switch(checked = preferences.notificationsEnabled, onCheckedChange = {
|
|
52
|
+
onPreferencesChange(preferences.copy(notificationsEnabled = it))
|
|
53
|
+
})
|
|
54
|
+
Text("Reminders")
|
|
55
|
+
Switch(checked = preferences.remindersEnabled, onCheckedChange = {
|
|
56
|
+
onPreferencesChange(preferences.copy(remindersEnabled = it))
|
|
57
|
+
})
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@Composable
|
|
64
|
+
fun ProfileEditScreen(currentUser: User, onSave: (String, String) -> Unit) {
|
|
65
|
+
val name = remember { mutableStateOf(currentUser.name) }
|
|
66
|
+
val email = remember { mutableStateOf(currentUser.email) }
|
|
67
|
+
|
|
68
|
+
Column(modifier = Modifier.fillMaxSize().padding(24.dp), verticalArrangement = Arrangement.spacedBy(12.dp)) {
|
|
69
|
+
Text("Edit profile", style = MaterialTheme.typography.headlineSmall, fontWeight = FontWeight.Bold)
|
|
70
|
+
OutlinedTextField(value = name.value, onValueChange = { name.value = it }, label = { Text("Name") })
|
|
71
|
+
OutlinedTextField(value = email.value, onValueChange = { email.value = it }, label = { Text("Email") })
|
|
72
|
+
Button(onClick = { onSave(name.value, email.value) }) { Text("Save") }
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@Composable
|
|
77
|
+
fun CalendarScreen() {
|
|
78
|
+
Column(modifier = Modifier.fillMaxSize().padding(24.dp), verticalArrangement = Arrangement.Center) {
|
|
79
|
+
Text("Calendar", style = MaterialTheme.typography.headlineSmall, fontWeight = FontWeight.Bold)
|
|
80
|
+
Text("Coming in a future version")
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
package uz.rsteam.taskflow.ui.screens
|
|
2
|
+
|
|
3
|
+
import android.net.Uri
|
|
4
|
+
import android.widget.MediaController
|
|
5
|
+
import android.widget.VideoView
|
|
6
|
+
import androidx.compose.foundation.layout.Arrangement
|
|
7
|
+
import androidx.compose.foundation.layout.Column
|
|
8
|
+
import androidx.compose.foundation.layout.Spacer
|
|
9
|
+
import androidx.compose.foundation.layout.fillMaxSize
|
|
10
|
+
import androidx.compose.foundation.layout.fillMaxWidth
|
|
11
|
+
import androidx.compose.foundation.layout.height
|
|
12
|
+
import androidx.compose.foundation.layout.padding
|
|
13
|
+
import androidx.compose.foundation.layout.width
|
|
14
|
+
import androidx.compose.foundation.rememberScrollState
|
|
15
|
+
import androidx.compose.foundation.verticalScroll
|
|
16
|
+
import androidx.compose.material.icons.Icons
|
|
17
|
+
import androidx.compose.material.icons.automirrored.outlined.Label
|
|
18
|
+
import androidx.compose.material.icons.outlined.Delete
|
|
19
|
+
import androidx.compose.material.icons.outlined.Edit
|
|
20
|
+
import androidx.compose.material.icons.outlined.Folder
|
|
21
|
+
import androidx.compose.material.icons.outlined.Person
|
|
22
|
+
import androidx.compose.material.icons.outlined.Schedule
|
|
23
|
+
import androidx.compose.material3.Button
|
|
24
|
+
import androidx.compose.material3.Icon
|
|
25
|
+
import androidx.compose.material3.MaterialTheme
|
|
26
|
+
import androidx.compose.material3.OutlinedButton
|
|
27
|
+
import androidx.compose.material3.Text
|
|
28
|
+
import androidx.compose.runtime.Composable
|
|
29
|
+
import androidx.compose.ui.Modifier
|
|
30
|
+
import androidx.compose.ui.platform.LocalContext
|
|
31
|
+
import androidx.compose.ui.text.font.FontWeight
|
|
32
|
+
import androidx.compose.ui.unit.dp
|
|
33
|
+
import androidx.compose.ui.viewinterop.AndroidView
|
|
34
|
+
import uz.rsteam.taskflow.model.Project
|
|
35
|
+
import uz.rsteam.taskflow.model.Task
|
|
36
|
+
import uz.rsteam.taskflow.ui.components.DetailRow
|
|
37
|
+
import uz.rsteam.taskflow.ui.components.SectionCard
|
|
38
|
+
import uz.rsteam.taskflow.ui.components.StatCard
|
|
39
|
+
import java.time.format.DateTimeFormatter
|
|
40
|
+
import java.time.format.FormatStyle
|
|
41
|
+
|
|
42
|
+
@Composable
|
|
43
|
+
fun TaskDetailScreen(
|
|
44
|
+
task: Task,
|
|
45
|
+
project: Project?,
|
|
46
|
+
onEdit: () -> Unit,
|
|
47
|
+
onToggleStatus: () -> Unit,
|
|
48
|
+
onDelete: () -> Unit,
|
|
49
|
+
onProjectClick: () -> Unit,
|
|
50
|
+
onAssign: () -> Unit
|
|
51
|
+
) {
|
|
52
|
+
Column(
|
|
53
|
+
modifier = Modifier.fillMaxSize().verticalScroll(rememberScrollState()).padding(24.dp),
|
|
54
|
+
verticalArrangement = Arrangement.spacedBy(16.dp)
|
|
55
|
+
) {
|
|
56
|
+
Text(task.title, style = MaterialTheme.typography.headlineSmall, fontWeight = FontWeight.Bold)
|
|
57
|
+
|
|
58
|
+
SectionCard("Overview") {
|
|
59
|
+
StatCard("Status", task.status.name)
|
|
60
|
+
Spacer(Modifier.height(8.dp))
|
|
61
|
+
StatCard("Priority", task.priority.name)
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
task.description?.let {
|
|
65
|
+
SectionCard("Description") { Text(it) }
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
task.attachment?.let {
|
|
69
|
+
SectionCard("Media") {
|
|
70
|
+
Text(it.title, fontWeight = FontWeight.SemiBold)
|
|
71
|
+
if (it.mediaType == "video") InlineVideoPlayer(it.source)
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
SectionCard("Details") {
|
|
76
|
+
DetailRow(Icons.Outlined.Folder, "Project", project?.name ?: "Unknown", onProjectClick)
|
|
77
|
+
DetailRow(Icons.Outlined.Person, "Assignee", task.assignee?.name ?: "Unassigned", onAssign)
|
|
78
|
+
DetailRow(Icons.AutoMirrored.Outlined.Label, "Tags", task.tags.joinToString(", ").ifBlank { "—" })
|
|
79
|
+
DetailRow(Icons.Outlined.Schedule, "Created", task.createdAt.format(DateTimeFormatter.ofLocalizedDate(FormatStyle.MEDIUM)))
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
Button(onClick = onEdit, modifier = Modifier.fillMaxWidth()) {
|
|
83
|
+
Icon(Icons.Outlined.Edit, contentDescription = null)
|
|
84
|
+
Spacer(Modifier.width(8.dp))
|
|
85
|
+
Text("Edit task")
|
|
86
|
+
}
|
|
87
|
+
OutlinedButton(onClick = onToggleStatus, modifier = Modifier.fillMaxWidth()) {
|
|
88
|
+
Text(if (task.status.name == "Done") "Reopen task" else "Mark complete")
|
|
89
|
+
}
|
|
90
|
+
OutlinedButton(onClick = onDelete, modifier = Modifier.fillMaxWidth()) {
|
|
91
|
+
Icon(Icons.Outlined.Delete, contentDescription = null)
|
|
92
|
+
Spacer(Modifier.width(8.dp))
|
|
93
|
+
Text("Delete task")
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@Composable
|
|
99
|
+
private fun InlineVideoPlayer(url: String) {
|
|
100
|
+
val context = LocalContext.current
|
|
101
|
+
AndroidView(
|
|
102
|
+
modifier = Modifier.fillMaxWidth().height(220.dp),
|
|
103
|
+
factory = {
|
|
104
|
+
VideoView(context).apply {
|
|
105
|
+
setVideoURI(Uri.parse(url))
|
|
106
|
+
setMediaController(MediaController(context).also { controller -> controller.setAnchorView(this) })
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
update = { if (!it.isPlaying) it.seekTo(1) }
|
|
110
|
+
)
|
|
111
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
package uz.rsteam.taskflow.ui.sheets
|
|
2
|
+
|
|
3
|
+
import androidx.compose.foundation.layout.Arrangement
|
|
4
|
+
import androidx.compose.foundation.layout.Column
|
|
5
|
+
import androidx.compose.foundation.layout.Row
|
|
6
|
+
import androidx.compose.foundation.layout.fillMaxWidth
|
|
7
|
+
import androidx.compose.foundation.layout.padding
|
|
8
|
+
import androidx.compose.material3.Button
|
|
9
|
+
import androidx.compose.material3.ExperimentalMaterial3Api
|
|
10
|
+
import androidx.compose.material3.ModalBottomSheet
|
|
11
|
+
import androidx.compose.material3.OutlinedTextField
|
|
12
|
+
import androidx.compose.material3.Text
|
|
13
|
+
import androidx.compose.runtime.Composable
|
|
14
|
+
import androidx.compose.runtime.mutableStateOf
|
|
15
|
+
import androidx.compose.runtime.remember
|
|
16
|
+
import androidx.compose.ui.Modifier
|
|
17
|
+
import androidx.compose.ui.unit.dp
|
|
18
|
+
import uz.rsteam.taskflow.model.NewProjectDraft
|
|
19
|
+
import uz.rsteam.taskflow.model.Priority
|
|
20
|
+
import uz.rsteam.taskflow.model.TaskEditorDraft
|
|
21
|
+
import uz.rsteam.taskflow.model.User
|
|
22
|
+
|
|
23
|
+
@OptIn(ExperimentalMaterial3Api::class)
|
|
24
|
+
@Composable
|
|
25
|
+
fun TaskEditorSheet(
|
|
26
|
+
title: String,
|
|
27
|
+
initial: TaskEditorDraft,
|
|
28
|
+
onDismiss: () -> Unit,
|
|
29
|
+
onSubmit: (TaskEditorDraft) -> Unit
|
|
30
|
+
) {
|
|
31
|
+
val draft = remember { mutableStateOf(initial) }
|
|
32
|
+
ModalBottomSheet(onDismissRequest = onDismiss) {
|
|
33
|
+
Column(modifier = Modifier.fillMaxWidth().padding(24.dp), verticalArrangement = Arrangement.spacedBy(12.dp)) {
|
|
34
|
+
Text(title)
|
|
35
|
+
OutlinedTextField(value = draft.value.title, onValueChange = { draft.value = draft.value.copy(title = it) }, label = { Text("Title") })
|
|
36
|
+
OutlinedTextField(value = draft.value.description, onValueChange = { draft.value = draft.value.copy(description = it) }, label = { Text("Description") })
|
|
37
|
+
Row(horizontalArrangement = Arrangement.spacedBy(8.dp)) {
|
|
38
|
+
Button(onClick = onDismiss, modifier = Modifier.weight(1f)) { Text("Cancel") }
|
|
39
|
+
Button(onClick = { onSubmit(draft.value) }, modifier = Modifier.weight(1f), enabled = draft.value.title.trim().length >= 3) {
|
|
40
|
+
Text("Save")
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@OptIn(ExperimentalMaterial3Api::class)
|
|
48
|
+
@Composable
|
|
49
|
+
fun NewProjectSheet(onDismiss: () -> Unit, onCreate: (NewProjectDraft) -> Unit) {
|
|
50
|
+
val draft = remember { mutableStateOf(NewProjectDraft()) }
|
|
51
|
+
ModalBottomSheet(onDismissRequest = onDismiss) {
|
|
52
|
+
Column(modifier = Modifier.fillMaxWidth().padding(24.dp), verticalArrangement = Arrangement.spacedBy(12.dp)) {
|
|
53
|
+
Text("New project")
|
|
54
|
+
OutlinedTextField(value = draft.value.name, onValueChange = { draft.value = draft.value.copy(name = it) }, label = { Text("Project name") })
|
|
55
|
+
Row(horizontalArrangement = Arrangement.spacedBy(8.dp)) {
|
|
56
|
+
Button(onClick = onDismiss, modifier = Modifier.weight(1f)) { Text("Cancel") }
|
|
57
|
+
Button(onClick = { onCreate(draft.value) }, modifier = Modifier.weight(1f), enabled = draft.value.name.isNotBlank()) { Text("Create") }
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@OptIn(ExperimentalMaterial3Api::class)
|
|
64
|
+
@Composable
|
|
65
|
+
fun AssignUserSheet(users: List<User>, onDismiss: () -> Unit, onAssign: (User) -> Unit) {
|
|
66
|
+
ModalBottomSheet(onDismissRequest = onDismiss) {
|
|
67
|
+
Column(modifier = Modifier.fillMaxWidth().padding(24.dp), verticalArrangement = Arrangement.spacedBy(8.dp)) {
|
|
68
|
+
Text("Assign to")
|
|
69
|
+
users.forEach { user ->
|
|
70
|
+
Button(onClick = { onAssign(user) }, modifier = Modifier.fillMaxWidth()) {
|
|
71
|
+
Text(user.name)
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
Button(onClick = onDismiss, modifier = Modifier.fillMaxWidth()) { Text("Cancel") }
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
package uz.rsteam.taskflow.ui.theme
|
|
2
|
+
|
|
3
|
+
import androidx.compose.ui.graphics.Color
|
|
4
|
+
|
|
5
|
+
val BrandPrimary = Color(0xFF5B4FE8)
|
|
6
|
+
val BrandSecondary = Color(0xFFE8634F)
|
|
7
|
+
val SurfacePrimary = Color(0xFFFFFFFF)
|
|
8
|
+
val SurfaceSecondary = Color(0xFFF7F6F3)
|
|
9
|
+
val SurfaceTertiary = Color(0xFFEFEEE8)
|
|
10
|
+
val TextPrimary = Color(0xFF1C1B1A)
|
|
11
|
+
val TextSecondary = Color(0xFF6B6966)
|
|
12
|
+
val TextTertiary = Color(0xFF9C9A94)
|
|
13
|
+
val Success = Color(0xFF2D9D5E)
|
|
14
|
+
val Warning = Color(0xFFD4920E)
|
|
15
|
+
val Danger = Color(0xFFD43B3B)
|
|
16
|
+
val Info = Color(0xFF3B82D4)
|
|
17
|
+
val PriorityLow = Color(0xFF9CA3AF)
|
|
18
|
+
val PriorityMedium = Color(0xFF3B82D4)
|
|
19
|
+
val PriorityHigh = Color(0xFFD4920E)
|
|
20
|
+
val PriorityUrgent = Color(0xFFD43B3B)
|
|
21
|
+
|
|
22
|
+
val DarkSurfacePrimary = Color(0xFF171515)
|
|
23
|
+
val DarkSurfaceSecondary = Color(0xFF221F1F)
|
|
24
|
+
val DarkSurfaceTertiary = Color(0xFF2B2727)
|
|
25
|
+
val DarkTextPrimary = Color(0xFFF6F2EF)
|
|
26
|
+
val DarkTextSecondary = Color(0xFFD2CBC6)
|
|
27
|
+
val DarkTextTertiary = Color(0xFFA39891)
|
|
28
|
+
val WarmSurfacePrimary = Color(0xFFF9F6F0)
|
|
29
|
+
val WarmSurfaceSecondary = Color(0xFFF2ECE1)
|
|
30
|
+
val WarmSurfaceTertiary = Color(0xFFEAE0D2)
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
package uz.rsteam.taskflow.ui.theme
|
|
2
|
+
|
|
3
|
+
import androidx.compose.foundation.isSystemInDarkTheme
|
|
4
|
+
import androidx.compose.material3.MaterialTheme
|
|
5
|
+
import androidx.compose.material3.darkColorScheme
|
|
6
|
+
import androidx.compose.material3.lightColorScheme
|
|
7
|
+
import androidx.compose.runtime.Composable
|
|
8
|
+
|
|
9
|
+
private val LightScheme = lightColorScheme(
|
|
10
|
+
primary = BrandPrimary,
|
|
11
|
+
secondary = BrandSecondary,
|
|
12
|
+
tertiary = Info,
|
|
13
|
+
background = SurfaceTertiary,
|
|
14
|
+
surface = SurfacePrimary,
|
|
15
|
+
surfaceVariant = SurfaceSecondary,
|
|
16
|
+
error = Danger,
|
|
17
|
+
onPrimary = SurfacePrimary,
|
|
18
|
+
onSecondary = SurfacePrimary,
|
|
19
|
+
onBackground = TextPrimary,
|
|
20
|
+
onSurface = TextPrimary,
|
|
21
|
+
onSurfaceVariant = TextSecondary,
|
|
22
|
+
outline = TextTertiary
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
private val WarmScheme = lightColorScheme(
|
|
26
|
+
primary = BrandPrimary,
|
|
27
|
+
secondary = BrandSecondary,
|
|
28
|
+
tertiary = Warning,
|
|
29
|
+
background = WarmSurfaceTertiary,
|
|
30
|
+
surface = WarmSurfacePrimary,
|
|
31
|
+
surfaceVariant = WarmSurfaceSecondary,
|
|
32
|
+
error = Danger,
|
|
33
|
+
onPrimary = SurfacePrimary,
|
|
34
|
+
onSecondary = SurfacePrimary,
|
|
35
|
+
onBackground = TextPrimary,
|
|
36
|
+
onSurface = TextPrimary,
|
|
37
|
+
onSurfaceVariant = TextSecondary,
|
|
38
|
+
outline = TextTertiary
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
private val DarkScheme = darkColorScheme(
|
|
42
|
+
primary = BrandPrimary,
|
|
43
|
+
secondary = BrandSecondary,
|
|
44
|
+
tertiary = Info,
|
|
45
|
+
background = DarkSurfaceTertiary,
|
|
46
|
+
surface = DarkSurfacePrimary,
|
|
47
|
+
surfaceVariant = DarkSurfaceSecondary,
|
|
48
|
+
error = Danger,
|
|
49
|
+
onPrimary = SurfacePrimary,
|
|
50
|
+
onSecondary = SurfacePrimary,
|
|
51
|
+
onBackground = DarkTextPrimary,
|
|
52
|
+
onSurface = DarkTextPrimary,
|
|
53
|
+
onSurfaceVariant = DarkTextSecondary,
|
|
54
|
+
outline = DarkTextTertiary
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
enum class ThemeMode {
|
|
58
|
+
System,
|
|
59
|
+
Light,
|
|
60
|
+
Dark,
|
|
61
|
+
Warm
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@Composable
|
|
65
|
+
fun TaskFlowTheme(
|
|
66
|
+
themeMode: ThemeMode = ThemeMode.System,
|
|
67
|
+
content: @Composable () -> Unit
|
|
68
|
+
) {
|
|
69
|
+
val useDark = when (themeMode) {
|
|
70
|
+
ThemeMode.System -> isSystemInDarkTheme()
|
|
71
|
+
ThemeMode.Light -> false
|
|
72
|
+
ThemeMode.Dark -> true
|
|
73
|
+
ThemeMode.Warm -> false
|
|
74
|
+
}
|
|
75
|
+
val colorScheme = when {
|
|
76
|
+
themeMode == ThemeMode.Warm -> WarmScheme
|
|
77
|
+
useDark -> DarkScheme
|
|
78
|
+
else -> LightScheme
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
MaterialTheme(
|
|
82
|
+
colorScheme = colorScheme,
|
|
83
|
+
typography = TaskFlowTypography,
|
|
84
|
+
content = content
|
|
85
|
+
)
|
|
86
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
package uz.rsteam.taskflow.ui.theme
|
|
2
|
+
|
|
3
|
+
import androidx.compose.material3.Typography
|
|
4
|
+
import androidx.compose.ui.text.TextStyle
|
|
5
|
+
import androidx.compose.ui.text.font.FontFamily
|
|
6
|
+
import androidx.compose.ui.text.font.FontWeight
|
|
7
|
+
import androidx.compose.ui.unit.sp
|
|
8
|
+
|
|
9
|
+
val TaskFlowTypography = Typography(
|
|
10
|
+
headlineLarge = TextStyle(
|
|
11
|
+
fontFamily = FontFamily.SansSerif,
|
|
12
|
+
fontWeight = FontWeight.SemiBold,
|
|
13
|
+
fontSize = 24.sp,
|
|
14
|
+
lineHeight = 31.sp,
|
|
15
|
+
letterSpacing = (-0.36).sp
|
|
16
|
+
),
|
|
17
|
+
headlineSmall = TextStyle(
|
|
18
|
+
fontFamily = FontFamily.SansSerif,
|
|
19
|
+
fontWeight = FontWeight.SemiBold,
|
|
20
|
+
fontSize = 20.sp,
|
|
21
|
+
lineHeight = 27.sp,
|
|
22
|
+
letterSpacing = (-0.2).sp
|
|
23
|
+
),
|
|
24
|
+
titleMedium = TextStyle(
|
|
25
|
+
fontFamily = FontFamily.SansSerif,
|
|
26
|
+
fontWeight = FontWeight.SemiBold,
|
|
27
|
+
fontSize = 16.sp,
|
|
28
|
+
lineHeight = 22.sp
|
|
29
|
+
),
|
|
30
|
+
bodyLarge = TextStyle(
|
|
31
|
+
fontFamily = FontFamily.SansSerif,
|
|
32
|
+
fontWeight = FontWeight.Normal,
|
|
33
|
+
fontSize = 16.sp,
|
|
34
|
+
lineHeight = 24.sp
|
|
35
|
+
),
|
|
36
|
+
bodyMedium = TextStyle(
|
|
37
|
+
fontFamily = FontFamily.SansSerif,
|
|
38
|
+
fontWeight = FontWeight.Normal,
|
|
39
|
+
fontSize = 14.sp,
|
|
40
|
+
lineHeight = 20.sp,
|
|
41
|
+
letterSpacing = 0.07.sp
|
|
42
|
+
),
|
|
43
|
+
bodySmall = TextStyle(
|
|
44
|
+
fontFamily = FontFamily.SansSerif,
|
|
45
|
+
fontWeight = FontWeight.Normal,
|
|
46
|
+
fontSize = 12.sp,
|
|
47
|
+
lineHeight = 16.sp,
|
|
48
|
+
letterSpacing = 0.24.sp
|
|
49
|
+
),
|
|
50
|
+
labelSmall = TextStyle(
|
|
51
|
+
fontFamily = FontFamily.SansSerif,
|
|
52
|
+
fontWeight = FontWeight.SemiBold,
|
|
53
|
+
fontSize = 11.sp,
|
|
54
|
+
lineHeight = 14.sp,
|
|
55
|
+
letterSpacing = 0.88.sp
|
|
56
|
+
)
|
|
57
|
+
)
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<resources>
|
|
3
|
+
<string name="app_name">TaskFlow</string>
|
|
4
|
+
|
|
5
|
+
<string name="nav_tasks">Tasks</string>
|
|
6
|
+
<string name="nav_projects">Projects</string>
|
|
7
|
+
<string name="nav_calendar">Calendar</string>
|
|
8
|
+
<string name="nav_settings">Settings</string>
|
|
9
|
+
|
|
10
|
+
<string name="home_search_label">Search tasks</string>
|
|
11
|
+
<string name="home_search_placeholder">Search by title, tag, or project…</string>
|
|
12
|
+
<string name="home_filter_all">All</string>
|
|
13
|
+
<string name="home_filter_today">Today</string>
|
|
14
|
+
<string name="home_filter_upcoming">Upcoming</string>
|
|
15
|
+
<string name="home_filter_done">Done</string>
|
|
16
|
+
<string name="home_empty_title">All caught up!</string>
|
|
17
|
+
<string name="home_empty_body">No tasks match this filter. Tap + to add one.</string>
|
|
18
|
+
<string name="home_new_task">New task</string>
|
|
19
|
+
<string name="home_mark_complete">Mark %1$s complete</string>
|
|
20
|
+
<plurals name="home_task_count">
|
|
21
|
+
<item quantity="zero">No tasks today</item>
|
|
22
|
+
<item quantity="one">%1$d task today</item>
|
|
23
|
+
<item quantity="other">%1$d tasks today</item>
|
|
24
|
+
</plurals>
|
|
25
|
+
|
|
26
|
+
<string name="task_detail_status">Status</string>
|
|
27
|
+
<string name="task_detail_priority">Priority</string>
|
|
28
|
+
<string name="task_detail_due">Due</string>
|
|
29
|
+
<string name="task_detail_description">Description</string>
|
|
30
|
+
<string name="task_detail_details">Details</string>
|
|
31
|
+
<string name="task_detail_project">Project</string>
|
|
32
|
+
<string name="task_detail_assignee">Assignee</string>
|
|
33
|
+
<string name="task_detail_unassigned">Unassigned</string>
|
|
34
|
+
<string name="task_detail_tags">Tags</string>
|
|
35
|
+
<string name="task_detail_created">Created</string>
|
|
36
|
+
<string name="task_detail_edit">Edit task</string>
|
|
37
|
+
<string name="task_detail_toggle_status_todo">Mark complete</string>
|
|
38
|
+
<string name="task_detail_toggle_status_done">Reopen task</string>
|
|
39
|
+
<string name="task_detail_delete">Delete task</string>
|
|
40
|
+
<string name="task_detail_delete_title">Delete task?</string>
|
|
41
|
+
<string name="task_detail_delete_message">This action cannot be undone. The task “%1$s” will be permanently removed.</string>
|
|
42
|
+
<string name="task_detail_task_updated">Task updated</string>
|
|
43
|
+
<string name="task_detail_update_error">Couldn’t update status</string>
|
|
44
|
+
<string name="task_detail_task_deleted">Task deleted</string>
|
|
45
|
+
<string name="task_detail_assign_to">Assign to</string>
|
|
46
|
+
<string name="task_detail_search_people">Search people</string>
|
|
47
|
+
<string name="task_detail_search_people_placeholder">Name or email…</string>
|
|
48
|
+
|
|
49
|
+
<string name="create_task_title">New task</string>
|
|
50
|
+
<string name="create_task_save">Save</string>
|
|
51
|
+
<string name="create_task_saving">Saving…</string>
|
|
52
|
+
<string name="create_task_field_title">Title</string>
|
|
53
|
+
<string name="create_task_field_title_placeholder">What needs to be done?</string>
|
|
54
|
+
<string name="create_task_field_description">Description</string>
|
|
55
|
+
<string name="create_task_field_description_placeholder">Add details, notes, or context…</string>
|
|
56
|
+
<string name="create_task_field_project">Project</string>
|
|
57
|
+
<string name="create_task_field_project_placeholder">Select a project</string>
|
|
58
|
+
<string name="create_task_field_priority">Priority</string>
|
|
59
|
+
<string name="create_task_field_due_date">Due date</string>
|
|
60
|
+
<string name="create_task_field_due_date_placeholder">No due date</string>
|
|
61
|
+
<string name="create_task_field_tags">Tags</string>
|
|
62
|
+
<string name="create_task_field_tags_placeholder">Add tags separated by commas</string>
|
|
63
|
+
<string name="create_task_field_tags_helper">Press comma or Enter to add a tag</string>
|
|
64
|
+
<string name="create_task_field_assign_to_me">Assign to me</string>
|
|
65
|
+
<string name="create_task_success">Task created</string>
|
|
66
|
+
<string name="create_task_error_title">Couldn’t create task</string>
|
|
67
|
+
|
|
68
|
+
<string name="edit_task_title">Edit task</string>
|
|
69
|
+
<string name="edit_task_save">Save</string>
|
|
70
|
+
<string name="edit_task_saving">Saving…</string>
|
|
71
|
+
<string name="edit_task_field_title">Title</string>
|
|
72
|
+
<string name="edit_task_field_description">Description</string>
|
|
73
|
+
<string name="edit_task_field_priority">Priority</string>
|
|
74
|
+
<string name="edit_task_field_due_date">Due date</string>
|
|
75
|
+
<string name="edit_task_success">Task updated</string>
|
|
76
|
+
<string name="edit_task_error_title">Couldn’t update task</string>
|
|
77
|
+
|
|
78
|
+
<string name="projects_title">Projects</string>
|
|
79
|
+
<string name="projects_new_project">New project</string>
|
|
80
|
+
<string name="projects_empty_title">No projects yet</string>
|
|
81
|
+
<string name="projects_empty_body">Create a project to organize your tasks.</string>
|
|
82
|
+
<string name="projects_dialog_title">New project</string>
|
|
83
|
+
<string name="projects_field_name">Project name</string>
|
|
84
|
+
<string name="projects_field_name_placeholder">e.g., Product Launch</string>
|
|
85
|
+
<string name="projects_field_color">Color</string>
|
|
86
|
+
<string name="projects_field_icon">Icon</string>
|
|
87
|
+
<string name="projects_created">Project created</string>
|
|
88
|
+
<plurals name="projects_task_count">
|
|
89
|
+
<item quantity="zero">No tasks</item>
|
|
90
|
+
<item quantity="one">%1$d task</item>
|
|
91
|
+
<item quantity="other">%1$d tasks</item>
|
|
92
|
+
</plurals>
|
|
93
|
+
|
|
94
|
+
<string name="project_detail_empty_title">No tasks in this project</string>
|
|
95
|
+
<string name="project_detail_empty_body">Add a task to get started.</string>
|
|
96
|
+
|
|
97
|
+
<string name="settings_preferences">Preferences</string>
|
|
98
|
+
<string name="settings_theme">Theme</string>
|
|
99
|
+
<string name="settings_theme_system">System</string>
|
|
100
|
+
<string name="settings_theme_light">Light</string>
|
|
101
|
+
<string name="settings_theme_dark">Dark</string>
|
|
102
|
+
<string name="settings_theme_warm">Warm</string>
|
|
103
|
+
<string name="settings_default_priority">Default priority</string>
|
|
104
|
+
<string name="settings_notifications">Push notifications</string>
|
|
105
|
+
<string name="settings_reminders">Due date reminders</string>
|
|
106
|
+
<string name="settings_reminders_helper">Get notified 1 hour before a task is due</string>
|
|
107
|
+
<string name="settings_data">Data</string>
|
|
108
|
+
<string name="settings_export">Export data</string>
|
|
109
|
+
<string name="settings_export_success">Export sent to your email</string>
|
|
110
|
+
<string name="settings_delete_account">Delete account</string>
|
|
111
|
+
<string name="settings_delete_title">Delete your account?</string>
|
|
112
|
+
<string name="settings_delete_message">This will permanently delete your account and all your data. This action cannot be undone.</string>
|
|
113
|
+
<string name="settings_delete_confirm">Delete my account</string>
|
|
114
|
+
<string name="settings_app_version">TaskFlow v1.0.0</string>
|
|
115
|
+
<string name="settings_app_credit">Built with OpenUISpec</string>
|
|
116
|
+
|
|
117
|
+
<string name="profile_change_photo">Change photo</string>
|
|
118
|
+
<string name="profile_field_name">Name</string>
|
|
119
|
+
<string name="profile_field_email">Email</string>
|
|
120
|
+
<string name="profile_save">Save changes</string>
|
|
121
|
+
<string name="profile_success">Profile updated</string>
|
|
122
|
+
|
|
123
|
+
<string name="calendar_title">Calendar</string>
|
|
124
|
+
<string name="calendar_coming_soon">Coming in a future version</string>
|
|
125
|
+
|
|
126
|
+
<string name="priority_low">Low</string>
|
|
127
|
+
<string name="priority_medium">Medium</string>
|
|
128
|
+
<string name="priority_high">High</string>
|
|
129
|
+
<string name="priority_urgent">Urgent</string>
|
|
130
|
+
|
|
131
|
+
<string name="status_todo">To do</string>
|
|
132
|
+
<string name="status_in_progress">In progress</string>
|
|
133
|
+
<string name="status_done">Done</string>
|
|
134
|
+
<string name="media_player_error">Unable to play media</string>
|
|
135
|
+
|
|
136
|
+
<string name="validation_required">This field is required</string>
|
|
137
|
+
<string name="validation_min_length">Must be at least %1$d characters</string>
|
|
138
|
+
<string name="validation_tag_format">Tags may only contain letters, numbers, and hyphens</string>
|
|
139
|
+
|
|
140
|
+
<string name="common_cancel">Cancel</string>
|
|
141
|
+
<string name="common_delete">Delete</string>
|
|
142
|
+
<string name="common_create">Create</string>
|
|
143
|
+
<string name="common_back">Back</string>
|
|
144
|
+
<string name="common_no_due_date">No due date</string>
|
|
145
|
+
<string name="common_add">Add</string>
|
|
146
|
+
<string name="common_save">Save</string>
|
|
147
|
+
<string name="common_stub">Stub screen defined by the spec</string>
|
|
148
|
+
<string name="common_search">Search</string>
|
|
149
|
+
<string name="common_today">Today</string>
|
|
150
|
+
<string name="common_unknown">Unknown</string>
|
|
151
|
+
<string name="common_name">Name</string>
|
|
152
|
+
<string name="common_email">Email</string>
|
|
153
|
+
<string name="common_color">Color</string>
|
|
154
|
+
<string name="common_icon">Icon</string>
|
|
155
|
+
</resources>
|