Skip to content

Commit

Permalink
fix: correct broken link in clipboard error notification (#510)
Browse files Browse the repository at this point in the history
* 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: #509

* Update CHANGELOG.md

Added explanation of bug fix to #509

* Update CHANGELOG.md
  • Loading branch information
bjornasm authored Apr 11, 2024
1 parent 295a437 commit ade6c8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/harlequin/components/code_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit ade6c8c

Please sign in to comment.