Skip to content

Refactor project structure and update admin UI components#47

Merged
vthish merged 13 commits into
devfrom
feature/admin
Apr 25, 2026
Merged

Refactor project structure and update admin UI components#47
vthish merged 13 commits into
devfrom
feature/admin

Conversation

@vthish
Copy link
Copy Markdown
Owner

@vthish vthish commented Apr 25, 2026

This pull request introduces several UI and functional improvements across the admin section of the app. The main highlights include enhanced input validation when adding institutions, improved analytics chart visuals and animations, and a general cleanup of window inset handling for a simpler codebase. Additionally, there are minor UI adjustments for better layout consistency.

Institution Registration Improvements

  • Added a confirm password field (etConfirmPassword) to the Add Institution screen and implemented validation to ensure passwords match before registration proceeds. [1] [2] [3] [4] [5]
  • Updated the registration logic to require all fields, including confirm password, to be filled.

Analytics Dashboard Enhancements

  • Introduced entry animations for analytics cards (cardDonors, cardInstitutes, cardChart) and improved the PieChart’s appearance with custom colors, percent values, legend placement, and smoother animations. Also fixed a potential null pointer exception during blood group counting. [1] [2] [3] [4] [5]
  • Updated the background color of the analytics screen for a lighter look.

Window Insets & Code Cleanup

  • Removed redundant window inset handling code from multiple admin activities (AdminDashboardActivity, AdminSettingsActivity, AnalyticsActivity, ManageRequestsActivity) for cleaner and more maintainable code. [1] [2] [3] [4] [5] [6] [7] [8] [9]

UI Adjustments

  • Tweaked padding, margins, and layout attributes in admin dashboard and settings layouts for improved visual consistency. [1] [2] [3]

Other

  • Updated deployment target selector timestamp in .idea/deploymentTargetSelector.xml.

@vthish vthish merged commit ea153a5 into dev Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant