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

RE2022-236 Heatmap context tabs #200

Merged
merged 4 commits into from
Apr 26, 2024
Merged

RE2022-236 Heatmap context tabs #200

merged 4 commits into from
Apr 26, 2024

Conversation

dauglyon
Copy link
Collaborator

@dauglyon dauglyon commented Apr 15, 2024

  • Include filter context tabs (All/Matched/Selected) in Microtrait and Biolog data products
  • Heatmap should render filtered data based on the selected tab

@dauglyon dauglyon changed the base branch from main to process-state-backoff April 15, 2024 23:07
@dauglyon dauglyon force-pushed the heatmapContextTabs branch 2 times, most recently from 10cba13 to 0223241 Compare April 25, 2024 18:48
Base automatically changed from process-state-backoff to main April 25, 2024 19:00
@dauglyon dauglyon force-pushed the heatmapContextTabs branch from 0223241 to 6a369dd Compare April 25, 2024 23:48
@@ -104,7 +104,7 @@ export const useProcessStatePolling = <
result: R,
processStateKeys: StateKey[],
options?: { baseInterval?: number; rate?: number; skipPoll?: boolean }
) => {
): Partial<{ [processStateKey in StateKey]: ProcessState }> => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a return from useProcessStatePolling hook for easier/clearer access to polling states

biologQuery.data.data[
biologQuery.data.data.length - 1
].kbase_display_name;
const name =
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes case where there is no data (empty table from service) to pull the cached name (paging id) from

@dauglyon dauglyon changed the title Heatmap context tabs RE2022-236 Heatmap context tabs Apr 26, 2024
@dauglyon dauglyon marked this pull request as ready for review April 26, 2024 17:49
@dauglyon dauglyon requested a review from dakotablair April 26, 2024 17:49
@dauglyon dauglyon merged commit 26fabbb into main Apr 26, 2024
4 checks passed
@dauglyon dauglyon deleted the heatmapContextTabs branch April 26, 2024 20:47
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.

2 participants