Skip to content

Conversation

@adlius
Copy link
Contributor

@adlius adlius commented Jun 19, 2025

Purpose

Summary of Changes

Screenshot(s)

Side Effects

QA Notes

Copy link
Collaborator

@cslzchen cslzchen left a comment

Choose a reason for hiding this comment

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

Looks good and verified locally ⭐ . Left a couple of questions.

import { tracked } from 'tracked-built-ins';
import { taskFor } from 'ember-concurrency-ts';
import { SupportedResourceTypes } from 'ember-osf-web/models/external-link-service';
// import ConfiguredLinkAddonModel from 'ember-osf-web/models/configured-link-addon';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Any considerations for keeping this?

Comment on lines +55 to +60
@task
@waitFor
async getSelectedItemName(this: ConfiguredCitationAddonModel) {
const response = await taskFor(this.getItemInfo).perform(this.rootFolder);
this.rootFolderName = (response.operationResult as Item).itemName;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Non-blocking: should we define this back in configured-addon.ts while overriding it in `configured-link-addon? In this way, we won't have duplicate code for storage and citation add-ons.

@cslzchen cslzchen merged commit aea44b7 into CenterForOpenScience:feature/verified-resource-linking Jun 20, 2025
9 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