diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 8e6d0324fb5..f9d7948c8dc 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -27,6 +27,7 @@ This serves two purposes: - Fixed icons not being considered as images by dashboard viewer in https://github.com/hydephp/develop/pull/1512 - HydeFront: Fixed bug where heading permalink buttons were included in text represented output in https://github.com/hydephp/develop/pull/1519 - HydeFront: Fix visual overflow bug in inline code blocks within blockquotes https://github.com/hydephp/hydefront/issues/65 in https://github.com/hydephp/develop/pull/1525 +- Realtime Compiler: Fixes visual dashboard bugs https://github.com/hydephp/realtime-compiler/issues/23 and https://github.com/hydephp/realtime-compiler/issues/24 in https://github.com/hydephp/develop/pull/1528 ### Security - in case of vulnerabilities. diff --git a/packages/realtime-compiler/resources/dashboard.blade.php b/packages/realtime-compiler/resources/dashboard.blade.php index 1c2f1086e1f..f6086d72e25 100644 --- a/packages/realtime-compiler/resources/dashboard.blade.php +++ b/packages/realtime-compiler/resources/dashboard.blade.php @@ -41,9 +41,9 @@ Open full page dashboard @else - + @endif @@ -228,7 +228,7 @@ @endif @else - +
@foreach(['Page Type', 'Route Key', 'Source File', 'Output File', 'Identifier'] as $header) @@ -288,7 +288,7 @@ There are no media files yet. Why not add some? @else -
+
@foreach(\Hyde\Support\Filesystem\MediaFile::all() as $mediaFile)
@@ -310,7 +310,7 @@
-

+

{{ $mediaFile->getName() }}

diff --git a/packages/realtime-compiler/src/Http/DashboardController.php b/packages/realtime-compiler/src/Http/DashboardController.php index 7e474a9ec83..5b1a27ec5a9 100644 --- a/packages/realtime-compiler/src/Http/DashboardController.php +++ b/packages/realtime-compiler/src/Http/DashboardController.php @@ -116,9 +116,7 @@ protected function handlePostRequest(): JsonResponse public function getVersion(): string { - $version = InstalledVersions::getPrettyVersion('hyde/realtime-compiler'); - - return str_starts_with($version, 'dev-') ? $version : "v$version"; + return InstalledVersions::getPrettyVersion('hyde/realtime-compiler'); } public function getProjectInformation(): array
{{ $header }}