jbrowneuk / jblog Goto Github PK
View Code? Open in Web Editor NEWA very basic Angular-powered blog engine powering my portfolio.
Home Page: http://jbrowne.io
License: Apache License 2.0
A very basic Angular-powered blog engine powering my portfolio.
Home Page: http://jbrowne.io
License: Apache License 2.0
Single post view displays content.
Single post view fails with an exception:
ERROR TypeError: Cannot read property 'length' of undefined
at n.hasTags (/1.ff759fa7d5deaa6076d1.chunk.js:1)
The pagination at the bottom of the post list page reflects the number of pages for the currently selected tag if a tag has been added to the view filter.
The pagination shows the total number of pages for all posts no matter what.
Running npm run test
or ng test
on the codebase should run unit tests.
Running ng test
fails with 20 tests not running at all:
Chrome 57.0.2987 (Mac OS X 10.12.4): Executed 24 of 24 (20 FAILED) (1.108 secs / 0.579 secs)
npm run test
The 404 page should use current palette and container theme. SVG could use currentcolor or similar to achieve.
404 page is purple and the container has no padding.
When switching page (i.e. Pressing next) after switching to a different album, the page does not scroll to the top.
Page scrolls to the top as the route has changed.
An exception is logged to the console when navigating away from the home page. No route transition happens
Error logged:
ERROR Error: Unable to process animations due to the following failed trigger transitions
@carouselTransitions has failed due to:
- `query(":enter")` returned zero elements. (Use `query(":enter", { optional: true })` if you wish to allow this.)
Running unit tests should work
Running unit tests causes epic explosions and death (of the site or unit tests).
Unit tests in this project rarely work. In order to get the site to an acceptable state, tests should consistently work before new code is developed.
By reading the readme, you should at least be able to set up a development environment, or there should be other supporting documentation to be able to do this.
There are no concrete instructions for setting up a development environment on a new machine.
Navigating to any page on the journal should update the tab title with the following rule set:
site title: Journal
site title: <post title>
Tab title is not updated. If navigating from a different section, the previous section title is shown.
/code
. Note the tab title is set to site title: Code
When editing a post in the admin panel, the number of words and characters remaining should be displayed.
The text characters words
is shown
Angular has changed the way guards work - see https://angular.io/guide/deprecations#router-class-and-injectiontoken-guards-and-resolvers
The authentication guard for the front-end needs to be refactored to take into account these changes.
Page loads and renders in IE 11.
Page fails to render with SCRIPT5007: Unable to get property 'apply' of undefined or null reference
Polyfills need to be uncommented in the polyfill file.
When the page loads on a slow connection, the parallax backdrop is hidden and its position is not calculated until the image is loaded.
The parallax backdrop position is calculated on the bounds of the alternate text, causing the image to jump on first scroll.
Journal - change page, get loading text.
Journal - change page, get “No posts” briefly before posts load.
See actual behaviour.
This looks like it may have something to do with the position of the call to this.onStartLoading();
in the post list component. Might need to be in the for each loop as that appears to be called each time the component is reused.
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.