Bram's Dev Blog

home

100 Days of Code Day 77 - Analyzer back button - Back to Angular

09 Nov 2018

Analyzer: back button on the item page

The very last tweak I made yesterday went straight to the server without testing. Bad idea. In order for a user to go back to the repository analysis page, I added a back button but the rendering is off.

I got the rendering right, but it still left me unsatisfied with this back button. It mimics the browser’s back button so it only sends a user back to the repository page if that’s where they came from. If someone just shared the item page link, there’s no way to get back to the repository analysis. For this to work, my Item controller should pass the URL to get back to the repo, to the Item view.

Briefly looked into this, but it’s not trivial mainly because I’m lacking documentation in my Item controller class.

Back to Angular testing

To get back into the problem of getting i18n assets loaded in my TestBed, I went back through the official Testing Guide on angular.io

Day 78 Plan

Ask my colleagues for assistance to access the assets and hopefully get a successful test run in place for the DSpace 7 Angular language switch.

Future days - DSpace 7 Angular

Future days - Analyzer.atmire.com work

Future Days - Productivity

Future days - Jekyll http://bram-atmire.github.io/ site

Future Days - Atmire.com work

Investigate and work on search engine optimization (SEO) for the main atmire.com website.

Future Days - Learning just for learning

Sustainability challenge - Finish before Christmas

If I continue like October, I could hit day 68 by end of October and day 98 by end of November.