Code Monkey home page Code Monkey logo

poly's Introduction

theme structure

  • primary functions are stored in functions.php
  • secondary/plug-in functions are stored in /includes
  • recurring UI elements are stored as unique php files in /modules
  • css is broken down into separate files that correspond to php files
  • php files named by wp page/template type or module/element type with -- modifiers
  • ACF organized into groups by corresponding post type, page template, or global group, with post type or page template name as prefix

php style guidelines

to-do

code structure and styles

  • [] later - simplify if statement syntax ( a ? b : c); e.g. wp_nav_menu( array( 'theme_location' => is_user_logged_in() ? 'logged-in-menu' : 'logged-out-menu' ) );
  • [] clean up template/modules hierarchy on video single and language single
  • [] convert jquery to vanilla javascript

global

  • [] add alert banner and display only if user hasn't visited the site in a week
  • [] build captions post type
  • [] build single page template for partners post type
  • [] add: "about" drop down to header (footer only for launch)
  • [] backwards compatibility evaluation
  • [] ADA accessibility evaluation
  • [] blog integration
  • [] browser notifications opt-in

home

  • [] make homepage banner a carousel
  • [] make testimonial carousel a true carousel

search results

  • [] sort results by language first, then video, then lexicons, then resources - or, alternatively, divide results into sections with language videos, language pages, etc - to make it easier on the eyes

team member post type

  • [] add: historical interns, other secondary team data

languages single

  • [] inlcude more clarity for external resources
  • [] related languages carousel
  • [] add continent of origin

video single

  • [] toggle metadata view for for more than 1 language
  • [] toggle all metadata view on mobile
  • [] once captions post type is live, add download feature
  • [] figure out navigation path from single videos back to the language in question
  • [] figure out embeds for Dropbox files (not on YouTube)
  • [] related videos carousel

archive

  • [] language collection pages - probably page templates with customized for-loops baased on ACF fields (need to define what we want to sort by)

fellows single

  • [] micro-blogging feature
  • [] other fellows carousel

revitalization toolkit

  • [] toolkit newsletter propt
  • [] toolkit language prompt
  • [] toolkit donate prompt

poly's People

Contributors

amradelkhalil avatar bjlaa avatar cestdiego avatar chrisvoxland avatar emilyki avatar fantasticole avatar fredericoandrade avatar levthedev avatar mapmeld avatar philj0st avatar thrillberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

poly's Issues

valid-input checking for phrase input

When the user hits "submit" for either the source or target phrases, there is no check on whether the inputted string was empty, so you can create empty phrases in the database.

Audio/video content

Video uploading option:

I cannot thank you all for adding this great option. AV content add a lot of value to linguistic content as accent and intonation are a the most important part of a language and that cannot be fully expressed in text. Can you also allow people to upload pre-recorded audio/video as some might have libraries of large volumes of words and would like to upload them? Users can choose to license the AV content along with the option that they would choose for the text (See #206 for licensing recommendations).

#Users should be allowed to download the AV content:
Right now, users can only upload but cannot download the content that they themselves and other people have uploaded. Can you please enable this option. Two open formats .webm and .flac are incredibly great formats for video and audio respectively. They not just retain the quality of the original file but also take very less space. For instance, a 4 Gig video can be shrunk to a 1GB video in .webm format without any loss in quality. Do consider about adding these options.

#Users should be allowed to embed other available videos that have the content needed on Poly
Other embeddable videos should be allowed to be used inside Poly. You probably need to highlight the fact that the users will be responsible about the copyright and hence they should avoid using copyrighted audio/video files. In case they find really valuable but copyrighted AV files, they should also be able to add them as resources. Right now, the "read more" or "Resources" section is missing and you might consider adding them.

Licensing complications

Right now, by default, all the content produced by users are copyrighted by the respective users

Right now there is no way for the user to choose what license the content will be. What that leads to is creating copyrighted content because everything that a user creates [irrespective of the platform they choose to create] is copyrighted by the original author. And the publisher (Poly/Wikitongues) has no rights to change the content into any license of their choice. So to avoid this complications, most content-heavy sites like YouTube, Vimeo, SoundCloud and Wikimedia Commons now support multiple licenses that the user can choose. As Poly is an open source tool, here are some of the options that I'd suggest to include in a dropdown that the user can choose on their end:

  1. CC0 (equivalent to Copyleft, there are many who would opt this)
  2. CC-BY
  3. CC-BY-SA 4.0 International (current version of the CC-BY-SA licenses and can be used globally)
  4. CC-BY-NC (slightly restrictive as it doesn't allow commercial use)
  5. CC-BY-ND-NC (even more restrictive than the previous one, does not allow reproduction and commercial use; but there might be users that would like to use this)

videos bomb my CPU

When interacting with the video feature, some Chrome Helper pushes my processing over 100%, making chrome, and the rest of my computer, impossibly slow.

@bjlaa does this happen with you too?

Password reset email bug

Bug Description:

  • on sign_in page, users can click a "Forgot your password?" link that redirects to /password/new
  • entering an email and clicking the button causes a rails error:

screen shot 2016-12-17 at 11 52 17 am

Fix:

  • users should be able to enter their email, receive a notification that the email was sent, and follow the directions in the email to reset their password.

User can't edit 'dirty' phrase pair.

When composing a new phrase pair, clicking on the edit button and making edits on the unsaved 'dirty' phrase pair and trying to save the edits does not work.

Steps:

  1. Click the create phrase button
  2. Enter and save a source phrase
  3. Click on the edit phrase button
  4. Edit source phrase
  5. Click on save edit button

poly dirty edit bug

Refactor icons

There are too many icon files and their names are not semantic!

Top menu covers page content

The top menu covering a page's content
As you see in the screenshot above, the top menu with three items - "Roadmap", "Sign up" and "Log in" are covering [subtly] the page content which might be a troubling feature especially for those with accessibility needs [as they would be using screenreader to interact with the phone].

One alternative can be having a small icon on the top left/right that one can tap to see the subpages.

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.