exogui icon indicating copy to clipboard operation
exogui copied to clipboard

Restore config page and tide up

Open margorski opened this issue 1 year ago • 1 comments

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.

margorski avatar Jul 12 '24 07:07 margorski

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

colin969 avatar Jul 22 '24 07:07 colin969