diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ed81d3c..a9a97a5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ 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/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Added + +- A field to indicate when a playlist was last updated + ## [0.11.0] - 2023-09-10 This version went through a major refactor, which resulted in a different arcitecture of the app to support new features, the rewrite of many pieces, as well as new features. diff --git a/playlet-lib/src/components/ContentNode/PlaylistContentNode.xml b/playlet-lib/src/components/ContentNode/PlaylistContentNode.xml index c1c7c0b5..19176626 100644 --- a/playlet-lib/src/components/ContentNode/PlaylistContentNode.xml +++ b/playlet-lib/src/components/ContentNode/PlaylistContentNode.xml @@ -29,5 +29,7 @@ + + \ No newline at end of file diff --git a/playlet-lib/src/components/MainScene.xml b/playlet-lib/src/components/MainScene.xml index cf00b719..f8440da8 100644 --- a/playlet-lib/src/components/MainScene.xml +++ b/playlet-lib/src/components/MainScene.xml @@ -61,9 +61,6 @@ invidious="bind:../Invidious" preferences="bind:../Preferences" playQueue="bind:../PlayQueue" /> - - \ No newline at end of file diff --git a/playlet-lib/src/components/PlaylistView/PlaylistView.bs b/playlet-lib/src/components/PlaylistView/PlaylistView.bs index f3ba4e09..c3522eb0 100644 --- a/playlet-lib/src/components/PlaylistView/PlaylistView.bs +++ b/playlet-lib/src/components/PlaylistView/PlaylistView.bs @@ -17,6 +17,7 @@ function Init() m.backgroundSmall = m.top.findNode("backgroundSmall") m.titleLabel = m.top.findNode("titleLabel") m.subtitleLabel = m.top.findNode("subtitleLabel") + m.updatedLabel = m.top.findNode("updatedLabel") m.descriptionLabel = m.top.findNode("descriptionLabel") m.list = m.top.findNode("list") end function @@ -43,6 +44,7 @@ function OnContentSet() as void m.titleLabel.text = content.title ' NOTE: "_author" not "author". See PlaylistContentNode.xml for explanation. m.subtitleLabel.text = `${content._author} • ${content.videoCountText} • ${content.viewCountText}` + m.updatedLabel.text = content.updatedText m.descriptionLabel.text = content.description ' TODO:P2 cross fade diff --git a/playlet-lib/src/components/PlaylistView/PlaylistView.xml b/playlet-lib/src/components/PlaylistView/PlaylistView.xml index c925c786..cf5dccb0 100644 --- a/playlet-lib/src/components/PlaylistView/PlaylistView.xml +++ b/playlet-lib/src/components/PlaylistView/PlaylistView.xml @@ -22,7 +22,7 @@ height="720" blendColor="0x323232">