Commit Graph

86 Commits

Author SHA1 Message Date
Emmanuel Aiyenigba
e3ce6d6776
update getting started page (#770)
* update getting started page

* update getting started page

* latest-update

* latest

Co-authored-by: Filip Sodić <filip.sodic@gmail.com>
2022-10-19 12:58:28 +02:00
Steven Garcia
76e1cf026f
Update documentation for the signup action (#757)
* Update documentation for signup()

* Update wording based on feedback

Co-authored-by: sgarcia <sgarcia@pop-os.localdomain>
2022-10-14 16:10:51 +02:00
Shayne Czyzewski
8fc6fd1836
Adds support for Dockerfile customization (#732) 2022-10-13 12:46:07 -04:00
Shayne Czyzewski
a84f3547fa
Fixes login issue for uppercase usernames (#751) 2022-10-13 12:04:45 -04:00
Shah
4020295740
Make blog intro / CTA visually distinguishable (#748)
* Add class to paragraph containing CTA

Add class to the paragraph containing CTA elements. The class is used to target the container paragraph element to create a box to distinguish CTA section from the content.

* Add css properties for paragraphy containing CTA

Added css properties for paragraph element to create a box around the CTA, centering the text and providing padding.

* Add media query for CTA box

Add media query for CTA box for small screens to prevent individual CTA from breaking. Each CTA appears on an individual line and look clean. CTA dividers are not shown on small screens.
2022-10-12 11:54:29 +02:00
Peter Reshetin
3f63340fc1
feat: separate env vars for server and client (#683) 2022-10-06 12:51:28 +02:00
Martin Sosic
f637dd206f Merge branch 'release' 2022-09-29 12:00:15 +02:00
Martin Sosic
c6eaabc09a Bit of clarification on Haskell in 2022 blog post. 2022-09-29 11:00:52 +02:00
Filip Sodić
fbf6de0d4d
Fix flickering UI in optimistic updates (#668)
* Fix query cache key generation issue

* Make waspc/todoApp return tasks in consistent order

* Implement basic support for optimistic updates

* Fix query cache key generation issue again

* Add action counter to prevent flickering updates

* Add remove todo to action counter

* Count only optimistically updated cache keys

* Make waspc/todoApp return tasks in consistent order

(cherry picked from commit 57606c74e4)

* Reduce duplication in frontend actions and queries

* Fix formatting

* Fix optimistic updates after merge

* Experimenting

* Hash queries before counting

* Rename parameters in counter

* Add task done toggling to task page

* Fixes after merge

* Fix wrong condition in example todo app

* Simplify counter with react-query's internal hash

* Remove console log and add notes

* Clear up some todos and tidy up

* Fix formatting

* Remove leftover todo

* Fix a bug that caused double action calls

* Simplify query key hashing function

* Revert accidental blog changes

* Revert accidental blog changes

* Apply optimistic updates on each query response

* Clean up code for optimistic updates

* Clean up more code for optimistic updates

* Remove redundant optimistic update tuple list

* Rename query to queryKey

* Return previous data from onMutate

* Move counter into the constructor function

* Move updatesHandler into the constructor function

* Remove debug logs from optimisticUpdatesMap

* Rename and refactor optimistic updates

* Fix typo in comments

* Remove the option to directly specify query key

* Remove flickering fixes for optimistic updates

* Add optimistic updates to Task.js

* First round of code review feedback

* Remove react query's additional options from hook

* Futher review feedback and code docs

* Fix and document error handling for optimistic updates

* Fix formatting and remove comment

* Further document optimistic update mechanisms

* Fix memory leak in updates handler map

* Update optimistic update docs

* Improve comment for useAction

* Further improve comments in actions/index

* Heavily comment actions/index

* Fix capitalization in action/index

* Add types to actions/index

* Fix jsdoc types in actions/index

* Comment testing sleeps

* Comment sleep function in todoApp/ext/actions

* Properly handle type errors in actions/index

* Fix formatting in actions/index

* Rename an argument in actions/index

* Move updateFn change to optimistic update instantiation

* Extract common functionality in actions/index

* Reuse common functionality for optimistic updates

* Fix formatting in actions/index

* Comment the internal action mechanism

* Add jsdoc types to actions/index

* Revise jsdoc in actions/index

* Document makeOptimisticUpdateMutationFn

* Add updateQuery constraints

* Address PR comments

* Update e2e tests

* Mention optimistic updates in cache invalidation

* Further elaborate updateQuery constraints

* Update e2e tests
2022-09-22 00:17:00 +02:00
Filip Sodić
4a94c9851e
Implement optimistic updates
* Remove flickering fixes for optimistic updates

* Add optimistic updates to Task.js

* First round of code review feedback

* Remove react query's additional options from hook

* Futher review feedback and code docs

* Fix and document error handling for optimistic updates

* Further document optimistic update mechanisms

* Update optimistic update docs

* Improve comment for useAction

* Further improve comments in actions/index

* Heavily comment actions/index

* Fix capitalization in action/index

* Add types to actions/index

* Fix jsdoc types in actions/index

* Comment testing sleeps

* Comment sleep function in todoApp/ext/actions

* Properly handle type errors in actions/index

* Fix formatting in actions/index

* Move updateFn change to optimistic update instantiation

* Extract common functionality in actions/index

* Fix formatting in actions/index

* Add jsdoc types to actions/index

* Revise jsdoc in actions/index

* Address PR comments

* Update e2e tests

* Mention optimistic updates in cache invalidation
2022-09-21 17:40:06 +02:00
Shayne Czyzewski
1a7a04b87c
Updates React to 17, plus some other minor version updates (#720) 2022-09-16 09:55:26 -04:00
Max Khamrovskyi
4b7b75636c
Blog post update (#725)
* Add an image to the excuses blog post

* Add image

Co-authored-by: mkhamrov <mkhamrov@redhat.com>
2022-09-15 11:20:08 +03:00
Max Khamrovskyi
c2705c82cd
Update article title and add credits for a meme (#722)
Co-authored-by: mkhamrov <mkhamrov@redhat.com>
2022-09-13 14:38:51 +03:00
Vasili Shynkarenka
92fe532786
Merge pull request #711 from wasp-lang/martin-haskell-post
Added Martin's Haskell post
2022-09-07 10:17:11 +01:00
Shayne Czyzewski
6cd38b0f94
Adds Google as an authentication method (#669) 2022-09-06 14:35:59 -04:00
flreln
cf5a4d8493 added martin's haskell post 2022-09-06 17:43:19 +02:00
Max Khamrovskyi
dd1dd42c36
Add dev excuse blog post (#714)
* Add dev excuse blog post

* Change the release date

* Add additional links and image refactoring

Co-authored-by: mkhamrov <mkhamrov@redhat.com>
2022-09-05 19:55:38 +03:00
Matija Sosic
ee7c6a2c2b
added shayne's haskell learning post and imagery (#706)
Co-authored-by: flreln <flreln@192.168.1.198>
2022-08-26 12:50:21 +02:00
Shayne Czyzewski
bc92b024e1
Renames auth method EmailAndPassword to UsernameAndPassword (#696) 2022-08-24 10:32:46 -04:00
Shayne Czyzewski
d827d05d96
Jobs callback function updates (#676) 2022-08-17 13:53:05 -04:00
Shayne Czyzewski
f06e9894a9
[docs] Updates READMEs with new branching and merging model (#695)
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-08-17 11:42:32 -04:00
Vasili Shynkarenka
ae5d539bbf
Added "why join a startup" blog post
Co-authored-by: flreln <flreln@Vasilis-MacBook-Pro.local>
2022-08-15 19:38:06 +02:00
h4r1337
0de9997198
[docs] Updates todo app docs (#677)
* Changed HttpError from 403 to 401
2022-07-26 14:04:06 -04:00
Matija Sosic
1c3fae78f3 updated ml code gen blog post. 2022-07-14 12:52:11 +02:00
Matija Sosic
340a117416 updated copilot blog title. 2022-07-12 18:37:37 +02:00
Shayne Czyzewski
d5a9039722
Work around versioned package NPM bug (#661) 2022-07-07 10:37:48 -04:00
Matija Sosic
f945307e9e small blog fix. 2022-07-05 11:01:58 +02:00
Matija Sosic
553e748240
Added post about ML code generation vs coding by hand. (#654) 2022-07-05 10:09:05 +02:00
Hannah Vivian Shaw
0c3db966c0
Minor grammar and spelling fixes in docs (#662)
* Minor spelling/grammar fixes in getting-started.md

* minor grammar/spelling fixes in new project

* minor spelling/grammar fixes in task-entity.md

* minor spelling/grammar fixes to listing-tasks.md

* minor spelling/grammar fixes in creating-tasks.md

* minor spelling/grammar fixes in updating-tasks.md

* corrections to auth.md

* minor fixes to dependencies.md

* fixes to the-end.md

* fix link

* typo
2022-07-04 10:44:15 +02:00
mkhamrov
342b089adc Add google analytics 2022-06-29 17:31:28 +03:00
Martin Šošić
ec032e74e6
Touched-up deployment and related instructions. (#651) 2022-06-28 13:54:55 +02:00
Shayne Czyzewski
11da82705d
[docs] Added note to deployment docs for Apple M1 users (#652) 2022-06-28 07:42:07 -04:00
Shayne Czyzewski
110864fe7e
Add Jobs feature blog post (#636) 2022-06-23 14:10:38 -04:00
Martin Šošić
62f0a76937
Limited Wasp version to ^16.0.0 && <=16.15.0 (#634)
* Limited Wasp node version to ^16.0.0 && <=16.15.0.

In the process, I removed .nvmrc files from generated code and
refactored SemanticVersion to follow npm spec.
I also updated CI to use node 16.15.0, and not any 16.
I also updated docs.
2022-06-17 17:02:54 +02:00
Max Khamrovskyi
f83b9cd152
Merge pull request #627 from wasp-lang/change-alpha-testing-link
Change Alpha-testing link to Typeform
2022-06-09 12:54:04 +03:00
Filip Sodić
0b78f658be
Implement support for query client configuration (#612)
* Implement support for query client configuration

* Make sure query client is always initialized

* Fix formatting

* Fix formatting

* Add missing await in index.js

* Separate query client setup into two functions

* Introduce default query client config

* Fix missing export in docs

* Fix missing field warnings

* Add query client setup docs

* Update e2e tests for query client config
2022-06-09 10:37:19 +02:00
Filip Sodić
b19e95ea51
Filip intro blog post (#625)
* Add first draft of blog post

* Finish article

* finalized filip intro post - added intro + rm martijn post.

* Update web/blog/2022-05-31-filip-intro.md

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update web/blog/2022-05-31-filip-intro.md

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update web/blog/2022-05-31-filip-intro.md

Co-authored-by: Matija Sosic <matija.sosic@gmail.com>

* Make final edits to the intro blog post

Co-authored-by: Matija Sosic <matija.sosic@gmail.com>
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-06-08 16:20:11 +02:00
Max Khamrovskyi
cb28db8a1b
Change Alpha-testing link to Typeform 2022-06-08 16:13:21 +03:00
mkhamrov
fc780d6b74 Add truncate 2022-06-07 15:56:11 +03:00
Max Khamrovskyi
1e73936704
Merge pull request #613 from wasp-lang/add_gitpod_post
Add Gitpod hackathon guide
2022-06-07 15:14:15 +03:00
mkhamrov
5f8bd3aabe Add intro image 2022-06-07 14:54:24 +03:00
mkhamrov
009f26eba1 Merge branch 'add_gitpod_post' of github.com:wasp-lang/wasp into add_gitpod_post 2022-06-07 14:18:18 +03:00
mkhamrov
d1f54d98e8 Fix image description and personal banner 2022-06-07 14:18:14 +03:00
Modotte
98afb79999
Fix level of headers in deployment docs (#622) 2022-06-07 11:59:21 +02:00
Max Khamrovskyi
faf972b11a
Add bit.ly link 2022-06-06 11:22:45 +03:00
mkhamrov
efb7946cd9 Update alpha-testing program link and add WaspIntro 2022-06-05 18:31:49 +03:00
mkhamrov
3920ecd269 Add Gitpod hackathon guide 2022-06-01 16:58:21 +03:00
Shayne Czyzewski
1721371fc7
Updates Waspleau with Jobs and some documentation updates (#600) 2022-05-25 12:55:54 -04:00
Filip Sodić
59c714111e
Support for the client setup function (#595)
* Add clientSetup support to analyzer and tidy up generator

* Add clientSetup support to generator

* Add tests for client setup function and tidy up

* Address PR comments for client setup function

* Clean up server and web app generators

* Document react query invalidation on logout

* Update e2e tests after query client cache clean

* Fix syntax error in exmaple app

* Remove leftover todos

* Fix formatting

* Fix formatting

* Fix tests for client setup function

* Update e2e test

* Fix todos in templates

* Add docs for client setup

* Fix docs typo

* Fix docs typo

* Fix docs typo

* Fix docs typo

* Update e2e test
2022-05-20 14:49:26 +02:00
Shayne Czyzewski
4de7d16331
Adds cron support to pg-boss Jobs and documentation (#586) 2022-05-13 12:30:55 -04:00