about summary refs log tree commit diff
path: root/app/javascript/glitch
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2017-07-13 02:40:16 -0700
committerkibigo! <marrus-sh@users.noreply.github.com>2017-07-13 02:40:16 -0700
commit5770d461b21cf5b6a8adcaa44d19832e11289960 (patch)
tree3a72b457fc0303dad71a68d7c0a01e7f736124fd /app/javascript/glitch
parent2e0645c26c0738b37b6847142d47f6391c2cd40c (diff)
Moved glitch containers and commented unused files
Diffstat (limited to 'app/javascript/glitch')
-rw-r--r--app/javascript/glitch/components/compose/advanced_options/container.js (renamed from app/javascript/glitch/containers/compose/advanced_options.js)4
-rw-r--r--app/javascript/glitch/components/compose/advanced_options/index.js (renamed from app/javascript/glitch/components/compose/advanced_options.js)2
-rw-r--r--app/javascript/glitch/components/notification/container.js (renamed from app/javascript/glitch/containers/notification/index.js)2
-rw-r--r--app/javascript/glitch/components/notification/index.js2
-rw-r--r--app/javascript/glitch/components/settings/container.js (renamed from app/javascript/glitch/containers/settings/index.js)0
-rw-r--r--app/javascript/glitch/components/status/container.js (renamed from app/javascript/glitch/containers/status/index.js)2
-rw-r--r--app/javascript/glitch/components/status/index.js4
-rw-r--r--app/javascript/glitch/components/status/player.js (renamed from app/javascript/glitch/components/status/video_player.js)2
8 files changed, 9 insertions, 9 deletions
diff --git a/app/javascript/glitch/containers/compose/advanced_options.js b/app/javascript/glitch/components/compose/advanced_options/container.js
index 92b989052..10804454a 100644
--- a/app/javascript/glitch/containers/compose/advanced_options.js
+++ b/app/javascript/glitch/components/compose/advanced_options/container.js
@@ -2,10 +2,10 @@
 import { connect } from 'react-redux';
 
 //  Mastodon imports  //
-import { toggleComposeAdvancedOption } from '../../../mastodon/actions/compose';
+import { toggleComposeAdvancedOption } from '../../../../mastodon/actions/compose';
 
 //  Our imports  //
-import ComposeAdvancedOptions from '../../components/compose/advanced_options';
+import ComposeAdvancedOptions from '.';
 
 const mapStateToProps = state => ({
   values: state.getIn(['compose', 'advanced_options']),
diff --git a/app/javascript/glitch/components/compose/advanced_options.js b/app/javascript/glitch/components/compose/advanced_options/index.js
index 17fc1d801..dabf66095 100644
--- a/app/javascript/glitch/components/compose/advanced_options.js
+++ b/app/javascript/glitch/components/compose/advanced_options/index.js
@@ -6,7 +6,7 @@ import Toggle from 'react-toggle';
 import { injectIntl, defineMessages } from 'react-intl';
 
 //  Mastodon imports  //
-import IconButton from '../../../mastodon/components/icon_button';
+import IconButton from '../../../../mastodon/components/icon_button';
 
 const messages = defineMessages({
   local_only_short: { id: 'advanced-options.local-only.short', defaultMessage: 'Local-only' },
diff --git a/app/javascript/glitch/containers/notification/index.js b/app/javascript/glitch/components/notification/container.js
index 783c838ae..c58ef4bd2 100644
--- a/app/javascript/glitch/containers/notification/index.js
+++ b/app/javascript/glitch/components/notification/container.js
@@ -5,7 +5,7 @@ import { connect } from 'react-redux';
 import { makeGetNotification } from '../../../mastodon/selectors';
 
 //  Our imports  //
-import Notification from '../../components/notification';
+import Notification from '.';
 
 const makeMapStateToProps = () => {
   const getNotification = makeGetNotification();
diff --git a/app/javascript/glitch/components/notification/index.js b/app/javascript/glitch/components/notification/index.js
index 3f424d85d..34e03cdca 100644
--- a/app/javascript/glitch/components/notification/index.js
+++ b/app/javascript/glitch/components/notification/index.js
@@ -11,7 +11,7 @@ import Permalink from '../../../mastodon/components/permalink';
 import emojify from '../../../mastodon/emoji';
 
 //  Our imports  //
-import StatusContainer from '../../containers/status';
+import StatusContainer from '../status';
 
 export default class Notification extends ImmutablePureComponent {
 
diff --git a/app/javascript/glitch/containers/settings/index.js b/app/javascript/glitch/components/settings/container.js
index 6034935eb..6034935eb 100644
--- a/app/javascript/glitch/containers/settings/index.js
+++ b/app/javascript/glitch/components/settings/container.js
diff --git a/app/javascript/glitch/containers/status/index.js b/app/javascript/glitch/components/status/container.js
index baf898e97..a8aa6efe9 100644
--- a/app/javascript/glitch/containers/status/index.js
+++ b/app/javascript/glitch/components/status/container.js
@@ -52,7 +52,7 @@ import { initReport } from '../../../mastodon/actions/reports';
 import { openModal } from '../../../mastodon/actions/modal';
 
 //  Our imports  //
-import Status from '../../components/status';
+import Status from '.';
 
                             /* * * * */
 
diff --git a/app/javascript/glitch/components/status/index.js b/app/javascript/glitch/components/status/index.js
index 12ea0e9aa..1d135754a 100644
--- a/app/javascript/glitch/components/status/index.js
+++ b/app/javascript/glitch/components/status/index.js
@@ -46,7 +46,7 @@ import StatusHeader from './header';
 import StatusContent from './content';
 import StatusActionBar from './action_bar';
 import StatusGallery from './gallery';
-import StatusVideoPlayer from './video_player';
+import StatusPlayer from './player';
 
                             /* * * * */
 
@@ -619,7 +619,7 @@ backgrounds for collapsed statuses are enabled.
         attachments.getIn([0, 'type']) === 'video'
       ) {
         media = (  //  Media type is 'video'
-          <StatusVideoPlayer
+          <StatusPlayer
             media={attachments.get(0)}
             sensitive={status.get('sensitive')}
             letterbox={settings.getIn(['media', 'letterbox'])}
diff --git a/app/javascript/glitch/components/status/video_player.js b/app/javascript/glitch/components/status/player.js
index 6583107c8..37e4b8995 100644
--- a/app/javascript/glitch/components/status/video_player.js
+++ b/app/javascript/glitch/components/status/player.js
@@ -15,7 +15,7 @@ const messages = defineMessages({
 });
 
 @injectIntl
-export default class StatusVideoPlayer extends React.PureComponent {
+export default class StatusPlayer extends React.PureComponent {
 
   static propTypes = {
     media: ImmutablePropTypes.map.isRequired,