Commit Graph

1223 Commits

Author SHA1 Message Date
vincanger
681692cc77
Update web/docs/data-model/backends.md
Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2023-10-16 10:51:55 +02:00
vincanger
144523eaae fix naming post title 2023-10-13 16:05:50 +02:00
vincanger
847cf7ffdb Update README.md 2023-10-13 15:15:22 +02:00
vincanger
8fd00bf0cf Update backends.md 2023-10-13 15:06:18 +02:00
vincanger
e3a8e4ee4e Update backends.md 2023-10-13 15:04:47 +02:00
vincanger
b301a51261 make names more descriptive 2023-10-13 11:04:26 +02:00
vincanger
166d4bc779 add websockets example app 2023-10-13 10:50:29 +02:00
Martin Sosic
1fefc3198d Added 'On Importance of Naming in Programming' blog post. 2023-10-12 14:24:29 +02:00
Gleb Mirzayev
1551131d1a
docs: remove mentions of logoUrl (#1473)
* 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>
2023-10-05 14:45:27 +02:00
vincanger
0db972dcb1
add lucas blog (#1471) 2023-10-04 17:36:56 +02:00
Chris Clark
556096b93e
Update 01-create.md (#1450) 2023-09-28 12:44:48 +02:00
Chris Clark
18a53492b5
Update backends.md (#1451) 2023-09-28 12:44:37 +02:00
vincanger
51c9704b82
add memerator post (#1449) 2023-09-17 14:29:18 +02:00
Mihovil Ilakovac
20eb9e007a
Bumps Wasp version (#1448) 2023-09-16 00:43:46 +02:00
Mihovil Ilakovac
b9ba6fbaa4
Fixes Auth UI (#1447) 2023-09-16 00:13:37 +02:00
Mihovil Ilakovac
99c9021f82
Signup Customisation [RFC] (#1395) 2023-09-12 13:19:47 +02:00
Mihovil Ilakovac
cb88dfc618
Adding support for Postgres Extensions (#1443) 2023-09-12 13:03:57 +02:00
Martin Šošić
ed3be9ca1a
Update README.md with info about installing LLVM on Mac to build wasp 2023-09-10 15:12:31 +02:00
Mihovil Ilakovac
092ff2acaf
Type safe async jobs (#1400) 2023-09-07 16:32:55 +02:00
Martin Sosic
0183d9cbf2 Fixed e2e tests that I messed up when adding comments to app.js. 2023-09-07 14:42:36 +02:00
Martin Šošić
7da0aae3e9
Added a comment to app.js about default express error handler behaviour. 2023-09-06 17:18:21 +02:00
Mihovil Ilakovac
d30fd1cfb2
Twitter Cover Image (#1434) 2023-09-04 13:43:19 +02:00
Martin Šošić
179ec45aa9
Updated default .gitignore for new Wasp project to be more robust regarding .env files (#1425) 2023-08-31 15:50:17 +02:00
Mihovil Ilakovac
6b77b673a6
Fixes a types export issue (#1421) 2023-08-31 11:56:20 +02:00
Mihovil Ilakovac
66a04a07ce
Updates tutorial link in templates (#1423) 2023-08-31 10:26:41 +02:00
Boris Martinovic
b6a10dd0ff
Added new redirect (#1422) 2023-08-31 09:32:20 +02:00
Mihovil Ilakovac
84f425a594 Merge branch 'release' 2023-08-30 18:23:28 +02:00
Mihovil Ilakovac
792c014551
Implement type safe links (#1235) 2023-08-30 14:40:17 +02:00
Filip Sodić
91fd49ae7a Fix small issue in docs 2023-08-28 10:59:35 +02:00
vincanger
bcea4dedc5
add PRD post (#1403) 2023-08-23 12:31:05 +02:00
Craig McIlwrath
60233dcbcc
Restructures docs (#1333)
Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
Co-authored-by: Filip Sodić <filip.sodic@gmail.com>
Co-authored-by: Filip Sodić <filip.sodic@fer.hr>
2023-08-11 16:47:49 +02:00
Mihovil Ilakovac
89ea9efbf2 Merge branch 'release' 2023-08-11 14:27:57 +02:00
Craig McIlwrath
0f9726b7a1
[waspls] use the wasp project root instead of the workspace root (#1393)
* 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
2023-08-11 08:18:37 -04:00
Craig McIlwrath
d12b403e7d
[waspls] improves LSP scaffolding (#1381)
* 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
2023-08-10 10:01:20 -04:00
Filip Sodić
a076e9a67a
Add install command to run script (#1385) 2023-08-10 11:22:38 +02:00
Mihovil Ilakovac
b34ab5dc8b
Fixes .env.client copying (#1391) 2023-08-10 11:20:33 +02:00
vincanger
c93f645144
change banner (#1389) 2023-08-09 12:56:42 +02:00
Mihovil Ilakovac
ea799ab9bd Merge branch 'release' 2023-08-09 12:15:43 +02:00
vincanger
f8df0932bd
[BLOG] build voting app websockets (#1388)
* add websockets blogpost

* title change

* Delete please.gif
2023-08-09 10:47:46 +02:00
vincanger
b1e7fcecdb
smol vs wasp ai blogpost (#1382) 2023-08-01 13:25:03 +02:00
vincanger
92e83ef3b1
[DOCS] fix auth args for js too (#1377)
* fix auth args

* fix js args too
2023-07-31 10:30:08 +02:00
vincanger
cc2b13ade2
fix auth args (#1376) 2023-07-31 10:23:53 +02:00
Craig McIlwrath
ea70a8e4bb
[waspls] fix client directory module resolution (#1372)
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.
2023-07-28 10:49:09 -04:00
Mihovil Ilakovac
7c09e3964b
Updates LSP templates (#1375) 2023-07-28 10:33:04 +02:00
Craig McIlwrath
76d9fc4213
[waspls] Add code actions for scaffolding external code (#1316)
When an external import tries to import a symbol from a TypeScript/JavaScript file, waspls now offers quickfix code actions to scaffold a function in that file.

It uses the surrounding context of the external import to determine what code to write for the code action. See [`ScaffoldTsSymbol.hs`](457911d5e9/waspc/waspls/src/Wasp/LSP/Commands/ScaffoldTsSymbol.hs) for a detailed description of how it works. At a high level, there is a `templateForFile` function in `Wasp.LSP.Commands.ScaffoldTsSymbol` that selects the correct template from `data/lsp/templates/ts`. For example, `action.fn.ts` contains a template for scaffolding an `action` function in a TypeScript file and would be used when a code action is requested with the cursor at the location marked by `|`:

```wasp
action createTask {
  fn: import { createTask } from "@server/actions.js"|
}
```

The scaffold action runs as a [LSP command](https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#workspace_executeCommand). To prepare for wanting to define more commands in waspls in the future, this PR also introduces the concept of `Commands` (`Wasp.LSP.Commands.Command`) that define some properties about each command waspls wants to handle.
2023-07-26 08:00:16 -04:00
Mihovil Ilakovac
60653fb835
Add Custom Domain docs (#1336) 2023-07-21 17:08:12 +02:00
Martin Sosic
1e8717e621 Added link to technical blog post for Generator from main post. 2023-07-21 15:55:53 +02:00
Mihovil Ilakovac
c6c2d00032
[docs] Point the page edit to release branch (#1335)
* Point the page edit to release branch

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>

* Fixes the blog edit URL

---------

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2023-07-21 13:50:26 +02:00
Mihovil Ilakovac
3e481eba04 Merge branch 'release' 2023-07-21 12:06:30 +02:00
Craig McIlwrath
4da36535ca
[docs] removes type annotation in JS code in the tutorial (#1329) 2023-07-19 09:01:01 -04:00