Added shortcuts
• Added: - shortcuts functionality - shortcuts route, controller, model - shortcut error message for "exists" - shortcut redux - EditShortcutsModal, constant - links to sidebar, sidebar_xs - options to add/remove group, account in GroupOptionsPopover, ProfileOptionsPopover - shortcuts page, feature/list
This commit is contained in:
@@ -40,6 +40,7 @@ const messages = defineMessages({
|
||||
help: { id: 'getting_started.help', defaultMessage: 'Help' },
|
||||
display: { id: 'display_options', defaultMessage: 'Display Options' },
|
||||
proFeed: { id: 'pro_feed', defaultMessage: 'Pro Feed' },
|
||||
shortcuts: { id: 'shortcuts', defaultMessage: 'Shortcuts' },
|
||||
})
|
||||
|
||||
const mapStateToProps = (state) => ({
|
||||
@@ -101,6 +102,12 @@ class SidebarXS extends ImmutablePureComponent {
|
||||
onClick: this.handleSidebarClose,
|
||||
title: intl.formatMessage(messages.lists),
|
||||
},
|
||||
{
|
||||
icon: 'star',
|
||||
to: '/shortcuts',
|
||||
onClick: this.handleSidebarClose,
|
||||
title: intl.formatMessage(messages.shortcuts),
|
||||
},
|
||||
{
|
||||
icon: 'pro',
|
||||
href: 'https://pro.gab.com',
|
||||
|
||||
Reference in New Issue
Block a user