From b86349d0f089f28f608b39fb3cb84a7a2665da88 Mon Sep 17 00:00:00 2001 From: alperozturk96 Date: Tue, 17 Mar 2026 15:56:32 +0100 Subject: [PATCH 1/3] update agents md Signed-off-by: alperozturk96 --- AGENTS.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 93aa26d2c576..9ae363b59d1f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -21,6 +21,9 @@ Java, Kotlin, XML, Jetpack Compose are the key technologies used for building th './app/src/main/java/com' main package of the project. '.app/src/main/java/com/nextcloud/utils/extensions' package used for creating extensions. +'./app/src/main/res/values' used for translations. Only update +'./app/src/main/res/values/strings.xml'. Do not modify any other translation files or folders. Ignore all values- +directories (e.g., values-es, values-fr). ## General Guidance @@ -50,4 +53,5 @@ Avoid creating source files that implement multiple types; instead, place each t - Apply fail fast principle instead of using nested if-else statements. - Do not use multiple boolean flags to determine states instead use enums or sealed classes. - Use modern Java for Java classes. Optionals, virtual threads, records, streams if necessary. - +- Avoid hardcoded strings, colors, dimensions. Use of resources. +- For linting / formatting, use ktlint or detekt for Kotlin, and Android Lint for Java. From 82265353b373b1153a5cb93909fcf51712a7ee2b Mon Sep 17 00:00:00 2001 From: alperozturk96 Date: Tue, 17 Mar 2026 15:57:34 +0100 Subject: [PATCH 2/3] update agents md Signed-off-by: alperozturk96 --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 9ae363b59d1f..b18ebff89360 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -53,5 +53,5 @@ Avoid creating source files that implement multiple types; instead, place each t - Apply fail fast principle instead of using nested if-else statements. - Do not use multiple boolean flags to determine states instead use enums or sealed classes. - Use modern Java for Java classes. Optionals, virtual threads, records, streams if necessary. -- Avoid hardcoded strings, colors, dimensions. Use of resources. +- Avoid hardcoded strings, colors, dimensions. Use resources. - For linting / formatting, use ktlint or detekt for Kotlin, and Android Lint for Java. From 614ce48fbcf992284477c4862ed1161182f98fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alper=20=C3=96zt=C3=BCrk?= <67455295+alperozturk96@users.noreply.github.com> Date: Wed, 18 Mar 2026 09:25:31 +0100 Subject: [PATCH 3/3] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tobias Kaminsky Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com> --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index b18ebff89360..ad7b02ebf1ca 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -54,4 +54,4 @@ Avoid creating source files that implement multiple types; instead, place each t - Do not use multiple boolean flags to determine states instead use enums or sealed classes. - Use modern Java for Java classes. Optionals, virtual threads, records, streams if necessary. - Avoid hardcoded strings, colors, dimensions. Use resources. -- For linting / formatting, use ktlint or detekt for Kotlin, and Android Lint for Java. +- Run lint, spotbugsGplayDebug, detekt, spotlessKotlinCheck and fix findings inside the files that have been changed.