from WebUI creation work memo

Put it on Github and deploy with Netlify.

  • Just follow the Netlify wizard
  • I put a badge on it.
  • image

What to do next

  • When I open it on my phone, I zoom in when the text is small.

    • Fixed.
    • image
    • I didnā€™t want to stretch only what the bot said, so I stretched it all out.
  • Add remarks with line breaks in text area

    • image
      • word-break: break-all; (since I am a Japanese user)
  • Hit the server with a new line in the text area.

  • Show response

    • At any rate, I made it return nop and was able to display it successfully.
    • image
  • Make it so that a new env object is created when the page is opened.

    • Requires env creation API
    • Create a new one and return ID
    • When I tweak a server, I want to try it out locally without deploying it every time. - Flask to HTTPS
      • Wasnā€™t necessary.
  • Itā€™s working.

    • local
      • image
    • server
      • image
  • Iā€™ve sorted out some of the more subtle expressions like local and server.

    • image
    • The above screener says he tried the TypeScript client both locally and remotely and it worked fine.
    • The latter is accessed from a smartphone, not a development PC.

What to do next

  • Allow logs to be displayed
    • Import into Regroup, put on Scrapbox, etc.
  • Make it testable
    • Maybe youā€™ll want to tinker with the internals a bit, but tinkering without testing is hell.
      • I want to tinker with it to make it into training data or to import it into Regroup.
  • Allow data accumulated in Firebase to be downloaded locally for analysis
  • We discussed which one to do. - Conversation Log 20210120
    • Log output in a form that can be imported into Regroup is important.

This page is auto-translated from /nishio/WebUIä½œęˆä½œę„­ćƒ”ćƒ¢1ę—„ē›® using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iā€™m very happy to spread my thought to non-Japanese readers.