Commit daaacb1
authored
feat: migrate response section to fluent UI v9 (#3473)
* feat: add new components for Monaco and response display in v9
* feat: implement Monaco v9 editor and enhance response display functionality
* feat: implement ResponseV9 component and update pivot items to use it
* feat: add OneNote and PDF content types, update response headers handling, and enhance response display components
* feat: add @microsoft/microsoft-graph-types dependency, update response handling, and improve type safety in graph request functions
* feat: update graph response handling to initialize headers and remove unused response headers in history item
* Use a Record to allow serialization of headers
* refactor: update response handling to use ResponseBody type and improve header processing
* feat: add CopyButtonV9 and ResponseHeadersV9 components, update component registry
* feat: introduce SnippetV9 and CopyButtonV9 components, update related imports and types
* feat: enhance MonacoV9 and SnippetsV9 components with extra information display and improved styling
* feat: add GraphToolkitV9 component and integrate it into pivot items
* refactor: remove unused styledGraphToolkit definition from GraphToolkitV9 component
* refactor: update adaptive cards lookup and improve error handling in adaptive card utilities
* refactor: clean up imports and reorganize state selection in AdaptiveCardV9 component
* WIP: back from leave
* refactor: Update imports and clean up code formatting in QueryResponse and App components
* refactor: Simplify QueryResponse component by returning GetPivotItems directly
* refactor: Restore GetPivotItems usage and reintroduce QueryResponse layout
* refactor: Introduce QueryResponseV9 component and update App to use it
* fix: update Permissions component props type to any
* refactor: improve layout and styling in QueryResponse and Monaco components
* feat: enhance PivotItemsDialog with new icons and improved styling
* refactor: enhance QueryResponseV9 styling with borders and padding
* refactor: clean up code formatting and improve layout in App and QueryResponse components
* add sidebar and main content resizing
* refactor: enhance layout styles in Layout component with improved spacing and sidebar styling
* refactor: improve layout and styling in Layout and QueryRunner components with enhanced responsiveness and state management
* refactor: update height styling in QueryResponseV9 and RequestV9 components for better layout consistency
* refactor: enhance layout and styling in Layout, QueryResponseV9, and RequestV9 components for improved structure and visual consistency
* refactor: update MonacoV9 component styling and remove unnecessary height prop in RequestBody for improved layout consistency
* refactor: improve layout and styling in response components for better visual consistency
* refactor: update MonacoV9 component to adjust editor height and improve code formatting
* refactor: reorganize imports and improve access token display in AuthV9 component
* refactor: adjust MonacoV9 component height handling and improve code readability in SnippetsV9
* refactor: enhance MonacoV9 component with theme support and clean up Layout component imports
* refactor: improve styling and structure in GraphToolkitV9 component for better readability and maintainability
* feat: update response layout and enhance message bar styling
* feat: implement layout resize handler and enhance sidebar functionality
* feat: enhance layout with sidebar resizing functionality and improved styles
* feat: refine sidebar behavior and layout styles for improved usability
* WIP: clean up App.tsx
* refactor: simplify App.tsx by removing unused ParsedMessageCode interface and commented-out code
* Provisional try-it view
* Handle mobile phone view
* Clean up App.tsx file
* Fix linting issues
* refactor: improve variable naming for clarity in ResourceExplorer component
* refactor: update ResourceExplorer styles and improve SidebarV9 component structure
* refactor: remove duplicate state declaration for showSidebarValue in SidebarV9 component
* refactor: adjust sidebar size to use percentage and improve responsiveness
* refactor: adjust sidebar size from 25% to 17% for improved layout responsiveness
* refactor: adjust dialog maxWidth to 40% and center content for improved layout
* refactor: set maxHeight to 50% in layout styles and adjust MonacoV9 height to 25rem for improved responsiveness
* refactor: set height of MonacoV9 to 25rem for improved layout
* refactor: remove unused height calculations and dispatch logic for cleaner code
* refactor: enhance snippet layout with styled containers and improved copy button positioning
* refactor: update AuthV9 styles for better text handling and remove unused height logic
* refactor: adjust layout heights and overflow properties for improved responsiveness
* refactor: replace section elements with divs in SidebarV9 and ResourceExplorer for consistency
* refactor: update sidebar flex basis for improved layout responsiveness
* refactor: update header format in iframe-message-parser tests for consistency
* refactor: remove unused main.go and Handle.tsx files to clean up the codebase
* refactor: extract layout styles into separate LayoutStyles.tsx file for better organization
* refactor: consolidate imports in LayoutStyles.tsx for improved clarity
* refactor: export SIDEBAR_SIZE_CSS_VAR from LayoutStyles.tsx for better accessibility
* feat: adjust layout heights and improve component structure
* fix: correct spelling of 'noreferrer' in rel attributes
* feat: enhance ResponseMessagesV9 component structure with MessageBarBody
* refactor: streamline QueryRunner and QueryInput components for improved readability and layout
* fix: update border colors in layout and snippet components for consistency
* feat: enhance QueryResponseV9 component with dismiss button and layout adjustments
* feat: restructure QueryResponseV9 component and adjust ResponseDisplayV9 height for improved layout
* add max-width to fill entire space
* Update typo1 parent 27aa2ca commit daaacb1
File tree
75 files changed
+3129
-1827
lines changed- .vscode
- public
- src
- app
- services
- actions
- slices
- utils
- views
- app-sections
- common
- copy-button
- dimensions
- lazy-loader/component-registry
- monaco
- util
- layout
- query-response
- adaptive-cards
- graph-toolkit
- headers
- pivot-items
- response
- snippets
- query-runner
- query-input
- request
- auth
- body
- permissions
- util
- sidebar
- history
- resource-explorer
- sample-queries
- messages
- telemetry
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
75 files changed
+3129
-1827
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | | - | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | | - | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | | - | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
85 | | - | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
91 | | - | |
| 91 | + | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
Lines changed: 21 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
8 | | - | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
110 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
| |||
191 | 195 | | |
192 | 196 | | |
193 | 197 | | |
194 | | - | |
| 198 | + | |
195 | 199 | | |
196 | 200 | | |
197 | 201 | | |
| |||
207 | 211 | | |
208 | 212 | | |
209 | 213 | | |
210 | | - | |
| 214 | + | |
| 215 | + | |
211 | 216 | | |
212 | 217 | | |
213 | 218 | | |
| |||
219 | 224 | | |
220 | 225 | | |
221 | 226 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
233 | 232 | | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
242 | 240 | | |
243 | 241 | | |
244 | 242 | | |
245 | | - | |
246 | | - | |
247 | | - | |
| 243 | + | |
| 244 | + | |
248 | 245 | | |
249 | 246 | | |
250 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | 106 | | |
108 | 107 | | |
109 | | - | |
| 108 | + | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| |||
0 commit comments