Add Labs deprecation page

This commit is contained in:
Daniel Supernault 2020-04-10 21:59:15 -06:00
parent 4a293ed911
commit 9b215001e3
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
4 changed files with 26 additions and 6 deletions

View file

@ -9,6 +9,9 @@
<div class="alert alert-primary px-3 h6 text-center"> <div class="alert alert-primary px-3 h6 text-center">
<strong>Warning:</strong> Some experimental features may contain bugs or missing functionality <strong>Warning:</strong> Some experimental features may contain bugs or missing functionality
</div> </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"> <div class="py-3">
<p class="font-weight-bold text-muted text-center">UI</p> <p class="font-weight-bold text-muted text-center">UI</p>
<hr> <hr>

View file

@ -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

View file

@ -3,12 +3,6 @@
@section('content') @section('content')
<div class="container px-0 mt-0 mt-md-4 mb-md-5 pb-md-5"> <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="col-12 px-0">
<div class="card mt-md-5 px-0 mx-md-3"> <div class="card mt-md-5 px-0 mx-md-3">
<div class="card-header font-weight-bold text-muted bg-white py-4"> <div class="card-header font-weight-bold text-muted bg-white py-4">

View file

@ -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('blocking-accounts', 'site.help.blocking-accounts')->name('help.blocking-accounts');
Route::view('report-something', 'site.help.report-something')->name('help.report-something'); 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('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/{year}/{month}/{slug}', 'NewsroomController@show');
Route::get('newsroom/archive', 'NewsroomController@archive'); Route::get('newsroom/archive', 'NewsroomController@archive');