Commit Graph

50 Commits

Author SHA1 Message Date
Mahmoud-Emad
70ca9f1605 feat: Enhance governance dashboard with activity tracking
- Add governance activity tracker to record user actions.
- Display recent activities on the governance dashboard.
- Add a dedicated page to view all governance activities.
- Improve header information and styling across governance pages.
- Track proposal creation and voting activities.
2025-05-25 16:02:34 +03:00
Mahmoud-Emad
d12a082ca1 feat: Enhance Governance Controller and Proposal Handling
- Improve proposal search to include description field: This
  allows for more comprehensive search results.
- Fix redirect after voting: The redirect now correctly handles
  the success message.
- Handle potential invalid timestamps in ballots: The code now
  gracefully handles ballots with invalid timestamps, preventing
  crashes and using the current time as a fallback.
- Add local time formatting function:  This provides a way to
  display dates and times in the user's local timezone.
- Update database path: This simplifies the database setup.
- Improve proposal vote handling: Addresses issues with vote
  submission and timestamping.
- Add client-side pagination and filtering to proposal details:
  Improves user experience for viewing large vote lists.
2025-05-25 10:48:02 +03:00
Mahmoud-Emad
97e7a04827 feat: Add pagination and filtering improvements to proposal votes
- Added pagination to the proposal votes table to improve usability
  with large datasets.
- Implemented client-side filtering of votes by type and search
  terms, enhancing the user experience.
- Improved the responsiveness and efficiency of the vote filtering
  and pagination.
2025-05-22 17:13:52 +03:00
Mahmoud-Emad
3d8aca19cc feat: Improve user experience after voting on proposals
- Redirect users to the proposal detail page with a success
  message after a successful vote, improving feedback.
- Automatically remove the success message from the URL after a
  short time to avoid URL clutter and maintain a clean browsing
  experience.
- Add a success alert message on the proposal detail page to
  provide immediate visual confirmation of a successful vote.
- Improve the visual presentation of the votes list on the
  proposal detail page by adding top margin for better spacing.
2025-05-22 17:05:26 +03:00
Mahmoud-Emad
52fbc77e3e feat: Enhance proposal creation and display
- Improve proposal creation form with input validation and
  default date settings for a better user experience.
- Add context variables to the proposals template for
  consistent display across governance pages.
- Enhance proposal detail page with visual improvements,
  voting results display, and user voting functionality.
- Add styles for better visual presentation of proposal details
  and voting information.
2025-05-22 16:31:11 +03:00
Mahmoud-Emad
fad288f67d feat: Add total vote counts to governance views
- Add functionality to calculate total yes, no, and abstain votes
  across all proposals. This provides a summary of community
  voting patterns on the governance page.
- Improve the user experience by displaying total vote counts
  prominently on the "My Votes" page. This gives users a quick
  overview of the overall voting results.
- Enhance the "Create Proposal" page with informative guidelines
  and a helpful alert to guide users through the proposal creation
  process.  This improves clarity and ensures proposals are well-
  structured.
2025-05-22 16:08:12 +03:00
Mahmoud-Emad
4659697ae2 feat: Add filtering and searching to governance proposals page
- Added filtering of proposals by status (Draft, Active, Approved, Rejected, Cancelled).
- Added searching of proposals by title and description.
- Improved UI to persist filter and search values.
- Added a "No proposals found" message for better UX.
2025-05-22 15:47:11 +03:00
Mahmoud-Emad
67b80f237d feat: Enahnced the dashboard 2025-05-21 18:01:22 +03:00
Mahmoud-Emad
b606923102 feat: Finish the proposal dashboard 2025-05-21 15:56:47 +03:00
Mahmoud-Emad
8f1438dc01 feat: Remove mock proposals 2025-05-21 15:43:17 +03:00
Mahmoud-Emad
916f435dbc feat: Load voting 2025-05-21 15:04:45 +03:00
Mahmoud-Emad
5d9eaac1f8 feat: Implemented submit vote 2025-05-21 13:49:20 +03:00
Mahmoud-Emad
9c71c63ec5 feat: Working on the propsal page:
- Integerated the view proposal detail db call
- Use real data instead of mock data
2025-05-21 12:21:38 +03:00
Mahmoud-Emad
4a2f1c7282 feat: Implement Proposals page:
- Added the create new proposal functionality
- Added the list all proposals functionnality
2025-05-21 11:44:06 +03:00
Mahmoud Emad
60198dc2d4 fix: Remove warnings 2025-05-18 09:48:28 +03:00
Mahmoud Emad
e4e403e231 feat: Integerated the DB:
- Added an initialization with the db
- Implemented 'add_new_proposal' function to be used in the form
2025-05-18 09:07:59 +03:00
timurgordon
2fd74defab update governance ui 2025-05-16 14:07:20 +03:00
timurgordon
9468595395 Add company management module with registration and entity switching 2025-05-05 13:58:51 +03:00
timurgordon
2760f00a30 Vocabulary fixes 2025-05-05 11:32:09 +03:00
timurgordon
a7c0772d9b fix images 2025-05-05 11:12:15 +03:00
timurgordon
54762cb63f vocabulary change 2025-05-05 10:49:33 +03:00
timurgordon
bafb63e0b1 Merge branch 'development_timur' of https://git.ourworld.tf/herocode/hostbasket into development_timur 2025-05-01 12:15:14 +03:00
timurgordon
c05803ff58 add contract md folder support 2025-05-01 03:56:55 +03:00
Timur Gordon
6b7b2542ab move all defi functionality to page and separate controller 2025-05-01 02:55:41 +02:00
457f3c8268 fixes 2025-04-29 06:27:28 +04:00
Timur Gordon
19f8700b78 feat: Implement comprehensive DeFi platform in Digital Assets dashboard
Add a complete DeFi platform with the following features:
- Tabbed interface for different DeFi functionalities
- Lending & Borrowing system with APY calculations
- Liquidity Pools with LP token rewards
- Staking options for tokens and digital assets
- Token Swap interface with real-time exchange rates
- Collateralization system for loans and synthetic assets
- Interactive JavaScript functionality for real-time calculations

This enhancement provides users with a complete suite of DeFi tools
directly integrated into the Digital Assets dashboard.
2025-04-29 01:11:51 +02:00
Timur Gordon
c22d6c953e implement marketplace feature wip 2025-04-26 03:44:36 +02:00
Timur Gordon
9445dea629 styling and minor content fixes 2025-04-23 04:58:38 +02:00
Timur Gordon
b56f1cbc30 updates to mock content and contract view implementation 2025-04-23 03:52:11 +02:00
Timur Gordon
6060831f61 rwda ui implementation 2025-04-22 15:36:40 +02:00
34594b95fa ... 2025-04-22 10:39:29 +04:00
15b05cb599 ... 2025-04-22 08:50:31 +04:00
b6dd04a6aa ... 2025-04-22 07:14:37 +04:00
310a5d956f ... 2025-04-22 06:59:24 +04:00
af4f09a67b ... 2025-04-22 06:44:29 +04:00
093aff3851 ... 2025-04-22 06:08:08 +04:00
4a87392194 ... 2025-04-22 06:07:50 +04:00
Timur Gordon
951af7dec7 implement contracts 2025-04-22 03:06:58 +02:00
Timur Gordon
36d605829f Merge branch 'main' of https://git.ourworld.tf/herocode/hostbasket 2025-04-22 02:16:19 +02:00
Timur Gordon
6ed6737c7e implement governance and flow functionality 2025-04-22 02:15:49 +02:00
361dff22c5 Merge branch 'main' of git.ourworld.tf:herocode/hostbasket 2025-04-21 15:01:37 +02:00
4a8f65e155 ... 2025-04-21 14:49:40 +02:00
Timur Gordon
36812e4178 add jwt auth, fix session handling, clean up middlewares 2025-04-21 13:55:29 +02:00
4b637b7e04 ... 2025-04-21 10:52:19 +02:00
1fa0b30169 ... 2025-04-19 19:59:28 +02:00
17a11fb43c ... 2025-04-19 19:49:39 +02:00
1b08d57924 ... 2025-04-19 19:46:55 +02:00
9dfe263c60 ... 2025-04-19 19:17:58 +02:00
86bb165bf2 .... 2025-04-19 19:11:13 +02:00
8f8016e748 Initial commit 2025-04-19 16:45:14 +00:00