Code Monkey home page Code Monkey logo

base's People

Contributors

zyzle avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

markgoho

base's Issues

Snippet Display

Display a selected Snippet to the user giving complete information on it

Snippet e2e testing

as with unit tests we need some proper end 2 end tests with the snippets pages

Snippet Styling

Once the functionality is there should look at styling the snippets section. This includes form controls that currently lack angular2 material components so may be blocked by the changes to that project

Update to webpack-cli

The angular-cli team have recently moved to webpack. This project should update to the new version. Bit of a blocker right now as the angularfire2 and highlightjs projects don't seem to play well with this new module loader

Remove shims from bundles

Given discussions elsewhere it seems like having shims in the bundle is probably a bad idea. They should be in <script> tags instead.

To remove:

  • es6-shim
  • zone.js
  • Reflect.js
  • webcomponents.js(?)

Snippets

This epic will contain all tickets related to the Snippets part of the app

HighlightJS own build required

As of the angular rc5 update it seems we can no longer load highlightjs the way we did before, for now I've switched to a CDN but would much prefer to do our own custom build

Webpack/JSPM, lions, tigers, bears. Oh my!

Seems like the "correct" way to handle building/bundling applications for ng2 involve using es6 modules and these related tools. Just need to figure out the hows and whys.

Login page

should have a dedicated login page that users can be redirected too if an attempt is made to access a guarded route when the user is not authenticated

Snippet Routes

Need to construct the child routes for the Snippet display.

Something like:

/snippets/
/snippets/:id
/snippets/:id/edit 

Snippet Remove

Should provide an in-app way to remove snippets. Either a control on the list screen or part of admin.

Also a way to undo a delete would be helpful

Move off temp Firebase

Right now only firebase SDK 2 is supported by AngularFire2, once this gets updated to the 3.0 version it can be moved over to the real firebase (will possibly migrate data may start fresh)

Authenticated routing

Right now there are no restrictions on which routes can be accessed by unauthenticated users. There's no security issue because of the restrictions on Firebase but it would be a better user experience if the routes were impossible to activate without the user being authenticated.

This is caused largely by the current state of the angular rc router will keep a close eye on developments regarding this and hopefully this can be worked on.

Other possibilities include the ui-router or ngrx router 3rd party routers, for now I'd rather stick to Angular's own system.

Snippet List Cleanup

Right now this is a bit messy, it doesn't look too great with the delete icons trailing underneath or the deletion candidates looking so different from the rest of the list. Some of this is limitations in the material components but should try and fix

Router 3.0

Right now the Angular 2 router is being revised, once there are some concrete examples of this in the wild application routing will be switched over.

Change detection on Highlight directive

Right now the highlight directive gets called too often, this is caused by the inclusion of the ngAfterViewChecked method which was needed to compensate for the snippet redrawing after the usefulness counter is incremented

Snippet List Ordering

With the implementation of the deletion/restoration system Snippets may become out of order, should implement a pipe to order them in the display by either created or last updated date

Create test suite

Right now there are no tests in this what so ever. Need to add some

ini.svg too big in container

for some reason the ini svg file displays far too big in the page, it's probably just a sizing issue in the svg, will check it out.
screenshot from 2016-08-10 23-08-27

Snippet list search

Need to implement the search feature since the control is already there. Maybe a filter pipe on the snippet list?

Separate out styles

Right now all styling is in a single monolithic app-theme.html this isn't ideal. The problem is polymer style mixins cant be used with angular's styles view metadata

Bookmarks

Might be a good idea to add bookmarks to the site. Shouldn't be all that different from snippets, just a link and some metadata. May be cool to add a bookmarklet or browser extension with this.

Snippet List Display

Should display a list of all snippets available on the site. This should show; Title, Description, Language, Date Added, Last Edit?, and Score

Loading issue on GH-Pages

There seems to be an issue with angular-cli's --prod mode when using AMD modules (such as highlight js) hopefully this issue with the bundler will be resolved in beta 6

Snippet Add

Need the ability to add new snippets to the database.

AuthCard material Overlay

Have a look at using the material design overlay feature for this component as it seems to be a set of helpers for doing exactly what I'm trying to achieve with the current iffy css rules

User information page

Would be good to allow users to make an information page about themselves with a few things that don't necessarily come from the firebase auth token

PrismJS vs HighlightJS

Right now I've got branches for both highlightjs and prismjs proof of concept directives. Need to decide which one to use.

PrismJS + its plugins are definitely more feature rich than highlightjs so far however I've struggled to make it work.

HighlightJS doesn't have as many features but was relatively simple to get working in a directive.

Snippet Unit Testing

Right now there is very little in the way of proper unit testing for the snippet components should add some. Also see if coverage report generation is possible (there are several open tickets relating to this and angular2)

Snippet edit

should probably do this as a component in the details screen that can be switched to

De-normalise snippets database

Right now we only have one snippets list which contains not only the metadata but the complete snippet listing. This should be split out into meta-data only list for simple quick access and the complete list for full operations.

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.