diff --git a/README.md b/README.md index 595c6d3..3d73836 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ systemctl restart mastodon-* ## Patches +- [`cleanup-sidebar.patch`](patches/cleanup-sidebar.patch): Removes redudant search button from sidebar (glitch-soc only) - [`favicons.patch`](patches/favicons.patch): Use custom icon images instead of Mastodon logo - [`hide-contact-email.patch`](patches/hide-contact-email.patch): Hides the `mailto:` link on the About page - [`hide-rules.patch`](patches/hide-rules.patch): Applies just to homepage, meant only for single-user instances diff --git a/patches/cleanup-sidebar.patch b/patches/cleanup-sidebar.patch new file mode 100644 index 0000000..71e3d8d --- /dev/null +++ b/patches/cleanup-sidebar.patch @@ -0,0 +1,49 @@ +diff --git a/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js b/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js +index 3b46c6eec..4999c273c 100644 +--- a/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js ++++ b/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js +@@ -2,6 +2,7 @@ import React from 'react'; + import PropTypes from 'prop-types'; + import { defineMessages, injectIntl } from 'react-intl'; + import { Link } from 'react-router-dom'; ++import Logo from 'flavours/glitch/components/logo'; + import { timelinePreview, showTrends } from 'flavours/glitch/initial_state'; + import ColumnLink from 'flavours/glitch/features/ui/components/column_link'; + import DisabledAccountBanner from './disabled_account_banner'; +@@ -47,6 +48,11 @@ class NavigationPanel extends React.Component { + + return ( +