From 9b215001e39c5bbf5fbca8ee663f159b6ed9dc1d Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 10 Apr 2020 21:59:15 -0600 Subject: [PATCH] Add Labs deprecation page --- resources/views/settings/labs.blade.php | 3 +++ .../site/help/labs-deprecation.blade.php | 21 +++++++++++++++++++ .../site/help/partial/template.blade.php | 6 ------ routes/web.php | 2 ++ 4 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 resources/views/site/help/labs-deprecation.blade.php diff --git a/resources/views/settings/labs.blade.php b/resources/views/settings/labs.blade.php index 7afcda74d..9a74b1b9f 100644 --- a/resources/views/settings/labs.blade.php +++ b/resources/views/settings/labs.blade.php @@ -9,6 +9,9 @@
Warning: Some experimental features may contain bugs or missing functionality
+
+ We are deprecating Labs in a future version. Some features will no longer be supported. For more information, click here. +

UI


diff --git a/resources/views/site/help/labs-deprecation.blade.php b/resources/views/site/help/labs-deprecation.blade.php new file mode 100644 index 000000000..65f792200 --- /dev/null +++ b/resources/views/site/help/labs-deprecation.blade.php @@ -0,0 +1,21 @@ +@extends('site.help.partial.template', ['breadcrumb'=>'Labs Deprecation']) + +@section('section') + +
+

Labs Deprecation

+
+
+

We are deprecating Labs in a future version. No new experiments will be released. We will give 6 months notice before removing Labs.

+
+

When will labs be deprecated?

+

TBA

+
+

What features will be deprecated?

+

TBA

+
+

Why is Labs being deprecated?

+

Labs was started in early 2019 to test experimental designs and features. Now the project is more mature, we are outgrowing some of these experiments.

+
+

Last Updated: April 10/2020

+@endsection \ No newline at end of file diff --git a/resources/views/site/help/partial/template.blade.php b/resources/views/site/help/partial/template.blade.php index 3d309998b..72646709b 100644 --- a/resources/views/site/help/partial/template.blade.php +++ b/resources/views/site/help/partial/template.blade.php @@ -3,12 +3,6 @@ @section('content')
-
-
-

Some sections may contain out of date information

-

We apologize for any inconvenience, we are working on updating the Help Center.

-
-
diff --git a/routes/web.php b/routes/web.php index 487a38d7c..39f5cc402 100644 --- a/routes/web.php +++ b/routes/web.php @@ -395,6 +395,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::view('blocking-accounts', 'site.help.blocking-accounts')->name('help.blocking-accounts'); Route::view('report-something', 'site.help.report-something')->name('help.report-something'); Route::view('data-policy', 'site.help.data-policy')->name('help.data-policy'); + Route::view('labs-deprecation', 'site.help.labs-deprecation')->name('help.labs-deprecation'); + }); Route::get('newsroom/{year}/{month}/{slug}', 'NewsroomController@show'); Route::get('newsroom/archive', 'NewsroomController@archive');