Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [ui]

User Interface _ the application interface designated for the end users

Filter by
Sorted by
Tagged with
1 vote
2 answers
73 views

CQRS how to display failed commands in the GUI

I am trying to use CQRS in my project and I was thinking how the GUI gets notified about failures in the GUI, when commands are fire and forget. My commandhandlers are not returning anything, but ...
hadamard's user avatar
  • 140
0 votes
3 answers
123 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 ...
Simon Farshid's user avatar
0 votes
2 answers
154 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 ...
Malachi Holden's user avatar
1 vote
1 answer
137 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 ...
a.t.'s user avatar
  • 225
0 votes
1 answer
66 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 ...
Fabrizio's user avatar
  • 115
0 votes
0 answers
492 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 ...
user2190492's user avatar
0 votes
2 answers
76 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 ...
DevGuru's user avatar
  • 11
-1 votes
2 answers
305 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 ...
Guiom's user avatar
  • 31
2 votes
1 answer
833 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 ...
Jonathan Barquero-Retana's user avatar
1 vote
2 answers
132 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 ...
Myccha's user avatar
  • 119
2 votes
3 answers
790 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 ...
Scotty Jamison's user avatar
0 votes
1 answer
232 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 ...
yah_nosh's user avatar
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 ...
otoomey's user avatar
  • 155
3 votes
2 answers
215 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 ...
HardCode's user avatar
  • 634
-2 votes
1 answer
104 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 ...
Met's user avatar
  • 107
0 votes
1 answer
430 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 ...
wobbily_col's user avatar
  • 1,881
-1 votes
1 answer
112 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 ...
Krupip's user avatar
  • 1,300
0 votes
0 answers
26 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 ...
rji939's user avatar
  • 9
-1 votes
1 answer
414 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 ...
G.G.'s user avatar
  • 115
2 votes
1 answer
134 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 ...
mkl's user avatar
  • 131
-2 votes
1 answer
43 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 ...
Gregorio Litenstein's user avatar
-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, ...
Ben's user avatar
  • 115
-1 votes
1 answer
93 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 ...
amoe's user avatar
  • 143
6 votes
2 answers
809 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 ...
TZubiri's user avatar
  • 435
-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 ...
asti.v's user avatar
  • 9
0 votes
1 answer
202 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 ...
exSnake's user avatar
  • 111
0 votes
2 answers
181 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 ...
Adam's user avatar
  • 272
1 vote
2 answers
4k 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 &...
Tim's user avatar
  • 5,465
1 vote
1 answer
893 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 ...
aquilares's user avatar
  • 131
10 votes
5 answers
1k 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, ...
HardCode's user avatar
  • 634
2 votes
1 answer
333 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 ...
Aveer28's user avatar
  • 31
6 votes
2 answers
822 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 ...
KolA's user avatar
  • 615
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 ...
Dušan Kalivoda's user avatar
0 votes
0 answers
62 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 ...
thealeksandr's user avatar
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 ...
geeko's user avatar
  • 246
0 votes
1 answer
512 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 ...
Joe's user avatar
  • 405
1 vote
1 answer
474 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 ...
Aleksei Petrov's user avatar
1 vote
0 answers
225 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 ...
ivarec's user avatar
  • 315
4 votes
1 answer
257 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 ...
user401445's user avatar
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 ...
Bhalchandra K's user avatar
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 ...
sana's user avatar
  • 41
1 vote
0 answers
78 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 ...
Anthony's user avatar
  • 119
0 votes
1 answer
67 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 ...
Saeed Neamati's user avatar
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:...
ocomfd's user avatar
  • 5,712
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)...
Vayrex's user avatar
  • 109
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 ...
HoneyBadger's user avatar
2 votes
2 answers
589 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 ...
BornToCode's user avatar
  • 1,273
1 vote
1 answer
405 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'...
user1450877's user avatar
  • 1,050
4 votes
2 answers
936 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 ...
Andrew Khmylov's user avatar
0 votes
1 answer
40 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 ...
Bobby's user avatar
  • 103