-
Notifications
You must be signed in to change notification settings - Fork 19
[ENG-8624] feat(registries): add context to registration submission + rearrange title and description layout #304
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
Merged
bp-cos
merged 7 commits into
CenterForOpenScience:develop
from
adlius:add-metadata-context
Sep 4, 2025
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
a1f9f8a
feat(registries): add context to registration submission + rearrange …
adlius dd688f4
feat(registries): CR followup
adlius 0f0bd6d
feat(registries): Add test for TagsComponent
adlius 4b5b7d5
feat(registries): Add moar tests
adlius 1dce7d7
feat(registries): Merge upstream/main
adlius 85eb067
feat(registries): CR followup
adlius 28e616a
Merge branch 'develop' into add-metadata-context
adlius File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 9 additions & 3 deletions
12
...pp/features/registries/components/metadata/registries-tags/registries-tags.component.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
<p-card> | ||
<div class="flex flex-column gap-3"> | ||
<h2>{{ 'project.overview.metadata.tags' | translate }} ({{ 'common.labels.optional' | translate }})</h2> | ||
|
||
<osf-tags-input (tagsChanged)="onTagsChanged($event)" [tags]="selectedTags()"></osf-tags-input> | ||
<label for="registration-tag-id"> | ||
<h2>{{ 'project.overview.metadata.tags' | translate }} ({{ 'common.labels.optional' | translate }})</h2> | ||
</label> | ||
<p class="mb-1">{{ 'shared.tags.description' | translate }}</p> | ||
adlius marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<osf-tags-input | ||
id="registration-tag-id" | ||
(tagsChanged)="onTagsChanged($event)" | ||
[tags]="selectedTags()" | ||
></osf-tags-input> | ||
</div> | ||
</p-card> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { DraftRegistrationModel } from '@shared/models'; | ||
|
||
export const MOCK_DRAFT_REGISTRATION: DraftRegistrationModel = { | ||
branchedFrom: { | ||
filesLink: 'someFilesLink', | ||
id: 'projectId', | ||
title: 'Project Title', | ||
type: 'nodes', | ||
}, | ||
components: [], | ||
description: 'This is a description', | ||
hasProject: true, | ||
id: 'thisissupposedtobeauniqueid', | ||
license: { | ||
id: 'someLicenseId', | ||
options: null, | ||
}, | ||
providerId: 'osf', | ||
registrationSchemaId: '6797c0dedee44d144a2943fc', | ||
stepsData: { | ||
summary: '', | ||
uploader: [], | ||
}, | ||
tags: [], | ||
title: 'This is a title', | ||
}; |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.