Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import classNames from 'classnames';
import { isEmpty, isUndefined } from 'lodash';
import { ReactNode, useEffect, useMemo, useRef } from 'react';
import { ReactComponent as FeedEmptyIcon } from '../../../assets/svg/ic-task-empty.svg';
Expand Down Expand Up @@ -231,12 +230,7 @@ const ActivityFeedListV1New = ({
}

return (
<div
className={classNames({
'feed-widget-padding': isForFeedTab,
'activity-feed-tab-padding': !isForFeedTab,
})}
id="feedData">
<div className="activity-feed-tab-padding" id="feedData">
{feeds}
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@
}
}

.feed-widget-padding {
padding: var(--om-space-20) var(--om-space-20) 0 var(--om-space-20);
}
.activity-feed-tab-padding {
padding: var(--om-space-20) var(--om-space-20) var(--om-space-20)
var(--om-space-20);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ jest.mock('../../common/Loader/Loader', () =>
jest.fn().mockReturnValue(<div data-testid="loader" />)
);

jest.mock('../../MyData/Widgets/FeedsWidget/feeds-widget.less', () => ({}));
jest.mock('./activity-feed-tab.less', () => ({}));

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ import NoDataPlaceholder from '../../common/EmptyPlaceholder/NoDataPlaceholder';
import PermissionPlaceholder from '../../common/EmptyPlaceholder/PermissionPlaceholder';
import SomethingWentWrongPlaceholder from '../../common/EmptyPlaceholder/SomethingWentWrongPlaceholder';
import Loader from '../../common/Loader/Loader';
import '../../MyData/Widgets/FeedsWidget/feeds-widget.less';
import ActivityFeedListV1New from '../ActivityFeedList/ActivityFeedListV1New.component';
import TaskListV1 from '../ActivityFeedList/TaskListV1.component';
import FeedPanelBodyV1New from '../ActivityFeedPanel/FeedPanelBodyV1New';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
*/
@import '../../../styles/variables.less';

.feed-explore-heading {
background-color: @grey-1;
}

.activity-feed-tab {
display: flex;
width: 100%;
Expand Down Expand Up @@ -68,13 +64,6 @@
background: @grey-9;
}

.activity-feed-reply-button {
border-radius: var(--om-radius-3xl);
border: 1px solid var(--om-legacy-color-d4d4d8);
color: var(--om-legacy-color-52525b);
font-size: var(--om-font-size-xs);
}

.comments-input-field {
background-color: @grey-16;
border-radius: var(--om-radius-20);
Expand Down Expand Up @@ -142,11 +131,6 @@
}
}

.activity-feed-card-message-right-panel {
background: var(--om-legacy-color-239-244-250-0-25);
margin-top: var(--om-space-10);
}

.activity-feed-reply-card {
border-radius: var(--om-radius-lg);

Expand All @@ -164,18 +148,6 @@

padding-bottom: var(--om-space-16);
}

.activity-feed-reply-card-message {
padding-left: var(--om-space-50);
border: none;
background: var(--om-legacy-color-239-244-250-0-25);

.activity-feed-comment-text {
word-wrap: break-word;
white-space: normal;
color: var(--om-color-gray-600);
}
}
}

.activity-feed-card-new-right-panel {
Expand All @@ -199,7 +171,6 @@
}

// Widget feed cards keep their compact, unpadded body layout.
.feed-widget-container,
.widget-wrapper-container {
.activity-feed-card-new .activity-feed-card-new-body {
display: flex;
Expand Down Expand Up @@ -284,10 +255,6 @@
color: var(--om-legacy-color-373e44);
}

.activity-feed-reply-card-footer {
margin-left: var(--om-space-45);
}

.active-card {
background-color: var(--om-legacy-color-e6f1fe) !important;

Expand Down Expand Up @@ -380,12 +347,6 @@
line-height: 20px;
}

.close-tab-icon {
position: absolute;
top: 24px;
right: 20px;
}

.reply-feed-editor {
.editor-container {
margin: 0;
Expand All @@ -412,14 +373,6 @@
}
}

.reply-message {
color: var(--om-legacy-color-4a4a4a);
white-space: normal;
word-break: break-word;
display: block;
font-size: var(--om-font-size-xs);
}

.reply-card-user-name.activity-feed-user-name a {
color: @text-color;
font-style: normal;
Expand Down Expand Up @@ -467,10 +420,6 @@
padding: var(--om-space-4) var(--om-space-8);
margin-right: @margin-xs;
border: 1px solid @grey-15;

.owner-team-icon {
font-size: var(--om-font-size-display-xs) !important;
}
}

.owner-chip-text {
Expand All @@ -482,9 +431,6 @@
margin-left: @margin-xss;
}

.feed-filter-icon {
cursor: pointer;
}
.no-data-placeholder-container-right-panel {
margin-top: @size-xl;
}
Loading
Loading