NASA-AMMOS / aerie-ui

The client application for Aerie.
https://nasa-ammos.github.io/aerie-docs/
MIT License
29 stars 5 forks source link

Route Phoenix editor auto indent and completion through adaptation logic #1430

Open duranb opened 4 weeks ago

duranb commented 4 weeks ago

Currently the SequenceEditor component is calling some "core" functions directly (i.e. auto-indent, auto-complete), and doesn't allow users to override it via adaptations.

We should apply the same logic that we have done for sequence output products to this for sequence input.

Also there's still a seq-json-linter.ts file and seqJsonLinter() function inside that could be renamed to more generic names since it already uses the adaptation logic.

dandelany commented 4 weeks ago

Related to the changes introduced with PR https://github.com/NASA-AMMOS/aerie-ui/pull/1425