workbench icon indicating copy to clipboard operation
workbench copied to clipboard

Multiple commands do not work

Open mdroidian opened this issue 2 years ago • 3 comments

Looks like commands from Command Palette Plus that call promptPathAndCallback break. from slack

eg:

  • Open Page in Sidebar (ops)
  • Move Block Commands
  • Send Commands
  • etc

The dialog shows up image

Then

Console Error

instrument.ts:132 Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Bg (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:372:1)
    at ff (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:321:126)
    at setValue (FormDialog.tsx:255:21)
    at AutocompleteInput.tsx:110:16
    at Gl (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:396:450)
    at main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:210:257
    at rh (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:279:286)
    at Kk (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:395:380)
    at Jg (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:377:257)
    at main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:280:14
    at main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:210:257
    at rh (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:279:286)
    at gi (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:279:468)
    at Sh (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:279:401)
    at Gl (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:397:143)
    at main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:210:257
    at rh (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:279:286)
    at Kk (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:395:380)
    at main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:395:284
    at h (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:205:79)
    at MessagePort.<anonymous> (main.js?__WB_REVISION__=a483756fb07b148177a1ff2101901681:208:334)

mdroidian avatar Jun 14 '23 22:06 mdroidian

ah this is related to the AutocompleteInput changes probable. Remind me tomorrow "on stream" so we could patch it then

dvargas92495 avatar Jun 15 '23 00:06 dvargas92495

I think this might be due to an older version of roamjs-components - I've upgraded the dependency, let's recheck whether or not this is an issue

dvargas92495 avatar Jun 16 '23 18:06 dvargas92495

As discussed, it looks like the page autocomplete is still an issue.

mdroidian avatar Jun 16 '23 21:06 mdroidian