status-desktop/ui
Stefan 81c3463816 feat(wallet): implement DerivationPathInput control
The enforcing of the derivation path editing rules is done in a structured
way by handling all the changes on the array of `Element` stored in
d.elements and then recomposing the HTML string to be displayed after
every change.

Main limitation is the workaround in `onTextChanged` that regenerates
the text in order to dismiss foreign characters introduced by pasting
which I couldn't find a way to disable without disabling also the ability
to copy content to clipboard.

Highlights:
- Implement DerivationPathInput control that intercepts the modifiable
keyboard events in order to edit the visible TextEdit.text while
respecting the requirements of the derivation path editing
- Implement a JS Controller that handles the logic of the
  decomposing and recomposing the derivation path string
- Add anew StatusQ with the TextEdit basic look and feel to be used
  in DerivationPathInput control without duplicating the style
- Allow passing modifiable events that are not generating characters in
  order to allow copy to clipboard
- Disable add account when control is in error state
- Limit to maximum 5 elements in the derivation path

Testing:
- Integrate the control with StoryBook for a quick preview of the
  control
- Add unit tests for the Controller basic functionality and regression
  for the main control Item
- Removed forcing x64 architecture on apple arm64 hardware from the
  storybook build configuration

Note: initially the implementation was suppose to be simple parse the
derivation path string edit elements and format it. However, I could not
find a quick way fix the circular dependency issue between editing the
text and reformatting it. The solution was to use a one way from the
structured data to the formatted string which complicates the
implementation logic.

Closes: #9890
2023-03-31 18:14:50 +04:00
..
StatusQ feat(wallet): implement DerivationPathInput control 2023-03-31 18:14:50 +04:00
app feat(wallet): implement DerivationPathInput control 2023-03-31 18:14:50 +04:00
fonts
i18n chore(translations): update translations 2023-03-06 21:35:32 +01:00
imports fix(edit): fix edit message not sending mentions correctly 2023-03-30 15:51:23 -04:00
include/StatusDesktop/Monitoring chore(general): move cpp files of monitoring tool from DOtherSide to ui dir 2023-02-09 14:27:53 +01:00
src/StatusDesktop/Monitoring chore(general): move cpp files of monitoring tool from DOtherSide to ui dir 2023-02-09 14:27:53 +01:00
MonitoringSources.cmake chore(general): move cpp files of monitoring tool from DOtherSide to ui dir 2023-02-09 14:27:53 +01:00
generate-rcc.go chore: fix qrc resource bloat 2023-03-08 13:22:17 +01:00
main.qml feat(SplashScreen): Display recommendation do not close the app on re-encryption process 2023-03-30 09:59:42 -04:00
nim-status-client.pro feat(general): Initial setup for app monitoring tool 2023-01-13 13:47:08 +01:00