-
Notifications
You must be signed in to change notification settings - Fork 5
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
DLS data publications views #1532 #1533 #1538
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1538 +/- ##
===========================================
- Coverage 96.25% 96.24% -0.02%
===========================================
Files 170 165 -5
Lines 7326 7076 -250
Branches 2330 2181 -149
===========================================
- Hits 7052 6810 -242
+ Misses 254 246 -8
Partials 20 20
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
TODO: add versioning panel to both concept & version landing pages Also might need to filter out version DOIs somehow from the table view Also need to add an edit button to landing pages to create new versions (need to think which DOI pages provide this button e.g. only latest version allows editing? does the concept get to be edited?) Check SEO stuff? Might need to check versioning redirect stuff |
Still need to get the API to work re: only concepts can be edited, but concepts have no content
Need to get content from version DOI API is currently broken so need to wait for a fix for further testing
d4fccfe
to
729e0e3
Compare
Probably broke in merge conflict resolution with sizes & counts refactor
- Add dates to versioning panel & ensure we order by createTime - Show latest version DOI more prominently - Remove concept panel in favour of concept short info item
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1538 +/- ##
===========================================
- Coverage 96.25% 96.11% -0.15%
===========================================
Files 170 179 +9
Lines 7326 7806 +480
Branches 2330 2485 +155
===========================================
+ Hits 7052 7503 +451
- Misses 254 281 +27
- Partials 20 22 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
We need to allow for the API urls to be configured by env variables in a Docker container |
Also, need to add something like this to the default settings:
|
Description
Adding the DOI landing pages, which have a details tab & a content tab which shows the investigations, datasets and datafiles contained in the data publication. Also adds the My DOI view, which has a table of the DOIs the logged in user has minted.
See screenshots:
It's still a WIP - I haven't written any tests and I still have some strings hard coded instead of put in the default.json - but I figured these are a lesser priority than just getting a working feature out. There's also a few TODOs still - I need to sort out the breadcrumbs on the DLS DOI landing pages, and there's a visual bug with the content table if you switch from Datasets to one of the other tabs when that tab is empty and then switch back to datasets.
Testing instructions
Add a set up instructions describing how the reviewer should test the code
Agile board tracking
Closes #1532, Closes #1533