Skip to content

Simplify data contract for getting application layouts #102

Open
@pling-scottlogic

Description

Background

The GET endpoint on the application layouts resource currently returns a username along with the layout itself. The username is not needed on the frontend, so can be removed from the contract.

Work Required

  • Back end:
    • Change ApplicationLayoutController#getApplicationLayout to return an ObjectNode instead of the DTO
    • Extract the definition from the ApplicationLayout entity
      • ❓ In ApplicationLayoutController#getApplicationLayout or ApplicationLayoutService#getApplicationLayout?
    • Delete ApplicationLayoutDto
  • Front end:
    • Edit RemoteLayoutPersistenceManager#loadApplicationLayout to reflect changes above
    • Delete redundant ApplicationLayout type

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions