Skip to content
Snippets Groups Projects
Commit 43daeccc authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Add “account timeline” filter category (#12918)

* Add “account timeline” filter category

Previously, no filter category applied to account timelines.

* Rename “Account timelines” into “Profiles”
parent a8e46cf7
No related branches found
No related tags found
No related merge requests found
...@@ -115,6 +115,7 @@ class AccountTimeline extends ImmutablePureComponent { ...@@ -115,6 +115,7 @@ class AccountTimeline extends ImmutablePureComponent {
shouldUpdateScroll={shouldUpdateScroll} shouldUpdateScroll={shouldUpdateScroll}
emptyMessage={emptyMessage} emptyMessage={emptyMessage}
bindToDocument={!multiColumn} bindToDocument={!multiColumn}
timelineId='account'
/> />
</Column> </Column>
); );
......
...@@ -26,6 +26,7 @@ const toServerSideType = columnType => { ...@@ -26,6 +26,7 @@ const toServerSideType = columnType => {
case 'notifications': case 'notifications':
case 'public': case 'public':
case 'thread': case 'thread':
case 'account':
return columnType; return columnType;
default: default:
if (columnType.indexOf('list:') > -1) { if (columnType.indexOf('list:') > -1) {
......
...@@ -20,6 +20,7 @@ class CustomFilter < ApplicationRecord ...@@ -20,6 +20,7 @@ class CustomFilter < ApplicationRecord
notifications notifications
public public
thread thread
account
).freeze ).freeze
include Expireable include Expireable
......
...@@ -733,6 +733,7 @@ en: ...@@ -733,6 +733,7 @@ en:
hint_html: "<strong>What are featured hashtags?</strong> They are displayed prominently on your public profile and allow people to browse your public posts specifically under those hashtags. They are a great tool for keeping track of creative works or long-term projects." hint_html: "<strong>What are featured hashtags?</strong> They are displayed prominently on your public profile and allow people to browse your public posts specifically under those hashtags. They are a great tool for keeping track of creative works or long-term projects."
filters: filters:
contexts: contexts:
account: Profiles
home: Home timeline home: Home timeline
notifications: Notifications notifications: Notifications
public: Public timelines public: Public timelines
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment