Code Monkey home page Code Monkey logo

ng-joanne-lee's People

Contributors

angular-cli avatar bob-lee avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

ng-joanne-lee's Issues

clear way to control order of images

Currently last image uploaded to storage seems to display first on the web.
Not sure how it is that way. Realtime Database is indexed on fileName.
What if a new image is needed to be inserted in the middle?
One idea is to have a new field with numeric value for sorting.

A node's key is indexed automatically, so there is no need to index it explicitly.

And the page is calling reverse() on the result of getUrls function.

Fix broken tests

λ ng test                                                                                                               
Your global Angular CLI version (1.3.1) is greater than your local                                                      
version (1.0.0). The local Angular CLI version is used.                                                                 
                                                                                                                        
To disable this warning use "ng set --global warnings.versionMismatch=false".                                           
                                                                                                                        
ERROR in C:/Users/Bob/Work/ng-joanne-lee/src/app/app.component.spec.ts (18,34): Cannot find module './gallery/gallery.co
mponent'.                                                                                                               
C:/Users/Bob/Work/ng-joanne-lee/src/app/app.component.spec.ts (19,33): Cannot find module './gallery/viewer.component'. 
                                                                                                                        
ERROR in C:/Users/Bob/Work/ng-joanne-lee/src/app/work/work.component.spec.ts (16,34): Cannot find module '../gallery/gal
lery.component'.                                                                                                        
C:/Users/Bob/Work/ng-joanne-lee/src/app/work/work.component.spec.ts (17,33): Cannot find module '../gallery/viewer.compo
nent'.                                                                                                                  
                                                                                                                        
ERROR in ./src/app/work/work.component.spec.ts                                                                          
Module not found: Error: Can't resolve '../gallery/gallery.component' in 'C:\Users\Bob\Work\ng-joanne-lee\src\app\work' 
 @ ./src/app/work/work.component.spec.ts 15:26-65                                                                       
 @ ./src \.spec\.ts$                                                                                                    
 @ ./src/test.ts                                                                                                        
                                                                                                                        
ERROR in ./src/app/work/work.component.spec.ts                                                                          
Module not found: Error: Can't resolve '../gallery/viewer.component' in 'C:\Users\Bob\Work\ng-joanne-lee\src\app\work'  
 @ ./src/app/work/work.component.spec.ts 16:25-63                                                                       
 @ ./src \.spec\.ts$                                                                                                    
 @ ./src/test.ts                                                                                                        

Server side rendering

Convert the app to do a server side rendering so that its content can be found on Google search.
Currently lazy loading seems not supported so first to-do would be going back to eager-load.

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.