Skip to content

Commit c3eda0b

Browse files
merge branch v2 (release 2.0.0-beta.36)
2 parents c59a7ae + fa3116d commit c3eda0b

7 files changed

Lines changed: 25 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Changelog
22

3-
## [v2.0.0-beta.35](https://github.com/marcantondahmen/automad/commit/c89c1eff7308b588cb18c49bfe5c828c5e049f36)
3+
## [v2.0.0-beta.36](https://github.com/marcantondahmen/automad/commit/180984108f21b71c57a39acbbcaf4e96f065d464)
44

5-
Tue, 2 Jun 2026 20:44:15 +0200
5+
Tue, 2 Jun 2026 21:31:12 +0200
6+
7+
### New Features
8+
9+
- show count of selected blocks in ai assistance prompt ui ([180984108](https://github.com/marcantondahmen/automad/commit/180984108f21b71c57a39acbbcaf4e96f065d464))
10+
11+
## [v2.0.0-beta.35](https://github.com/marcantondahmen/automad/commit/c59a7aebda4f74e28fa54087aea1f9481fedd65a)
12+
13+
Tue, 2 Jun 2026 20:50:37 +0200
614

715
### Bugfixes
816

automad/lang/english.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@
4545
"back": "Back",
4646
"backgroundColor": "Background Color",
4747
"backgroundImage": "Background Image",
48+
"block": "block",
4849
"blockquote": "Blockquote",
50+
"blocks": "blocks",
4951
"blur": "Blur",
5052
"blurTool": "Blur",
5153
"bold": "Bold",
@@ -520,9 +522,9 @@
520522
"systemAi": "AI Assistance",
521523
"systemAiCardInfo": "Configure AI providers for an AI assisted editing experience",
522524
"systemAiChangeApiKey": "API key",
525+
"systemAiClaudeSetupHelp": "Using the Claude API requires an account on their <a href='{urlPlatform}' target='_blank'>API platform page</a>, an active billing setup, and a valid API key, which can be managed <a href='{urlApiKeys}' target='_blank'>here</a>.",
523526
"systemAiInfo": "Enable AI-assisted editing to enhance your writing workflow directly in the editor. Use the AI assistant to rewrite, expand, summarize, translate, and refine content, helping you create and improve text more efficiently.",
524527
"systemAiOpenAiSetupHelp": "Using OpenAI requires an account on their <a href='{urlPlatform}' target='_blank'>API platform page</a>, an active billing setup, and a valid API key, which can be managed <a href='{urlApiKeys}' target='_blank'>here</a>.",
525-
"systemAiClaudeSetupHelp": "Using the Claude API requires an account on their <a href='{urlPlatform}' target='_blank'>API platform page</a>, an active billing setup, and a valid API key, which can be managed <a href='{urlApiKeys}' target='_blank'>here</a>.",
526528
"systemAiProviderApiKeyModalButton": "Validate and save",
527529
"systemAiProviderApiKeyModalTitle": "API Key",
528530
"systemAiProviderInfo": "Configure one or more AI providers below by adding an API key and selecting the models you want to make available in the editor.",

automad/src/client/admin/editor/plugins/AiAssistance.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ export class AiAssistance extends BasePlugin {
625625
this.editor.blocks.getCurrentBlockIndex();
626626

627627
this.selectedBlocks = [];
628+
this.toggleSelectedBlockHighlighting(false);
628629

629630
selectionBinding.value =
630631
this.selectedRange?.toString() || '';
@@ -633,14 +634,14 @@ export class AiAssistance extends BasePlugin {
633634
if (!target.closest(`.${AiAssistance.CLS}`)) {
634635
this.selectedBlocks =
635636
this.editor.blockSelection.selectedBlocks;
636-
637-
this.toggleSelectedBlockHighlighting(false);
638637
}
639638

640639
if (this.selectedBlocks.length > 0) {
640+
const count = this.selectedBlocks.length;
641+
642+
selectionBinding.value = `↪ ${count} ${count > 1 ? App.text('blocks') : App.text('block')}`;
643+
641644
this.selectedRange = null;
642-
selectionBinding.value =
643-
this.selectedRange?.toString() || '';
644645
}
645646
})
646647
);

automad/src/server/App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
* @license See LICENSE.md for license information
5757
*/
5858
class App {
59-
const VERSION = '2.0.0-beta.35';
59+
const VERSION = '2.0.0-beta.36';
6060

6161
/**
6262
* Required PHP version.

lib/composer.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "automad",
3-
"version": "2.0.0-beta.35",
3+
"version": "2.0.0-beta.36",
44
"description": "Automad",
55
"author": "Marc Anton Dahmen",
66
"private": true,

0 commit comments

Comments
 (0)