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
0
votes
1answer
38 views

Grid of radio buttons in Android

I want to display multiple radio buttons in a layout with multiline style as an item inside a RecyclerView. Look at the code I provided below and suggest how I can ...
3
votes
1answer
46 views

Filling A Linked List With Data From File And Handling User Status Messages

I have completed an university assignment on C. While the code is fully functional based on the specifications of the exercise, I like high-quality code and would like to ask for opinions on how can ...
4
votes
1answer
104 views

A small PHP library for styling terminal output

I've attempted to make a small PHP library for styling terminal output using ANSI escape sequences. The repo is located here. To be honest, I am not really satisfied with the current structure of my ...
2
votes
2answers
57 views

responsive login page (html/css only) [closed]

I'm working on a responsive login page (open source). Could you try to review a bit the code on Github ? ...
0
votes
0answers
31 views

Navigate among Microsoft UI Automation elements by using the TreeWalker

I wrote a method that finds a child item in a menu based on some condition. The code works but in the cases when I'm searching for more items which are way down in the tree structure it will take a ...
2
votes
1answer
59 views

Table View Controller class in Swift

My TableView consists of four cells (for blacklisting categories) with a boolean property (indicated with a checkmark) and another cell with a UISwitch embedded in ...
4
votes
1answer
69 views

Onclick radio buttons to change background color

We are displaying two radio buttons in page. Click on Radio buttons, it will change background color. Is there any way to improve the quality of the code? ...
6
votes
3answers
559 views

Implementing a customized helpful hints function which includes docstring but much shorter than Python help()

When I show others how to use this module I have them make a PROJECT instance and then add other objects. ...
2
votes
0answers
65 views

Generic DialogueBox class with different parameters

I have implemented a DialogueBox class which can be static, singleton, service locator, etc. I have written it as a singleton pattern and implemented it in Unity3d engine. It is a part of a game. I ...
4
votes
2answers
158 views

Python coin flipper with GUI

I am doing some simple projects in an attempt to get good at programming, this is my first GUI would love some feedback, and some guidelines. ...
4
votes
1answer
83 views

Simple view for CRUD with miglayout

I have created the following view extending the JPanel class, the objective of this view is to allow the user to perform 3 CRUD operations create,delete and modify on the entity "Attribute", this ...
1
vote
0answers
20 views

Deletion button on a website that enforces database integrity

I am designing a website on which users can configure (CRUD) various objects which are mutually dependent upon other types. I am preventing a cascade delete, so let's say a ...
2
votes
0answers
715 views

FCC: Product Landing Page - HTML & CSS only

I have created a product landing page for a freeCodeCamp responsive web design project which requires me to create a "Product Landing Page". Requirements to keep in mind: ...
3
votes
1answer
65 views

Plain Page Flip Effect

I've created a very plain version of page flip onscroll. I made it to look like turning the pages of a book. It looks OK on browsers I have (Firefox 52.9, Chrome 49, IE8). Though the effect doesn't ...
1
vote
1answer
124 views

Loop through different controls and enabled the state of the whole group VBA

I got the below code that is looping through all controls and changing the state in a after update event and enables new row for user to use. Everything works fine but i'm just wondering whether there ...
2
votes
1answer
49 views

User-friendly script for searching through log files

A BASH script that ask users simple questions and greps the syslog archive files (plain-text and gzipped). The script is fully working; I am looking for advices on: Coding style Possible ...
1
vote
1answer
34 views

Simple React component to view cached data and test result from API

This is only the front end side of things which I have at the moment, as the back end is still being worked on. But as this is my first attempt at a react component, I'd like to know if there is ...
3
votes
1answer
32 views

Front end for system ordering

I am developing a microservice that enables business partners to order systems for common customers: ...
4
votes
0answers
4k views

Page and center UICollectionView like App Store

I need a collection view to page through cells and center it like the App Store, where a portion of the previous and next cells look like this: The native ...
0
votes
0answers
814 views

React Grid-List View

React Grid-List View React v16.3 Font Awesome 5 This program uses the React Context API to produce a responsive grid or table list using Zen Design styles and Font Awesome icons. Notes: Zen ...
2
votes
0answers
35 views

CRUD UI for managing banners in React

How can I improve this code? I am a beginner learning react. This is a UI for managing banners. Users upload the image for the banner and specify a start date and end date between which the banner ...
3
votes
0answers
95 views

Maintaining a complicated installer supporting per-user and everyone

Another challenge for developing rubberduck VBA project is to develop an installer that support per-user mode and everyone-mode. Normally with an MSI package, one has a bootstrapper so it is possible ...
3
votes
1answer
60 views

Find matching image and metadata files, pull data and rename both

My Original - Read date from a file and rename two files using the date github if you want to see behind the scenes. I like taking pictures of birds. Lots of pictures of birds. My camera counts ...
2
votes
0answers
59 views

App showing a welcome page with an animal's picture

I have an app which shows a welcome page with an animal's picture. Also, we can navigate to a second view, where there are two canvas, and a collapsable panel which hosts controls' inputs. The aim of ...
0
votes
1answer
47 views

Poké-permalinks

On Pokemon Fusion, I found it annoying that the webpage didn't automatically update the tab URL to the permalink when the fusion is changed, so I decided to write a UserScript to do that. After ...
2
votes
1answer
904 views

VBA UI design architecture, how to make this a piece of art

I have this very recurrent pattern at my VBA macros, where I have to ask the user to give me certain information that will be necessary for the processes to come. Most often for example, I need him to ...
4
votes
0answers
114 views

Implementing a TTY loading / waiting animation

I implemented a class to animate waiting for processes: ...
3
votes
1answer
2k views

Multi-line input reader

I wrote two functions to read multi-line user input. ...
1
vote
0answers
85 views

Interface prototype that draw on windows forms chart

now I'm working on some code that will control external FPGA and draw some data on WF chart. It has complete functionality now, but I'm interested in better practices of doing interfaces. I have UI ...
2
votes
0answers
154 views

Comments on singleton Swift status bar alert

I was trying out some projects like a status bar alert. It made most sense for this status bar to be a singleton: there is only one alert visible at a time. ...
-2
votes
3answers
132 views

Interview project to redesign a website for a property

I'm applying for a UI/UX position at a company that makes software for landlords, apartments, property managers, etc. After the interview the hiring manager gave me a project to work on. These are the ...
2
votes
1answer
512 views

User Input - Date Range

Description A new utility I built to ask users to input a date range (StartDate + EndDate). Function AskDateRange() that handles loading/unloading the form and ...
5
votes
1answer
92 views

Swing “Number Guesser” program

I have made a UI that guesses the number that the user is thinking of(0 - 100), and I am wondering if it can be improved(I guess this is simple AI). I tried to shorten it as best I could, but it still ...
5
votes
1answer
83 views

Disable execution of parts of the code based on user's choice C++

I am working on the small program for data acquisition where the data is written to log file and the clients can listen to data broadcasted over socket. What I would like to achieve is to give the ...
3
votes
0answers
2k views

Creating Android layout with GridLayout

I'm trying to create a Layout with two columns which are next to each other (I'm accomplishing this behavior with a LinearLayout). Inside each column, I have two TextViews and two Buttons, which I ...
1
vote
1answer
39 views

How to refactor / re-architect the components/state here in ui-router app [closed]

https://plnkr.co/edit/bOZW1a9u62W1QA6cYjYj?p=preview My goal has been to separate the Dashboard states from the Feed state. ...
3
votes
0answers
50 views

Reusable, manipulatable plots

I'm interested in mimicking a simple version of Mathematica's Manipulate function in javascript. This is my first project in javascript, but I was hoping to make a library that I can use to quickly ...
1
vote
1answer
52 views

Navigating menus in automation tests

I am trying to write a method that can find the child item in a menu. The below code works but is not exactly elegant or scaleable. Is there another way to find the path to child menu item that could ...
1
vote
1answer
58 views

Building a UI to fetch list of features and edit them

I am building a UI which fetches a list of features based on an ID and then the user can edit the list of features and save it. The script also build the UI based on the data structure currently hard ...
2
votes
2answers
172 views

Object to return user specified generic types in backend code

The idea is that a user will dynamically edit simple key/value settings that will customize their instance of the application, e.g. the welcome banner text. I am trying to implement everything in a ...
2
votes
1answer
14k views

Setting constraints for dynamic views in iOS

I have an app which uses Stack Views to update its UI depending on the number of pigs. For example below, 1 pig and 4 pigs. I set up Stack Views in Storyboard and set isHidden to true based on how ...
2
votes
0answers
40 views

Comments on a 'PullableView'

I created a view called PullView which adds a level of interactivity to UI components. PullViews can be pulled sort of like a ...
1
vote
1answer
2k views

Login page without header/footer bars

I'm creating an app where the login page doesn't have the header/footer bars that the pages, after being logged in, would have. I've created an example that works, but I'm unsure if I am using the ...
11
votes
2answers
564 views

English Draughts

The basic UI for my checkers app is complete, so the next step is to come here for review. I have not built my Facade over my F# game library, so some of the type usages are a little strange; this ...
3
votes
0answers
142 views

Adding swipe support to multiple classes

I have implemented swipe functionality using UIPanGestureRecognizer in a project. What I have done is added PanGesture to ...
3
votes
1answer
440 views

Text-based menu to manipulate a database text file

I am making a program that lets a user manipulate a database (a text file). In the code I am posting, I show only 2 of the menu choices, namely "createdb" and "deletedb", and a few functions I made ...
1
vote
1answer
85 views

Managing drag in React on-off component

I made a on-off switch to be more fluent in React and added touch functionality to it. The idea is to have it independent of the state management library/logic, and be easy to import into a project, ...
4
votes
2answers
144 views

TextBoxes for various number types

Is there a way I could somehow have all this classes condensed into one, while keeping the code as clean as possible? They are all doing essentially the same thing, just for the different number type....
1
vote
2answers
91 views

Single page site with navigation bar

I've made a simple one page site to practise using Bootstrap. Could you please look at the HTML & CSS and check for possible improvements? Here's a page. HTML ...
4
votes
3answers
66 views

Textbased User Interface for user and program taking turns

I wrote this program to model interactions between a user and an artificial player, both playing by the same rules (not enforced here for simplicity). The game played is here is "your next word has to ...