Skip to content

Development - #1523

Merged
NishaSharma14 merged 11 commits into
mainfrom
development
Aug 18, 2026
Merged

Development#1523
NishaSharma14 merged 11 commits into
mainfrom
development

Conversation

@NishaSharma14

Copy link
Copy Markdown
Contributor

No description provided.

vcnainala and others added 11 commits August 6, 2026 14:20
Selector files in study NMRium payloads often carry archive/S3 prefixes that never share the stored relative_url of the dataset, so path-based matching silently dropped spectra. Match on study/dataset folder names first (mirroring the study NMRium save path) and keep relative_url as a fallback needle.
Backfills datasets that lack their own NMRium row by copying matched spectra from the parent study payload. Supports scoping by dataset or study, dry runs, chunked processing with a limit, and optional refresh of the denormalized spectra columns.
Accepting a project invitation attached the member, but clicking the shared project returned 403 because the dashboard routes private draft-stage projects into the draft editor and DraftPolicy::updateDraft only allowed the draft owner. Grant updateDraft to members with project update rights (creator, owner, collaborator) and route reviewers to the read-only project page instead of the draft editor.
Private studies returned 403 on /studies/{id}/nmriumInfo because the
reviewer obfuscation URL was not accepted on that follow-up request.
Unpublished reviewer preview pages have no public identifier, so the
schema request must not run until one exists.
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.33333% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.34%. Comparing base (536cb7b) to head (454de63).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
app/Support/Public/PublicEntityAccess.php 82.35% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1523      +/-   ##
============================================
+ Coverage     80.18%   80.34%   +0.16%     
- Complexity     4385     4416      +31     
============================================
  Files           289      289              
  Lines         16189    16241      +52     
============================================
+ Hits          12981    13049      +68     
+ Misses         3208     3192      -16     
Flag Coverage Δ
unittests 80.34% <83.33%> (+0.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@NishaSharma14
NishaSharma14 merged commit 871d3b0 into main Aug 18, 2026
15 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.

2 participants