Repository navigation
Home Page Model Selection and Multiple Tab Support - #416
Conversation
✅ Deploy Preview for harp-plugin canceled.
|
|
I've not thoroughly reviewed this PR, but here are some minor issues I noticed:
|
|
Thanks for the review! I changed the failed loading behavior, tag sizing, and URL state. I also agree that using the validation infrastructure to determine valid models is a good idea, so I can connect this to the validation infrastructure once #432 is merged. |
|
Hello! I think it looks great! Went through the code and tried some models and everything seems to work! Here are some notes for in ModelSelectionWidget.h; all optional and would love to hear your thoughts.
|
|
sorry accidentally closed it |
|
|
||
| /** | ||
| * Create callbacks for and launch the custom path popup. | ||
| * Create caollbacks for and launch the custom path popup. |
Thanks for the review! Yes, those cleanups sound good! |
There was a problem hiding this comment.
Hey!
Left a request changes after building and testing locally. I found a few issues, most notably 2 crash/hang scenarios which I think need to be sorted before merging. Details are below:
-
Crashes when retrying a failed Process
Repro:
-Load a model that errors out during Process (I did Demucs while the space was asleep)
-Hit Process and dismiss the error popup
-Hit Process again and dismiss the error popup
-App crashes -
App hangs after closing a tab mid-request
Repro:
- Start processing any model
- Close tab out while processing
- Loading a new model gets stuck on "Model: Querying Controls" permanently (sometime the 1 after that too)
- Tutorial UI cases
- steps that are supposed to switch tabs don't, so the UI looks frozen
- Media Clipboard step doesn't highlight anything even though it says so
- Interface Summary highlights the wrong region
- Spam clicking Next creates multiple duplicate model tabs
- finishing/closing the tutorial while on the model tab leaves that tab blank
…#416 review) (#440) * Fix crash and app-hang when closing a tab or quitting mid-request Closing a tab (or quitting the app) while it had an in-flight network request could force-kill a blocked worker thread, corrupting shared networking state and hanging all future model loads. Adds local connection cancellation (RequestRegistry) and defers tab destruction until any in-flight request has actually settled. Found while reviewing PR #416. * Fix six tutorial UI bugs (stuck steps, missing highlights, duplicate tabs, blank tab on finish) - Tutorial steps checked the wrong tab accessor, causing it to appear frozen and never advance - Media Clipboard/Interface Summary steps failed to highlight anything - Interface Summary painted a stray box from an unrelated empty-rect bug - Spam-clicking Next created duplicate tabs (no in-flight-load guard) - Finishing the tutorial reset the auto-loaded tab instead of closing it, leaving it permanently blank Found while reviewing PR #416.
VedMistry42
left a comment
There was a problem hiding this comment.
Opened & merged #440 into this branch addressing the bugs stated previously (Crash on retrying a failed Process, App hang/crash on closing a tab or quitting mid-request, & Tutorial UI cases)
Fixed merge conflicts related to viewport, tutorial, model paths, and new errors / conventions.
Home Page & Tutorial Refactoring
…arge instruction panel contents, added persistent model card information after loading, and updated authors in headers based on git blame.
First Draft of MultiTabs in HARP. Add tab button is in top right corner. Will be moved.