bunnie
f8246b14f5
run rustfmt on the modals crate
2022-04-24 21:40:42 +08:00
bunnie
547783d195
Merge pull request #150 from nworbnhoj/qrcode
...
enable notification modal text + qrcode
2022-04-24 21:36:38 +08:00
bunnie
62d56fb70b
Merge pull request #149 from nworbnhoj/index
...
modal selected index support
2022-04-24 21:27:08 +08:00
nworbnhoj
0e561802ce
enable notification modal text + qrcode
...
change the notification modal to accept the primary message and an
Option of independent text to display as a qrcode
pub fn show_notification(&self, notification: &str, qrtext:Option<&str>) -> Result<(), xous::Error> {}
2022-04-24 21:29:15 +10:00
nworbnhoj
2070236695
minor refinements requested on PR
2022-04-24 20:09:43 +10:00
nworbnhoj
e879ff4b17
modal selected index support
...
Support for:
- obtaining the index of the selected radiobutton & checkbox
- adding a Vec<&str> of items
2022-04-24 08:28:02 +10:00
bunnie
2c3143f790
Merge branch 'main' into multi-text-modals
2022-04-22 15:54:18 +08:00
bunnie
bac6c25bfe
conversion toward standard testing method
2022-04-22 15:10:51 +08:00
Gianguido Sorà
89c768625d
modals: add builder-based interface to present alerts with text fields inside
2022-04-13 15:49:31 +02:00
bunnie
3ef2dae2f0
revert test config and make chinese text also render qr code
2022-04-08 16:05:42 +08:00
bunnie
cd8c762c55
patch up QR code PR, change method signature as discussed
...
now any modal notification can also render as a QR code
2022-04-08 15:19:56 +08:00
nworbnhoj
8c5c2228d2
Merge branch 'main' into qrcode
2022-04-08 16:22:19 +10:00
nworbnhoj
2a957e55cd
add as_qrcode to Notification modal
2022-04-08 14:16:15 +10:00
Gianguido Sorà
8123393a7d
Merge branch 'main' into feature/multi-text-modals
2022-04-07 16:39:03 +02:00
bunnie
f720f3175c
refactor main loop to use deferred responses
...
I think things could be compactified even further, but this is a
first-step "merge the threads and break as few things as possible"
pass. Would like to get @gsora's multi-line boxes merged into this
new system before doing even more optimization.
2022-04-07 04:04:37 +08:00
Gianguido Sorà
5c975fdee4
make single-field modals accept a placeholder
2022-04-05 16:28:58 +02:00
Gianguido Sorà
83e61f5f1b
feat: add wiring for multiple TextEntryPayloads drawing
2022-03-31 17:54:22 +02:00
bunnie
29dab322ed
add some comments on the modals tests.
2022-03-30 03:40:11 +08:00
bunnie
55abbd3f3e
fix bugs in progress bar computation
2022-01-04 21:57:09 +08:00
bunnie
8c66e04bc3
refactor RTC module to use modals server
2021-12-17 02:49:38 +08:00
bunnie
725d943198
add interlocking so multiple threads don't interfere with each other
2021-12-17 01:55:36 +08:00
bunnie
0fb1bea428
add radio buttons and checkboxes to the modals meta-handler
2021-12-17 00:32:44 +08:00
bunnie
60fc03351a
add progress bar primitives
2021-12-16 21:39:49 +08:00
bunnie
4a0f062558
add notification api
2021-12-16 02:28:37 +08:00
bunnie
dcad15284d
refactor tests into a separate file
2021-12-16 01:48:11 +08:00