Questions tagged [user-interaction]
The user-interaction tag has no usage guidance.
17
questions
33
votes
7
answers
8k
views
Why do modern operating systems *ever* have perceptible input (keyboard/mouse) lag?
Sometimes computers stutter a bit when they're working hard, to the point where the mouse location freezes for a fraction of a second, or stutters intermittently for a few seconds. This sometimes ...
0
votes
0
answers
71
views
Design Patterns for an Interaction Heavy App
For an app like Figma, for example, how do engineers deal with the various states a user can be in?
A user can select an element. This element is now surrounded by a thin blue line to indicate it was ...
0
votes
0
answers
53
views
Drag and drop and handling huge amount of documents to update position
I'm having a series of data as documents in a document db (CouchDB)
Sample of a document looks like below
{
_id: xxx
_rev: xxx
data: xxx
position: 1
}
These documents displays in a web front-end ...
-3
votes
4
answers
380
views
How to break the vicious cycle of test-writing preceding an initial release?
I'm developing a FOSS library which I am pretty fond of. More specific details probably don't matter.
I've already "finished" a feature set sufficient for an initial release IMHO. However - some of ...
0
votes
1
answer
839
views
Python - Type Hinting specific sized Vectors
Considering a class method that takes a "vector" (Tuple or List of either int or float) of defined values such as the following:
import sys
from numpy import isnan, array, float64
class Shape:
"""
...
-1
votes
1
answer
86
views
How should I update back-end data (e.g. follows, likes, etc.) which changes at an inconsistent rate?
(This is a conceptual question but as reference, I'm using Android Studio (Java) and Firebase Firestore...)
My app currently has a structure where the user can follow authors and favorite their works....
6
votes
1
answer
2k
views
Where should the display messages on the UI be stored?
I am a backend developer and was having this argument yesterday with a frontend dev in my team about whether or not should I let him fetch the displayable text message about the result of an operation ...
-2
votes
1
answer
512
views
How to implement a CLI interaction with running java programm? [closed]
I would like your tipps about implemening a command line interface
to interact with a running java application.
Example:
The Java Application is a webserver and a cli-client should interact with it:
...
-5
votes
1
answer
70
views
Easiest way to add tracking of interactivity (mouse clicks, scrolls, multi-touch gestures) to a React Web App already developed?
Context: we have a responsive web application developed in React.js, which we have successfully used a few times to run user studies on Amazon Mechanical Turk. Now, we would like to add interactivity ...
5
votes
3
answers
361
views
Is it fine to trap users in a dialog until they enter valid values into components? [closed]
Assume I have a modal dialog where I allow the user to change values of an encapsulated configuration through different UI components and I want to save the effort to implement a validation per ...
3
votes
1
answer
84
views
Interactive review of data in modal before inserting in db
I'm looking for a conceptual approach to a problem.
I'm building a web app that imports data from a source I don't control. The data quality is pretty high, but occasionally, the data does not make ...
0
votes
2
answers
479
views
Detecting and Dealing with obscene language in user input
I've seen some pretty darned restrictive 'chat-systems' in kids games, that make it nigh-on-impossible to get much of a message across whilst typing.
So, I looked at some ideas, and there where two ...
5
votes
1
answer
773
views
How advanced are author-recognition methods?
From a written text by an author if a computer program analyses the text, how much can a computer program tell today about the author of some (long enough to be statistically significant) texts?
Can ...
-7
votes
2
answers
291
views
What is a key event Dispatcher in keyboard-interactive apps? [closed]
What is a :
Key-Event Dispatcher ?
in keyboard-interactive apps.
What does it really do ?
4
votes
1
answer
541
views
Asynchronous update design/interaction patterns
These days many apps support asynchronous updates. For example, if you're looking at a list of widgets and you delete one of them then rather than wait for the roundtrip to the server, the app can ...
1
vote
3
answers
2k
views
Simulating double-click, how long should I wait between clicks?
I'm simulating a double click programmatically and I want to have a slight pause between both clicks in order to better simulate a real user.
I know the interval should be less than ...
13
votes
6
answers
14k
views
How should I handle invalid user input?
I have been thinking about this issue for a while and I would be curious to have opinions from other developers.
I tend to have a very defensive style of programming. My typical block or method looks ...