Skip to content

feat: compose words using combine symbols#58

Draft
klown wants to merge 14 commits intoinclusive-design:mainfrom
klown:feat/compose-words
Draft

feat: compose words using combine symbols#58
klown wants to merge 14 commits intoinclusive-design:mainfrom
klown:feat/compose-words

Conversation

@klown
Copy link
Copy Markdown
Contributor

@klown klown commented Apr 6, 2026

  • This pull request has been tested by running npm run lint without errors
  • This pull request has been tested by running npm test without errors
  • This pull request has been built by running npm run build without errors
  • This pull request has been built by running npm run dev without errors
  • This isn't a duplicate of an existing pull request

Description

This is an attempt at providing the means for users for combine symbols from their palettes to compose Bliss-words, optioinally mark them with the combine marker, and finally transfer them to the existent symbol input field.

Steps to test

  1. Set the "compose" switch to "on".
  2. Symbols selected from the main palette area are placed in the compose word input area,
  3. The symbols can be navigated with the move-caret buttons,
  4. The indicator and modifier strip symbols can be added or removed from the symbols in the compose word area,
  5. The combine marker toggle associated with the compose word area can be used to surround the composition with the combine marker,
  6. The "delete" button will delete the symbol at the caret,
  7. The "clear all" button will clear all of the symbols from the compose word input area,
  8. The "add" button will transfer the composed symbol to the main input area and flip the "compose" switch. to off At this point the palette returns to normal input and edit mode.

Note: once the composed symbol has been added to the main input area, it is treated as a unit, and can no longer be edited.

Additional information

Thefeat/compose-words branch is based on the main branch in the inclusive-design/adaptive-palette repository.

The is very much a work in progress. The UI needs work and there are several new Preact components that require unit tests. These include:

  • ContentComposeWordsEntry: similar to the existing ContentBmwEncoding component.
  • ToggleIsComposingWords: switch to allow user to change between normal operation and composing words mode.
  • ToggleMakeCombination: button for adding/removing the combine marker to the composed word.
  • CommandAddCompostion: button to transfer the composed word to the main input area and set the compose switch to "off".

klown added 12 commits March 6, 2026 15:13
Note that this is the first commit and is nowhere near working.  The
intent is to add or remove symbols with a single "/" between them to
make a new single bliss-word.
Note: This improves the code in the previous commmti, but this still
needs a lot of work.  For example, there are type errors and relevant
tests need to be updated for the changes here.
- move most of `ContentBmwEncoding.ts` code to
  `ContentEncodingInputField.ts`.
- use `ariaControls` property of some of the `CommandXxx` components
  to determine which contents signal the command modifies,
- add `contentSignalMap` global object that uses the id on the
  content encoding component to select the associated content signal.
- remove extraneous imports
- fix content signal assignment in `ActionIndicatorCell`
- improve toggle styling
@cindyli cindyli changed the title feat/compose words feat: compose words using combine symbols Apr 8, 2026
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