Giter Site home page Giter Site logo

js-metacpan-org's People

Contributors

ioncache avatar monken avatar oalders avatar ranguard 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

Watchers

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

js-metacpan-org's Issues

Add local storage for 'favourite' modules

We could use a local storage method (Backbone.js has an add on for that actually) to store lists of favourite modules. Then we could add an option to do a search only on favourites.

Combine all downloaded JS files into one file

Take all the downloaded javascript files and combine them into 1 to save on HHTP requests.

There are 3 files that I'm linking to externally but all the rest can be combine into one.

For development purposes, the search.metacpan.org specific javascript will be kept as separate files for now, but in the future these will also be condensed down to one file and minified.

Add loader image to the Author view for the Author results table.

Currently when the author view fades in, the results table isn't displayed until it's ajax call is finished. For Authors with many modules this takes a second or two, and there is no indication that anything is happening on the page in the meantime.

Some sort of loader image could be used below the Author info box to indicate that more is happening on the page still.

Look into other syntax highlighters

  1. Current I'm using: http://softwaremaniacs.org/soft/highlight/en/

This one is nice in that I can make a call to highlight a particular element at will without having to re-highlight the entire page. It also has an auto-detection routine to figure out what highlighter should be used on any particular piece of code.

However it has some issues with Perl, in that if a chunk of code starts with a comment (starting with a # mark) then it doesn't seem to recognize it as Perl. Also it doesn't know what to do with POD.

  1. http://alexgorbatchev.com/SyntaxHighlighter/

I've used this one before and it works fairly well. This is probably the highlighter that I'd prefer to use. However I was having issues getting it to highlight code dynamically.

  1. http://www.balupton.com/projects/jquery-syntaxhighlighter/

I tried this as well. It uses Google's Prettify as it's highlighting engine and wraps it in jQuery for easier use. This one had some serious issues with Perl code as well. It didn't seem to respect spacing in code properly, and it also seemed to have the issue with code blocks beginning with a comment.

However I might try it again, as I was only using it when I was pulling pod from search.cpan.org directly with YQL instead of using our internal pod. This was causing some nastiness with the pod formatting, so this plugin may now work properly.

Comments

Comments should be enabled on a per-module basis once the authentication layer is in place.

Prototype out a base view.

There is currently a bunch of repeated code in the views that needs to be consolidated into one base view that the others can be extended from.

In-page linking is incorrect

For instance, go to: http://search.metacpan.org/#/showpod/ElasticSearch

In the table of contents, under Document-indexing methods, click on set() - this correctly scrolls you down the page.

Under the entry for set(), where it says: set() is a synonym for "index()", click on index() - this looks for a module called index rather than an anchor within the current page

Sorting the 'Score' column not working.

There is something wrong with the sorting of the 'Score' column currently.

It initially sorts properly on page adding data to the table, however clicking column header to resort the column is not working.

I've set the column type as numeric so that the initial sort works properly with 2 ore more digit values. If I just leave the column type as a string, then the column is sortable with the header, but as soon as a score value goes over 9.999~ it doesn't show up on top.

This appears to be due to the fact that I'm wrapping the inside of each cell with a

with a set width to enforce the width of each column.. As soon as I remove the
from inside the 'Score' column results sorting works again.

It's probably safe to leave the internal

off the cells in this column, so I've set it that way for now.

one search not 3

can we make it so we have just one search? instead of having to choose what we're searching for. I'd just as soon type 'xeno' into the search and get my author, without selecting xeno from the search options categorizing the results would be fine

chrome* doesn't recognize search

in many searches... you can search the site once, and then the next time you want to search the site, in chrome's url bar you can put the domain, hit tab and you can search the site. this works well with search.cpan.org however doesn't seem to work with search.metacpan.org

I don't actually understand how chrome detects this, so I can't speak on what's missing

search for last name of author that should match never returns

This was originally reported by Mark Stosberg in the CPAN-API bug queue. The bug is that the page is not returning. The feature request would be to try to match on the author name fields as well as PAUSEID.

A search for stosberg gives me a progress-bar-of-death:

http://search.metacpan.org/#/author/STOSBERG

But a search for "MARKSTOS" brings up a page for me quickly, including showing that my name is "Mark Stosberg"

http://search.metacpan.org/#/author/MARKSTOS

Site is currently broken in Opera

This is a cross-domain ajax issue.

The api.metacpan.org and search.metacpan.org domains aren't liking each other. I assume this is because we aren't using a wildcard domain name yet.

So Opera (and I believe IE) don't like all the ajax calls to api.metacpan.org right now.

Modify the page transition code to avoid setTimeout and multiple view displays

A lot of the page transition code, ie, the fades from one page to the next and the loader images, is using setTimeout to ensure the transitions execute in the proper order.

This is also a problem when quickly going back and forward through history as multiple transitions will start running, and the end result is a page that might be showing the html from different views at the same time.

Perhaps make a transition controller that can queue the transitions better.

PayPal Badge

Add PayPal button to author page if author accepts_donations

CPANTS

Pass/Fail/Unknown data should be on the dist page as soon as this is available in ES

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.