Questions tagged [ui]
User Interface _ the application interface designated for the end users
129
questions
0
votes
3
answers
95
views
How to avoid duplicating Create and Update UIs in CRUD apps
For most apps I've built which deal with CRUD operations, I end up two very similar UI pages: one for the creation of the object, one for updating it.
An example would be StackExchange's UI for ...
0
votes
1
answer
74
views
Who should own observable data in a hierarchical architecture?
I mostly write mobile apps so this is definitely coming from that perspective, but I think it applies for most UI development.
Suppose I have a UI with the following pattern:
I want to have some user ...
1
vote
1
answer
131
views
Silently re-using data vs requiring the user to pass a "re-use" argument?
Context
After creating a (bash) CLI interface that creates self-signed SSL certificates (for onion domains), the user can choose to re-use some of the data that is created in past runs. For example, a ...
0
votes
1
answer
59
views
Handling IO operations through a server and building the UI using a separate framework/application
I am trying to build a file editor, and I wanted to build the UI using Flutter. However I wanted to implement IO operations (reading a file, applying changes, etc) in Rust.
The reason I would like to ...
0
votes
0
answers
331
views
What approach for this kind of drawing application in C#/WPF
I've got experience with WPF, but I have always been creating standard UI's. I want to build a drawing application for electrical wiring diagrams (single-wire diagrams).
Example of the kind of ...
0
votes
2
answers
57
views
How to make a mobile (flutter) app that also works in VR (unity)
I'm interested to build a VR app which will allow the user to interact with some 2d screens in a 3d world.
I would like these same 2d screens to be available on a mobile app, so that the user could ...
-1
votes
2
answers
234
views
UI/UX design feels like waterfall, What do you think should be the proper process?
I'm currently working as Fullstack developer, our frontend is being built in React.
Our current process involves:
The client / product owner describes a feature to the UI / UX designer.
The designer ...
2
votes
1
answer
609
views
What is a Reactive User Interface? Where did the term come from?
I heard about Reactive User Interfaces in a React course. I would like to understand the concept, but was unable to find reliable sources. Best I could find is that they are some sort of declarative ...
1
vote
2
answers
127
views
How to maintain cohesion, loose coupling, and SRP when building a reporting tool?
I'm building a reporting tool with three core layers:
Extract data from a database
Transform this data to compute business metrics
Display these metrics in a report (a heavily formatted Excel export ...
2
votes
3
answers
624
views
How do you achieve encapsulation while "separating view and business logic"?
I've been trying to get a better understanding of OOP (I'm not the biggest fan of it, but I still want to understand it).
One of the core principles of OOP is encapsulation - you're supposed to ...
0
votes
1
answer
206
views
Wrapping the UI framework
I want to write an application where I would delegate certain functionalities to 3rd party libraries. To make sure the code remains modular, I want to put these libraries behind an interface so I can ...
3
votes
0
answers
77
views
Is there such a thing as "completeness" theory for UI layout managers? [closed]
Given the often wide variety of layout managers available on any particular UI platform, I was wondering if there is something akin to a "theory of layout completeness" that can be used to ...
3
votes
2
answers
182
views
Getting the UI to know about Business Rules for Form Controls
Situation:
VB.NET WinForms application, using the WinForms as a presentation layer project. Another class library project containing the business layer, in the form of CQS and Service classes, plus a ...
-2
votes
1
answer
86
views
Micro Frontend architecture and different teams
I often get the argument that, if only a single team is working on the UI development, then the UI should not be developed as a set of Micro Frontends, with each one representing a subdomain.
I would ...
0
votes
1
answer
323
views
implement a dynamic frontend UI based on roles
We want to build a new frontend for our existing app with elements shown or hidden based on a users role.
Are there any common patterns for this? I see two ways of doing this.
The backend sends the ...
-1
votes
1
answer
110
views
How to avoid context objects and designing "UI states"
Note: I'm using Dear IMGUI, OpenGL and C++.
I have a UI, it has two "modes" one where it records and displays images and information about a recording device (IE camera) and another where it ...
0
votes
0
answers
25
views
App Design - Engagement Type selected at beginning, or Radio buttons mid-request?
I am building an app wherein a user will be requesting one of three engagement types:
Appointment (no SLA)
Consult (2hr SLA)
Emergency (10mins SLA)
We are considering two different scenarios for ...
-1
votes
1
answer
302
views
How to handle pagination in a stateless application having multiple components involved for the data?
This problem statement is around one UI component, 3 service components. The current design of the application is like:
UI makes request to Service-A to get data
Service-A first makes a call to ...
2
votes
1
answer
117
views
Pattern for creating an instance of a class from a UI form
The following is a contrived example of a potential code smell
that I've repeatedly encountered when implementing a GUI with which instances of a class created by letting the user fill out a form. The ...
-2
votes
1
answer
41
views
Calculating position of menu options with variable sizes
Not entirely sure if this is the most appropriate community for this but...
I'm looking for solutions to calculate positions for menu options when the amount of options vary and when each options ...
-2
votes
2
answers
1k
views
Should I use Flask w/ Javascript OR a Javascript UI that calls a Flask / Connexion API?
I recently wrote a data management tool in Python & SQLAlchemy. Now, I need to put a web UI on it. While I want to start small, there is some need for interactivity, like drag and drop in tables, ...
-1
votes
1
answer
91
views
Good representation for list of items that can be grouped together
I am building the frontend of a web app in JavaScript that manages list of past events. It basically has the following requirements:
Events are displayed in a vertical list.
Events can be moved to ...
6
votes
2
answers
670
views
Why don't web browsers know the physical dimensions of a display?
CSS is a syntax for specifying the appearance of text and other web content, sizes and lengths are defined in pixels, however pixels have different sizes in different devices, this is the most notable ...
-1
votes
1
answer
1k
views
Recommend a way to handle multiple UI frameworks in a pattern library
We are setting up a pattern library.
It's use is on the one hand to document and display our UI elements in a web view. On the other hand, it should also be the place where components are built. The ...
0
votes
1
answer
175
views
Structuring code to support console output and WPF views
Premise: This is for learning purpose.
I'm trying to adapt my Console Application code to be served through a WPF Application GUI that I would like to create.
One problem is struggling me.
Actually ...
0
votes
2
answers
177
views
How is fast-scroll simulated?
I've noticed on web and mobile apps, when scrolling down to the bottom of a list with thousands of entries it reaches the bottom instantly but appears to be scrolling through every entry.
How is ...
1
vote
2
answers
3k
views
Why and how are Server-side Web MVC and client-side/desktop MVC not the same?
In MVC, does the view component deliver a new view to the user directly or indirectly via the controller component? says
The first thing to realize is that Server-side Web MVC (e.g. ASP.NET MVC &...
-1
votes
1
answer
830
views
building a frontend for a microservice backend: architectures? (spring boot stack)
to summarize a bit my current situation: I am building a backend based on microservices using spring boot.
These are aggregated behind an api-gateway.
My intention is to consume these api's from both ...
10
votes
5
answers
948
views
Presentation Layer Accessing Business Logic
I've been reading a lot of material lately about DDD (business entity objects) and other common patterns in n-tiered(layered) architecture. One thing I have issue with is, most articles, blogs, ...
2
votes
1
answer
249
views
Design of dropdown lists to handle optional selection
Consider the following example in a CRUD application. A user can select their favourite food from a dropdown list ("Burgers", "Pies", "Chips"). This is an optional field i.e. not mandatory. Thus a ...
6
votes
2
answers
710
views
balance between UI responsiveness and avoiding race conditions
To keep scope small I will talk about UI race conditions initiated by the same user in the same app sessions.
The question is general and not specific to mobile, web or desktop UI.
The issue
Modern ...
1
vote
4
answers
4k
views
C# How to correctly work with ProgressBar? Architecture look
I am wondering about the correct architecture to work with a progress bar in C#. But maybe it applies not only to C#, because I need an architectural look at this.
I'll explain my question with an ...
0
votes
0
answers
58
views
Do I need provide translation for an UI library
I have a library for a lockscreen in Android, that includes diferent dilogs for fingerprints, texts and all that stuff. My question is: What the best practice to provide localization. Should I have ...
0
votes
2
answers
1k
views
Is testing UI components considered to be unit testing? [closed]
My UI components are tightly coupled with my UI framework (i.e. Vue + Vuetify). The framework provides some testing utilities that allow you to fake the rendering of these components without the need ...
0
votes
1
answer
372
views
Designing a WPF / MVVM architecture where view behavior changes in different states
As part of my bachelors thesis, I'm trying to develop something akin to a painting program. That means, I have a toolset, be it selection, drawing, highlighting, etc.
I'll have a canvas that displays ...
1
vote
1
answer
461
views
Are automated UI tests necessary? What should be tested?
Our small team writes desktop apps using WPF + Prism. Most of the team members are not so familiar with professional software developing process. I'm trying to adopt some agile techniques to make the ...
1
vote
0
answers
216
views
Save data from multiple Qt components scattered around multiple QML files
I would like to save the current "value" property of several components (e.g. a Slider) as a configuration profile when the user clicks on the Save button in my application. However, the Save button ...
4
votes
1
answer
238
views
Self describing data with UI
I have a use case where my team owns a web UI to aggregate data from 10+ service teams and present it to the customer in order to collect more information . This data (which is in json format) is very ...
7
votes
2
answers
1k
views
TDD for Graphics application
I have googled and read few articles about the TDD for UI. I am not very much clear about how to start the implementation of the Graphics Application using Test Driven Development or how to write unit ...
3
votes
1
answer
2k
views
can I send message to the actor in sequence diagram
Is it correct for the user(actor) in sequence diagram to receive a message from object while<< UI>> is exist in the diagram
for example user will request to edit some data ..so the request will ...
1
vote
0
answers
70
views
Separate UI applications vs single with logic for showing/hiding functionality
Currently my company has a single internal application that our support agents use. It only supports one product at this time. Tech stack is angular on the front end and spring micro services for ...
0
votes
1
answer
66
views
Web designer equivalent in Android and iOS worlds?
When web came, for years designers would create stunning designs in Photoshop, and developers would try to translate those designs to HTML/CSS/JS. This had many problems with itself. Lack of ...
1
vote
3
answers
112
views
If either html+css or an image can achieve my desired decoration, which one should I prefer to use?
For example, to create flow indicator like:
Step 1 > Step 2 > Step 3
I can either:
1.Use html+css
.concave{
border-left:1em solid transparent;
border-top:1em solid orange;
border-bottom:...
0
votes
1
answer
220
views
UI Architecture
I'm confused in architecture solution for boolean expression tree.
Business logic has algo to parse config and make a tree from such expressions.
(a && b || c) && d || (e && f)...
1
vote
1
answer
1k
views
Windows Service with authentication, some UI required
I have to build a Windows Service which requires OAuth2 authentication. The service is intended (like all services should be) to run unattended (no user need to be logged in in Windows). The problem ...
2
votes
2
answers
541
views
Get value from UI element or from variable
I had a debate with a friend and I'm looking for a way to resolve it and decide which approach is better for maintenance and whether there's some consensus about a best practice regarding it:
If an ...
1
vote
1
answer
383
views
how should the MVP pattern handle views created at runtime?
how should the MVP pattern handle views created at runtime ?
for example
There is a mainView (that has a model and presenter) that needs to display a list, each item in the list is represented by it'...
4
votes
2
answers
897
views
End-to-end and UI testing in microservice-architecture?
We're in a process of moving from a huge old monolithic architecture towards microservice one.
UI-centric Product
Our product (which is mostly a large single-page app) is quite UI-centric. Thus the ...
0
votes
1
answer
39
views
Real time update as user entering information like what Google doc do or use a save button
I am making a design decision to real time hit API to save all the fields in a form when user make an change even if hes not finished yet. Or, use a save button like most app does.
Any pros and cons ...
0
votes
3
answers
300
views
easy way of preventing multiple users of working on the same task
Our client has a software, where tickets come in. Multiple employees are responsible for answering these tickets (via phone), in a short amount of time (call back within X minutes).
What would be the ...