Skip to content

PEAR-2739: Update cohort sections - #608

Open
paribartandhakal wants to merge 12 commits into
developfrom
feat/pear-2739-update-cohort-sections
Open

PEAR-2739: Update cohort sections#608
paribartandhakal wants to merge 12 commits into
developfrom
feat/pear-2739-update-cohort-sections

Conversation

@paribartandhakal

Copy link
Copy Markdown
  1. Updated existing cohort sections based on updated code, features, and behaviors.
  2. Adding new topics which augments the cohort description.

Comment thread docs/Data_Portal/Users_Guide/Developers_Guide.md Outdated
Comment thread docs/Data_Portal/Users_Guide/Developers_Guide.md Outdated
Comment thread docs/Data_Portal/Users_Guide/Developers_Guide.md Outdated
Comment thread docs/Data_Portal/Users_Guide/Developers_Guide.md Outdated
paribartandhakal and others added 4 commits August 25, 2026 13:20
Co-authored-by: wteouchicago <73256434+wteouchicago@users.noreply.github.com>
Co-authored-by: wteouchicago <73256434+wteouchicago@users.noreply.github.com>
Co-authored-by: wteouchicago <73256434+wteouchicago@users.noreply.github.com>
Co-authored-by: wteouchicago <73256434+wteouchicago@users.noreply.github.com>
Comment thread docs/Data_Portal/Users_Guide/Developers_Guide.md Outdated
Comment thread docs/Data_Portal/Users_Guide/Developers_Guide.md Outdated
Comment thread docs/Data_Portal/Users_Guide/Developers_Guide.md Outdated
Comment thread docs/Data_Portal/Users_Guide/Developers_Guide.md Outdated
Comment thread docs/Data_Portal/Users_Guide/Developers_Guide.md Outdated
Comment thread docs/Data_Portal/Users_Guide/Developers_Guide.md
Comment thread docs/Data_Portal/Users_Guide/Developers_Guide.md Outdated
paribartandhakal and others added 5 commits August 25, 2026 15:21
Co-authored-by: Amy Lehman <amlehman77@gmail.com>
Co-authored-by: wteouchicago <73256434+wteouchicago@users.noreply.github.com>
Co-authored-by: wteouchicago <73256434+wteouchicago@users.noreply.github.com>
Co-authored-by: wteouchicago <73256434+wteouchicago@users.noreply.github.com>
Comment thread docs/Data_Portal/Users_Guide/Developers_Guide.md Outdated
Co-authored-by: wteouchicago <73256434+wteouchicago@users.noreply.github.com>
import {useCoreSelector, selectAvailableCohorts} from '@gff/core';

const allCohorts = useSelector(selectAllCohorts);
const cohorts = useCoreSelector((state) => selectAvailableCohorts(state));

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I don't mind this more explicit code but you can just write this as valid code
useCoreSelector(selectAvailableCohorts)

succeeds, so that a failed request does not remove the cohort from the interface.

## Persistence and Session Behaviour

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice, this section is a great addition

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.

3 participants