Questions tagged [ui]

User Interface _ the application interface designated for the end users

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

Desktop UI builders state of the art studies or papers?

I am quite surprised that searching for advances in the last 30 years of UI builders for desktop applications did not showed interesting results in Google Scholar: https://scholar.google.com/scholar?...
0
votes
1answer
27 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
1answer
76 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
0answers
17 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
1answer
69 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
1answer
72 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
1answer
37 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 ...
-3
votes
2answers
427 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
1answer
85 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
2answers
409 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
1answer
612 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
1answer
77 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
2answers
154 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
2answers
1k 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
1answer
534 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
5answers
537 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
1answer
72 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 ...
5
votes
2answers
341 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
4answers
3k 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
0answers
39 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
2answers
554 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
1answer
201 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
1answer
236 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
0answers
142 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
1answer
202 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 ...
6
votes
2answers
907 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
1answer
1k 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
0answers
63 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
1answer
62 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
3answers
105 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
1answer
210 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
1answer
708 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
2answers
410 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
1answer
267 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
2answers
652 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
1answer
36 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
3answers
151 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 ...
2
votes
2answers
217 views

Search page design with logical operators

I have a page that displays a set of records. The page has filter section to search records. currently the logical operator AND is applied between all the filter conditions. Now the requirement for ...
2
votes
1answer
1k views

How to manage multiple views in a single page JavaScript Application without a 3rd party library [closed]

I am building a JavaScript application that makes AJAX requests to a PHP API Back-end to load JSON data for different views. The app UI consist mainly of a left sidebar menu which has items loaded ...
5
votes
4answers
4k views

Should I put UI and logic in separate classes?

I currently work on a hobby project which I use to learn more about Android/Java programming and programming in general. Recently, I decided to integrate jUnit into the project. Just getting it in ...
1
vote
1answer
33 views

NPM downloadable package with only high level brand styles [closed]

I've been tasked to create an NPM package that our Frontend teams can make use of that has styling for the companys UI elements: Layout Grid unit proportions, gutters and spacing. Typography ...
1
vote
0answers
44 views

Pros and cons of asserting on the DB level in selenium tests

Consider a Selenium test that does some steps on the UI (e.g. fill a field and then click a save button), and afterwards checks with a DB query if the data entered in the new field was really saved ...
-2
votes
1answer
77 views

How to handle a complete UI redesign of a web product? [closed]

Sorry for the codeless post, but I am wondering how to handle a complete UI redesign for a big web product? Maybe somebody have experience and could actually determine the steps on how you would do ...
3
votes
0answers
125 views

Interface Methods vs Data Objects

Building a UI editor for Android and basically there are interfaces such as this: interface Item { fun decorate() fun translate(x: Int, y: Int) fun rotate(rotation: Float) fun scale(...
1
vote
1answer
338 views

Knowledge base UI pattern

In our database backed (C# WPF / Entity Framework) application, we want to build a system to enter, store, display and search arbitrary content linked to our main entity. The challenge here is to find ...
1
vote
4answers
155 views

Advice: Switching to MVC from Webforms Web designer vs UI designer [closed]

Over the last two years, I've taken over a web application development group. My focus for the first two years was building teams, get technology updated and in-place, and fixing my customers pain ...
2
votes
3answers
543 views

Browser Web Application UI/End User Testing

I am building a web application in php. I am following TDD (write tests before production code) for my unit tests and using BDD to drive discovery of my applications features and to provide ...
5
votes
0answers
615 views

Feature Toggles for Front-end Redesign

We are planning a redesign of our front-end and would like to roll it out using a feature toggle. We want to expose the changes to limited sets of users as we iterate and perhaps allow users to opt ...
1
vote
3answers
141 views

Are debug-build-only UI controls a bad practice?

Often, to simplify testing, I add UI controls that are only visible and enabled in debug build only. Or prepopulate mandatory input fields in debug build. Is this a bad practice? Assuming the release ...
9
votes
5answers
852 views

How to refer to ByRef and ByVal in a dropdown label? [closed]

The MSDN page on ByRef and ByVal keywords isn't very helpful; unless I somehow skipped it, they're simply being referred to as "keywords" everywhere. One of the main contributors of the Rubberduck ...