Giter VIP home page Giter VIP logo

codeforafrica / africancommons Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 9.0 30.21 MB

africanCOMMONS is a platform to showcase re-useable tools built across Africa and the people & organisations building them. Accessible at https://commons.africa/

Home Page: https://commons.africa/

License: MIT License

CSS 14.60% JavaScript 85.40%
africa african african-commons africancommons civic commons github jekyll open-source showcase yarn

africancommons's People

Contributors

davidlemayian avatar iforgotband avatar josephluvanda avatar kwasijon avatar mevey avatar mtuchi avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

africancommons's Issues

Yarn build error

Description

Yarn build error on yarn install

Screenshots

screenshot 2018-10-14 at 22 08 32

To Reproduce

GIt checkout new branch from develop as the base branch, then issue a yarn or yarn install command to see the error.

Environment Versions

node - v10.11.0
yarnjs - 1.10.0

Add map of Github users

We've scraped Github for data on Github users in Africa using this code and came up with this map that we should embed into the AfricanCOMMONS page.

<iframe width="100%" height="520" frameborder="0" src="https://codeforafrica.carto.com/viz/af95917a-9455-11e6-b1b0-0ecd1babdde5/embed_map" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>

Add featured image functionality

Description

For each item (project/organisation), they could benefit quite a bit with a featured image that would be used in the header of the item page or as a thumbnail in the card. This would then translate well for Open Graph.

Screenshots

[WIP]:
We'd include mockups here. Please share them in comments and we'll update here with selected one.

Files

N/A (for now)

Tasks

  • Create mockups of what this would look like.
  • Add Featured Image column to Working gSheet.
  • Write code to save image to s3.
  • Write code to create version with overlay of AfricanCOMMONS logo for social sharing.
  • Update project page to display featured image.

Better user wall

Description

To make a better user wall, we should make the avatars smaller and the wall only the width of the screen. It will therefore be a maximum image size and then calculated via JS to fit to the width of the screen.

The next bit would be to randomly change the avatars for an almost "pixel" fade-in / fade-out effect.

Screenshots

User wall

Tasks

  • Control avatar sizes by JS to fit perfectly on page.
  • Random changing of avatars to get pixel effect.
  • Random set of avatars when the page loads.

Documentation needed.

Is it possible to add a documentation on how to get the program up and running. I looked at the issues and realized I can work on some of them but couldn't get the program to run on my local server to see the changes I will be making . Looking further into the code, I realized it's a Ruby project (my guess maybe wrong). I'm not a Ruby guy but most of the issues are Javascript related which I can solve but just couldn't run the program. A doc made available will be very valuable.

Add search functionality

Starting with projects, we should add search functionality using Lunr JS by loading the data from CSV into JSON and JS using Papa Parse.

This search functionality will live on the projects and organizations pages for now.

Make "Related Projects" work

Currently the code works as expected when there are no related projects but doesn't work when there are. We should therefore fix this to introduce either a card layout or something similar for these related projects. Perhaps limit output to three.

Add a "project/organisation add" page

Description

Currently we have the links to add a project or organisation pointed to the working gSheet but it's not a great way to entice people to do so. We should therefore create a page to walk them through adding a project or organisation to the gSheet. Perhaps look at a combination of gSheet embed with search functionality and a Google Form to ping the curators to add to the main gSheet.

Screenshots

[WIP]:
We will update here with screenshots / mockups of what the page should look like. Drop your ideas in the comments to have it included here.

Files

Tasks

  • Page mockup
  • Put the requisite resources together as needed (gForm, page content, et al)
  • Write the code

Create individual project pages

For each project, we should have a project page for it.

This project page will use a default layout (_layouts/project.html) and should be automagically be generated into a projects folder with each pull of the projects sheet from Google Docs.

The file names and permalink for each project should be a slug version of its title. e.g "sourceAFRICA" would become /src/projects/sourceafrica.html and "Hello World" would be /src/projects/hello-world.html.

IDEA: create a python or bash file to do this. This file would live in a /bin folder.

Add partners section

The partners section would come above the footer showcasing logos of the partners:

  1. Andela
  2. Code for Africa
  3. ICFJ
  4. World Bank

Choose a different set of patterns on each load

Description

When a user reloads the homepage, we should show them a different set of patterns. #27 would be needed for this.

Screenshots

screen shot 2017-12-22 at 17 41 09

Files

  • CivicPatterns.org

To Reproduce

Load the homepage more than once.

Tasks

  • #27
  • Make JS to work with this.

Rename `src` folder to `dist`

Because a lot of the files currently in src are actually dist files that we push to Github pages, we should rename the folder appropriately.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.