zyratlo commented on code in PR #7314:
URL: https://github.com/apache/texera/pull/7314#discussion_r3722927554


##########
frontend/src/app/workspace/component/notebook-import-modal/notebook-import-modal.component.html:
##########
@@ -0,0 +1,137 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<form
+  class="import-modal-form"
+  [formGroup]="importForm"
+  nz-form>
+  <div class="import-modal-diagram">
+    <img
+      ngSrc="assets/notebook_migration_tool/tool_popup_diagram.png"
+      alt="Notebook to Workflow"
+      width="1646"

Review Comment:
   fixed in 
[9211e36](https://github.com/apache/texera/pull/7314/commits/9211e368b5090019fea68cdcbcb3ed836fe8e7aa)



##########
frontend/src/app/workspace/component/notebook-import-modal/notebook-import-modal.component.html:
##########
@@ -0,0 +1,137 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<form
+  class="import-modal-form"
+  [formGroup]="importForm"
+  nz-form>
+  <div class="import-modal-diagram">
+    <img
+      ngSrc="assets/notebook_migration_tool/tool_popup_diagram.png"
+      alt="Notebook to Workflow"
+      width="1646"
+      height="479" />
+  </div>
+
+  <nz-alert
+    class="import-modal-warning"
+    nzType="warning"
+    nzShowIcon
+    nzMessage="Generating overwrites your current workflow; the previous 
version is kept in version history."></nz-alert>
+
+  <nz-form-item>
+    <p class="import-modal-text">
+      This tool converts a Python Jupyter Notebook into a Texera workflow 
using LLM capabilities. After you submit a
+      notebook, the LLM service will generate a corresponding Texera workflow. 
The conversion time depends on the
+      notebook’s complexity and can take 1–5 minutes. Once the process is 
complete, the workflow workspace will reload
+      with:
+    </p>
+    <ol class="import-modal-list">
+      <li>
+        The generated workflow ready to use (Note: you will still need to 
upload the dataset and connect it to the
+        workflow).
+      </li>
+      <li>A floating Jupyter window containing the uploaded notebook for 
reference.</li>
+    </ol>
+    <p class="import-modal-text">
+      Feel free to navigate away from this tab while you wait for the workflow 
to generate. Please do not close the
+      window.
+    </p>
+  </nz-form-item>
+
+  <nz-form-item>
+    <nz-form-label [nzNoColon]="true">
+      <span class="import-modal-label"> Upload Python Jupyter Notebook </span>
+    </nz-form-label>
+    <nz-form-control>
+      <div class="import-modal-upload-row">
+        <nz-upload

Review Comment:
   fixed in 
[57b89cb](https://github.com/apache/texera/pull/7314/commits/57b89cb715368380cd70ffb56f46e221e170e8dd)



-- 
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