Commit Graph
218 Commits
Author SHA1 Message Date
Chris Troutner 3169425171 Fix Promise param name in posting-state test
Rename new Promise param to satisfy standard promise/param-names rule.

By refactorer.
2026-08-25 17:13:21 -07:00
Chris Troutner 009fba71fd Add posting-state coverage and persist mutation state
Cover the new-post posting flag (initial idle, in-flight true, settled
false) to kill the four surviving mutants, and commit the differential and
acceptance mutation manifests written by the approved tools during the
architect verification pass for the new-post-page feature.

By architect.
2026-08-25 17:09:14 -07:00
Chris Troutner d57975c466 Add property tests for memo post and new post invariants
- Add a small seeded property-testing harness (node:test based)
- Property-test validation classification, character-counter
  conservation, setInput round-trip, and menu-link idempotence
- Expose as explicit test:property command, separate from unit tests

By refactorer.
2026-08-25 17:06:00 -07:00
Chris Troutner 05f393c03f Implement New Post Page
Adds a New Post page for composing and broadcasting Memo posts:
- src/services/new-post.js: testable controller (input, character counter
  counting down from the memo limit, validation/length errors, navigation to
  the recent feed after a successful post).
- src/components/app-body/new-post: React view with a message textarea, post
  button, and remaining-character counter.
- Route /posts/new and a navigation menu link.
- Extend acceptance step handlers to cover both specs/post-memo.feature and
  specs/memo-new.feature wording; add unit tests for the controller.
- Drop redundant 'use strict' in compiled modules to fix the CI build warning.

By coder.
2026-08-25 17:00:27 -07:00
Chris Troutner 4fa92d16f6 Merge specifier new-post-page spec
By coder.
2026-08-25 16:51:26 -07:00
Chris Troutner 93850340e1 Add New Post Page Gherkin spec
By specifier.
2026-08-25 16:50:39 -07:00
Chris Troutner 54b356cd8b Merge architect post-memo runner adapter
By coder.
2026-08-25 16:24:20 -07:00
Chris Troutner c52ad12d23 Add acceptance runner adapter and persist mutation state
Add the persistent runner adapter for gherkin-mutator and commit the
differential/acceptance mutation manifests written by the approved tools
during the architect verification pass for the post-memo feature.

By architect.
2026-08-25 16:23:38 -07:00
Chris Troutner 8e2693ad08 Refactor memo-post for lower complexity
- Extract _throwIfInvalid and _reflectPost helpers from post()
- Consolidate duplicate validation tests into one parameterized test

By refactorer.
2026-08-25 16:17:23 -07:00
Chris Troutner 3b15315ca6 Merge architect reduce-dry-duplication
By coder.
2026-08-25 16:14:57 -07:00
Chris Troutner 64a7f78032 Merge commit '514298bf96' into swarmforge-refactorer 2026-08-25 16:13:38 -07:00
Chris Troutner 514298bf96 Implement Post a Memo behavior with acceptance pipeline
Implements the post-memo behavior slice per specs/post-memo.feature:
- src/services/memo-post.js: compose, validate (empty/length), and broadcast
  a Memo post OP_RETURN (0x6d02) via the minimal-slp-wallet adapter surface.
- Stands up the Babashka APS acceptance pipeline (entrypoint generator,
  runtime, regex step handlers, convenience runner).
- Adds focused unit tests for the memo behavior.

By coder.
2026-08-25 16:13:05 -07:00
Chris Troutner aaa366a11f Relocate truncate helpers to shared util
Move general-purpose truncateAddr/truncateTxid out of the feed-specific
post-display module into src/util so the recent-profiles view depends on
the shared utility layer rather than a sibling feature module.

By architect.
2026-08-25 16:08:38 -07:00
Chris Troutner c9556be67a Merge specifier post-memo spec
By coder.
2026-08-25 16:05:49 -07:00
Chris Troutner d071b21e9b Add Post a Memo Gherkin spec and feature backlog
By specifier.
2026-08-25 16:01:43 -07:00
Chris Troutner eed9d70f6f Reduce DRY duplication in services and components
- Consolidate memo-db GET helpers into getRecent and getLevelResource
- Share pasteFromClipboard via AppUtil
- Share truncate helpers from post-display
- Extract shared placeholder view
- Generalize wallet-summary blur toggles

By refactorer.
2026-08-25 15:47:27 -07:00
Chris Troutner d886ed2c8d Adding swarmforge CLIs for testing 2026-08-25 15:35:45 -07:00
Chris Troutner a8230982a4 Integrating swarm-forge into project 2026-08-25 14:50:21 -07:00
Chris Troutner f6e987b135 slight tweek to swarm forge 2026-08-25 14:20:53 -07:00
Chris Troutner 0b5a1028b8 Adding swarm-forge to repo 2026-08-25 13:29:34 -07:00
Chris Troutner f5aa5b00ac Merge pull request #3 from Permissionless-Software-Foundation/devops-unstable
Making recent posts the landing page
2026-07-15 12:55:00 -07:00
devops-pi 0d7cfdf204 Updating package-lock.json 2026-07-15 12:54:01 -07:00
devops-pi a3ee559de2 Make /posts/recent the landing page
Changed the root route '/' from BchSend to RecentPosts so that
memo.fullstackcash.net shows the recent posts feed as the landing page.
2026-07-15 12:51:03 -07:00
devops-pi c5bb98ac06 testing changes 2026-07-15 12:47:36 -07:00
Chris Troutner 01df736d5c Merge pull request #2 from Permissionless-Software-Foundation/unstable
Update social feed and navbar styling
2026-07-15 12:35:25 -07:00
9z25 5e7059206a Update social feed and navbar styling 2026-07-15 12:24:32 -07:00
Chris Troutner f94c87e9dd Merge branch 'master' of https://github.com/Permissionless-Software-Foundation/psf-memo-client 2026-07-15 10:05:36 -07:00
Chris Troutner 1170dcb066 Adding env var to change back end 2026-07-15 10:05:11 -07:00
Chris Troutner 2b9a871c00 Merge pull request #1 from Permissionless-Software-Foundation/unstable
UI Development
2026-07-15 09:17:32 -07:00
Chris Troutner 46c03a71b5 checking in latest changes 2026-07-14 19:05:02 -07:00
Chris Troutner 2e8c3b7ea8 Showing names and avatars in reply modal 2026-06-06 07:40:33 -07:00
Chris Troutner 0a3212e6ca Showing replies in modal 2026-06-06 07:33:13 -07:00
Chris Troutner d5d58f816e Adding pagination controls to feed page 2026-06-06 07:16:56 -07:00
Chris Troutner 1b935e0719 Adding icon to represent replies to a post 2026-06-06 07:01:09 -07:00
Chris Troutner de25decdf1 Adding link to profile in post list 2026-06-04 08:40:18 -07:00
Chris Troutner 2be6268bbc Created profile page 2026-06-03 15:13:12 -07:00
Chris Troutner dbc0c298bd Adding Posts page 2026-06-03 12:24:27 -07:00
Chris Troutner a32ae73ba4 Added profiles view 2026-06-03 11:35:29 -07:00
Chris Troutner 9726f9b33c Customizing README & package.json v1.0.0 2026-06-03 11:07:55 -07:00
Chris Troutner 778cfa13be Merge remote-tracking branch 'upstream/master' 2026-06-03 11:04:55 -07:00
Chris Troutner 26eca8f576 forked from bch-wallet-web3-spa 2026-06-03 11:02:41 -07:00
Chris Troutner ae4916e8df Merge pull request #18 from Permissionless-Software-Foundation/ct-unstable
Ct unstable
2025-10-19 14:48:30 -07:00
Chris Troutner fe108caf33 Merge branch 'master' into ct-unstable 2025-10-19 14:47:09 -07:00
Chris Troutner 131a41fcb4 Merge pull request #17 from Permissionless-Software-Foundation/dh-down-servers
fix(server): Web Wallet needs to handle down servers
2025-10-19 14:41:43 -07:00
Daniel Gonzalez f25ac56cdb fix(server): Web Wallet needs to handle down servers 2025-10-18 15:46:29 -04:00
Chris Troutner b29ff5fb1f Merge branch 'master' into ct-unstable 2025-10-14 07:17:47 -07:00
Chris Troutner 9e576cbe83 Merge pull request #16 from Permissionless-Software-Foundation/dh-load-times
fix(load): Load BCH & SLP info in the background
2025-10-14 07:13:20 -07:00
Daniel Gonzalez e3b3b76430 fix(load): Load BCH & SLP info in the background 2025-10-13 17:34:50 -04:00
Chris Troutner dc6e6d956c Merge branch 'master' into ct-unstable 2025-09-20 09:37:13 -07:00
Chris Troutner 612f2edf70 Merge pull request #15 from Permissionless-Software-Foundation/dh-user-data
feat(userdata): Added user data page functionality
2025-09-20 07:24:23 -07:00