- ClearlyDefined was created by
- Microsoft
- in partnership with the
- Open Source Initiative.
+ ClearlyDefined is an
+ OSI incubator project,
+ originally contributed with ❤️ by
+ Microsoft
+ and maintained by a growing community.
diff --git a/src/components/HarvestQueueList.js b/src/components/HarvestQueueList.js
index 539a78539..a2f62ae43 100644
--- a/src/components/HarvestQueueList.js
+++ b/src/components/HarvestQueueList.js
@@ -15,7 +15,8 @@ import {
DebianVersionPicker,
NuGetVersionPicker,
RubyGemsVersionPicker,
- ComposerVersionPicker
+ ComposerVersionPicker,
+ CocoaPodsVersionPicker
} from './'
import { getGitHubRevisions } from '../api/clearlyDefined'
import { clone } from 'lodash'
@@ -28,6 +29,7 @@ import cargo from '../images/cargo.png'
import maven from '../images/maven.png'
import nuget from '../images/nuget.png'
import composer from '../images/packagist.png'
+import pod from '../images/pod.png'
class HarvestQueueList extends React.Component {
static propTypes = {
@@ -39,7 +41,7 @@ class HarvestQueueList extends React.Component {
}
static defaultProps = {
- loadMoreRows: () => {}
+ loadMoreRows: () => { }
}
constructor(props) {
@@ -106,6 +108,9 @@ class HarvestQueueList extends React.Component {
{request.provider === 'packagist' && (
)}
+ {request.provider === 'cocoapods' && (
+
+ )}
)
@@ -150,6 +155,7 @@ class HarvestQueueList extends React.Component {
if (request.provider === 'nuget') return nuget
if (request.provider === 'debian') return debian
if (request.provider === 'packagist') return composer
+ if (request.provider === 'cocoapods') return pod
return null
}
@@ -161,7 +167,7 @@ class HarvestQueueList extends React.Component {
renderRow({ index, key, style }) {
const { list } = this.props
const request = list[index]
- const clickHandler = () => {}
+ const clickHandler = () => { }
return (
{this.renderActionButton()}
diff --git a/src/components/Navigation/Sections/DescribedSection.js b/src/components/Navigation/Sections/DescribedSection.js
index 2dcf7caf6..0638bf95d 100644
--- a/src/components/Navigation/Sections/DescribedSection.js
+++ b/src/components/Navigation/Sections/DescribedSection.js
@@ -6,7 +6,6 @@ import get from 'lodash/get'
import Contribution from '../../../utils/contribution'
import TwoColumnsSection from '../Sections/TwoColumnsSection'
import { SourcePicker } from '../..'
-import ListDataRenderer from '../Ui/ListDataRenderer'
import FacetsTooltipIcon from '../Ui/FacetsTooltipIcon'
import FacetsEditor from '../../FacetsEditor'
// import infoIcon from '../../../images/icons/infoIcon.svg'
@@ -82,7 +81,7 @@ class DescribedSection extends Component {
label: 'Tools',
customBox: true,
customBoxIcon: ,
- component:
+ component: {toolListView}
},
{
label: 'Curations',
diff --git a/src/components/Navigation/Ui/ListDataRenderer.js b/src/components/Navigation/Ui/ListDataRenderer.js
index 5f517b950..8498ef8bd 100644
--- a/src/components/Navigation/Ui/ListDataRenderer.js
+++ b/src/components/Navigation/Ui/ListDataRenderer.js
@@ -56,12 +56,13 @@ export default class ListDataRenderer extends Component {
className="popoverSpan"
onMouseOver={() => this.dispatchShowTooltip()}
>
- {data}
+ {data.join(', ')}
this.setState({ showTooltip: false })}
diff --git a/src/components/PageAbout.js b/src/components/PageAbout.js
index e147e4669..89a054c5f 100644
--- a/src/components/PageAbout.js
+++ b/src/components/PageAbout.js
@@ -116,7 +116,7 @@ class PageAbout extends Component {
Centralized
- ClearlyDefined is you central hub for all things Open Source Software licenses. It’s here you’ll
+ ClearlyDefined is your central hub for all things Open Source Software licenses. It’s here you’ll
find, or contribute, to critical license data.
diff --git a/src/components/index.js b/src/components/index.js
index aab3984c6..7f192105c 100644
--- a/src/components/index.js
+++ b/src/components/index.js
@@ -71,6 +71,10 @@ export { default as RubyGemsSelector }
from './RubyGemsSelector'
export { default as RubyGemsVersionPicker }
from './RubyGemsVersionPicker'
+export { default as CocoaPodsSelector }
+from './CocoaPodsSelector'
+export { default as CocoaPodsVersionPicker }
+from './CocoaPodsVersionPicker'
export { default as PageAbout }
from './PageAbout'
export { default as RehydrationProvider }
diff --git a/src/styles/_FullDetailComponent.scss b/src/styles/_FullDetailComponent.scss
index a4ef3cda0..587d7b8bc 100644
--- a/src/styles/_FullDetailComponent.scss
+++ b/src/styles/_FullDetailComponent.scss
@@ -291,6 +291,10 @@
}
}
+.column-license .edit-icon {
+ font-size: 0;
+}
+
.tile-row__definition i,
.tile-row .edit-icon {
position: absolute;
@@ -754,4 +758,4 @@
padding: 0;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/styles/_Popover.scss b/src/styles/_Popover.scss
index b771a57ff..c10df30b2 100644
--- a/src/styles/_Popover.scss
+++ b/src/styles/_Popover.scss
@@ -51,10 +51,21 @@
text-overflow: ellipsis;
width: 100%;
display: block;
+ cursor: pointer;
}
+.popover-title {
+ padding: 8px 14px;
+ margin: 0;
+ font-size: 14px;
+ background-color: #f7f7f7;
+ border-bottom: 1px solid #ebebeb;
+ border-radius: 5px 5px 0 0;
+}
-
+.popover-content .popoverRenderer {
+ padding: 9px 14px;
+}
// ----------------------------------------
// Modal
@@ -211,4 +222,4 @@ button.modal__btn--secondary,
.fade.in.modal {
opacity: 1 !important;
-}
+}
\ No newline at end of file
diff --git a/src/utils/contribution.js b/src/utils/contribution.js
index e02f8d446..e2c796315 100644
--- a/src/utils/contribution.js
+++ b/src/utils/contribution.js
@@ -20,6 +20,7 @@ import nuget from '../images/nuget.svg'
import debian from '../images/debian.png'
import composer from '../images/packagist.png'
import maven from '../images/maven.png'
+import pod from '../images/pod.png'
import moment from 'moment'
import { difference } from './utils'
@@ -225,6 +226,8 @@ export default class Contribution {
return debian
case 'mavencentral':
return maven
+ case 'cocoapods':
+ return pod
default:
return null
}