1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-13 06:40:06 +02:00

adding in new menu items, their corresponding views and their locals for a project

This commit is contained in:
Alex Windett 2017-02-28 17:09:46 +00:00
parent 63dec8741f
commit f8c3da4bc6
5 changed files with 27 additions and 4 deletions

View File

@ -1,5 +1,6 @@
{
"your-dashboard": "Your dashboard",
"project-feed": "Project Feed",
"settings": "Settings",
"projects": "Projects",
"people": "People",
@ -7,7 +8,7 @@
"instances": "Instances",
"manifest": "Project manifest",
"create-new": "Create new project",
"services": "Services",
"rollback": "Rollback",
"import-services-title": "Import your services",
"import-services-body": "You can import your services from a Git repository hosting service. Learn more",
"alt-import-services-title": "Alternatively, you can upload or edit manifest file",

View File

@ -0,0 +1,8 @@
import React from 'react';
import Section from './section';
export default (props) => (
<Section {...props}>
<p>Project Feed</p>
</Section>
);

View File

@ -3,11 +3,13 @@ import { connect } from 'react-redux';
import { Switch, Route } from 'react-router-dom';
import PropTypes from '@root/prop-types';
import Redirect from '@components/redirect';
import ServicesSection from './services';
import InstancesSection from './instances';
import ServicesSection from './services';
import PeopleSection from './people';
import SettingsSection from './settings';
import ManifestSection from './manifest';
import FeedSection from './feed';
import RollbackSection from './rollback';
import {
orgByIdSelector,
@ -16,10 +18,12 @@ import {
} from '@state/selectors';
const SectionComponents = {
'project-feed': FeedSection,
services: ServicesSection,
instances: InstancesSection,
people: PeopleSection,
settings: SettingsSection,
rollback: RollbackSection,
manifest: ManifestSection
};

View File

@ -0,0 +1,8 @@
import React from 'react';
import Section from './section';
export default (props) => (
<Section {...props}>
<p>Rollback</p>
</Section>
);

View File

@ -539,11 +539,13 @@
"member_status_tooltip": false,
"member_role_tooltip": false,
"sections": [
"project-feed",
"services",
"instances",
"rollback",
"manifest",
"people",
"settings",
"manifest"
"settings"
],
"members_status": [
"Active",