From 8a73f23cb03ea6321cb5f09af075071230e006b6 Mon Sep 17 00:00:00 2001
From: Awais Ansari <79941147+awais-ansari@users.noreply.github.com>
Date: Wed, 31 Aug 2022 18:29:21 +0500
Subject: [PATCH] fix: small UI issue and post sorting (#274)
* fix: filter pinned, unpinned posts and render separately
* fix: UI updates for INF-421 and INF-417
* fix: pin icon moves to left for non privilege user
* fix: posts list accessibility issue
---
src/components/SearchInfo.jsx | 2 +-
src/discussions/learners/LearnerPostsView.jsx | 37 +++++++++---------
src/discussions/learners/LearnersView.jsx | 16 ++++++--
.../learners/learner/LearnerCard.jsx | 2 +-
.../learners/learner/LearnerFilterBar.jsx | 2 +-
src/discussions/posts/PostsList.jsx | 39 +++++++++----------
src/discussions/posts/PostsView.jsx | 1 +
.../posts/post-actions-bar/PostActionsBar.jsx | 3 +-
.../posts/post-filter-bar/PostFilterBar.jsx | 2 +-
src/discussions/posts/post/PostLink.jsx | 19 ++++++---
src/discussions/utils.js | 15 +++++++
src/index.scss | 6 ++-
12 files changed, 90 insertions(+), 54 deletions(-)
diff --git a/src/components/SearchInfo.jsx b/src/components/SearchInfo.jsx
index 6c2e061f..fc766cbd 100644
--- a/src/components/SearchInfo.jsx
+++ b/src/components/SearchInfo.jsx
@@ -16,7 +16,7 @@ function SearchInfo({
onClear,
}) {
return (
-
+