Rename version to app_version
This commit is contained in:
1 parent
94a017a878
commit
61327401b0
5 files changed
+8
-5
No files matched your search
@@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
## [0.17.0] - 2023-11-17
|
## [0.17.0] - 2023-11-17
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
import "pkg:/source/asyncTask/asyncTask.bs"
|
import "pkg:/source/asyncTask/asyncTask.bs"
|
||||||
|
|
||||||
function Init()
|
function Init()
|
||||||
' TODO:P2 rename "Playlet Version" to "Playlet App Version"
|
|
||||||
' TODO:P2 rename Add tooltip to each field with description of what it means
|
' TODO:P2 rename Add tooltip to each field with description of what it means
|
||||||
m.displayNames = {
|
m.displayNames = {
|
||||||
"version": "Playlet Version",
|
"app_version": "Playlet App Version",
|
||||||
"lib_version": "Playlet Library Version",
|
"lib_version": "Playlet Library Version",
|
||||||
"lib_version_latest": "Playlet Library Latest Version",
|
"lib_version_latest": "Playlet Library Latest Version",
|
||||||
"lib_url": "Playlet Library URL",
|
"lib_url": "Playlet Library URL",
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ import "pkg:/source/utils/Types.bs"
|
|||||||
|
|
||||||
' TODO:P1 add the option to remove a row if it does not have any content
|
' TODO:P1 add the option to remove a row if it does not have any content
|
||||||
' E.g. NBC News does not return any related chnanels
|
' E.g. NBC News does not return any related chnanels
|
||||||
|
' The "Continue Watching" feed source might return nothing. In this case,
|
||||||
|
' it should be removed.
|
||||||
function Init()
|
function Init()
|
||||||
m.pendingLoadTasks = {}
|
m.pendingLoadTasks = {}
|
||||||
end function
|
end function
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class ApplicationInfo
|
|||||||
if m.appInfo = invalid
|
if m.appInfo = invalid
|
||||||
m.appInfo = {
|
m.appInfo = {
|
||||||
id: m.roAppInfo.GetID(),
|
id: m.roAppInfo.GetID(),
|
||||||
version: m.roAppInfo.GetVersion(),
|
app_version: m.roAppInfo.GetVersion(),
|
||||||
git_commit_hash: m.roAppInfo.GetValue("git_commit_sha"),
|
git_commit_hash: m.roAppInfo.GetValue("git_commit_sha"),
|
||||||
lib_version: m.GetLibVersion(),
|
lib_version: m.GetLibVersion(),
|
||||||
lib_git_commit_hash: m.GetLibGitCommitHash()
|
lib_git_commit_hash: m.GetLibGitCommitHash()
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
export let visibility: boolean;
|
export let visibility: boolean;
|
||||||
|
|
||||||
const displayNames = {
|
const displayNames = {
|
||||||
version: "Playlet Version",
|
app_version: "Playlet App Version",
|
||||||
lib_version: "Playlet Library Version",
|
lib_version: "Playlet Library Version",
|
||||||
lib_version_latest: "Playlet Library Latest Version",
|
lib_version_latest: "Playlet Library Latest Version",
|
||||||
lib_url: "Playlet Library URL",
|
lib_url: "Playlet Library URL",
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
function transformValue(key, value) {
|
function transformValue(key, value) {
|
||||||
switch (key) {
|
switch (key) {
|
||||||
case "version":
|
case "app_version":
|
||||||
case "lib_version":
|
case "lib_version":
|
||||||
case "lib_version_latest":
|
case "lib_version_latest":
|
||||||
return `<a class="link" href="https://github.com/iBicha/playlet/releases/tag/v${value}" target="_blank" rel="noopener noreferrer">${value}</a>`;
|
return `<a class="link" href="https://github.com/iBicha/playlet/releases/tag/v${value}" target="_blank" rel="noopener noreferrer">${value}</a>`;
|
||||||
|
|||||||
Reference in new issue
Block a user