stricklandrbls commented on code in PR #1564:
URL: https://github.com/apache/daffodil-vscode/pull/1564#discussion_r2692728900


##########
src/svelte/src/components/DataMetrics/DataMetrics.svelte:
##########
@@ -157,20 +157,27 @@ limitations under the License.
     })
   }
 
+  let lastProfileTarget: 'editor' | 'disk' | null = null
+  let lastRequestedTarget: 'editor' | 'disk' = 'editor'
   function requestSessionProfile(startOffset: number, length: number) {
+    lastRequestedTarget = profileTarget
     setStatusMessage(
       `Profiling bytes from ${startOffset} to ${startOffset + length}...`,

Review Comment:
   I would remove the `...` tail of the message. The status message indicates 
as if the profiler is currently loading something.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to