1. OpenREM
  2. OpenREM
  3. OpenREM
  4. Issues

Issues

Issue #20 resolved

Suppress modalities not in use

Ed McDonagh
created an issue

For systems not collecting any of the three modalities currently listed in the OpenREM interface it would be good to suppress them so the didn't appear.

Comments (11)

  1. David Platten

    Added code to supress modalities that have no data. This fixes issue #20. Whether to display each modality or not is stored in the user profile. In the future the option to display values or not could be the choice of the user.

    → <<cset 3674dfc28ac7>>

  2. Ed McDonagh reporter

    Cool! Thanks David!

    When you create a new install, are you left with a blank interface?

    If so, we ought to add some text to the homepage to indicate why, and document it too so people don't assume it's broken :)

  3. David Platten

    Hi Ed McDonagh . Glad you like it. It looked like a simple thing to implement now that there is a user profile, and just for a change it was!

    You're right that at the moment if there is no data then the user interface will be pretty empty. I'll add some text that will appear on the home page if all four modalities are empty. I'll also take a look at the documentation and add something in there too.

  4. David Platten

    Display of modalities on home page now controlled by whether homedata contains any items of the corresponding modality. This bypasses the display settings stored in userprofile for the home page, but does mean that the home page works properly when no user is logged in. The filtered and detail modality pages still use the display settings stored in the userprofile to determine whether to show a particular modality. This fixes issue #195 and references issue #20.

    → <<cset 1dd24d1f34b5>>

  5. Log in to comment