Add project information when overridden in settings file

Created on 2 May 2023, over 1 year ago
Updated 20 January 2024, 10 months ago

Problem/Motivation

You can override your project settings in the settings file like:

if ([something]) {
  $config['quant_api.settings']['api_account'] = 'some-ccount';
  $config['quant_api.settings']['api_project'] = 'some-project';
  $config['quant_api.settings']['api_token'] = 'some-token';
}

which can be helpful when switching between production and staging projects. But, it's not clear in the UI, that you are using a different project.

Steps to reproduce

Proposed resolution

Make it clear what project is being used by showing the account and project name. At minimum, on the API tab, but consider showing on any Quant configuration page if it's been overridden (would need to compare against what has been saved in the database).

Remaining tasks

  1. Create patch
  2. Review and test
  3. Commit :)

User interface changes

You will see the account and project noted in the Quant configuration area.

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024