소스 검색

Add Labs deprecation page

Daniel Supernault 5 년 전
부모
커밋
9b215001e3

+ 3 - 0
resources/views/settings/labs.blade.php

@@ -9,6 +9,9 @@
 	<div class="alert alert-primary px-3 h6 text-center">
 		<strong>Warning:</strong> Some experimental features may contain bugs or missing functionality
 	</div>
+	<div class="alert alert-warning px-3 h6">
+		We are deprecating Labs in a future version. Some features will no longer be supported. For more information, click <a href="{{route('help.labs-deprecation')}}" class="font-weight-bold">here</a>.
+	</div>
 	<div class="py-3">
 		<p class="font-weight-bold text-muted text-center">UI</p>
 		<hr>

+ 21 - 0
resources/views/site/help/labs-deprecation.blade.php

@@ -0,0 +1,21 @@
+@extends('site.help.partial.template', ['breadcrumb'=>'Labs Deprecation'])
+
+@section('section')
+
+  <div class="title">
+    <h3 class="font-weight-bold">Labs Deprecation</h3>
+  </div>
+  <hr>
+  <p class="lead">We are deprecating Labs in a future version. No new experiments will be released. We will give 6 months notice before removing Labs.</p>
+  <hr>
+  <h4 class="font-weight-bold">When will labs be deprecated?</h4>
+  <p>TBA</p>
+  <hr>
+  <h4 class="font-weight-bold">What features will be deprecated?</h4>
+  <p>TBA</p>
+  <hr>
+  <h4 class="font-weight-bold">Why is Labs being deprecated?</h4>
+  <p>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.</p>
+  <hr>
+  <p class="small">Last Updated: April 10/2020</p>
+@endsection

+ 0 - 6
resources/views/site/help/partial/template.blade.php

@@ -3,12 +3,6 @@
 @section('content')
 
 <div class="container px-0 mt-0 mt-md-4 mb-md-5 pb-md-5">
-  <div class="col-12">
-    <div class="alert alert-info">
-      <p class="lead mb-0">Some sections may contain out of date information</p>
-      <p class="mb-0">We apologize for any inconvenience, we are working on updating the Help Center.</p>
-    </div>
-  </div>
   <div class="col-12 px-0">
     <div class="card mt-md-5 px-0 mx-md-3">
       <div class="card-header font-weight-bold text-muted bg-white py-4">

+ 2 - 0
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');