Skip to content

feat: Add settings page to frontend#8

Draft
CrazyWolf13 wants to merge 4 commits into
mainfrom
ai_main_85dcd2f65843
Draft

feat: Add settings page to frontend#8
CrazyWolf13 wants to merge 4 commits into
mainfrom
ai_main_85dcd2f65843

Conversation

@CrazyWolf13

@CrazyWolf13 CrazyWolf13 commented Nov 1, 2025

Copy link
Copy Markdown
Owner

Purpose

Based on the conversation, the user wanted to add a settings page to the application. This page allows for the configuration of CLIENT_ID, CLIENT_SECRET, BASE_URL, and a REVERSE_PROXY flag.

Code changes

  • StreamlinkUi.vue:
    • Added a "Settings" link to the navigation menu.
    • Created a new settings panel with input fields for CLIENT_ID, CLIENT_SECRET, BASE_URL, and a checkbox for REVERSE_PROXY.
    • Implemented saveSettings and loadSettings methods to persist settings in localStorage.
    • Settings are now loaded when the component is mounted.
    • The apiStore's baseURL is updated when settings are saved.
  • main.js:
    • Correctly initialized the apiStore with pinia to ensure proper state management.
  • package.json:
    • Added the packageManager field.

To clone this PR locally use the Github CLI with command gh pr checkout 8

🔗 Edit in Builder.io

👀 Preview Link

cgen-656d1b6c51504cf6ab734899fa280f99
…s and update API baseURL

cgen-abae1e06991447d9befcc00c37039fb8
…ialize Pinia store

cgen-edef62b234954733888c2a8b27de6020
cgen-3e1f4c09d07b452286aa04e02613626a
@builder-io-integration builder-io-integration Bot changed the title Builder.io: Update from Visual Editor feat: Add settings page to frontend Nov 1, 2025
@builder-io-integration

Copy link
Copy Markdown

You can tag me at @builderio-bot for anything you want me to fix or change

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.

2 participants