Skip to content

dev: always show logs button in dev mode#681

Merged
theborakompanioni merged 4 commits intomasterfrom
chore/settings-logs
Nov 2, 2023
Merged

dev: always show logs button in dev mode#681
theborakompanioni merged 4 commits intomasterfrom
chore/settings-logs

Conversation

@theborakompanioni
Copy link
Collaborator

@theborakompanioni theborakompanioni commented Oct 18, 2023

The feature to show the log file is not available on all platforms.
Before this commit, the "show logs" button has only been displayed if a special endpoint indicates it is enabled.

However, this is somewhat confusing, as the endpoint is not available in the regtest environment.
So, when this commit is applied, the button will always be shown while developing.

With npm run dev:start, the log endpoint will return an error (as it is not implemented in the dev environment, since this is interacting with a "native" JM instance) and a message is displayed to run npm run dev:start:secondary (which interacts with an instance in the standalone image, that has the log feature enabled!).

Additionally, this moves the menu item from section "Markets" to "Wallet".

@theborakompanioni theborakompanioni added devtools Improvements in tooling UI/UX Issue related to cosmetics, design, or user experience labels Oct 18, 2023
@theborakompanioni theborakompanioni self-assigned this Oct 18, 2023
@theborakompanioni theborakompanioni marked this pull request as ready for review October 20, 2023 10:05
@theborakompanioni theborakompanioni added concept Wild idea, or too many details unknown yet and removed UI/UX Issue related to cosmetics, design, or user experience labels Oct 25, 2023
Copy link

@editwentyone editwentyone left a comment

Choose a reason for hiding this comment

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

cACK

@theborakompanioni theborakompanioni merged commit b6a568e into master Nov 2, 2023
@theborakompanioni theborakompanioni deleted the chore/settings-logs branch November 2, 2023 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

concept Wild idea, or too many details unknown yet devtools Improvements in tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants