Commit f5c0c89
Feature/cedar integration (#2143)
* [ENG-4908] Prototype CEE (#2050)
* prototype CEEE
* CR followup
* fix args names
* [ENG-4843] [ENG-5056] [ENG-5057] [ENG-5058] [ENG-5059] Feature/cedar integration (#2091)
* Added the cedar metadata template model
* Added the new models for cedar-metadata-template and record
* Fixed some linting issues
* Added the adapters and serializers for cedar metadata template and record
* Fixed some typos and ignorance with serializers, api-contracts, etc
* Fixed the namespace
* Fixed the all the relationships
* [ENG-4845] Updates to convert the currect guid-metadata to tab based (#2093)
* Updates to convert the currect guid-metadata to tab based
* Added the tabbing system to the metadata page
* Initial commit for geting the mirage serializers to work for cedar-metadata-records
* Updates from PR comments
* [ENG-5065] Add a new metadata details (view only) component (#2095)
* Added the initial metadata-detail component
* Added some more touches to the detail template
* Removed unnecessary mobile styling and actually the component.
* Much cleaner look and feel for the read-only view
* Added more randomness
* Inital metadata add route
* Added more information to select a schema
* Added missing files
* Fixed the pagination on read-only templates
* Fixed some tests
* Fixed a typo
* Updates per PR comments
* Updates per PR requests
* Initial commit to add the cedar template
* Added a new component to handle the cedar editor
* Styling of the cedar editor
* For debugging added the configuration to the component
* Template rendering
* Added more cedar templates and updated the config
* Fixes per the PR
* Updates based on the PR
* Removed the unnecessary metadata-select component and passed in isMobile
* Added metadata information to the tabs
* Fixed the title
* add cedar assets (#2104)
* artifact viewer prototype
* Added biosample record, removed unnecessary components and hooked up the initial editor post on save
* fixed the types by adding singular and plurals and updated the save to work for create and patch
* Updates from the PR based on comments. Much better with consistent naming of variables
* Updates for PR
* Updates for the PR
* Added a loading indicator, disabled the button and redirected the route
* Router changes for Yuhuai
* modify route structure
* Added a draft status
* Added visualization for draft metadata
* Added better text for published metadata and analytics
* Added the final touch to get the recordId and display the correct record
* Fixed two tests
* Fixed another test
* Initial PR comment updates
* Additional PR comment updates
* The last of the PR comments
* Updates from PR requests
* Added visualization for draft metadata
* Added more edit flow components
* Additional updates
* Updates to make a better flow and have the editor display persisted data
* Finishing touches on the edit flow
* Added a toast message to handle saving errors
* Added a cancel button
* Editted a merge mistake
* A linting issue
* Updates for the linter and PR comments
* Additional updates
* Updates based on the PR
* Removed the async
* Added a better isPersisting handler
* Update to the cedar metadata editor flow
* update versions (#2114)
* Initial updates to port node::metadata to registration
* Updated the routes
* Initial commit for registrations and mirage scenarios
* Updates to some files, mostly mirage
* Moved metadata components to osf-components, removed the guid-node metadata components, generized some components
* Added a component for the detail page
* Converted the metadata add page to be a component
* Fixed a test
* Fixed additional tests
* Fixed a flaky test
* Okay ... to similar tests
* Refactored based on PR comments
* One last PR Suggestions
* Initial conversion to add cedar metadata to files
* More component creation
* Updates to get files to work
* fix relationship
* The tabs are displaying and the cedar artifact viewer is working
* Typo for a test failue
* Updates for the PR
* Fixed a camel-case class names
* Added the ability to add a cedar template to a file
* Added updates for navigation, scenarios and mobile
* Additional mobile formatting
* Fixed two tests
* Removed a test that did nothing
* Updates for the PR
* Added everything to fix publish
* Hopeful fix for the tests
* Added permissions
* Updated the if statement for permissions
* Another quick update to make mirage scenarios more realistic
* Updates for PR suggestions
* Missed a suggestion
* Updates for Yuhuais comments
* New flow for downloading a cedar template
* Updates to flow, css and verbiage
* One more tooltip
* Updates to fix the guid-file tabs
* Added initial update for guid-file
* Added the title updates to registries
* Updates to display the name of the file
* add terminologyIntegratedSearchUrl (#2126)
* Change `findAll` to `query` to hide inactive templates (#2128)
* change findAll to query
* use schema:description and fallback to description when schema:description is not available
* use schema:description and fallback to description when schema:description is not available--amend
* metadataDownload to metadata_download
* Added a share icon and fixed the routing to reflect the current tab (#2127)
* Added a share icon and fixed the routing to reflect the current tab
* Removed from files
* Style updates based on PR suggestions from Futa
* Fixed for an issue between mirage and BE
* Fixes for the file page overrunning
* Fixed a translations for a notion issue
* Updates to translations
* upgrade CEE to 1.0.15
* Fixed some issues
* Another quick fix for mobile
* Another quick mobile css fix
* Another quick mobile css fix
* Quick naming convention fix
* Oops missing translation update
* A late addition to fix a flow issue when adding
* Removed the async/await on the cancel button
* upgrade CEE to 1.0.16 (#2135)
* Updates for Cedar Requests from Product (#2136)
* Moved the "Select a different template" button
* Fixed a typo on including a component
* Added the async on route transition
* Updates to disable adding a duplicate record
* Added select disable functionality to registries
* Finished the disable feature for files and fixed some other nuisances
* Added sorting and moved the selected tab to the first
* upgrade CEE to 1.1.0
* Fixed the persist because the parent route was not run on an add or edit
* Add an aria label
* Fix color contrast issue
* Enabled the embedding of templates on cedar records (#2141)
* Enabled the embedding of templates on cedar records
* Fixed a discepancy on the tab views
* More one fix for consistency
* Overwrite white-space rule for tooltips from cedar (#2146)
* Go to page not found when encountering errors. (#2147)
* fixes
* fix test errors
* Update styling (#2149)
* Upgrade cee version to 1.2.1. Listen to more events to trigger validation (#2150)
* upgrade cee version. listen to more events to trigger validation
* change to pointerover
---------
Co-authored-by: Lord Business <[email protected]>
Co-authored-by: Brian Pilati <[email protected]>
Co-authored-by: Futa Ikeda <[email protected]>
Co-authored-by: futa-ikeda <[email protected]>1 parent f7db71a commit f5c0c89
File tree
135 files changed
+42417
-770
lines changed- app
- adapters
- config
- guid-file
- -components
- file-detail-layout
- file-header
- index
- metadata/add
- guid-node
- metadata
- add
- detail
- index
- models
- packages/files
- resolve-guid
- serializers
- config
- lib
- osf-components
- addon/components
- cedar-metadata-editor
- cedar-metadata-renderer
- file-metadata-form
- resource-help-dialog
- metadata
- file-metadata-layout
- metadata-add
- metadata-detail
- metadata-select
- metadata-tab-view
- metadata-tabs
- node-metadata-form
- tos-consent-banner
- app/components
- cedar-metadata-editor
- cedar-metadata-renderer
- file-metadata-form
- resource-help-dialog
- metadata
- file-metadata-layout
- metadata-add
- metadata-detail
- metadata-select
- metadata-tab-view
- metadata-tabs
- registries/addon
- overview
- metadata
- add
- detail
- index
- mirage
- factories
- fixtures
- cedar-records
- cedar-templates
- scenarios
- serializers
- public/assets
- fonts
- i18n-cav
- tests
- acceptance
- guid-file
- guid-node
- engines/registries/acceptance/overview
- unit/guid-file
- translations
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
135 files changed
+42417
-770
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
34 | 68 | | |
35 | 69 | | |
36 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
8 | | - | |
9 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
10 | 22 | | |
11 | 23 | | |
12 | 24 | | |
13 | 25 | | |
14 | 26 | | |
15 | | - | |
| 27 | + | |
16 | 28 | | |
17 | 29 | | |
18 | 30 | | |
| |||
22 | 34 | | |
23 | 35 | | |
24 | 36 | | |
25 | | - | |
| 37 | + | |
| 38 | + | |
26 | 39 | | |
27 | 40 | | |
28 | 41 | | |
29 | 42 | | |
30 | 43 | | |
31 | 44 | | |
32 | 45 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
44 | 59 | | |
45 | 60 | | |
46 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
0 commit comments