Commit Graph

35 Commits

Author SHA1 Message Date
Mazen Touati
8780a79557 feat: persist UI state (#32)
* feat: persist UI state

* test: fix var declaration

* test: increate e2e timeout

sometimes there might be a network latency to load CDN assets like the fonts. Let's give the tests a maximum of 1 minute to fully run.
2026-01-11 01:32:57 +01:00
Mazen Touati
8bdd510f17 fix(curl): properly wrap JSON payload (#31) 2026-01-04 19:47:20 +01:00
Mazen Touati
07f0106b16 chore: move roadmap to a discussion
https://github.com/sunchayn/nimbus/discussions/30
2026-01-04 16:03:54 +01:00
Mazen Touati
e3b3370ebe feat(relay): render dd() responses properly (#29)
* feat(relay): render `dd()` responses correctly

* wiki(relay): `dd` responses

* test: fix failing test after changing test id

* style: apply TS style fixes

* style: apply php style fixes

* chore: fix types

* build: always run php and js test on PR changes

* test(relay): simplify test

* build: use proper cache key for e2e job

* feat(relay): more assertive dd parser

* build: fix package.json indentation

* build: properly build for `dev` mode

* test: correctly install current branch artifacts for E2E

* test: fail fast for PW tests

* build: don't run php and js tests twice on PRs

* test: PW fixes

* test: correctly build artifacts from branch for E2E

* chore: fix naming

* fix(relay): properly parse some type of closures in `dd`

* test: enable parallel runs for PW

* test(relay): simplify `dd` E2E test
2026-01-04 15:57:57 +01:00
Mazen Touati
64ef46a8a4 fix(relay): properly relay request paramters (#28)
also:
- improve the relay test.
- remove unnecessary exemption of the content-type header from the headers list.
2026-01-03 16:48:30 +01:00
Mazen Touati
7b4c37d10d build: run E2E tests with the current branch (#27)
* build: run E2E tests with the current branch

* style: apply php style fixes

* build: cache PW browsers in GHA

* build: fix step name

* build: require branch name as argument for e2e setup

* chore: improve the e2e setup file traceability

* chore: improve file comment

* build: pass branch name as argument for e2e setup

* build: attempt to fix PW browser cache in GHA

* build: fix syntax issue with the e2e GHA

* build: also cache php installation for e2e test

* build: attempt to fix PW browsers cache

* build: don't attempt to cache php installation in e2e

it cannot be cached because it is installed in temporary runner directory
2025-12-27 01:27:23 +01:00
Mazen Touati
32ef39ef8e fix(config): use normalized key for config (#26) 2025-12-26 23:57:17 +01:00
Mazen Touati
4adb5a1bbf fix(curl): properly export get requests with body payload (#25) 2025-12-26 22:39:27 +01:00
Mazen Touati
8e05ce4978 feat(routes): auto-select route variables on click (#24)
* feat(routes): auto-select route variables on click

* style: apply TS style fixes
2025-11-22 19:45:15 +01:00
Mazen Touati
052cddeca6 feat(routes): support Spatie Data objects (#23)
* feat(routes): support Spatie Data objects

* refactor: apply rector
2025-11-21 18:47:12 +01:00
Mazen Touati
35f663206f chore: update roadmap 2025-11-19 19:56:03 +01:00
Mazen Touati
dc1f76b4a6 chore: setup E2E foundation (#22)
* chore: setup E2E foundation

* chore: use http to clone the repo

this will make it work in GHA (no SSH is needed).

* chore: add missing dependencies to e2e ci
2025-11-19 19:43:31 +01:00
Mazen Touati
3983786cd4 build: production artifacts v0.3.0-alpha 2025-11-18 19:30:26 +01:00
Mazen Touati
65d2a240b5 chore: fix TS types (#21)
* chore: fix TS types

* build: add types-check CI job

* style: apply TS style fixes
2025-11-18 19:29:37 +01:00
Mazen Touati
ed5dfa4664 fix(ui): properly access content's width 2025-11-16 19:03:40 +01:00
Mazen Touati
55a05a6b97 chore: add a todo 2025-11-16 19:03:40 +01:00
Mazen Touati
4724761231 chore: access localstorage from window object 2025-11-16 19:03:40 +01:00
Mazen Touati
6ba071dc98 test: front-end tests cleanup (round 1)
the aim is to make the tests more about the behavior rather than implementation, add some missing tests, and improve the code.
2025-11-16 19:03:40 +01:00
Mazen Touati
07b4708c76 chore: adjust documentation link 2025-11-12 20:19:27 +01:00
Mazen Touati
94979a41ee Feature/support configurable api base url (#19)
* feat(routes): make relay base url configurable

fixes #17

* chore(routes): update wiki to incorporate `routes.apiBaseUrl` config
2025-11-11 20:08:27 +01:00
Mazen Touati
23bf3b7691 fix(routes): support composed prefixes (#18)
also refactors and centralizes prefixes cleanup
2025-11-11 20:05:15 +01:00
Mazen Touati
328c13d6a7 chore: fix typo 2025-11-11 18:47:59 +01:00
Mazen Touati
e36d8f4171 chore: add ROADMAP (#16) 2025-11-08 12:09:16 +01:00
Mazen Touati
ca7ecdc5d6 feat: tag alongside laravel-assets (#15)
* feat: tag alongside laravel-assets

Laravel assets are configured by default in Laravel to be published post update.
We always want to force-publish the assets with Nimbus, so let's tag alongside them.

* refactor: apply rector

* style: apply php style fixes
2025-11-08 12:03:01 +01:00
Mazen Touati
bd1657ae0e build(core): bust cache with hashed assets (#13) 2025-11-07 12:43:06 +01:00
Mazen Touati
14abc80482 feat(settings): show current package version (#12) 2025-11-07 12:42:21 +01:00
Mazen Touati
f318d50a3b build: production artifacts v0.2.0-alpha 2025-11-04 19:03:08 +01:00
Mazen Touati
8cb3e1bb73 feat(request): improve generators (#11)
* feat(request): auto-generate IP addresses

* feat(request): add `system` generator

* feat(request): auto-generate versions

* style: apply TS style fixes
2025-11-04 19:01:31 +01:00
Mazen Touati
47e94ca206 fix: persist headers across endpoints (#6)
* refactor: config are not reactive

* fix: persist headers across endpoints

make sure the UI and request builder are truly in sync
2025-11-04 18:41:37 +01:00
Mazen Touati
da56fd3070 fix(response): reset response size on endpoint change (#9)
* fix(response): reset response size on endpoint change

* test(request): move test to the right directory
2025-11-04 18:15:10 +01:00
Mazen Touati
cdde69c41b feat(request): don't reset request when re-selecting (#10)
re-selecting the same endpoint shouldn't re-trigger request initialization
2025-11-04 17:13:14 +00:00
Mazen Touati
950dd26ba7 fix(request): properly sync UI headers and store (#8) 2025-11-04 18:10:44 +01:00
Mazen Touati
c75a4ccd2f fix: support dark mode for codemirror tooltips (#7)
Fixes #3
2025-11-04 18:07:43 +01:00
Mazen Touati
8f49d68390 fix: properly initialize headers on method change (#5)
Fixes #2
2025-11-03 19:33:55 +01:00
Mazen Touati
c2aa6895d6 feat: initial alpha release
This commit represents the complete foundational codebase for Nimbus Alpha, a Laravel package that provides an integrated, in-browser API client with automatic schema discovery from validation rules.

IMPORTANT: This is a squashed commit representing the culmination of extensive development, refactoring, and architectural iterations. All previous commit history has been intentionally removed to provide a clean foundation for the public alpha release.

The development of Nimbus involved:
- Multiple architectural refactorings
- Significant structural changes
- Experimental approaches that were later abandoned
- Learning iterations on the core concept
- Migration between different design patterns

This messy history would:
- Make git blame confusing and unhelpful
- Obscure the actual intent behind current implementation
- Create noise when reviewing changes
- Reference deleted or refactored code

If git blame brought you to this commit, it means you're looking at code that was part of the initial alpha release. Here's what to do:

1. Check Current Documentation
   - See `/wiki/contribution-guide/README.md` for architecture details
   - Review the specific module's README if available
   - Look for inline comments explaining the reasoning

2. Look for Related Code
   - Check other files in the same module
   - Look for tests that demonstrate intended behavior
   - Review interfaces and contracts

3. Context Matters
   - This code may have been updated since alpha
   - Check git log for subsequent changes to this file
   - Look for related issues or PRs on GitHub

---

This commit marks the beginning of Nimbus's public journey. All future
commits will build upon this foundation with clear, traceable history.

Thank you for using or contributing to Nimbus!
v0.1.0-alpha
2025-10-23 00:16:28 +02:00