Skip to content
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

DYN-7330 Add a button to show Sample Graph folder and Sample Dataset #15449

Conversation

ivaylo-matov
Copy link
Contributor

@ivaylo-matov ivaylo-matov commented Aug 28, 2024

Purpose

PR to address https://jira.autodesk.com/browse/DYN-7330.
Adds a button for a dropdown to allow users to find Sample Graph folder and Sample Dataset. The button replaces the current "Show samples in folder button"

Goes along with : DynamoDS/DynamoHome#28

Hope that's okay 🤞

DYN-7330_Fix

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB

Release Notes

Adds a button for a dropdown to allow users to find Sample Graph folder and Sample Dataset. The button replaces the current "Show samples in folder button"

Reviewers

@dnenov
@reddyashish

FYIs

@Amoursol

draft
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-7330

Copy link

UI Smoke Tests

Test: success. 11 passed, 0 failed.
TestComplete Test Result
Workflow Run: UI Smoke Tests
Check: UI Smoke Tests

@zeusongit
Copy link
Contributor

zeusongit commented Aug 28, 2024

Show in the folder seems odd, can we use something that is consistent with other Windows standard usage like, Open Containing Folder or Open File Location. fyi @hwahlstrom @Jingyi-Wen

Screenshot 2024-08-28 at 3 17 29 PM Screenshot 2024-08-28 at 3 17 37 PM

if (Directory.Exists(datasetsPath))
{
sampleDatasetsPath = datasetsPath;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

So, we open a default page when dataset folder does not exist, or nothing happens?

Copy link
Contributor Author

@ivaylo-matov ivaylo-matov Aug 29, 2024

Choose a reason for hiding this comment

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

will falling back on root or desktop be sufficient? Any other suggestions?

@hwahlstrom
Copy link
Collaborator

Show in the folder seems odd, can we use something that is consistent with other Windows standard usage like, Open Containing Folder or Open File Location. fyi @hwahlstrom @Jingyi-Wen

"Open file location" sounds good to me.

@ivaylo-matov
Copy link
Contributor Author

button text changes to "Open file location" in DynamoDS/DynamoHome#28

@QilongTang
Copy link
Contributor

Hi @ivaylo-matov Please also bump up the package version referenced in csproj file so once the new package is published, this PR would be ready to go

@QilongTang QilongTang added this to the 3.3 milestone Sep 4, 2024
@QilongTang QilongTang changed the title [DYN-7330] Add a button to show Sample Graph folder and Sample Dataset DYN-7330 Add a button to show Sample Graph folder and Sample Dataset Sep 4, 2024
@QilongTang
Copy link
Contributor

@reddyashish I restarted most of the checks which were failing, they were failing because the npm package was not available when the checks running. The selfServe restarted at https://master-5.jenkins.autodesk.com/job/Dynamo/job/DynamoSelfServe/job/pullRequestValidation/16403/

@QilongTang
Copy link
Contributor

@reddyashish Self Serve passed on this one

@QilongTang QilongTang merged commit 613adf2 into DynamoDS:master Sep 5, 2024
22 of 26 checks passed
@QilongTang
Copy link
Contributor

@ivaylo-matov Please cherry-pick this to RC3.3.0_master branch

@QilongTang
Copy link
Contributor

@ivaylo-matov @avidit I built latest master and the new controls did not work for me

@ivaylo-matov
Copy link
Contributor Author

ivaylo-matov commented Sep 11, 2024

@QilongTang , looks like the changes have not gone to master. Should I create a new PR?
... just saw JIRA, I'll have to make changes to anyway

@QilongTang
Copy link
Contributor

@QilongTang , looks like the changes have not gone to master. Should I create a new PR? ... just saw JIRA, I'll have to make changes to anyway

hi @ivaylo-matov So this change was merged to master branch last week after RC3.3.0_master branch was cut, please make your new changes to master branch and team will decide if we want to cherry-pick both this PR and your new PR to RC branch for the upcoming 3.3.0 release

@ivaylo-matov
Copy link
Contributor Author

Will do, thank you

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.

4 participants