Skip to content

witty-works/dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,919 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Dashboard for Witty

Handles registration, SSO, user license management, organization rules and personal/team statistics by integrating with https://github.com/witty-works/nlp_api as well as https://github.com/witty-works/browser-extension and https://github.com/witty-works/word-plugin

Based on

For deployment we recommend https://docs.platform.sh/

Local Install

Note: Route caching is not supported by the multilingual route extension used in this project. Avoid running php artisan route:cache or similar commands, as it may break route localization.

Development

See docs/docker.md for Docker/Lando development workflow. Go to https://dashboard.lndo.site

Use gitflow to do feature or hotfix branches: https://nvie.com/posts/a-successful-git-branching-model/

See here for installation instructions: https://github.com/nvie/gitflow/wiki/Installation

Other relevant URLs:

Translations

See docs/docker.md for translation workflow and troubleshooting.

Deployments

See docs/release.md for release and hotfix instructions, including git config and deployment steps.

User management

See docs/subscriptions.md for user management, superadmin rights, and impersonation instructions.

Documentation Index

Custom Application Configuration

NLP API Sync

Use for the integration with the NLP API.

  • APP_NLP_API_SYNC_ENDPOINT — Main endpoint for NLP API sync
  • APP_NLP_API_SYNC_ENDPOINT_2 — (Optional) Secondary endpoint for NLP API sync
  • APP_NLP_API_SYNC_USER — Username for NLP API sync
  • APP_NLP_API_SYNC_PASSWORD — Password for NLP API sync
  • APP_NLP_API_SYNC_CONFIGS — Enable/disable sync configs
  • APP_NLP_API_SYNC_DELAY_PER_COUNT — Delay per sync count (default: 0.1)

Browser Version Tracking

Enabled the browser extension integration.

  • BROWSER_VERSION_CHROME — Latest supported Chrome version
  • BROWSER_VERSION_EDGE — Latest supported Edge version
  • BROWSER_VERSION_FIREFOX — Latest supported Firefox version

Helphero Integration

Used for application overlays for onboarding.

  • HELPHERO_JS_ENABLED — Enable Helphero JS widget
  • HELPHERO_APP_ID — Helphero App ID

Translation.io

Only used for local development to ease translation maintenance.

  • TRANSLATIONIO_KEY — API key for Translation.io integration

PostHog Analytics

Posthog is used both for analytics of usage of the dashboard as well as for collecting statistics in the Witty client applications (browser extension, Microsoft Word Add-in).

  • POSTHOG_ENABLED — Enable PostHog analytics
  • POSTHOG_JS_ENABLED — Enable PostHog JS tracking
  • POSTHOG_API_KEY — API key for PostHog
  • POSTHOG_HOST — Host URL for PostHog instance
  • POSTHOG_DEBUG — Enable debug mode for PostHog
  • POSTHOG_PROJECT_ID — Project ID for PostHog
  • POSTHOG_PERSONAL_API_KEY — Personal API key for PostHog
  • POSTHOG_INSIGHTS_CACHE_TIME — Cache time for insights (seconds)
  • POSTHOG_DASHBOARD_USER_ID — Dashboard user ID override
  • POSTHOG_DASHBOARD_TEAM_ID — Dashboard team ID override
  • POSTHOG_RATE_LIMIT — API rate limit (default: 16)
  • POSTHOG_RATE_INTERVAL_SECONDS — API rate interval in seconds (default: 60)
  • POSTHOG_RATE_MULTIPLIER — API rate multiplier (default: 3)

Microsoft Office SSO

Relevant for the Microsoft Word Add-in integration.

  • OFFICE365_CLIENT_ID — Client ID for Microsoft Office 365 SSO
  • OFFICE365_CLIENT_SECRET — Client Secret for Microsoft Office 365 SSO
  • OFFICE365_REDIRECT_URI — Redirect URI for Office 365 SSO callback
  • OFFICE365_TENANT_ID — (Optional) Tenant ID for restricting SSO to a specific organization

About

Administration UI for Witty

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors