Skip to content

Viewpoints should only be fetched once #608

Description

@maxime-huyghe

Description

Currently, due to a quick fix, viewpoints are fetched both in PillListViewpoint and Viewpoint.

What is the valuable outcome that cannot be achieved because of this bug?

  • Fast loading in every case
  • Saving network bandwidth and server load.

For which stakeholder (people, role, project, domain) is it important?

Reproduction scenario

  1. Load an item

Expected behavior

Viewpoints are only loaded once.

Environment

  • OS: any
  • Browser: any

Workaround

Factorize the loading to the Item component. This is harder than it looks because the data is strangely shaped.

Deliverables status

Phase 1

  • Scenarios (Gherkin) (not needed)
  • Implementation strategy

Phase 2

  • Acceptance tests (Capybara) (not testable)
  • Implementation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions