elubow / bjjdb Goto Github PK
View Code? Open in Web Editor NEWOrganization of the publicly posted BJJ videos on the internet
Home Page: http://need.bjj.help/
Organization of the publicly posted BJJ videos on the internet
Home Page: http://need.bjj.help/
On every link#show that is a Youtube link, it should be converted into an embed. The same should be true for Instagram if instagram videos are embeddable.
Create an additional box titled Related Drills
. It should find all videos that are either a move::flow
or move::drill
that contain the same starting position or position of the current video OR the same submission as the current video.
This page should only be accessible/visible to admins and should be a paginated list of videos ordered by created_at. There should be a filter that lets an admin select 0-10+ tags where the list only shows videos with that number of tags.
CarrierWave saves the images and uploads them to S3 properly but never updates the thumbnail in the links model to use the S3 bucket path of the saved image. This needs to be fixed so that the model uses the correct image location path of the downloaded image.
search/_search_bar
user/dashboard
and visitors/index
into partialForm should start with: I want to Submit
from $position
I want to TEXT_BOX:
Gi/Nogi checkbox
---- Old Thoughts ----
This screen basically acts like a mad libs and says:
$position/$submission
and want escape/pass/attack/etc
. This will bring back a search result based on the request. Examples:
This is the person giving the explanation. Should be a tag that when created, also populates an auto complete list so you can see all links by this person.
Root will be a phrase in English. Then you link a translation and a language to the term
ID Term
1 knee
Translations:
ID term_id language translation
1 1 de knie
2 1 fr genou
Left column will always be English and then you can select up to 2 additional columns with available languages. e.g.: (EN | FR | DE) If there is no translation in that language for an English root phrase, just leave the box empty.
Only admins will be able to add English terms. Moderators levels and above will be able to add the translations. The translation entry in the admin/mod side will allow you to specify a valid language and then the translation after you select an English "root" term.
It will have a dropdown of the available languages and then an autocomplete text search and a multi-checkbox list of languages to see the result.
This is going to be something like an amalgamation of view count + favorite count including something about link age and tag counts
Every time the page is visited, it should keep a self counter of use for popularity purposes
This should be a page of all links that the demonstrator is responsible for.
Only logged in users can:
This page should only be accessible/visible to admins and should be a paginated list of videos ordered by created_at that have no instructors attached to them.
I get logged out every day and want the session duration to last for 2 weeks or until log out.
Update tags actions/pages to ensure that start-end positions are linked to the matching position. The following rules apply:
start/end
position can't be edited individually. They always match their counterpart in the position
categoryposition
tag is created, a corresponding start-position
and end-position
tag is createdstart/end
or just a position
tag, all 3 need to be thereRight now the favorite/unfavorite mechanism on the link#show page is a call with a page reload. Have this work in the background with an AJAX call and not do a page reload.
This is basically a list of schools with addresses on a map so you can keep track of where you've trained. This will also work for searching places near a location.
The rating system should be a 1 star through 5 star. The logged in user should be select a star rating for a video (only once per video). Non-logged in users should be able to see the ratings result, but not make a rating. Once a user has rated a video, it should show them the rating result. Whatever the easiest mechanism is for editing the rating once one has been selected should be used as long as it makes sense. Final rating is calculated using this: https://stackoverflow.com/a/10196621/227644
4 User levels:
This is how many users have favorited the link
private notebook is just for the logged in user to be able to take notes. Probably should do this through private comments so it acts like a private notebook where each comment is a page.
Add the ability to edit comments that have been added to a video
On the /instructors
index, add a search box above the index list so you can filter down the results to the search. The search should update the list of instructors after 3 characters have been typed. The search can use ransack and should search name, description, nickname, and all the social media handles.
This doesn't mean that they will immediately get added. This just means that the tags will go into a suggestion queue and then a moderator/admin will go through them and approve/disapprove them as necessary
Implement this by adding modal on all the link#show pages called suggestions. It loads up a text box with the tag selection autocomplete (chosen) and loads up the tags. User types in those tags and it goes to a suggestion model which has a state machine(:pending
, :rejected
, :accepted
). If accepted, it makes the change and updates the link history model. If rejected, then change state to allow for filtering.
This should go to the page and download a screen shot of the page, capture a thumbnail image or something along those lines
Should create a sitemap out of links, comments, tags, and instructors. These should be able to have varying weights depending on type. Links should be heaviest, then tags, then instructors, then comments.
The social media column should create links from all of the social media fields in the instructor rendered into links based on the type of the column.
instagram
= @bernardofariabjj
should render an IG link for https://instagram.com/bernardofariabjj/
On the link#show page, there should be a button with a flag that says "Flag for review." The flag and text should be in small font on the same line as the location of the video (see attachment).
When a video is flagged, it should be added a list of flagged videos. The flagged video page should only be available to moderators and admins (via the admin menu). The admin/mod will then be able to either keep or remove the video. If the video is to be removed, then that link shouldn't be able to be added again (new links should be checked against the flagged links table). If the video is kept, then the video should show up in the dashboard and be searchable again. When a video is flagged, it should be removed from being visible until the video is considered ok.
This is a little complicated and needs to be fleshed out. Should the link have a nickname or should there be nickname tags or something like a tag alias?
Possible origination locations should be an enum:
YouTube
Instagram
Other
If a link has an "end position", then show a list of suggested links that are basically just the current link's end position as their start position to create a section of "next in flow"
This should probably be something like a "My Moves" section of the site
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.