Skip to content

Commit

Permalink
Fixed pasting issue for the subscribe view. (#21)
Browse files Browse the repository at this point in the history
* Fix pasting issue for the subscribe view

* 0.0.9
  • Loading branch information
cyrus2281 authored Oct 22, 2024
1 parent 8b39692 commit 1497a3f
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to the "solace-try-me-vsc-extension" extension will be documented in this file.

## [0.0.9] - 2024-10-22
- Fixed pasting issue for the subscribe view.

## [0.0.8] - 2024-10-22
- Added ignore topics functionality

Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
[![version](https://img.shields.io/github/package-json/v/SolaceLabs/solace-try-me-vsc-extension)](https://github.com/SolaceLabs/solace-try-me-vsc-extension)
[![License](https://img.shields.io/github/license/SolaceLabs/solace-try-me-vsc-extension)](https://github.com/SolaceLabs/solace-try-me-vsc-extension/blob/main/LICENSE)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)

[![GitHub issues](https://img.shields.io/github/issues/SolaceLabs/solace-try-me-vsc-extension?color=red)](https://github.com/SolaceLabs/solace-try-me-vsc-extension/issues)
[![GitHub closed issues](https://img.shields.io/github/issues-closed/SolaceLabs/solace-try-me-vsc-extension?color=green)](https://github.com/SolaceLabs/solace-try-me-vsc-extension/issues?q=is%3Aissue+is%3Aclosed)
[![GitHub pull requests](https://img.shields.io/github/issues-pr/SolaceLabs/solace-try-me-vsc-extension?color=red)](https://github.com/SolaceLabs/solace-try-me-vsc-extension/pulls)
[![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/SolaceLabs/solace-try-me-vsc-extension?color=green)](https://github.com/SolaceLabs/solace-try-me-vsc-extension/pulls?q=is%3Apr+is%3Aclosed)
[![GitHub stars](https://img.shields.io/github/stars/SolaceLabs/solace-try-me-vsc-extension?style=social)](https://github.com/SolaceLabs/solace-try-me-vsc-extension/stargazers)


# Solace Try Me VSC Extension

Solace Try Me VSC Extension is a Visual Studio Code extension that allows you to monitor all messages in your event broker directly from within Visual Studio Code.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "solace-try-me-vsc-extension",
"displayName": "Solace Try Me VSC Extension",
"description": "VSC built-in tool to visualize and observe events flowing through Solace PubSub+ Broker.",
"version": "0.0.8",
"version": "0.0.9",
"publisher": "solace-tools",
"author": {
"name": "Cyrus Mobini"
Expand Down
1 change: 0 additions & 1 deletion webview/src/Shared/SolaceManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ class SolaceManager {
(topic) => new RegExp(topic.replace(/\*/g, "[^/]+").replace(">", ".*"))
);
console.log("Ignoring topics:", this.ignoreTopics);

}

getBrokerConfig() {
Expand Down
4 changes: 2 additions & 2 deletions webview/src/SubscribeView/SubscribeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const SubscribeView = () => {
isRequired
isDisabled={!solaceConnection}
onValueChange={setTopicInputField}
onKeyDown={(e) => {
onKeyUp={(e) => {
if (e.key === "Enter" && topicInputField.trim()) {
subscribeTopic(topicInputField.trim());
setTopicInputField("");
Expand Down Expand Up @@ -228,7 +228,7 @@ const SubscribeView = () => {
isRequired
isDisabled={!solaceConnection}
onValueChange={setIgnoreTopicInputField}
onKeyDown={(e) => {
onKeyUp={(e) => {
if (e.key === "Enter" && ignoreTopicInputField.trim()) {
setIgnoreTopics(
Array.from(new Set([...ignoreTopics, ignoreTopicInputField]))
Expand Down

0 comments on commit 1497a3f

Please sign in to comment.