* Add streaming text example
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
* Updated diagram to be visible on dark mode (#1456)
Added white background so the diagram in docs is visible also in dark background.
* Update .gitattributes to not look at haskell files
* docs: remove mentions of logoUrl
---------
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
Co-authored-by: Boris Martinovic <boris@martinovic.dev>
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
* calculate project root via location of .wasp file
previously, waspls used workspace root, which was incorrect if you opened a
workspace larger than the wasp project.
this does not add support for multi-project workspaces.
* update changelog with waspls scaffolding info
* create directories when scaffolding, if needed
* refresh export cache after scaffolding
* better process for ensuring a blank line between old code and new scaffolded code
Previously, waspls incorrectly thought that importing `@client/file.jsx` could be referencing the file `src/client/file.tsx`. But this JS/TS "merging" is only correct on the server (for reasons that are not explained by the TS documentation on module resolution). This commit fixes that by requiring exact matches for external imports beginning with `@client`.
This incorrect behavior manifested as several different bugs:
- Not reporting missing `.jsx` files when a `.tsx` file with the same name exists.
- Go-to definition going to the `.tsx` file instead of the `.jsx` file when the external import ends in `.jsx`.
- Scaffold actions suggestions scaffolding in both the `.jsx` and `.tsx`files.
This commit fixes all of these buggy behaviors.