theRAPTLab / gsgo

GEM-STEP Foundation repo migrated from GitLab June 2023
1 stars 1 forks source link

Feature: Help Manager (WIP) - [merged] #703

Closed benloh closed 1 year ago

benloh commented 2 years ago

In GitLab by @daveseah on Jul 24, 2022, 23:30

Merges dev-sri/next-gui-slothelper -> dev-next-gui

WHAT'S NEW

The Help Manager provides a centralized way to define help string for various features of the UI. There are three parts to help:

These are available as strings dictionaries defined in YAML files in app/help. The main module is app/help/codex; searching for import * as HELP from 'app/help/confex' will show you all the existing uses of this module. Currently we have this string support in place:

This merge request provides help based on keyword and keyword/method argument type in the GUI. For help on features and rollover hints, this will require additional work post-merge by the GUI and feature implementor.

See Sri for help with acessing/adding strings for your GUI.

INSTALLATION

  1. Please make sure you are running the current minimum version of node of v14.18.1. Type node --version and compare to .nvmrc. If you change node versions, you will have to do a full npm ci; npm run boostrap; npm run build cycle again.
  2. Please npm run bootstrap to ensure the yaml-loader webpack plugin is installed!!!

NOTE - the coverage is not yet perfect, but having the guts of the system in place will make it possible to continue refinement of the overall system.

EDITABLE FILES

TECHNICAL CHANGES IN PROGRESS

benloh commented 2 years ago

In GitLab by @daveseah on Jul 25, 2022, 12:27

added 1 commit

Compare with previous version

benloh commented 2 years ago

In GitLab by @daveseah on Jul 25, 2022, 12:41

marked this merge request as ready

benloh commented 2 years ago

Very cool! Tested adding help for _directive and that seemed to work. I guess we should discuss how codex-features works?

benloh commented 2 years ago

mentioned in commit 359dcf4d2006a80e0a448b25c8a29aed485dd486