Skip to content

chore(amm): add Logos Basecamp support#74

Open
0x-r4bbit wants to merge 1 commit intomainfrom
chore/basecamp-support
Open

chore(amm): add Logos Basecamp support#74
0x-r4bbit wants to merge 1 commit intomainfrom
chore/basecamp-support

Conversation

@0x-r4bbit
Copy link
Copy Markdown
Collaborator

Provides the necessary instructions to run the AMM app inside Logos Basecamp.

Closes #29

Provides the necessary instructions to run the AMM app inside Logos
Basecamp.

Closes #29
Copy link
Copy Markdown
Collaborator

@3esmit 3esmit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • This PR closes #29, but it only adds manual AMM UI installation instructions and a flake description change; it does not add the AMM module as a Basecamp flake input, wire it into Basecamp's bundled/discoverable startup modules, or add the requested smoke test proving the module can open and close cleanly.
  • The new README flow also mixes development and portable package paths: it documents result-lgx-portable and the portable Basecamp data directory, but the install commands still use result-lgx and the dev data directory, so users can install the wrong package into a directory Basecamp will not read.

Implement the actual Basecamp integration/test path and split the dev/portable install instructions. Also fix the public flake metadata typo from privacy preversed trading to the intended wording.

Comment thread amm-ui/README.md
This builds and runs the application in development mode.
This builds and runs the application in development mode. The Logos bridge is unavailable in standalone mode, but the UI layout and mock data are fully functional.

## Running inside Logos Basecamp
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This documents a manual local installation path, but it does not implement the Basecamp integration requested by #29. The linked issue asks for the AMM module to be added to Basecamp's flake inputs, bundled/discoverable at startup, and covered by a smoke test. As written, a fresh Basecamp build still has no AMM module wired into its preinstalled modules, so closing #29 from this PR would make the issue appear solved without changing the Basecamp runtime path.

Comment thread amm-ui/README.md
# BASECAMP_DIR="$HOME/.local/share/Logos/LogosBasecampDev"

# Install the UI plugin
lgpm --ui-plugins-dir "$BASECAMP_DIR/plugins" \
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This command always installs result-lgx/*.lgx into the dev data directory. That is correct only for the development package. If the user followed the portable build command above, this should instead install from result-lgx-portable/*.lgx and target the portable Basecamp data directory. Please split the dev and portable flows so the package variant, Basecamp variant, and data directory match.

Comment thread amm-ui/README.md
1. Launch Basecamp
2. Open Package Manager
3. Select "Install from file"
4. Choose the `.lgx` file from `result-lgx/`
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This UI-install fallback also points only at result-lgx/, even though the section documents a portable build at result-lgx-portable/. Please either mention both outputs explicitly or keep the README to a single supported variant.

Comment thread amm-ui/flake.nix
@@ -1,5 +1,5 @@
{
description = "Logos QML UI Module — replace with your description";
description = "Logos Swap — Decentralized, privacy preversed trading";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small typo in public metadata: privacy preversed trading should be privacy-preserving trading .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make DEX mini app work inside Logos Basecamp

3 participants