Code Monkey home page Code Monkey logo

astro-repl's People

Contributors

drwpow avatar fredkschott avatar natemoo-re avatar okikio avatar rafidmuhymin 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

Watchers

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

astro-repl's Issues

404 error when going to play.astro.build

I know I'm not the most active so I may have missed something, but I was poking around and noticed going to https://play.astro.build/ gives me a 404: NOT_FOUND error:

404: NOT_FOUND
Code: DEPLOYMENT_NOT_FOUND
ID: cle1::2tjrt-1630717807343-6390f851331e

play.astro.build might be available. Click here to learn how to assign it to a project.

I'd post a screenshot but my PC is acting up at the moment so copy/paste is the best I can do for now :(

Dynamic "class" attribute causes error

Setting the class attribute to a dynamic value in the REPL causes an error.

<h1 class={"foo"}>Hello, Astro!</h1>

If Firefox I see Reference Error: astro is not defined and in Chrome I see Error: Expected ")" but found "astro"

In a local Astro project, it adds the class name as expected. Attributes other than "class" seem to work with dynamic values in the REPL.

Deprecation notice, archive

Given that this repo is not being maintained, and given that StackBlitz supports Astro, time to deprecate + archive?

As per https://discord.com/channels/830184174198718474/1030567593637064869/1032686184612245504
nate (he/him) said:

I'm not sure if we see a ton of value in getting astro.build/play back up and running when tools like StackBlitz have support for Astro now. That was built in a time where there weren't any other tools that could run Astro, so we needed our own to debug the AST.

jasikpark said:

maybe we can add a deprecation notice to the built site + archive the repo?

๐Ÿ› BUG: Astro.play cant import internal module

What version of astro are you using?

https://play.astro.build

What package manager are you using?

What operating system are you using?

Chrome Android

Describe the Bug

Screenshot_20220320-031559_Chrome

Link to Minimal Reproducible Example

https://astro.build/play#EQegDghg5gpgziACtGA6CcAuAnA9sALmABkBFAC1IFE4AxOAQQGMAJOAYSYYFcH2GA7tgDicAEIAmMQBViAaQYAvGABEAWsygMqYgG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nSMKg0giT5dAcchvrhiR3GcOBGP+9qdKoIMnFoCIoHIWH1HtAw6kQwQtOEJw-DEfQWFSTZnnIiJSDgbBOGsBk4E7AQWDCAk5GEFh7TCFwgXcbFaHYcxrB8HwmE7FJEFxcoxBs8pkLALwVEMOQTY0R4oFdYCGBcYhrDkFRECgEwHAYCRyD8WhHk2XB6sjrQtHYBzSFIbE5FoS7KvTKhfD8EryCaFgmGxARXULh1yGwJ9QrkR5yl3Ix3BcIaVAXIEqDkSXhEwKAIC5CQPIqMJrCBNCXAkc5PkECJni5PxMEQaQXBcMJdBsPhNlZiwJbEMJ0TgZ52B5OwxCjHxNj8T5FEeKsjB8TJHmIdEFkKXamEYiB77hdwIBkWndGsOYIO0hFASEUEwOoPhXSbFOrEBw7IGDAAADSgCYLgJoYBcB2BgHYTACB2DoMwdg3B6AsB4EICQCg1A6CMFYBwLgvB+BwlKKUUgcJe4CHYBAP6vB9ClGIApCI0IghwF8DJWgUBrC6DkC4FQLhnR2CMOwUgcgnCFEAmIKAwhvRwioOUCQpB4xeEQKUdgQQOitjEOQFg2AsznVwDYQ2WhEDBR8LQWGiBKJiE8kGLs2AIidi5NYWgGQmDyOAEAA

component filename increment problem and default import

  • component filename increment problem
    Step to reproduce:
  1. Add new component => shown component.astro
  2. Add new component => shown component1.astro
  3. delete component.astro
  4. create new component => shown component.astro
  5. create new component (โŒ user couldn't add new component)

screenshot:
astro pr

  • removing default import when add new component
    just thought that if we add default import syntax to Page.astro, it could be a problem in the future when user delete component.astro, import syntax is still there. my suggestion was keep user importing manually since the mental model from developer to just import when it's needed (this behavior is common in svelte repl)

๐Ÿ› BUG: Astro REPL stuck at spinner spinning in Firefox

What package manager are you using?

yarn

What operating system are you using?

Ubuntu

Describe the Bug

The Astro REPL is not working on Firefox (v93). The spinner is spinning forever without any output (not only preview but HTML and JS also). And the REPL is slower on Firefox compared to Chrome.

Steps to Reproduce

The REPL should output the results

Link to Minimal Reproducible Example (Optional)

https://astro.build/play

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.