Skip to content

Project settings UI incomplete #182

@josephtate

Description

@josephtate

Describe The Bug

When modifying a project's settings via the peridot web ui (:////settings), several fields are missing, and when the form is submitted, they are missing from the PUT request to the API causing them to be nulled out.

These fields include cdnURL, streamMode, and buildPoolType.

These settings are modifiable in the API.

I'm not sure if more modern peridot versions have fixed this form.

Reproduction Steps

  1. Have a project
  2. Set a cdnURL (but you can't in the UI, so use the API)
  3. Update the architectures in the /settings page
  4. Note that the cdnURL is missing when looking at the settings again in the API.

Really, this should use PATCH, not PUT to update only the changes. This makes the page more future proof when the data layer changes.

Expected Behavior

The UI should support all the fields available in the Project object. Or it should track the original object and only change the fields present in the form, or it should use PATCH to modify the object state on the server vs. PUT.

Version and Build Information

It is not obvious what version of peridot I'm using, but it's kinda old. IDK if this bug is still relevant.

Additional context

Please close if not relevant to current releases.

Metadata

Metadata

Labels

bugSomething isn't workingpriority: mediumThis issue or pull request is of medium priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions