Site ID is not visible in settings form if set via environment variable

Created on 29 April 2024, about 2 months ago

Problem/Motivation

The site ID is not visible in settings form if set via environment variable

Steps to reproduce

Set site ID using the FASTLY_SITE_ID environment variable. The settings form has an empty site ID config field.

Proposed resolution

Show the ID and disable the form field.

Remaining tasks

Is this the right approach?

The API token is visible in the form when set via the environment, and it can be edited.

The service ID field id hidden when set via the environment. It cannot be seen in the form.

The three settings / environment variables should probably behave the same way.

User interface changes

The site ID field is disable if it is set using an environment variable.

API changes

None.

Data model changes

None.

✨ Feature request
Status

RTBC

Version

3.0

Component

Code

Created by

πŸ‡©πŸ‡°Denmark arnested

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

Comments & Activities

Production build 0.69.0 2024