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

Display personalized homepage when logged in #5287

Merged
merged 32 commits into from
Feb 19, 2025

Conversation

lukasmueller
Copy link
Member

@lukasmueller lukasmueller commented Jan 29, 2025

Description

fixes #5235

Requires changes in Bio::Chado::Schema to be updated

Checklist

  • Refactoring only
  • Documentation only
  • Fixture update only
  • Bug fix
    • The relevant issue has been closed.
    • Further work is required.
  • New feature
    • Relevant tests have been created and run.
    • Data was added to the fixture
      • Data was added via a patch in /t/data/fixture/patches/.
    • User-Facing Change
      • The user manual in /docs has been updated.
    • Any new Perl has been documented using perldoc.
    • Any new JavaScript has been documented using JSDoc.
    • Any new legacy JavaScript has been moved from /js to /js/source/legacy.

…eate date; note that this requires an update to Bio-Chado-Schema.
…ema of type CXGN::People::Schema, not bcs_schema of type Bio::Chado::Schema.
@afpowell afpowell requested review from ryan-preble and isaak February 3, 2025 16:11
@ryan-preble
Copy link
Contributor

ryan-preble commented Feb 3, 2025

Logged in as curator on test fixture, tried switching recent activity view from day to week and got a JS error:
image
Console:
image
And localhost STDERR:
image

@lukasmueller
Copy link
Member Author

lukasmueller commented Feb 3, 2025

Ryan - you need to update your local Bio::Chado::Schema repo (I just merged a new branch into it)

@ryan-preble
Copy link
Contributor

Ryan - you need to update your local Bio::Chado::Schema repo (I just merged a new branch into it)

Got it - working now. My only other suggestion is to change the "recent trials" page to reflect analyses vs trials. It is telling me that stored analyses are phenotyping trials

Copy link
Member

@isaak isaak left a comment

Choose a reason for hiding this comment

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

A suggestion: how about moving the recent activities tables to the profile page or recent_activities page? In the homepage or wherever they are redirected to after login, show a welcome message and a link to redirect them to the 'recent activities' page and let them view the recent activities there?

@lukasmueller
Copy link
Member Author

Fix issue with Analyses appearing as Phenotyping Trials in the trial section

@ryan-preble
Copy link
Contributor

image
This query gets field trials in association with an accession. It uses the cvterms to filter out stored analyses, which are stored as analysis_experiments. Playing around with it may help get you the distinction between trial and analysis you are looking for

@lukasmueller lukasmueller merged commit 71506b8 into master Feb 19, 2025
4 checks passed
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.

logged in users should see recent activity on homepage
3 participants