From 24f295b02fb833d5dfa1578a4cf225b8213d1c0e Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 4 May 2019 19:10:45 -0600 Subject: [PATCH 1/3] Update password reset view --- .../views/auth/passwords/reset.blade.php | 27 +++++++------------ 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index ad9b82063..e160f2109 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -5,7 +5,7 @@
-
{{ __('Reset Password') }}
+
{{ __('Reset Password') }}
@@ -14,11 +14,8 @@
- - -
- - +
+ @if ($errors->has('email')) {{ $errors->first('email') }} @@ -26,12 +23,10 @@ @endif
- +
- - -
- +
+ @if ($errors->has('password')) @@ -42,10 +37,8 @@
- - -
- +
+ @if ($errors->has('password_confirmation')) @@ -56,8 +49,8 @@
-
-
From 97a5f5db8de7e70b106b0926ac6a5453fa01aaad Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 4 May 2019 19:52:23 -0600 Subject: [PATCH 2/3] Add new labs setting, disable read more --- resources/assets/js/components/Timeline.vue | 13 +++++++++-- resources/views/settings/labs.blade.php | 24 +++++++++++++++++++-- 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/resources/assets/js/components/Timeline.vue b/resources/assets/js/components/Timeline.vue index 0270d4959..5756de680 100644 --- a/resources/assets/js/components/Timeline.vue +++ b/resources/assets/js/components/Timeline.vue @@ -389,7 +389,8 @@ followingCursor: 1, followingMore: true, lightboxMedia: false, - showSuggestions: false + showSuggestions: false, + showReadMore: true, } }, @@ -415,13 +416,21 @@ this.showSuggestions = true; } + if(localStorage.getItem('pf_metro_ui.exp.rm') == 'false') { + this.showReadMore = false; + } else { + this.showReadMore = true; + } + this.$nextTick(function () { $('[data-toggle="tooltip"]').tooltip() }); }, updated() { - pixelfed.readmore(); + if(this.showReadMore == true) { + pixelfed.readmore(); + } }, methods: { diff --git a/resources/views/settings/labs.blade.php b/resources/views/settings/labs.blade.php index 2b8d47215..2dba9590e 100644 --- a/resources/views/settings/labs.blade.php +++ b/resources/views/settings/labs.blade.php @@ -162,9 +162,16 @@ -

Show Profile Suggestions

+

Show Profile Suggestions.

@endif +
+ + +

Collapses captions/comments more than 3 lines.

+

Discovery


@@ -191,18 +198,31 @@ @endpush \ No newline at end of file From 945cc84b07a882cf33324a64684b2a3d0d37799c Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 4 May 2019 19:52:56 -0600 Subject: [PATCH 3/3] Update compiled assets --- public/js/timeline.js | Bin 59387 -> 59521 bytes public/mix-manifest.json | Bin 845 -> 845 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/public/js/timeline.js b/public/js/timeline.js index 555e3f964b7b243a84ce44e2a47020d7fffc1e64..01c0320f68bf98b22363e3db046ddb931ba7dd70 100644 GIT binary patch delta 306 zcmex;p1JWN^M*;xtokXbAxe`Etg)Od*CWSak(g#^o@8J$*`+56!CBVhhTweZQQbU| zIZ<3rr#K_OJSa6W#W%kw)k@KzwpJ%8H4Vu2%`eR>nat=QKDpXXaI=QA8sp@b(gs?& zN}Bd18JWd;$ogy*4XrQ)Cws|6iy7M5Vo0c|ZC)y4uf~!XY@xsTg;TaQ+*zBW>&|hr zgj$+pgZ#32NtZ3-WXayuEKx2gIg|Gt7iTZlPy%^%vvqHlAS+0}(qzL1xyim=oZ=ug kN}ATidU+a&ntF+~I!Y?%Uw6k60BqB1F#rGn delta 220 zcmZp?$o%^}^M*;xEJj`hxsx5mIzT(Ye> zjMEGf)6y)HC)*yC-E7vdk()&cC^^|dOkpy=5T|IFiLsfIrggDio<^dkUSh3IsHI8v z>p6GO~nQR0e~1lP@sKA&mOQ9EIRSu(%;O%UDz=C-$!1yuI(C085ItrwPb` pli#x_ZI)ip#m54&ZL&b06vSM;zD|}3v&#I*7g