* commands: (50 commits)
Tell the server we have a UI that can handle up to 1000 items
For very long lists, use a searchable list view
Use a list item background that can handle being selected
Allow nested scrolling of ListView and WebView
NPE
Show any commands pushed along with a message
Allow oob webview to move the execution forward
Spinner when loading list of commands
Show spinner when loading if it takes awhile
Menu item to refresh features for a contact
Order cells by reported order
Look more like a real web browser
Don't submit the form when cancelling
We can still proceed with no form, just don't send a form
Validate presence of required fields
DRY up common patterns for fields
Refactor to bind to an Item container, not just a raw Element
Use more features of the TextInputLayout
Support more text field types
Support reported/item tables
...
Stephen Paul Weber
created
4cc7069
Tell the server we have a UI that can handle up to 1000 items
Stephen Paul Weber
created
99a92ca
For very long lists, use a searchable list view
Stephen Paul Weber
created
dce0d82
Use a list item background that can handle being selected
Stephen Paul Weber
created
5ea0c8c
Allow nested scrolling of ListView and WebView
4ba4e7a
Show spinner when loading if it takes awhile
Stephen Paul Weber
created
2142fed
Menu item to refresh features for a contact
Click to expand commit body
Shouldn't be needed in general, so hidden under a sub-menu, but for advanced use
cases and especially services without caps, can enable features that normally
would not be detected.
Right now renders using a GridLayout which means all columns are the same width.
No horizontal scrolling or becoming not-a-table for many columns, so big tables
will be a disaster. Does render and work though.
The strategy here is to actually make each cell an "item" in the RecyclerView
instead of each row being an item. Then the layout manager takes care of it.
This means that the end-of-row-ness is just because of column count, and not
actually enforced at all. It also means that as currently built if any row has
a missing field it'll mess up the whole thing.
No type directed rendering or anything yet, just dump it out.
Stephen Paul Weber
created
c0d8905
Allow copying result form fields to clipboard
Stephen Paul Weber
created
d963e8c
If we get send a form of type submit or cancel, ignore it
Click to expand commit body
These don't make any sense to send to us, but in practise biboumi does and
expects us to ignore it.
Spec says that actions must be specified if there are any. In practise, at
least biboumi violates this and sends back no actions at all but is in
"executing" state meaning it expects a next stage. So in this case we should do
something smarter than assuming we're all done. Put up a button for the
execute/default action.
Instead of a single "done" button, show all available actions in the footer,
each in a different color (generated the same as avatar backgrounds, etc) with
the action name translated if a translation is available.
The pseudo-action "close" is for when a command is already completed. In this
case, the execute() call will see that the session is already completed and it
will be removed without actually checking the action string at all.
Depending on the fragment lifecycle, onCreateView and onStart may both be called
before the backend is connected, and so there will be no conversation yet.
Instead, do the conversation-needing initialization here in reInit where we know
we have it.