fix: update changelog and improve code formatting in ContentActions component

This commit is contained in:
Elio Struyf
2026-03-30 14:11:47 +02:00
parent c4ee4cfc09
commit ac60d5c3d0
3 changed files with 4 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
### 🎨 Enhancements
- [#545](https://github.com/estruyf/vscode-front-matter/issues/545): Add smart rename action to sync filename with front matter data
- [#937](https://github.com/estruyf/vscode-front-matter/issues/937): Dashboard "Structure" view for documentation sites *WIP*
- [#965](https://github.com/estruyf/vscode-front-matter/issues/965): Added SEO support for the keyword in the first paragraph
- [#973](https://github.com/estruyf/vscode-front-matter/issues/973): Support for number fields in the snippets

View File

@@ -2856,7 +2856,7 @@
]
},
"scripts": {
"dev:ext": "npm run clean && npm run localization:generate && npm-run-all --parallel watch:*",
"dev": "npm run clean && npm run localization:generate && npm-run-all --parallel watch:*",
"vscode:prepublish": "npm run clean && npm run localization:generate && npm-run-all --parallel prod:*",
"build:ext": "npm run clean && npm-run-all --parallel dev:build:*",
"watch:ext": "webpack --mode development --watch --config ./webpack/extension.config.js",

View File

@@ -74,12 +74,12 @@ export const ContentActions: React.FunctionComponent<IContentActionsProps> = ({
const onRename = React.useCallback((e: React.MouseEvent<HTMLButtonElement | HTMLDivElement, MouseEvent>) => {
e.stopPropagation();
messageHandler.send(DashboardMessage.rename, path);
}, [path])
}, [path]);
const onSmartRename = React.useCallback((e: React.MouseEvent<HTMLButtonElement | HTMLDivElement, MouseEvent>) => {
e.stopPropagation();
messageHandler.send(DashboardMessage.smartRename, path);
}, [path])
}, [path]);
const onOpenWebsite = React.useCallback((e: React.MouseEvent<HTMLButtonElement | HTMLDivElement, MouseEvent>) => {
e.stopPropagation();