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

Sd 805 improve diff comment #32

Merged
merged 5 commits into from
Oct 24, 2024
Merged

Sd 805 improve diff comment #32

merged 5 commits into from
Oct 24, 2024

Conversation

Oded-B
Copy link
Collaborator

@Oded-B Oded-B commented Oct 23, 2024

Description

Avoid displaying the "Sync from PR Branch" checkbox for new applications and use native markdown "alerts".

  • Create a new function to check if all application in a PR are new.
  • Write tests for new function
  • Rename HasSyncableComponents to DisplaySyncBranchCheckBox to better match its new usage.
  • Switch from Emoji based annotation to GH markdown "alerts"

Please provide a meaningful description of what this change will do, or is for. Bonus points for including links to related issues, other PRs, or technical references.

Note that by not including a description, you are asking reviewers to do extra work to understand the context of this change, which may lead to your PR taking much longer to review, or result in it not being reviewed at all.

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

…ons.

match its new usage
* Create a new function to check if all application in a PR are new.
* Write tests for new function
* Rename HasSyncableComponents to DisplaySyncBranchCheckBox to better
*  The happy path is left-aligned
* Break label rename
* Function Doc format
* Un-nest two if statement
@Oded-B Oded-B requested a review from yzdann October 24, 2024 08:11
Just return true when a relevant app is found
@Oded-B Oded-B merged commit 81093e4 into main Oct 24, 2024
5 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.

3 participants