This repository was archived by the owner on Sep 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Implement multiple file exclusion sets #7836
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
240f3a9
Support multiple file filters with a dropdown menu.
RaymondLim 0e73ef8
Adding the template for the filter dropdown menu.
RaymondLim e6ef41a
Switch to DropdownButton widget for filter picker.
RaymondLim 0c0c44d
Remove the unneeded template
RaymondLim 47cacb6
Remove unneeded whitespace.
RaymondLim 72e2c2d
Visual tweaks. The styling that affects other dropdown menu is the to…
larz0 ed0c537
Merge remote-tracking branch 'origin' into rlim/multi-exclusion-set
RaymondLim 748efac
Merge branch 'rlim/multi-exclusion-set' of https://github.com/adobe/b…
RaymondLim 4915301
Add no-focus class to the filter picker button and handle focus resto…
RaymondLim 99f3ede
Fix the vertical scroll bar showing up in CEF 1750 build by reducing …
RaymondLim f347c7f
Fixed some issues related to the index of the selected item or items …
RaymondLim 171d73a
Fix broken integration tests caused by switching to the new filter UI.
RaymondLim 42930a3
Some more integration tests for file filters UI.
RaymondLim aedbcba
Address lots of code review feedback and implement the check mark for…
RaymondLim 1954e31
Remove ViewUtils that is no longer needed.
RaymondLim ff6f068
Missed to include this file in previous commit.
RaymondLim 5665631
Replace DOM elements for filter list items with a template.
RaymondLim ba8bd1b
Making additional changes for second review feedback.
RaymondLim 1b957c4
Move the triggerHandler call into _renderList instead of calling it d…
RaymondLim 7d32194
Add JSDoc for listRendered event at the top of DropdownButton module.
RaymondLim 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
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,17 @@ | ||
| <div class="file-filter-dialog modal"> | ||
| <div class="modal-header"> | ||
| <h1 class="dialog-title">{{Strings.FILE_FILTER_DIALOG}}</h1> | ||
| </div> | ||
| <div class="modal-body"> | ||
| <div class="dialog-message"> | ||
| {{{instruction}}} | ||
| <textarea class="exclusions-editor"></textarea> | ||
| <input type="text" class="exclusions-name" placeholder="{{Strings.FILTER_NAME_PLACEHOLDER}}"> | ||
| <div class="exclusions-filecount">{{Strings.FILTER_COUNTING_FILES}}</div> | ||
| </div> | ||
| </div> | ||
| <div class="modal-footer"> | ||
| <button class="dialog-button btn" data-button-id="cancel">{{Strings.CANCEL}}</button> | ||
| <button class="dialog-button btn primary" data-button-id="ok">{{Strings.OK}}</button> | ||
| </div> | ||
| </div> |
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,4 @@ | ||
| <div class='filter-trash-icon'>×</div><!-- | ||
| --><span class='recent-filter-name'>{{{filter-name}}}</span><!-- | ||
| --><span class='recent-filter-patterns'>{{{filter-patterns}}}</span><!-- | ||
| --><span class='filter-edit-icon'></span> |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the contents of this could just be
$("a", listItems[index]).toggleClass("checked", checked);(there's no harm in trying to remove the class if it doesn't have it).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.