Skip to content

Commit d8cb3ba

Browse files
committed
Added Google Summer of Code 2019 project ideas page.
1 parent 0f568a8 commit d8cb3ba

File tree

12 files changed

+155
-9
lines changed

12 files changed

+155
-9
lines changed

assets/static/style.css

+4
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@
1111
position: absolute;
1212
bottom: 0;
1313
height: 7rem; /* Footer height */
14+
}
15+
16+
.project-idea-card {
17+
min-width: 24rem;
1418
}
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
title: GSoC 2019 Project Ideas
2+
---
3+
body:
4+
5+
### GSoC 2019 Project Ideas
6+
7+
---
8+
_model: project-ideas-page
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_model: project-ideas
2+
---
3+
_hidden: yes
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
_hidden: yes
2+
---
3+
title: Reimagine Translation Pipeline
4+
---
5+
description:
6+
7+
We'd like to improve the process of translating CC licenses to new languages by reimagining the workflow and building infrastructure to support it.
8+
---
9+
rationale:
10+
11+
The current workflow involves many manual steps and is inefficient.
12+
---
13+
resources:
14+
15+
- [Legal Tools Translation on CC's wiki](https://wiki.creativecommons.org/wiki/Legal_Tools_Translation)
16+
---
17+
expected_result:
18+
19+
Code and documentation for a new translation workflow.
20+
---
21+
skills_recommended: Python, JavaScript
22+
---
23+
mentors: Timid Robot Zehta (technical), Sarah Pearson (legal)
24+
---
25+
difficulty: Medium
26+
---
27+
_model: project-idea
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
_hidden: yes
2+
---
3+
title: Visualize CC Catalog data
4+
---
5+
description:
6+
7+
We'd like to create visualizations of all the data that is stored in the Creative Commons catalog (over 250 million works and growing) and how they link to each other.
8+
---
9+
rationale:
10+
11+
We've indexed a huge amount of CC-licensed content and made it searchable via [CC Search](https://ccsearch.creativecommons.org/), but we don't have a way of conveying the scale of this work to the community. Being able to access visualizations of all our indexed content is a good way for the community (and us) to see how much data we have indexed and find and explore relationships between CC-licensed content on the web.
12+
---
13+
resources:
14+
15+
- [CC Catalog data ingestion code](https://github.com/creativecommons/cccatalog)
16+
---
17+
expected_result:
18+
19+
Ideally we'd like these visualizations deployed on the web and updated in near real-time as we index new CC-licensed content.
20+
21+
The type of visualizations are not set in stone. We've prototyped a [force-directed graph](https://en.wikipedia.org/wiki/Force-directed_graph_drawing#/media/File:SocialNetworkAnalysis.png) in the past and would like to have a maintainable version of that but other visualizations are up to you!
22+
---
23+
skills_recommended: JavaScript, Python
24+
---
25+
mentors: Sophine Clachar
26+
---
27+
difficulty: Easy
28+
---
29+
_model: project-idea

content/project-ideas/contents.lr

-7
This file was deleted.

models/project-idea.ini

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[model]
2+
name = Project Idea
3+
label = {{ this.title }}
4+
hidden = yes
5+
6+
[fields.title]
7+
label = Title
8+
type = string
9+
10+
[fields.description]
11+
label = Description
12+
type = markdown
13+
14+
[fields.rationale]
15+
label = Rationale
16+
type = markdown
17+
18+
[fields.resources]
19+
label = Resources
20+
type = markdown
21+
22+
[fields.expected_result]
23+
label = Expected Result
24+
type = markdown
25+
26+
[fields.skills_recommended]
27+
label = Skills Recommended
28+
type = string
29+
30+
[fields.mentors]
31+
label = Mentors
32+
type = string
33+
34+
[fields.difficulty]
35+
label = Mentors
36+
type = string

models/project-ideas-page.ini

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[model]
2+
name = Project Ideas Page
3+
label = {{ this.title }}
4+
hidden = yes
5+
protected = yes
6+
7+
[fields.title]
8+
label = Title
9+
type = string

models/project-ideas.ini

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[model]
2+
name = Project Ideas
3+
label = {{ this.title }}
4+
hidden = yes
5+
protected = yes
6+
7+
[children]
8+
model = project-idea

templates/layout.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<li class="nav-item{% if this._path == '/' %} active{% endif
2424
%}"><a class="nav-link" href="{{ '/'|url }}">Home</a></li>
2525
{% for href, title in [
26-
['/project-ideas', 'Project Ideas'],
26+
['/project-ideas-page', 'GSoC Project Ideas'],
2727
] %}
2828
<li class="nav-item{% if this.is_child_of(href) %} active{% endif
2929
%}"><a class="nav-link" href="{{ href|url }}">{{ title }}</a></li>
@@ -46,7 +46,7 @@
4646
<div class="col-9 footer bg-dark text-light py-4 px-3">
4747
<small>
4848
<p><a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a></p>
49-
<p>All the content on this website is licensed under a <strong><a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a></strong> unless otherwise specified.</p>
49+
<p class="text-muted">All the content on this website is licensed under a <strong><a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a></strong> unless otherwise specified.</p>
5050
</small>
5151
</div>
5252
</div>

templates/page.html

+4
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22
{% block title %}{{ this.title }}{% endblock %}
33
{% block body %}
44
{{ this.body }}
5+
{% set pages = site.query('/').include_undiscoverable(true).all() %}
6+
{% for page in pages %}
7+
{{ page.title }}
8+
{% endfor %}
59
{% endblock %}

templates/project-ideas-page.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{% extends "layout.html" %}
2+
{% block title %}{{ this.title }}{% endblock %}
3+
4+
{% block body %}
5+
<h1>Google Summer of Code 2019 Project Ideas</h1>
6+
{% set ideas = site.query('/project-ideas-page/project-ideas').include_undiscoverable(true).all() %}
7+
<div class="card-columns">
8+
{% for idea in ideas %}
9+
<div class="card border-dark project-idea-card m-3">
10+
<h5 class="card-header border-dark text-white bg-info">{{ idea.title }}</h5>
11+
<div class="card-body">
12+
<p class="card-text">{{ idea.description }}</p>
13+
</div>
14+
<ul class="list-group list-group-flush">
15+
<li class="list-group-item"><strong>Rationale:</strong> {{ idea.rationale }}</li>
16+
<li class="list-group-item"><strong>Resources:</strong> {{ idea.resources }}</li>
17+
<li class="list-group-item"><strong>Expected Result:</strong> {{ idea.expected_result }}</li>
18+
<li class="list-group-item"><strong>Skills recommended:</strong> {{ idea.skills_recommended }}</li>
19+
<li class="list-group-item"><strong>Mentors:</strong> {{ idea.mentors }}</li>
20+
<li class="list-group-item"><strong>Difficulty:</strong> {{ idea.difficulty }}</li>
21+
</ul>
22+
</div>
23+
{% endfor %}
24+
</div>
25+
{% endblock %}

0 commit comments

Comments
 (0)