Skip to main content
Code Review

Questions tagged [user-interface]

The part of the application that users directly interact with. Use this tag for reviews of code that defines how an application's user interface works and looks.

Filter by
Sorted by
Tagged with
6 votes
3 answers
551 views

Menu user interface class in C++

I wrote a menu user interface in C++. What do you think about my code? What can I improve? Am I missing some better practices? main.cpp ...
5 votes
2 answers
172 views

Tags selector in plain JavaScript, without using any plugin

I have made a "tags selector" in plain JavaScript, without using any plugin. ...
5 votes
1 answer
123 views

Font Selector Combobox Design in C#

A font selector combobox which contains all the values from the InstalledFontCollection enumeration is created, and the font of each item is same as its name. The ...
9 votes
2 answers
732 views

Color Selector Combobox Design in C#

I am trying to create a color selector combobox which contains all the values from the KnownColor enumeration, and the background color of each item is same as its ...
2 votes
1 answer
129 views

How to manage array of states effectively?

I have a working code to have 2 search bars with dropdown suggestions, selectable by both mouse and arrow keys in TypeScript and Fresh/Preact. In there I have to explicitly declare individual hooks ...
Ooker's user avatar
  • 201
0 votes
1 answer
67 views

What command line options style is the best for command similar to `scp`? [closed]

I am writing a command line tool to copy files to or from locations, which can be a path inside a task inside a running Nomad task. The location can be either a stream or location on the local ...
3 votes
2 answers
304 views

Truncating/abbreviating strings in the middle with an ellipsis (...) (or other) separators with a fixed character limit

Problem For some user-facing string, I want to truncate it to some given maximum length (also useful for file name/path lengths on Windows etc.). However, I want to do it a little more elaborately ...
1 vote
2 answers
212 views

Virtual scroller Vue component

Problem The scrolling looks smooth on Windows, but very laggy on Linux (Webkit webview and Webkit browsers). Any thoughts on what could be optimized or what's obviously broken? Demo playground: https:/...
2 votes
1 answer
79 views

Clock time validation app, cognitive exercise, minimal viable product

How to improve this code, how to make it accessible to get user feedback? This is a minimal clock time validation app. There is a clock face and the user is asked to validate the time the clock hands ...
5 votes
0 answers
540 views

Implementing a Basic Camera UI using WebGPU and JavaScript

Context I am currently in the process of throwing myself into learning graphics programming, and my chosen platform is using JavaScript and WebGPU. After successfully making a basic glTF JSON renderer ...
0 votes
0 answers
67 views

Enable a textbox when the previous one is no longer empty

I've written this JavaScript code, which disables textboxes if the previous textbox is empty. This is so people enter the text in order — write first in the first textbox, only then the second textbox ...
1 vote
2 answers
107 views

UI of a text-based game with simple print statements

I am writing a simple text adventure in python that will eventually have the capability of running other text adventures within it, but my code is all over the place and the UI is terrible. What are ...
3 votes
1 answer
257 views

Responsive Navigation with hamburger menu

This script creates a hamburger menu when the window is resized. It will also create a sticky navigation when the window is scrolled down, which will also create a hamburger menu when the window is ...
4 votes
2 answers
197 views

Python Tkinter UI Pattern Password Code

This post is less of a question and more of a hope for people to see my code which I know is far from great and give me some direction or simple tips on improving the quality of it. Normal Stud: ...
3 votes
1 answer
175 views

Newspaper Bill Calculator CLI with Python (2 of 3, CLI)

Code is posted after explanation. Due to the size of the project, this is being posted in three separate posts. This also ensures each post is more focused. Post 1 of 3, Core: Newspaper Bill ...

15 30 50 per page
1
2 3 4 5
...
10

AltStyle によって変換されたページ (->オリジナル) /