Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewpoints should only be fetched once #608

Open
2 of 4 tasks
maxime-huyghe opened this issue Jun 3, 2022 · 0 comments
Open
2 of 4 tasks

Viewpoints should only be fetched once #608

maxime-huyghe opened this issue Jun 3, 2022 · 0 comments
Labels

Comments

@maxime-huyghe
Copy link
Contributor

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
@maxime-huyghe maxime-huyghe changed the title FIX: Viewpoints should only be fetched once Viewpoints should only be fetched once Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant