Compare commits

...

4 Commits

Author SHA1 Message Date
Hoang Pham
50f35c7880 Fix autosave focus jump in card sidebar
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
2025-09-22 18:57:20 +07:00
Nextcloud bot
12b656dd8c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-22 00:31:30 +00:00
github-actions[bot]
661eea3018 Merge pull request #7250 from nextcloud/automated/noid/main-update-nextcloud-ocp
[main] Update nextcloud/ocp dependency
2025-09-21 03:31:25 +00:00
nextcloud-command
ecd3cb42de chore(dev-deps): Bump nextcloud/ocp package
Signed-off-by: GitHub <noreply@github.com>
2025-09-21 02:40:50 +00:00
4 changed files with 16 additions and 7 deletions

8
composer.lock generated
View File

@@ -380,12 +380,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nextcloud-deps/ocp.git", "url": "https://github.com/nextcloud-deps/ocp.git",
"reference": "f087138947c284c5db161308255b80696ff6b5c8" "reference": "d927392a2a368c372ef80096171139d4287b2339"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/f087138947c284c5db161308255b80696ff6b5c8", "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/d927392a2a368c372ef80096171139d4287b2339",
"reference": "f087138947c284c5db161308255b80696ff6b5c8", "reference": "d927392a2a368c372ef80096171139d4287b2339",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -421,7 +421,7 @@
"issues": "https://github.com/nextcloud-deps/ocp/issues", "issues": "https://github.com/nextcloud-deps/ocp/issues",
"source": "https://github.com/nextcloud-deps/ocp/tree/master" "source": "https://github.com/nextcloud-deps/ocp/tree/master"
}, },
"time": "2025-09-10T00:46:52+00:00" "time": "2025-09-16T00:45:42+00:00"
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",

View File

@@ -272,6 +272,7 @@ OC.L10N.register(
"{count} comments, {unread} unread" : "{count} σχόλια, {unread} μη αναγνωσμένα", "{count} comments, {unread} unread" : "{count} σχόλια, {unread} μη αναγνωσμένα",
"Todo items" : "Στοιχεία todo", "Todo items" : "Στοιχεία todo",
"Edit card title" : "Επεξεργασία τίτλου κάρτας", "Edit card title" : "Επεξεργασία τίτλου κάρτας",
"Open link" : "Άνοιγμα συνδέσμου",
"Card deleted" : "Η καρτέλα διαγράφηκε", "Card deleted" : "Η καρτέλα διαγράφηκε",
"Edit title" : "Επεξεργασία τίτλου", "Edit title" : "Επεξεργασία τίτλου",
"Assign to me" : "Ανάθεση σε εμένα", "Assign to me" : "Ανάθεση σε εμένα",

View File

@@ -270,6 +270,7 @@
"{count} comments, {unread} unread" : "{count} σχόλια, {unread} μη αναγνωσμένα", "{count} comments, {unread} unread" : "{count} σχόλια, {unread} μη αναγνωσμένα",
"Todo items" : "Στοιχεία todo", "Todo items" : "Στοιχεία todo",
"Edit card title" : "Επεξεργασία τίτλου κάρτας", "Edit card title" : "Επεξεργασία τίτλου κάρτας",
"Open link" : "Άνοιγμα συνδέσμου",
"Card deleted" : "Η καρτέλα διαγράφηκε", "Card deleted" : "Η καρτέλα διαγράφηκε",
"Edit title" : "Επεξεργασία τίτλου", "Edit title" : "Επεξεργασία τίτλου",
"Assign to me" : "Ανάθεση σε εμένα", "Assign to me" : "Ανάθεση σε εμένα",

View File

@@ -178,9 +178,16 @@ export default {
}, },
}, },
watch: { watch: {
currentCard(newCard, oldCard) { currentCard: {
if (newCard.id === oldCard.id) return handler(newCard, oldCard) {
this.focusHeader() if (!newCard) {
return
}
// Only refocus when actually switching cards, not during autosave updates
if (!oldCard?.id || newCard.id !== oldCard.id) {
this.focusHeader()
}
},
}, },
'currentCard.title': { 'currentCard.title': {
immediate: true, immediate: true,