Skip to content

Development branch (mvc)#102

Open
benison2k wants to merge 300 commits into
mainfrom
development-branch-(MVC)
Open

Development branch (mvc)#102
benison2k wants to merge 300 commits into
mainfrom
development-branch-(MVC)

Conversation

@benison2k

Copy link
Copy Markdown
Owner

No description provided.

- fixed file assets linking/ pathing
- fixed filter container theme responsiveness
- fixed filter field boxes
- restored the chart focus function
…estoration)

fix (MVC chart focus function restoration)
- initial restoration of sysadmin view functions
- standardized use of ajax in core data processes
- added status attribute for entries by encoder
- fixed the civil status by gender and school age population by purok graphs
- initial fix
- needs further testing
…dge)

Update barangay_admin.php

- added badge to dashboard
(UI) initial design of encoder dashboard overhaul
* **Refactor:** Overhauled the Encoder Dashboard (`encoder.php`) to a modern design using a Hero banner, gradient stat cards, and a split-content layout for improved productivity.
* **Feature:** Implemented a new "Recent Submissions" activity feed to show the encoder their latest entries, statuses, and timestamps.
* **Backend:** Updated `DashboardController.php` to fetch and pass `recent_activity` data to the view, supported by a new `getRecentByEncoder` method in `Residents.php`.
* **Style:** Extended `dashboard.css` with dedicated styles for the new Hero section, stat card gradients, and the activity feed layout, maintaining dark mode compatibility.
* **Fix:** Resolved the PHP `Undefined array key "first_name"` warning in `encoder.php` by implementing safer logic to extract the greeting name from the user session data.
* **Consistency:** Added the missing favicon link to `encoder.php` to ensure a consistent tab icon across all application pages.
FEAT: Modernize Encoder Dashboard UI and integrate Recent Activity Feed
…factor Core Utilities

* **Refactor/UI:** Implemented a modern dashboard design for the Encoder, introducing a welcome Hero banner, gradient-style stat cards, and a split-content layout for improved productivity.
* **Feature:** Added a "Recent Submissions" activity feed to the Encoder dashboard, showing the user their latest entries, status, and timestamp.
* **UX:** Implemented relative time display ("time ago") for the activity feed using the new `time_elapsed_string()` utility function.
* **Workflow:** Made the "Pending Approval" stat card clickable, linking the encoder directly to a filtered list of their own pending submissions for quick review and correction.
* **Refactor/Core:** Moved reusable logic (`get_greeting_name`, `time_elapsed_string`) into a centralized `core/functions.php` file to improve code structure.
* **Fix:** Resolved the `Fatal error: Call to undefined function get_greeting_name()` by correctly defining all necessary utility functions in `core/functions.php`.
FEAT & FIX: Modernize Encoder Dashboard UI, Add Activity Feed, and Re…
(UI)fixed the residents page action buttons layout
- fixed the residents actions buttons
- analytics page more info still not working
-fixed modal not opening up
-updated the UI so that it looks the same as the resident page more info modal
- made it so that the buttons are more separated from the background making it more visually appealing and easier to look at
-initial sidebar design
- added an option for the user to keep the sidebar on
still not working
- sidebar toggle persistency issue is now fixed
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