Git Product home page Git Product logo

app's People

Contributors

afirehong avatar kahosan avatar kainstar avatar liby avatar losses avatar mengdaoshizhongxinyang avatar microcber avatar nonzzz avatar nwylzw avatar rss1102 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

app's Issues

FR: Link resolver

Customize the jump of CMD/Ctrl + mouse click so that it supports jumping to a certain document, or display an Iframe-like space in ViewZone to display the content in the corresponding document.


自定义 CMD/Ctrl + 鼠标点击的跳转,使其支持跳转展示到某个文档,或者是在 ViewZone 中展示一个类似 Iframe 的空间展示对应文档中的内容。

Bug: Errors when run `yarn serve`

When run yarn serve, I get some errors in my terminal, but the url http://localhost:5174/app/ can be access normally.

Is there any additional operation need to do after install node_modules?

Logs

yarn run v1.22.19
$ vite
Adding plugin: ./core/src/plugins/urlCache.ts
Adding plugin: ./core/src/plugins/about/index.ts
Adding plugin: ./core/src/plugins/comment-queries/index.ts
Adding plugin: ./core/src/plugins/copilot/index.ts
Adding plugin: ./core/src/plugins/edit-utils/index.ts
Adding plugin: ./core/src/plugins/history-for-local/index.ts
Adding plugin: ./core/src/plugins/outputs/index.ts
Adding plugin: ./core/src/plugins/typescript/index.ts
Adding plugin: ./src/plugins/remove-left-toolbar-items.ts
Adding plugin: ./src/plugins/dock-mode-switcher/index.ts
Port 5173 is in use, trying another one...

  VITE v4.4.8  ready in 965 ms

  ➜  Local:   http://localhost:5174/app/
  ➜  Network: use --host to expose
  ➜  press h to show help
Error:   Failed to scan for dependencies from entries:
  /Users/zsk/code/github.com/Power-Playground/app/index.html
/Users/zsk/code/github.com/Power-Playground/app/eval-logs.html
/Users/zsk/code/github.com/Power-Playground/app/core/src/index.ts
/Users/zsk/code/github.com/Power-Playground/app/core/src/plugins/urlCache.ts
/Users/zsk/code/github.com/Power-Playground/app/core/src/plugins/about/index.ts
/Users/zsk/code/github.com/Power-Playground/app/core/src/plugins/comment-queries/index.ts
/Users/zsk/code/github.com/Power-Playground/app/core/src/plugins/copilot/index.ts
/Users/zsk/code/github.com/Power-Playground/app/core/src/plugins/edit-utils/index.ts
/Users/zsk/code/github.com/Power-Playground/app/core/src/plugins/history-for-local/index.ts
/Users/zsk/code/github.com/Power-Playground/app/core/src/plugins/outputs/index.ts
/Users/zsk/code/github.com/Power-Playground/app/core/src/plugins/typescript/index.ts
/Users/zsk/code/github.com/Power-Playground/app/src/plugins/remove-left-toolbar-items.ts
/Users/zsk/code/github.com/Power-Playground/app/src/plugins/dock-mode-switcher/index.ts

  ✘ [ERROR] Invalid glob import syntax: Could only use literals [plugin vite:dep-scan]

    node_modules/esbuild/lib/main.js:1434:21:
      1434 │         let result = await callback({
           ╵                      ^

    at err (file:///Users/zsk/code/github.com/Power-Playground/app/node_modules/vite/dist/node/chunks/dep-75f53616.js:40846:23)
    at validateLiteral (file:///Users/zsk/code/github.com/Power-Playground/app/node_modules/vite/dist/node/chunks/dep-75f53616.js:40907:23)
    at file:///Users/zsk/code/github.com/Power-Playground/app/node_modules/vite/dist/node/chunks/dep-75f53616.js:40916:13
    at Array.map (<anonymous>)
    at parseImportGlob (file:///Users/zsk/code/github.com/Power-Playground/app/node_modules/vite/dist/node/chunks/dep-75f53616.js:40842:27)
    at transformGlobImport (file:///Users/zsk/code/github.com/Power-Playground/app/node_modules/vite/dist/node/chunks/dep-75f53616.js:40960:27)
    at doTransformGlobImport (file:///Users/zsk/code/github.com/Power-Playground/app/node_modules/vite/dist/node/chunks/dep-75f53616.js:44490:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async file:///Users/zsk/code/github.com/Power-Playground/app/node_modules/vite/dist/node/chunks/dep-75f53616.js:44731:35
    at async requestCallbacks.on-load (/Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:1434:22)

  This error came from the "onLoad" callback registered here:

    node_modules/esbuild/lib/main.js:1292:20:
      1292 │       let promise = setup({
           ╵                     ^

    at setup (file:///Users/zsk/code/github.com/Power-Playground/app/node_modules/vite/dist/node/chunks/dep-75f53616.js:44718:19)
    at handlePlugins (/Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:1292:21)
    at buildOrContextImpl (/Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:978:5)
    at Object.buildOrContext (/Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:786:5)
    at /Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:2185:68
    at new Promise (<anonymous>)
    at Object.context (/Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:2185:27)
    at Object.context (/Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:2025:58)
    at prepareEsbuildScanner (file:///Users/zsk/code/github.com/Power-Playground/app/node_modules/vite/dist/node/chunks/dep-75f53616.js:44413:26)

  The plugin "vite:dep-scan" was triggered by this import

    src/init.ts:7:22:
      7 │ import configure from './configure'
        ╵                       ~~~~~~~~~~~~~


    at failureErrorWithLog (/Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:1649:15)
    at /Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:1058:25
    at runOnEndCallbacks (/Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:1484:45)
    at buildResponseToResult (/Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:1056:7)
    at /Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:1068:9
    at new Promise (<anonymous>)
    at requestCallbacks.on-end (/Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:1067:54)
    at handleRequest (/Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:729:19)
    at handleIncomingPacket (/Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:755:7)
    at Socket.readFromStdout (/Users/zsk/code/github.com/Power-Playground/app/node_modules/esbuild/lib/main.js:679:7)

Envs

System:
    OS: macOS 12.5
    CPU: (8) arm64 Apple M2
    Memory: 392.64 MB / 24.00 GB
    Shell: 5.8.1 - /bin/zsh
Binaries:
    Node: 18.16.0 - ~/Library/Caches/fnm_multishells/79657_1692950877120/bin/node
    Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/79657_1692950877120/bin/yarn
    npm: 9.5.1 - ~/Library/Caches/fnm_multishells/79657_1692950877120/bin/npm

FR: Support pnpm package management

环境

  • node: v18.16.1
  • pnpm: 8.6.12
  • system: macOS 13.5.2

问题描述

出现 The "workspaces" field in package.json is not supported by pnpm. Create a "pnpm-workspace.yaml" file instead. 警告提示
image

Bug: Unable execute code

Execute editor code failure when click execute button and keydown cmd + E for editor which is set language query in url.

image

FR: Better URL hash cache support

  • #code/PRA - A base64 and zipped version of the code which should live in the editor
  • #src=The%20code - URLEncoded way to have the code for the editor
  • #example/generic-functions - Grab the code from an example with the id generic-functions

0.1.0 Iteration plan

  • Configure: dotenv, props, loader, view, devtools console, ...
    • typescript compiler options
    • babel
    • init file system
    • CSS
    • DevTools
    • App
    • plugins
  • Plugins
    • Copilot
    • Auto import
    • Multiple files
    • History
    • Snippets
    • Examples
    • #29
  • editing experience
    • window control
    • Top operation bar
    • Bottom tips
    • devtools display control support
    • editor display control support
  • develop plugin experience
    • hmr support

FR: KeyMap Support

虽然该项目是一个相对轻量化的在线 IDE,但是在实际开发过程以及引入插件系统的情况。
我们需要考虑对用户快捷键的统一注册管理机制,解决可能存在的快捷键冲突、快捷键优先级、快捷键判定机制与提示。

  • Conflict
  • Priority
  • Trigger
  • Tooltip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.