Skip to content

Commit 7b663c8

Browse files
authored
Merge pull request #89 from sigmacomputing/dashboard_build_draft2
more changes
2 parents f1a7228 + e10149c commit 7b663c8

3 files changed

Lines changed: 80 additions & 4 deletions

File tree

plugin_use_cases/.env

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# =============================================================================
2+
# SIGMA PLUGIN HOST APPLICATION CONFIGURATION
3+
# =============================================================================
4+
# This file contains all configuration for the Sigma Plugin Host Application
5+
# Update the values below to match your Sigma instance and requirements
6+
#
7+
# NOTE: This is a template file with secrets removed.
8+
# Fill in your actual values before deployment.
9+
# =============================================================================
10+
11+
# =============================================================================
12+
# SIGMA API CONFIGURATION
13+
# =============================================================================
14+
# Sigma API endpoints - Update these URLs for your Sigma instance
15+
AUTH_URL=https://aws-api.sigmacomputing.com/v2/auth/token
16+
BASE_URL=https://aws-api.sigmacomputing.com/v2
17+
EMBED_URL_BASE=https://app.sigmacomputing.com
18+
19+
# Sigma Organization and Client Credentials
20+
# Update these with your actual organization and client credentials
21+
ORG_SLUG=
22+
CLIENT_ID=
23+
SECRET=
24+
25+
# =============================================================================
26+
# APPLICATION CONFIGURATION
27+
# =============================================================================
28+
# Server configuration
29+
PORT=3000
30+
DEBUG=true
31+
SESSION_LENGTH=3600
32+
33+
# JWT Configuration
34+
JWT_AUDIENCE=https://sigmacomputing.com/iam
35+
36+
# Dashboard Builder Plugin Configuration
37+
PLUGIN_NAME=Dashboard Builder
38+
WORKBOOK_NAME=Custom_Dashboard
39+
40+
# =============================================================================
41+
# USERS
42+
# =============================================================================
43+
VIEW_EMAIL=view.plugin.user@example.com
44+
VIEW_ACCOUNT_TYPE=View
45+
VIEW_TEAMS=Embed_Users
46+
WORKSPACE_NAME=Embed_Users
47+
48+
# =============================================================================
49+
# PLUGIN-SPECIFIC CONFIGURATION
50+
# =============================================================================
51+
# Plugin embedding configuration
52+
HIDE_BOOKMARKS=true
53+
HIDE_FOLDER_NAVIGATION=true
54+
HIDE_MENU=true
55+
MENU_POSITION=none
56+
DISABLE_AUTO_REFRESH=false
57+
DISABLE_MOBILE_VIEW=false
58+
HIDE_PAGE_CONTROLS=true
59+
HIDE_RELOAD_BUTTON=false
60+
HIDE_TITLE=false
61+
HIDE_TOOLTIP=false
62+
HIDE_VIEW_SELECT=false
63+
LNG=en
64+
RESPONSIVE_HEIGHT=true
65+
THEME=light

plugin_use_cases/.gitignore

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,21 @@ npm-debug.log*
44
yarn-debug.log*
55
yarn-error.log*
66

7-
# Environment variables (contains sensitive API credentials)
8-
.env
7+
# Environment variables (sensitive ones only - .env is included as template)
98
.env.local
109
.env.development.local
1110
.env.test.local
1211
.env.production.local
1312

14-
# Database files (contains user data and bookmarks)
15-
data/
13+
# Database files (exclude user data, allow default template)
14+
data/*
15+
!data/multi-area-bookmarks.json
16+
17+
# JSON files (exclude user data, allow project files)
1618
*.json
1719
!package.json
1820
!package-lock.json
21+
!data/multi-area-bookmarks.json
1922

2023
# Logs
2124
logs
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"_comment": "Default empty database for multi-area bookmarks. User bookmarks will be added here at runtime.",
3+
"bookmarks": {},
4+
"metadata": {
5+
"version": "1.0.0",
6+
"created": "2025-10-15T02:38:08.120Z"
7+
}
8+
}

0 commit comments

Comments
 (0)