npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@openimis/fe-home

v1.5.4

Published

openIMIS Frontend Home reference module

Downloads

155

Readme

openIMIS Frontend Home reference module

This repository holds the files of the openIMIS Frontend Home reference module. It is dedicated to be deployed as a module of openimis-fe_js.

License: AGPL v3 Total alerts

Other Contributions

  • core.Router: registering the home route in openIMIS client-side router.

Available Contribution Points

  • home.HomePage.Container: Use to extend the container of the homepage completely (default: display home.HomePage.Blocks)
  • home.HomePage.Blocks: Blocks displayed on the homepage. The current user is passed to each contribution. An example of block can be found on the Claim management module
  • home.HomePage.customDashboard: A contribution key that enables rendering a custom dashboard as the homepage. To activate this, a component must be provided with the home.HomePage.customDashboard contribution key, and the HomePage.enableCustomDashboard configuration must be set to true in the database.

Configurations Options

  • HomePageContainer.showHomeMessage: a boolean configuration flag that determines whether or not a special message will be displayed on the home page. If set to true, the application will fetch and display HTML content based on the URL specified in HomePageContainer.homeMessageURL. By default, this is set to false. It means that no additional message will be displayed on the home page.
  • HomePageContainer.homeMessageURL: a string configuration that specifies the URL from which to fetch the HTML payload for display on the home page. By default, this is set to an empty string (""), meaning no URL is specified. This URL is used only when HomePageContainer.showHomeMessage is set to true.
  • HomePageContainer.showHealthFacilityMessage: boolean to show HF status information. It shows days to the end of the contract of a HF assigned to a current user. Default false.
  • HomePage.enableCustomDashboard: a boolean configuration flag that exposes the home.HomePage.customDashboard contribution key. This key allows overriding the default homepage to render a custom dashboard. NOTE: The custom page will not be rendered unless a component is provided with the home.HomePage.customDashboard contribution key.