Linkified JS8 callsigns.
This commit is contained in:
parent
fb8422dc55
commit
d8950a7d52
|
|
@ -1,10 +1,10 @@
|
|||
**1.2.54**
|
||||
- Made FT8/JS8/WSPR/etc. messages show in monospace font.
|
||||
- Added ability to click on FT8/etc. callsigns.
|
||||
- Added ability to click on FT8/JS8/etc. callsigns.
|
||||
- Added columns to the time displays.
|
||||
- Fixed locators not aging when updated.
|
||||
- Fixed race condition between move-profile requests.
|
||||
- Now defaulting all fields to kHz in new profiles.
|
||||
- Now defaulting all new profile fields to kHz.
|
||||
|
||||
**1.2.53**
|
||||
- Added ability to reorder profiles in the Settings.
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
openwebrx (1.2.54) bullseye jammy; urgency=low
|
||||
|
||||
* Made FT8/JS8/WSPR/etc. messages show in monospace font.
|
||||
* Added ability to click on FT8/etc. callsigns.
|
||||
* Added ability to click on FT8/JS8/etc. callsigns.
|
||||
* Added columns to the time displays.
|
||||
* Fixed locators not aging when updated.
|
||||
* Fixed race condition between move-profile requests.
|
||||
* Now defaulting all fields to kHz in new profiles.
|
||||
* Now defaulting all new profile fields to kHz.
|
||||
|
||||
-- Marat Fayzullin <luarvique@gmail.com> Mon, 8 Apr 2024 16:12:00 +0000
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,8 @@ Js8Thread.prototype.renderMessages = function() {
|
|||
} else if (i === 0 || msg.timestamp - this.messages[i - 1].timestamp > this.getMessageDuration()) {
|
||||
res.push(' ... ');
|
||||
}
|
||||
res.push(msg.msg);
|
||||
var matches = msg.msg.match(/^([A-Z0-9]+)(:.*)$/);
|
||||
res.push(matches? Utils.linkifyCallsign(matches[1]) + matches[2] : msg.msg);
|
||||
if (msg.thread_type & 2) {
|
||||
res.push(' ]');
|
||||
} else if (i === this.messages.length -1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue