I was thinking today that it would be nice if the Aegir UI did more without page refreshes.

We have the (slightly buggy) task queue listing and the task log, but not a huge amount more.

It would be good to:

  • Refactor those into a single system for getting updated 'state' of the admin UI to make them less buggy
  • Change as many of the timestamps on the site as possible to be sent to the browser as full dates, but then (optionally) process them into nicer time strings where appropriate, like the Drupal.org issue queues do now.

Comments

Steven Jones created an issue. See original summary.

Steven Jones’s picture

Title: Make the UI feel more 'alive' » [meta] Make the UI feel more 'alive'
Related issues: +#2212149: Improve task queue AJAX refresh
Jon Pugh’s picture

Priority: Normal » Major

AbsoLUTELY.

This is a key improvement to the product. I ended up implementing my own tasks ajax checks in devshop: https://github.com/opendevshop/devmaster/blob/1.x/modules/devshop/devsho... and https://github.com/opendevshop/devmaster/blob/1.x/modules/devshop/devsho...

I also recently added the timeago.jquery plugin which works great: you output a UTF datestamp and it updates them all dynamically: https://github.com/opendevshop/devmaster/blob/1.x/themes/boots/js/boots....

We should look into one of these "front-end frameworks" for this, like ember or react.

realityloop’s picture

We had started making a Bootstrap based theme at one stage, I'll see if we can find that code..

Jon Pugh’s picture

Status: Active » Needs work

I've done some work over at #2212149: Improve task queue AJAX refresh.

After trying out just about every front end framework, Vue.js seems like the simplest, most unobtrusive I could find.

I'm going to save the technical explanations for that issue.