Universal Development Update - October 2019 pt. II

  • 25 October 2019
  • 0 replies
  • 126 views
Universal Development Update - October 2019 pt. II
Userlevel 4
Badge +1

Hello everyone. Rather than a trick let us give you a treat! The past few weeks we've been working on tasks, an image upload control (and a progress indicator in all upload controls), we've added an about popup to give you more information about which meta version and Universal version you're using. Of course, we also squashed a couple bugs and did some minor tasks.

As always, we've made a demo for you: try it here. Before trying it out, press 'Clear Cache' on the login screen.

We'll keep you updated regularly about Universal's progress.

 

Beta build

Like with every blog, we've released a beta build so you can test Universal out for yourself. Don't forget the documentation and be sure to keep the following in mind:

  • Universal isn't actively tested on the internet browser Edge at the moment. Edge will be updated to use Chromium, which greatly changes the way it works under the hood. Once this is done, we will be testing on Edge too.
  • Universal must be deployed on the same server as Indicium or it should be an allowed origin in appsettings.json.
  • Universal only works with version 2019.1 and up of the Thinkwise Platform.
  • Furthermore, make sure you run all hotfixes on the IAM and SF that you plan to use for Universal.
  • Make sure you are on the latest version of Indicium Universal.

Download your beta build here

 

Tasks with parameters

You already could execute tasks from Universal, as long as that task had no visible parameters. That restriction is gone, so you can execute tasks with parameters now.

When you click a task with parameters, you get a popup that holds a form so you can fill those parameters in.

It looks like this:

A task with parameters

When a task gets executed we might need to wait for it to finish. This is visualized like so:

A task is executing

Image upload control

After the file upload control we now also have an image upload control. It's similar to the file upload control, but shows a preview of the image and by default only allows you to upload images. It looks like this:

 

Image upload control

File upload control with progress

When we implemented the file upload control, we thought it would be awesome to show the upload progress in the control itself. This became a side project which now has been implemented in Universal. The image upload control also shows progress.

It looks like this:

File upload control with progress

 

About popup

It can be useful to know exactly what SF version you're running. It's even more useful to know which version of the Universal GUI you're running (since it changes more often). We've implemented an about popup to show you exactly that.

It looks like this:

The about popup

 

You can find the about popup in the profile menu (we know it has no translation yet):

Where to find the about popup

Unit tests

In the past three weeks we've added another 55 unit test cases to the components and inner workings of Universal. This brings us up to 1066 test cases in total. This is less than what we started with because we removed 70 test cases by removing the old non-responsive implementation of the action bar which wasn't in use anymore. That implementation had its own tests, which were removed too.

Lots of minor fixes/tasks

 

Miscellaneous

  • We now show the user's first name in the top bar rather than the user id (if the first name is filled in)
  • The login button now gets disabled after submitting the form to prevent double logins

Performance

  • Fixed duplicate requests for prefilters
  • Set page size to 100 rather than 1000

Technical

  • Removed the old action bar code
  • Save context path into state
  • Use context path for adding and copying records
  • Execute layouts and context using a navigation path

What we'll be working on next sprint

We're working towards a version with all essential features. For next sprint this means:

  • Upgrading material UI
  • Single-level canvas navigation (top-level tab pages)
  • Finishing up tasks (starting tasks from menu, confirmation message)
  • Start on reports
  • A lot of behind-the-scenes technical work to prepare for coming features

0 replies

Be the first to reply!

Reply