Commit Graph

987 Commits

Author SHA1 Message Date
Maciej Jastrzębski 19c4db81ef feat: add more opps 2024-07-16 12:52:35 +02:00
Maciej Jastrzębski 31a1d17ef1 chore: Zustand wip 2024-07-16 11:31:36 +02:00
Steve Galili 2f4568a29b chore: revamp the cookbook app (#1635)
* create a Jotai examples dir in cookbook with related utils, add state management recipes dir

* add docs with examples

* extract state from component to state, utils, simplify types and custom render func.

* refactor: tweaks & cleanup

* make cookbook app runnable

* update yarn.lock file

* fix TS issue and spelling

* remove duplicate files and adjust testMatch in config to ensure no utils test run

---------

Co-authored-by: stevegalili <steve.galili@mywheels.nl>

refactor: tweak cookbook (#1636)

* refactor: move files around

* refactor: simplify

* chore: remove custom fonts

* chore: tweak eslint

* chore: update yarn.lock
2024-07-16 11:23:36 +02:00
Steve Galili d31c05aee3 docs: add jotai to cookbook (#1634)
* create a Jotai examples dir in cookbook with related utils, add state management recipes dir

* add docs with examples

* extract state from component to state, utils, simplify types and custom render func.

* refactor: tweaks & cleanup

---------

Co-authored-by: stevegalili <steve.galili@mywheels.nl>
Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com>
2024-07-12 14:39:24 +02:00
Maciej Jastrzebski 01d319c577 docs: async tests [Cookbook] (#1631)
* wip: async tests

* docs: tweaks

* docs: final tweaks
2024-06-21 10:13:01 +02:00
Maciej Jastrzebski 723c8e2c04 docs: basic cookbook docs and app (#1622)
* docs: basic cookbook docs and app

* chore: add tests

* chore: enable example apps

* chore: fix typecheck

* chore: add lint & fix issues

* docs: tweaks

* docs: tweaks

* docs: tweaks

* chore: tweaks
2024-05-28 12:24:05 +02:00
Maciej Jastrzebski e418b6b5bf chore: enable test example apps workflow (#1623) 2024-05-27 22:58:08 +02:00
Maciej Jastrzebski 64e1e32737 docs: fix readme (#1620)
* docs: fix readme

* docs: tweak home page
2024-05-24 19:22:30 +02:00
Maciej Jastrzebski e8b800b62d chore: fix owl logo (#1619) 2024-05-24 18:56:37 +02:00
Maciej Jastrzebski 49618c6019 docs: fix links (#1618) 2024-05-24 15:33:28 +02:00
Maciej Jastrzebski 3cdfb8561d docs: migrate docs to RSPress (#1617)
* chore: copy Re.pack docs

* chore: global configs

* docs: migrate getting started

* chore: migrate intro

* docs: move migration guides

* chore: remove some unused things

* docs: move API

* docs: re-organize docs

* docs: re-organize

* chore: fix file refs

* docs: tweaks and fixes

* docs: reorganize docs

* chore: replace website

* chore: deploy script
2024-05-24 15:14:01 +02:00
Maciej Jastrzębski 4c9a8e1195 chore: release 12.5.1 v12.5.1 2024-05-23 13:39:27 +02:00
Maciej Jastrzebski a5a0816d88 chore: rename ci workflow (#1615)
* chore: rename CI workflow for badge clarity

* chore: update badge
2024-05-23 13:37:08 +02:00
Maciej Jastrzebski 0e129296ce chore: readme tweaks (#1614)
* chore: readme tweaks
* chore: tweak
2024-05-23 12:57:44 +02:00
Artem S 76de7d2b2e fix: immediate setState in useEffect for unstable_validateStringsRenderedWithinText (#1612)
* fix: immediate setState in useEffect for unstable_validateStringsRenderedWithinText

* refactor: tweaks

---------

Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com>
2024-05-23 12:17:30 +02:00
Maciej Jastrzebski 1b732d6d49 chore: remove stale examples (#1608) 2024-05-07 15:04:10 +02:00
Maciej Jastrzebski a0aa92f06e chore: upgrade deps 2024-05-05 (#1606) 2024-05-06 17:39:04 +02:00
Maciej Jastrzebski 5217c9798f chore: upgrade yarn to 4.2.1 (#1604)
* chore: upgrade yarn to 4.2.1

* chore: fix ci
2024-05-04 00:05:36 +02:00
Maciej Jastrzebski 913a19bbcb docs: API overview tweaks (#1599)
* docs: api overview tweaks

* docs: update README
2024-04-30 11:07:41 +02:00
Maciej Jastrzebski 8ecd1c5966 Update README.md 2024-04-30 10:50:46 +02:00
Maciej Jastrzebski 6a623a82e2 docs: update README (#1598) 2024-04-30 10:49:24 +02:00
Maciej Jastrzebski accac2f29a docs: tweaks 2024-04-30 10:44:28 +02:00
Maciej Jastrzebski f2b4754fca docs: update README 2024-04-30 10:44:05 +02:00
Maciej Jastrzebski 75efa72c59 docs: api overview page 2024-04-30 10:40:11 +02:00
Maciej Jastrzebski 70ee4fdd0f chore: release 12.5.0 v12.5.0 2024-04-29 22:58:51 +02:00
Maciej Jastrzebski 39dc756901 chore: update deps (#1597) 2024-04-29 22:54:33 +02:00
Maciej Jastrzebski 9488dcc622 feat: by role ts hints (#1596)
* feat: autocomplete

* refactor: cleanup

* chore: fix typos
2024-04-29 22:30:01 +02:00
Maciej Jastrzebski 16b9e493f7 refactor: pass through Test Renderer options (#1594) 2024-04-26 23:14:43 +02:00
Maciej Jastrzebski ec032b0fc2 fix: proper act usage (#1592)
* fix: use proper act

# Conflicts:
#	src/render-act.ts

* fix: user event missing act on min press duration

* chore: add button test

* chore: spellcheck
2024-04-26 22:55:47 +02:00
Maciej Jastrzebski f7e3b1a907 fix: expose common base synthetic event methods (#1589)
* fix: add stup base synthetic event methods

* chore: update snapshots

* refactor: self code review

* refactor: improvements

* chore: add test
2024-04-26 21:38:32 +02:00
Italo A b9c9d041ba fix: Rally Health link into readme (#1591) 2024-04-26 17:27:03 +02:00
Maciej Jastrzebski 73bef94a4b docs: improve api docs (#1590) 2024-04-25 14:37:01 +02:00
Davyd NRB c81c89bdf9 Apply eslint-plugin-testing-library for test files only (#1581) 2024-04-02 10:49:48 +02:00
Maciej Jastrzebski 3c6297197c chore: release 12.4.5 v12.4.5 2024-03-28 18:20:21 +01:00
Maciej Jastrzebski b2a29b171a fix: find by timeout with detached screen (#1576)
* fix: improve error findBy* error message when screen is not beign attached.

* fix: detect detached screen and display proper error message.

* chore: improve error message

* chore: update link

* chore: update snapshots
2024-03-28 18:14:36 +01:00
Maciej Jastrzebski 9b252f8b60 docs: update docs about eslint rule (#1578)
* fix: relevant issues indicated by the eslint rule

* chore: rename file

* docs: move eslint to getting-started; cleanup legacy stuff
2024-03-28 15:38:12 +01:00
Maciej Jastrzębski 2a25531803 chore: release 12.4.4 v12.4.4 2024-03-18 21:00:58 +01:00
Jose Luis Leon b4d264f756 fix(user-event): Decouple press events from Jest dependency (#1571)
* fix(user-event): Decouple press events from Jest dependency

* Add warnAboutRealTimersIfNeeded() tests

* Address @mdjastrzebski feedback

* refactor: code review changes
2024-03-18 20:55:17 +01:00
Maciej Jastrzebski 371534b8f7 docs: improve api docs (#1535)
* docs: improve query docs

* docs: tweaks
2024-03-12 22:26:08 +01:00
Maciej Jastrzebski bab4097836 chore: update deps 2024-03-12 (#1570)
* chore: update 1

* chore: update @types/*

* chore: update react native

* chore: update eslint & typescript

* chore: fix lint

* chore: upgrade release it

* chore: reformat

* chore: disable flow validation
2024-03-12 11:37:06 +01:00
Steve Galili 4e148bdb05 chore: tweak docs and examples to match recommended practices 2024 (use screen object for queries) (#1561)
* chore: tweak docs and examples to match modern usage of lib.

Use screen object for queries (pt.1)

Use screen object for queries (pt.2)

update render docs to modern screen API and fix lint

* refactor: code review tweaks

---------

Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com>
2024-03-11 22:46:07 +01:00
Dony Sukardi 4c6ec4f1fc fix typo in UserEvent.md (#1569) 2024-03-10 17:17:29 +01:00
Davyd NRB 536d2a979d Node.js 16 actions are deprecated. (#1567)
Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3.
For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2024-02-27 10:12:50 +01:00
Maciej Jastrzebski a670b2d4c1 chore: upgrade basic example to expo 50 (#1560) 2024-01-30 09:59:44 +00:00
Maciej Jastrzebski a282d1ecdd Update CommunityResources.md 2024-01-26 16:21:08 +00:00
Maciej Jastrzebski 67fb7177cf docs: update community resources (#1558)
* docs: update community resources

* docs: fix typos
2024-01-26 15:42:28 +00:00
Steve Galili 3e2060d89f docs: add note user.scrollTo in favour of fireEvent.scroll and edit broken links (#1551)
* add note user.scrollTo in favour of fireEvent.scroll and edit broken links

* Update website/docs/API.md

---------

Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2024-01-10 13:07:59 +01:00
Maciej Jastrzebski b222792320 chore: upgrade docusaurus (#1552)
* chore: upgrade docusaurus

* chore: improve color constrast on website in light mode
2024-01-05 13:17:42 +01:00
Maciej Jastrzebski 21254b059a chore: reformat source using prettier (#1550)
* chore: reformat source using prettier
* chore: fix lint
2024-01-03 22:31:12 +01:00
Maciej Jastrzebski 78994129f8 docs: updates to docs (#1547)
* docs: update TestingEnv doc

* docs: update Contributing.md

* docs: update UserEvent.md

* docs: remove tocs

* docs: remove no-longer working FlatList examples for `fireEvent.scroll()`
2024-01-03 22:10:17 +01:00