Skip to content

Commit

Permalink
fix: update file extension list and update mynah to consume minor ui …
Browse files Browse the repository at this point in the history
…fixes (aws#5435)

### Problem
- Some file types in the file extension list are compiled files, which are irrelevant to use for CodeGen or other purposes.
- fixes mynah ui issues:
       - Command selection fails when switching focus or copy pasting a prompt mynah-ui#87
       - VsCode tab scrollbar shrinks height of tabs mynah-ui#90

### Solution
- Update mynah-ui to consume minor bug fixes
- fix: prompt quick action handling edge cases mynah-ui#88
- fix: header in card not wrapping mynah-ui#91
- Update file extension allow list to remove compiled file & add a few file types
  • Loading branch information
willyyhuang authored Aug 9, 2024
1 parent fc017b0 commit 0d49535
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "Bug Fix",
"description": "Q feature dev: update file extension list and minor UI fixes"
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4112,7 +4112,7 @@
"@aws-sdk/property-provider": "3.46.0",
"@aws-sdk/smithy-client": "^3.46.0",
"@aws-sdk/util-arn-parser": "^3.46.0",
"@aws/mynah-ui": "^4.15.5",
"@aws/mynah-ui": "^4.15.6",
"@gerhobbelt/gitignore-parser": "^0.2.0-9",
"@iarna/toml": "^2.2.5",
"@smithy/middleware-retry": "^2.3.1",
Expand Down
6 changes: 2 additions & 4 deletions packages/core/src/shared/filetypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ export const codefileExtensions = new Set([
'.cfc',
'.cfm',
'.cjs',
'.class',
'.clj',
'.cljc',
'.cljs',
Expand All @@ -181,7 +180,6 @@ export const codefileExtensions = new Set([
'.dpr',
'.e',
'.el',
'.elc',
'.elm',
'.erl',
'.ex',
Expand Down Expand Up @@ -269,8 +267,6 @@ export const codefileExtensions = new Set([
'.psm1',
'.purs',
'.py',
'.pyc',
'.pyo',
'.pyw',
'.qs',
'.r',
Expand Down Expand Up @@ -306,6 +302,7 @@ export const codefileExtensions = new Set([
'.scd',
'.scm',
'.scss',
'.sass',
'.sh',
'.shen',
'.sig',
Expand Down Expand Up @@ -337,6 +334,7 @@ export const codefileExtensions = new Set([
'.xi',
'.xml',
'.yaml',
'.yml',
'.zig',
])

Expand Down

0 comments on commit 0d49535

Please sign in to comment.