-
Notifications
You must be signed in to change notification settings - Fork 327
File browser extensions #13048
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
mergify
merged 33 commits into
develop
from
wip/vitvakatu/file-browser-extensions-12004
May 22, 2025
Merged
File browser extensions #13048
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
779e7a5
Add file extension text input to file browser widget
vitvakatu 2c0ee04
Fix scrolling of file browser widget
vitvakatu 803d869
Adding SelectionSubmenu dropdown for file extension input
vitvakatu 831c583
Nested interactions
vitvakatu 3d67c81
Filtering file list
vitvakatu c96e14e
abstract nested selection menu API
vitvakatu f402d97
Fix dropdown interaction
vitvakatu 505a6c9
lib-facing API
vitvakatu 7410d8f
native file browser
vitvakatu 36da349
fix dynamic config format
vitvakatu 8847bfb
Config-based extensions list
vitvakatu d66a302
Rename fields of selection submenu entries
vitvakatu 19677ad
converting fileetensionentries
vitvakatu 03ab33a
Refactorings and fixes
vitvakatu a242d0b
Fix typecheck and unit test failure
vitvakatu 9780077
Update changelog
vitvakatu 7250674
Fixing behavior of the file extension filter
vitvakatu 47b21e3
Addressing minor review comments
vitvakatu 09c8da7
Move FileFilter type to enso-gui
vitvakatu 52b3028
simplify interaction handler implementation
vitvakatu cafcedc
remove unneeded fallthrough attributes
vitvakatu f3c368e
wip: Move file name bar to a separate component
vitvakatu 03879e8
Merge with develop
vitvakatu 2eb0b51
Merge with develop
vitvakatu fa46a50
Fixing remaining conflicts, integrating changes
vitvakatu 8121827
Avoid the need in nextTick when updating the contents of the input
vitvakatu 67ab864
Close file browser on accept
vitvakatu 8bcf335
Correct modal display, fix style for acceptance button
vitvakatu 1d7a949
Show file extension picker in read-mode file browser, fix empty
vitvakatu d42d43e
Remove comments about interactions handling order
vitvakatu f877718
regenerate engine docs
vitvakatu 7105d7b
Merge with develop
vitvakatu 6e38b1f
Merge with develop
vitvakatu 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
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
12 changes: 12 additions & 0 deletions
12
app/gui/src/project-view/components/ConditionalTeleport.vue
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,12 @@ | ||
<script setup lang="ts"> | ||
import { Opt } from '@/util/data/opt' | ||
|
||
const props = defineProps<{ target: Opt<HTMLElement> }>() | ||
</script> | ||
|
||
<template> | ||
<Teleport v-if="props.target" :to="props.target"> | ||
<slot /> | ||
</Teleport> | ||
<slot v-else /> | ||
</template> |
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
11 changes: 11 additions & 0 deletions
11
app/gui/src/project-view/components/GraphEditor/widgets/WidgetSelection/submenuEntry.ts
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,11 @@ | ||
import { DropdownEntry } from '@/components/widgets/DropdownWidget.vue' | ||
|
||
export interface SubmenuEntry<T> extends DropdownEntry { | ||
isNested: boolean | ||
get nestedValues(): T[] | ||
} | ||
|
||
/** Check if a {@link DropdownEntry} is a {@link SubmenuEntry}. */ | ||
export function isSubmenuEntry(entry: DropdownEntry): entry is SubmenuEntry<unknown> { | ||
return 'isNested' in entry && 'nestedValues' in entry | ||
} |
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.
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.
Uh oh!
There was an error while loading. Please reload this page.