https://github.com/salesforce/refocus-lens-multitable
The "MultiTable" Refocus Lens is a fluid multi-table layout. Each table groups subjects together under a shared parent.
https://github.com/salesforce/refocus-lens-multitable
refocus
Last synced: 11 months ago
JSON representation
The "MultiTable" Refocus Lens is a fluid multi-table layout. Each table groups subjects together under a shared parent.
- Host: GitHub
- URL: https://github.com/salesforce/refocus-lens-multitable
- Owner: salesforce
- License: bsd-3-clause
- Created: 2016-12-07T21:37:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-12T18:49:35.000Z (over 4 years ago)
- Last Synced: 2024-04-08T00:13:15.892Z (about 2 years ago)
- Topics: refocus
- Language: JavaScript
- Homepage:
- Size: 7.02 MB
- Stars: 5
- Watchers: 22
- Forks: 14
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# refocus-lens-multitable
| NOTE: This repository is infrequently maintained.
## MultiTable
A fluid multi-table layout. Each table groups subjects together under a shared parent.


### Setup
1. Git clone this repo.
1. Install the Refocus Lens Developer Kit.
git clone https://github.com/salesforce/refocus-ldk
cd refocus-ldk
npm install
1. Copy this lens into your `refocus-ldk/Lenses` directory.
cp -r ../refocus-lens-multitable/MultiTable Lenses/
1. Configure the Refocus LDK.
npm config set refocus-ldk:lens MultiTable
1. 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.