margorski / exodos-launcher

Launcher for eXoDOS. Basic and forked from Flashpoint Launcher repository (https://github.com/FlashpointProject/launcher)
https://exodos.the-eye.us
MIT License
35 stars 5 forks source link

Restore config page and tide up #25

Open margorski opened 4 months ago

margorski commented 4 months ago

Config page was hidden because most of options was related to the Flashpoint project. It now may be valuable to restore config page, tide up and put there some options for exo.

First step would be to restore this and tide up from flashpoint stuff.

colin969 commented 4 months ago

I wrote a set of standardized Config box components for flashpoint a while ago. I'd recommend using those. It includes things like buttons, checkboxes, selection dropdowns, text inputs. You just need to provide the title, description, value and change handler for each.

<div className='setting'>
  <p className='setting__title'>{strings.preferencesHeader}</p>
  <div className='setting__body'>
    <ConfigBoxCheckbox
      title={strings.enableVerboseLogging}
      description={strings.enableVerboseLoggingDesc}
      checked={this.props.preferencesData.enableVerboseLogging}
      onToggle={this.onVerboseLoggingToggle} />
    // ... more settings under this section
  </div>
</div>

https://github.com/FlashpointProject/launcher/tree/master/src/renderer/components