/refocus-lens-multitable

The "MultiTable" Refocus Lens is a fluid multi-table layout. Each table groups subjects together under a shared parent.

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

refocus-lens-multitable

| NOTE: This repository is infrequently maintained.

MultiTable

A fluid multi-table layout. Each table groups subjects together under a shared parent.

Sample1

Sample2

Setup

  1. Git clone this repo.

  2. Install the Refocus Lens Developer Kit.

     git clone https://github.com/salesforce/refocus-ldk
     cd refocus-ldk
     npm install
    
  3. Copy this lens into your refocus-ldk/Lenses directory.

     cp -r ../refocus-lens-multitable/MultiTable Lenses/
    
  4. Configure the Refocus LDK.

     npm config set refocus-ldk:lens MultiTable
    
  5. Compile the lens.

     npm run compile
    

Note: The bootstrap library included in this lens is built from bootstrap 4 alpha with flex enabled.

Test

Run the Refocus LDK's test script to run all the tests under refocus-ldk/Lenses/MultiTable/test.

npm test

Build

Run the Refocus LDK's build script to generate the lens library (refocus-ldk/dist/MultiTable.zip).

npm run build

Deploy

Use the Refocus UI or API (/v1/lenses) to deploy the lens.