Skip to content
Snippets Groups Projects
  • Phoomparin Mano's avatar
    178997d7
    feat(sdk): connect databases, generate models and x-rays from the CLI (#46502) · 178997d7
    Phoomparin Mano authored
    
    * add setup commands
    
    * fix settings definition
    
    * update environment variables for cli
    
    * handle instances not being ready
    
    * update error messages
    
    * add more specific loading messages
    
    * loading spinner state
    
    * improve error message
    
    * use a fixed demo setup token
    
    * remove extraneous spinner
    
    * update status checks
    
    * update container messages
    
    * update wait timing
    
    * create api keys
    
    * extract constants
    
    * remove manual steps
    
    * Add anonymous tracking + other things. will need to clean up
    
    * Modify SDK for better structure
    
    * remove line from print.ts
    
    * Update webpack.embedding-sdk-cli.config.js back to production
    
    * Add types and add quick note
    
    * Fix a typo
    
    * Add index file, simplify types, use an array
    
    * Add safer json parsing
    
    * use delay of 100ms between each setup call
    
    * Suggestions from review
    
    * ensure that cli works
    
    * Attempt to fix jest errors
    
    * Remove node-fetch from sdk code to hopefully get unit tests working again
    
    * add database connection
    
    * add connection details handling
    
    * refactor asking for database connection info
    
    * apply actual database id for syncing schema
    
    * fix failing database sync step
    
    * allow table selection
    
    * create model for each table
    
    * handle errors in model creation
    
    * fix incorrect model display name
    
    * create x-rays based on user data
    
    * consolidate instance setup message
    
    * workaround for inquirer eventemitter issue
    
    * fix yarn.lock file
    
    ---------
    
    Co-authored-by: default avatarOisin Coveney <oisin@metabase.com>
    feat(sdk): connect databases, generate models and x-rays from the CLI (#46502)
    Phoomparin Mano authored
    
    * add setup commands
    
    * fix settings definition
    
    * update environment variables for cli
    
    * handle instances not being ready
    
    * update error messages
    
    * add more specific loading messages
    
    * loading spinner state
    
    * improve error message
    
    * use a fixed demo setup token
    
    * remove extraneous spinner
    
    * update status checks
    
    * update container messages
    
    * update wait timing
    
    * create api keys
    
    * extract constants
    
    * remove manual steps
    
    * Add anonymous tracking + other things. will need to clean up
    
    * Modify SDK for better structure
    
    * remove line from print.ts
    
    * Update webpack.embedding-sdk-cli.config.js back to production
    
    * Add types and add quick note
    
    * Fix a typo
    
    * Add index file, simplify types, use an array
    
    * Add safer json parsing
    
    * use delay of 100ms between each setup call
    
    * Suggestions from review
    
    * ensure that cli works
    
    * Attempt to fix jest errors
    
    * Remove node-fetch from sdk code to hopefully get unit tests working again
    
    * add database connection
    
    * add connection details handling
    
    * refactor asking for database connection info
    
    * apply actual database id for syncing schema
    
    * fix failing database sync step
    
    * allow table selection
    
    * create model for each table
    
    * handle errors in model creation
    
    * fix incorrect model display name
    
    * create x-rays based on user data
    
    * consolidate instance setup message
    
    * workaround for inquirer eventemitter issue
    
    * fix yarn.lock file
    
    ---------
    
    Co-authored-by: default avatarOisin Coveney <oisin@metabase.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
This project manages its dependencies using yarn. Learn more