Skip to content

feat(settings): add enabled json highlight setting#1390

Merged
ysfscream merged 2 commits intomainfrom
ysf/dev
Aug 4, 2023
Merged

feat(settings): add enabled json highlight setting#1390
ysfscream merged 2 commits intomainfrom
ysf/dev

Conversation

@ysfscream
Copy link
Copy Markdown
Member

@ysfscream ysfscream commented Aug 3, 2023

PR Checklist

If you have any questions, you can refer to the Contributing Guide

What is the current behavior?

Please describe the current behavior and link to a relevant issue.

Issue Number

Example: #1362

What is the new behavior?

image image

Please describe the new behavior or provide screenshots.

Does this PR introduce a breaking change?

  • Yes
  • No

Specific Instructions

Are there any specific instructions or things that should be known prior to review?

Other information

@ysfscream ysfscream added feature This pr is a feature migration database migration desktop MQTTX Desktop labels Aug 3, 2023
@ysfscream ysfscream added this to the v1.9.5 milestone Aug 3, 2023
@ysfscream ysfscream requested review from Red-Asuka and ni00 August 3, 2023 14:31
@ysfscream ysfscream self-assigned this Aug 3, 2023
@ysfscream ysfscream linked an issue Aug 3, 2023 that may be closed by this pull request
@Column({ type: 'boolean', default: true })
multiTopics!: boolean

@Column({ type: 'boolean', default: true })
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is recommended to set the default value as false

Copy link
Copy Markdown
Member Author

@ysfscream ysfscream Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

However, since this feature is a new highlight of this version, it would be meaningless if disabled by default. The performance issue during rendering may exist when the data size is relatively large, but the impact is insignificant for some common concurrent JSON data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

desktop MQTTX Desktop feature This pr is a feature migration database migration

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[Feature] Support JSON highlighting in messages

2 participants