Skip to content

93 finish dashboard page #102

Merged
merged 13 commits into from
May 19, 2026
Merged

93 finish dashboard page #102

merged 13 commits into from
May 19, 2026

Conversation

tommyah
Copy link
Member

@tommyah tommyah commented May 15, 2026

Dashboard page finished with functionality!

tommyah added 12 commits May 15, 2026 10:27
Added quantity buttons and buy / sell button in top section of dashboard view. Functionality not added yet.
Updated price section of dashboard view to show percent change since last week as well as highest and lowest price of the selected stock
Stock name now updates when selecting a new stock. In addition, amount of shares owned is updated when buying and changing stocks
Made it possible to sell shares based on a stock. This works by getting total amount of shares owned on the stock, and splitting shares if the required amount to sell does not divide the total amount owned.
Added functionality for the quantity buttons, and fixed some logic concerning selling/purchasing stocks and synchronizing the view.
If attempting to sell more than currently held, the system simply sells every share
Implemented functionality for searching for stocks in the dashboard view
Added a time range enum that controls how the graphs' x value range.
The percent values shown in the price statistics section of the header of the dashboard view now updates according to the time range set.
Implemented percent changes since chosen timerange for stock buttons, so they now display the stocks' changes.
@tommyah tommyah linked an issue May 15, 2026 that may be closed by this pull request
12 tasks
@tommyah tommyah requested a review from etsorens May 15, 2026 22:18
Copy link
Member

@etsorens etsorens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@etsorens etsorens merged commit 9e60c5e into main May 19, 2026
1 check passed
@etsorens etsorens deleted the 93-finish-dashboard-page branch May 19, 2026 07:37
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Finish dashboard page
2 participants