Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jun 14, 2023

Relates to TAMULib/scholars-discovery#314

Two new components added: BarplotComponent and ResearchAgeComponent. With ResearchAgeComponent using BarplotComponent in its template.

ResearchAgeComponent has response routing with multiple observables of researchAge state from the store in which barplot observes which response. Multiple requests are issued asynchronously. Note, the store overwrites researchAge state after receiving response. This could be considered a bad central state practice to not have all information in the state to represent the contextualized view. However, with interactions and potentially large number of requests/responses required to construct a graph, it seems appropriate to use the SVG as its state and not additionally in the redux store.

@ghost ghost requested a review from jcreel June 20, 2023 19:21
@ghost ghost linked an issue Jun 20, 2023 that may be closed by this pull request
@ghost ghost marked this pull request as ready for review June 20, 2023 20:01
@ghost ghost requested review from kaladay and rmathew1011 June 22, 2023 19:19
@ghost ghost requested a review from jeremythuff July 10, 2023 17:52
@ghost ghost merged commit cc76914 into june-2023-sprint-staging Jul 10, 2023
@ghost ghost deleted the 211-researcher-age-api branch July 17, 2023 12:53
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Researcher and Publication Age Visualization Component

2 participants