Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core Wallet Community Fund UI Improvement (#428)
* basic implementation of topMenu * fixed hover icon, ready to add ui * Assets for community fund button * Implemented community fund tab assets * added community fund page, Q_OBJECT not yet supported * cfund tab image gradient correction * cfund tab image text now static on hovering * added page widgets, fetches cfund proposals and paymetn requests * Fixed filters location when resizing + create payment button readable * available, locked, spent labels static on resizing + todo slider format * changes * Proposals and Payment request buttons centered on resizing * Default selection of 'All' radioButton * Enabled vertical scroll bar for browsing cfund proposals * v1 implementation of proposals buttons toggle * Pull cfund available and locked funds on refresh * added communityfunddisplay widget files * cfund stats formatting fixes * changed display widgets to more accurately represent proposals * cfundstats to correct decimal places * added base proposal display widget * changed cfundstats to 8dp * fixed changes to communityfunddisplay constructor * partially implemented community fund widget, need to add requested and duration dialog with resize on page * added frame and changed size of communityfunddisplay * proposal widgets hidden on refresh * finalised labels in community fund display wideget * Filtering * Addition of expired radio button * Expired filter functionality * Pending filter fix * Filters (but my vote) give correct proposals * hide buttons on display if the proposal/payment request cannot be voted apon * spent cfundstat label implemented * Removed trailing 0's from cfundstats * Format proposals nav requested * cfundstats labels edge case formatting fix * changed display is expired date not voting window duration, currently broken but buildable * Further number formatting improvements * started implementing the yes no button box * removed std::cout * logging community fund proposals expiry and recalculating (still incorrect) proposal vote time remaining * initial addition of communityfunddisplaydetailed.ui and other class files, this will display extra information on the community fund proposal * added default values to communityfunddisplaydetailed.ui * connected view details button on communityfunddisplay.ui to create a communityfunddisplaydetailed.ui dialog, initial implementation with fixed ui object names * added functionality to close button on communityfunddisplaydetailed.ui, it now also inherits palette of parent (navcoin styled window) * (not working but buildable) started voting implementation via communityfunddisplay.ui * add base files for communityfundcreateproposal class * create base files for communityfundcreatepaymentrequestdialog class, no implementation yet * label ui variables correctly and add widgets for communityfundcreatepaymentrequestdialog.ui and communityfundcreateproposaldialog.ui * started proposal/payment request button hooks * Format long proposal titles, prevent text run off * adding functionality to communityfundcreateproposal.ui * addition to validation of communityfundcreateproposal.ui * proposal transaction start * Proposals and payment request formatting fix * Create proposal/payment request button static size * proposals now will not change style (yay) * Voting disabled in detailed view when appropriate * Format NAV amounts correctly in detailed proposal view * Align items in detailed proposal view better * First implementation of proposals/p requests toggle * Removal of 'expired waiting for...' proposals out of non expired filters * 'Expired waiting for...' proposals now appear in expired filter * Accepted proposals correct expiry time * added hash of proposal to communityfundviewdetailed.ui, also implemented more of the labels in this ui file * Removed ability to vote on expired proposals * Voting removed from detailed expired proposal view * write appropriate duration labels for proposals * hooked up createpaymentrequest fields to button * remove cout * split create proposal and create payment request buttons so that both are viewable at the same time * Correct expiry times in detailed proposal view * fixed pending proposals tx blockhash detailed view * refresh cfund tab content on tab switch * added hash to detailedproposal dialog, started validation function for communityfundcreatepaymentrequest.ui * radio buttons now take toggle into account * First step to displaying voted for proposals * added new ui for communityfundpaymentrequestdisplay * Filter user votes and format spent cfundstat * your vote filter full implementation * proposals display with buttons coloured if voted for * Vote colour showing in proposal display on click * Added colour voting indicators to detailed proposal view * Implementation of yes/no voting on proposals * added validation highlight, started craeteproposal * added cancel vote button to proposal display widget * added cancel vote button to proposal detailed display widget * UI changes to payment request display * Implemented most of the functionality of the prequest display widget * First implementation of prequest displays * radio buttons no longer reset on toggle * cfund view consistent when changine tabs but still refreshes * added base implementation of qvalidatedplaintextedit * Added new ui for prequest detailed view * Static implementation of payment request detailed view * added reject message to create proposal * Prequest details field population and url change * Changed window names to better describe form * Hide txblockhash is proposal is pending * Amount formatting on prequest detail * Prequest detail status field showing correct string * Hide txblockhash if prequest is pending * Hide payment hash on non-accepted prequests * Temporary html link implementation * Ready to implement time info into prequest detail view * added basic functionality of sendcommunityfund.ui, now times out buttons correctly. Must change visual * Show when prequest is accepted/rejected/expired on detailed view * Fixed error message when clicking hyperlink * hooked up labels and proposal obj, added implementation for prequest dialog * added dialog to exec on click create proposal * fixed stylesheeting of qvalidatedplaintextedit * added success dialog ui * added error/form not correctly filled to createpaymentrequest * Build fixed * Basic success dialog implementation + window title changes * ability to close success dialog * added scrollable spinboxes to ease increase duration * success dialog links to navexplorer but link will not work yet * Made success dialog a fixed size * Added dialog when user has insufficient nav to create a proposal * added saving of vote button state across restarts * create proposal validation complete * added defined color scheme * changed voting colors and added refresh function to communityfunddisplay * added refresh function to display of prequest * create proposal logic (not working yet) * rename Q_SLOTS naming, removed prepended on_ as clash with auto connect/expected naming convention from Qt (expected corresponding signals) * added spinboxtriplet class in attempt to setstyleinvalid apon invalid entry * Proposal creation working with rpc commands * Creating proposals works * deletes apon refresh instead of hiding * Proposal success dialog links to correct url now * added append function to communityfundpage * Create payment request validation until SendMoney function * Changed createproposal form field name to ID * Removed rpcwallet dependecy from createproposal * Replaced ensurewalletisunlocked() * implemented the row column stuff * rename function Refresh -> refresh * added buttons to adjust to vote in communityfunddisplaypaymentrequest * Creation of payment requests finished * removed cancel button that sometimes appeared when proposal had recieved no votes * Formatted payment request confirmation form * tidy up communityfundpage.* now refreshes apon createproposal exit * Fixed proposal filtering without enough funds/before end of voting cycle * fix to previous commit * fixed merge lol * Fixed prequest filtering without enough funds/before end of voting cycle * Fixed the build * trimming communityfunddisplay.* * trimmed communityfundcreateproposaldialog.* * moved communityfund ui files * finished tidy up * spinbox progress * Payment request voting double up fix * fixed double up display * spinbox fix * removed spinboxtriad and fix compile warnings * merge previous * Removal of cfund dropdown * cfund notification now directs to the new cfund ui * Removal of cfund_voting * bolded fields and added dlg close apon sucessful creation * changed return values of proposal creation and payment request from bool to void * cfund notification improvements * fixed bug where community fund icon would sometimes not appear in menu and added word wrap to sendconfurmationdialog * Proposal/payment request description wraps correctly * Payment request confirmation title change * Proposals pending voting of payment requests have changed expiry fields * added length clipping to title * Format long descriptions in detailed views * Replaced hyphens with new lines for URL readability * Replaced hard coded voting cycle numbers * Expiry time hidden for proposals waiting for enough coins in the fund * Potential macos fix * Potential macos fix part 2 * added NAV to amount titles for creating proposals and payment requests * Removed type warnings from detailed views * Cfund tab filters by pending by default * removed unnessesary qt/moc file generation (removes compiler warnings) * Changed deadline to proposal duration * revert * Pending proposals/prequests 'voting period finishes in' replacement * Removed incorrect comment * Removed unnecessary import * Removed duplicate lines * Removed all references of cfund_voting (old cfund ui) * Removed duplicate lines in navcoin4-qt.files * removed nonexistant files from Navcoin-Qt.files, added some translation support and removed more headers * Fixed successful creation hyperlink and text * Removed faulty detailed title formatting * Display title formatting fix when using new lines * Use of variable COIN instead of hard coding value * Created formatDisplayAmount() function and implemented * Removed hard coded fee values * Implementation of No Vote filter, default when directed to cfund tab
- Loading branch information