diff --git a/app/soapbox/components/sidebar-navigation-link.tsx b/app/soapbox/components/sidebar-navigation-link.tsx
index ce046e04cc..79140b984c 100644
--- a/app/soapbox/components/sidebar-navigation-link.tsx
+++ b/app/soapbox/components/sidebar-navigation-link.tsx
@@ -10,7 +10,7 @@ interface ISidebarNavigationLink {
/** URL to an SVG icon. */
icon: string,
/** Link label. */
- text: React.ReactElement,
+ text: React.ReactNode,
/** Route to an internal page. */
to?: string,
/** Callback when the link is clicked. */
diff --git a/app/soapbox/components/sidebar-navigation.tsx b/app/soapbox/components/sidebar-navigation.tsx
index 18c104b16b..ab1b042411 100644
--- a/app/soapbox/components/sidebar-navigation.tsx
+++ b/app/soapbox/components/sidebar-navigation.tsx
@@ -16,9 +16,6 @@ const messages = defineMessages({
bookmarks: { id: 'column.bookmarks', defaultMessage: 'Bookmarks' },
lists: { id: 'column.lists', defaultMessage: 'Lists' },
developers: { id: 'navigation.developers', defaultMessage: 'Developers' },
- dashboard: { id: 'tabs_bar.dashboard', defaultMessage: 'Dashboard' },
- all: { id: 'tabs_bar.all', defaultMessage: 'All' },
- fediverse: { id: 'tabs_bar.fediverse', defaultMessage: 'Fediverse' },
});
/** Desktop sidebar with links to different views in the app. */
@@ -71,35 +68,6 @@ const SidebarNavigation = () => {
text: intl.formatMessage(messages.developers),
});
}
-
- if (account.staff) {
- menu.push({
- to: '/soapbox/admin',
- icon: require('@tabler/icons/dashboard.svg'),
- text: intl.formatMessage(messages.dashboard),
- count: dashboardCount,
- });
- }
-
- if (features.publicTimeline) {
- menu.push(null);
- }
- }
-
- if (features.publicTimeline) {
- menu.push({
- to: '/timeline/local',
- icon: features.federating ? require('@tabler/icons/users.svg') : require('@tabler/icons/world.svg'),
- text: features.federating ? instance.title : intl.formatMessage(messages.all),
- });
- }
-
- if (features.publicTimeline && features.federating) {
- menu.push({
- to: '/timeline/fediverse',
- icon: require('assets/icons/fediverse.svg'),
- text: intl.formatMessage(messages.fediverse),
- });
}
return menu;
@@ -170,6 +138,33 @@ const SidebarNavigation = () => {
icon={require('@tabler/icons/settings.svg')}
text={}
/>
+
+ {account.staff && (
+ }
+ />
+ )}
+ >
+ )}
+
+ {features.publicTimeline && (
+ <>
+ }
+ />
+
+ {features.federating && (
+ }
+ />
+ )}
>
)}
@@ -177,7 +172,6 @@ const SidebarNavigation = () => {
}
/>
diff --git a/app/soapbox/features/settings/index.tsx b/app/soapbox/features/settings/index.tsx
index 946450f61e..88ec78def9 100644
--- a/app/soapbox/features/settings/index.tsx
+++ b/app/soapbox/features/settings/index.tsx
@@ -118,14 +118,15 @@ const Settings = () => {
- {features.security && (
-
- )}
{features.federating && (features.accountMoving ? (
) : features.accountAliases && (
))}
+
+ {features.security && (
+
+ )}
>
diff --git a/app/soapbox/features/soapbox-config/index.tsx b/app/soapbox/features/soapbox-config/index.tsx
index 8cf88688ed..298788cdfa 100644
--- a/app/soapbox/features/soapbox-config/index.tsx
+++ b/app/soapbox/features/soapbox-config/index.tsx
@@ -202,7 +202,7 @@ const SoapboxConfig: React.FC = () => {
>