Skip to content

Conversation

@bp-cos
Copy link
Contributor

@bp-cos bp-cos commented Sep 2, 2025

[ENG-8505] Add the ability to select a folder with oauth working

  • Ticket: [ENG-8505]
  • Feature flag: n/a

Purpose

Have the GFP work with oauth

Summary of Changes

Updated all the payload for Oauth to work with tests
Add the method to the child component to select a folder with tests
Add a few new models

Screenshot(s)

Screenshot 2025-09-02 at 4 05 31 PM >

Side Effects

None

QA Notes

Test away

@bp-cos bp-cos requested review from futa-ikeda and nsemets September 2, 2025 21:06
Comment on lines +11 to +12
import { GoogleFileDataModel } from '@osf/shared/models/files/google-file.data.model';
import { GoogleFilePickerModel } from '@osf/shared/models/files/google-file.picker.model';
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be better to import them from index.ts

protected hasInputChanged = signal(false);
protected hasFolderChanged = signal(false);
protected selectedRootFolder = signal<StorageItem | null>(null);
public selectedRootFolder = signal<StorageItemModel | null>(null);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need to set public if it by default public?

@bp-cos bp-cos added this pull request to the merge queue Sep 3, 2025
Merged via the queue into CenterForOpenScience:main with commit cf5041d Sep 3, 2025
2 of 3 checks passed
@bp-cos bp-cos deleted the feat/eng-8505-4 branch September 3, 2025 15:23
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