-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Small bug fixes #4444
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
Small bug fixes #4444
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
3083c71
Update dep
yakov116 8113505
Make `list-prs-for-file` faster
yakov116 2e6fb19
Make `default- branch-button` faster
yakov116 868ded5
Change `latest-tag-button` style
yakov116 187fa09
Move addAfterBranchSelector to its own file
yakov116 dccd621
Make `convert-release-to-draft` faster
yakov116 ca261b5
Lint
yakov116 c695dc9
Restore on-new-comments.ts
yakov116 e54f33f
some more
yakov116 b45b4bb
Fix `comment-time-machine-links` date check
yakov116 44a418c
Fix duplication in `show-whitespace`
yakov116 5e45759
o
yakov116 fb5d493
Update source/features/latest-tag-button.tsx
yakov116 e9ffcbb
Update source/features/list-prs-for-file.tsx
yakov116 1c2bde5
Update source/features/list-prs-for-file.tsx
yakov116 4d89d0f
Merge remote-tracking branch 'upstream/dep' into dep
yakov116 5dbbdad
await
yakov116 4c1f253
Remove outdated comment
yakov116 b078346
Correct `show-associated-branch-prs-on-fork` display text
yakov116 719dcbe
Fix console error in `clean-conversation-filters`
yakov116 ef26cac
Fix types
yakov116 7c5c2a0
dep
yakov116 9745099
Restore clean-conversation-filters.tsx
fregante 5e00403
Fix console error in `faster-pr-diff-options`
yakov116 8559f0f
Merge branch 'main' into dep
yakov116 e610260
Merge remote-tracking branch 'upstream/dep' into dep
yakov116 2e8bbec
Sort `show-associated-branch-prs-on-fork`
yakov116 d968a48
Exclude issue links in `mark-merge-commits-in-list`
yakov116 207f3f9
Revert "Restore clean-conversation-filters.tsx"
fregante cde5aca
Restore clean-conversation-filters.tsx
fregante ce1d4c6
Restore mark-merge-commits-in-list.tsx
fregante 79e0614
Restore show-associated-branch-prs-on-fork.tsx
fregante f954767
Restore comments-time-machine-links.tsx
fregante 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,27 @@ | ||
| import React from 'dom-chef'; | ||
| import select from 'select-dom'; | ||
| import elementReady from 'element-ready'; | ||
|
|
||
| import {wrapAll} from './dom-utils'; | ||
|
|
||
| export default async function addAfterBranchSelector(button: Element): Promise<void> { | ||
| button.classList.add('ml-2'); | ||
| const branchSelector = (await elementReady('#branch-select-menu', {waitForChildren: false}))!; | ||
| const branchSelectorWrapper = branchSelector.closest('.position-relative')!; | ||
| const breadcrumb = select('.breadcrumb'); | ||
| if (!breadcrumb) { | ||
| branchSelectorWrapper.after(button); | ||
| return; | ||
| } | ||
|
|
||
| branchSelectorWrapper.append(button); | ||
| if (branchSelector.classList.contains('rgh-wrapper-added')) { | ||
| return; | ||
| } | ||
|
|
||
| breadcrumb.classList.add('flex-shrink-0'); | ||
| breadcrumb.classList.remove('mt-3'); | ||
| branchSelector.classList.add('rgh-wrapper-added'); | ||
| branchSelectorWrapper.classList.add('d-flex', 'flex-shrink-0'); | ||
| wrapAll([branchSelectorWrapper, breadcrumb], <div className="d-flex flex-wrap flex-1 mr-2" style={{rowGap: '16px'}}/>); | ||
| } |
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
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.