From ade6c8c4a005d0d43413305bcbecab5a2bcdd0c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rnar=20Brende=20Smestad?= Date: Thu, 11 Apr 2024 19:05:11 +0200 Subject: [PATCH] fix: correct broken link in clipboard error notification (#510) * Update code_editor.py - wrong url in error msg Error msg is linking to https://harlequin.sh/docs/troubleshooting#copying-and-pasting but this is the correct link: https://harlequin.sh/docs/troubleshooting/copying-and-pasting See issue: https://github.com/tconbeer/harlequin/issues/509 * Update CHANGELOG.md Added explanation of bug fix to https://github.com/tconbeer/harlequin/issues/509 * Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ src/harlequin/components/code_editor.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f712f949..457a00fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Bug Fixes + +- Wrong link on text_area_clipboard_error error message ([#509](https://github.com/tconbeer/harlequin/issues/509)) + ## [1.16.2] - 2024-03-29 ### Bug Fixes diff --git a/src/harlequin/components/code_editor.py b/src/harlequin/components/code_editor.py index 0bf331cf..b5af05cc 100644 --- a/src/harlequin/components/code_editor.py +++ b/src/harlequin/components/code_editor.py @@ -98,7 +98,7 @@ def on_text_area_clipboard_error(self) -> None: if not self.has_shown_clipboard_error: self.app.notify( "Could not access system clipboard.\n" - "See https://harlequin.sh/docs/troubleshooting#copying-and-pasting", + "See https://harlequin.sh/docs/troubleshooting/copying-and-pasting", severity="error", timeout=10, )