KURE Community Curation App, Fundition Update - Edit Steem Posts!
kure·@krnel·
0.000 HBDKURE Community Curation App, Fundition Update - Edit Steem Posts!
Last week saw the addition of posting content to Steem. What a great feature to have. But, you might also want to edit your post, as I often do. Editing posts is now working! I had not returned to the Posting functionality to add the ability to Edit posts, and instead did some necessary fixing of the UI/UX for mobile users, as well as add infinite scrolling to get more kurated post data on the Home page. In addition to having the editing posts working, I also adding infinite scrolling to the Kurated page. Some fixes that crept up were also dealt with. <center><a href="https://thekure.net/"><img src="https://i.imgur.com/7XVJN9x.png" /></a></center> --- # Completed Tasks - ## Editing Posts - ## Infinite scroll to Kurated page --- # Github commits for work done - https://github.com/KrNel/kure/commit/ae574606a2f20325375654f0c6fa18d41ec5d16c - https://github.com/KrNel/kure/commit/b6152c3d8910829a7ddc64bad26fab8c065ef3f4 - https://github.com/KrNel/kure/commit/7c152ada8b28fd5226fd7de6784f0760a2cdcad1 - https://github.com/KrNel/kure/commit/4173039bdc0f1aef3eb05dcc49b7b0ddd183035e - https://github.com/KrNel/kure/commit/f6e7fd5618bea591c2888c9a7ddcd6a68e78f560 --- # Editing Posts To Edit a post, you just need to click on the pencil/compose icon at the bottom of a page. <center><img src="https://i.imgur.com/LfTEAxt.png" /></center> After clicking the Edit icon, you will be redirected to the `Write` component for the post in question. <center><img src="https://i.imgur.com/M9gYDhh.png" /></center> Underneath you will see the preview, just like you would be reading the post already posted. As you make changes, you will see them appear. <center><img src="https://i.imgur.com/kXWT9sd.png" /></center> For example, I will simply add an exclamation point for purposes of demonstration. Here there is no exclamation point. <center><img src="https://i.imgur.com/6W81rb9.png" /></center> Then I add it and hit `Update`. <center><img src="https://i.imgur.com/9eSyyzB.png" /></center> After a few seconds of waiting for the post to be sent to Steem, the page will show with the updates visible. <center><img src="https://i.imgur.com/oPy4GRG.png" /></center> It all starts with showing the Edit button, but only if the user logged is the author of the post. <center><img src="https://i.imgur.com/dMnNrK3.png" /></center> Once the Edit icon is clicked, the Redux store received the call and parses the existing json_metadata into an array, and sets up the draft copy of the post for display. The flag `isUpdating` is set to true, which lets the other components know an edit is in process. <center><img src="https://i.imgur.com/QoLAUBS.png" /></center> Back int he post page you're looking at, the `isupdating` flag lets the page know an update/edit is requested, and then redirects the user to the `Write` component via the `write` route. <center><img src="https://i.imgur.com/OayM3vx.png" /></center> Once in the Write page, the post data is populated into the form fields and text area, and the `Submit` button is changed to `Update`. <center><img src="https://i.imgur.com/3XoI1al.png" /></center> Once `Update` is clicked, Redux comes back into play by processing the form data, just as is done for a regular first-time post, except it posts after the `commentOp` is set the post is sent to Steem right away, without `commentOptions` being set. <center><img src="https://i.imgur.com/gnKUWUA.png" /></center> --- # Infinite scroll to Kurated page I also added the infinite scroll feature to the Kurated page, just like the Home page. Now when you scroll down, you will keep getting posts loaded for your viewing pleasure. --- # Ongoing Tasks Look forward to these tasks and others I come up with being worked on next :) - Adding sort functions to the Communities and Kurated pages - Liking Kurated post submissions in communities - Rating Kurated post submissions in communities - Edit comments - Delete comments - Deleting posts - Tweak comments (limit to 20, show more option, max nested depth) - Implement PRPL Pattern for better performance - Viewing comments in their own page view - Adding infinite scroll to the Communities page - Follows, Followers and Post Count on user pages - Dark skin for the site - Selecting posts to vote at a later time - Grid and List layout for Steem, Blog, and Feed pages - Improve Blog page, with rep, description and location - Add a settings page - Add nsfw filtering - Add progressive image loading --- # Additional Tasks I am adding these tasks to indicate the upcoming work I will be engaging in at some point and in no particular order: - ### Payouts shown in different ways __Description__: Show specific indicators that a post is in declined payout or 100% SP, as opposed to 50/50 split. **Estimated Cost of Development**: 1 hours @ $30/h = $30 - ### Unvote a post __Description__: Add unvote option to remove a vote **Estimated Cost of Development**: 1 hours @ $30/h = $30 - ### Upvote percentage __Description__: Show the upvote percentage on votes page, not just the value. **Estimated Cost of Development**: 1 hours @ $30/h = $30 - ### Flag a post __Description__: Flag some posts by percentage weight applied, for posts and comments. **Estimated Cost of Development**: 3 hours @ $30/h = $90 --- <sub>If you appreciate and value the content, please consider: **Upvoting**, **Sharing** or **Reblogging** below.</sub> <sub>[](https://steemit.com/@krnel) me for more content to come!</sub> --- ### Like what I do? Then consider giving me a vote on the Witness page :) Thanks! <center><a href="https://steemit.com/~witnesses"><img src="https://steemitimages.com/0x0/https://i.imgur.com/R81YLbN.jpg" /></a></center> <sub>My goal is to *share knowledge, truth and moral understanding* in order to help change the world for the better. **If you appreciate and value what I do, please consider supporting me as a [Steem Witness](https://steemit.com/witness-category/@krnel/krnel-s-declaration-of-witness) by voting for me at the [bottom of the Witness page](https://steemit.com/~witnesses).**</sub> --- ***Posted from [KURE](https://thekure.net)***
👍 cryptouno, hdu, imisstheoldkanye, sam99, steembot-colonel, rafelchato, ezravandi, jadabug, cryptostories1, votes4minnows, trenz, bukiland, almiller, steembot-general, shepz1, steembot-soldier, makis84, astromaniak, accelerator, practicalthought, yaanivapeji, sciencevienna, theycallmedan, jasonbu, krnel, steemspoker, lecrazycanuckeh, newhope, deconstruction, m41277de, tomblackstone, dgiors, werewennad, msg768, steemitlotteries, opc, ingdirect, unimelb, sebastianjago, thelindvall, fiona777, imerick, aparanoide, carrinm, tiowaldecir, jonnyrevolution, djdean, mauricemikkers, bledarus, eagleye, nspart, mytechcrunch, gmedley, team-leibniz, freeforever, lionsuit, sc-steemit, hilarski, sharinglife, teamsteem, craigahamilton, imbritish, ericarthurblair, aksinya, ebryans, lonilush, ameliawheat, kyusho, johnvibes, builderofcastles, likebot, siniceku, perceptualflaws, baah, usahil, treetoptennis, zedikaredirect, roman1973, valerious, izmy.steemit, netraleon, darsn, zdamna100ogebio, zdamna100egebio, seredina, probaperra, tigerz, karcher-310, biochem, nervniymen, orange777, bonadicta, mjo, circa, v4vapid, valued-customer, erickpinos, pennsif, steem-ua, sargoon, fundition, warofcraft, hozn4ukhlytriwc, qurator, treaphort, yadamaniart, soloinfinity, itsben, fibrefox, magatha, occpresents, kejora05, qberryfarms, luckyspark, yuslindwi, dbzfan4awhile, alexanderrigov, jlsplatts, yusifm, turkolog, bengeudens, heavensweapon, shookriya, smarmy, vividessor, numberjocky, mandalaflower, blewitt, barleycorn, dunnomix, dikkie, leivafoundation, priyanarc, mjroja, perspectoid, fural, aadesign, splatz, mariajruizb, trevado, norepinephrine, goldenturtle, lifekeys, splatz-1, splatz-2, lil-splatts, sivehead, kuku-splatts, homefree, splatz-3, skycae, camillius, magdechef, cryptophunk, fruitarianism, synick, inpursuit, cyberspacegod, pursuant, diabonua, howiemac, themightysquid, tigerrkg, banvie, dizzyjay, wisewoof, himshweta, devondrjackson, angelinafx, theleapingkoala, hamsa.quality, abh12345, bitcoincoimbra, erica005, j3dy, bitcoinportugal, paradigmprospect, mitrado, freevoluntarist, curatorhulk, fun2learn, nailyourhome, delegate4upvot, osnely, coquiunlimited, jayna, bcfriday, jazzyjeff, bluedragon1974, dbread, wildmanhowling, the-naked-geek, flyinghigher, weirdheadaches, catherinebleish, esecholo, resteemer, neoconqueso, mashiliyanage, homestead-guru, republicrose, aishpandey, fabrik, rtytf, freebornsociety, swedishdragon, deadcountry, tribevibes, kennyskitchen, alchemage, elamental, mckeever, ura-soul, hopehuggs, minismallholding, trucklife-family, bobaphet, riverflows, truthabides, tribe1up, tribetopten, metametheus, porters, bewithbreath, vincentnijman, gentmartin, naturalmedicine, steelborne, farmsnotpharms, vids2changdawrld, sagescrub, canna-curate, phusionphil, hotsauceislethal, bluntsmasha, conradino23, bengiles, foodforestbot, mango-juice, coffeebuds, oh-high-mark, stonerfeed, fknmayhem, natha93, jackdub, prettynicevideo, guysofcannabis, akdx, malay11, jamiz, cooknbake, marcoriccardi, verhp11, jonyoudyer, fixedbydoc, lopzdaniel, tribesteemup, juansgalt, bryanj4, sterlinluxan, burntmd, emancipatedhuman, dannyshine, tftproject, adamkokesh, maloneyj55, whatamidoing, antimedia, solarsupermama, libertyepodcast, earthmother, lishu, adisrivastav, moxieme, hempress, dannyquest, eugenekul, steemsmarter, richardcrill, thoughts-in-time, mwolfe13, activate.alpha, tfame3865, wwf, firststeps, krishool, davinsh, nataboo, rawutah, steemer-x, annemariemay, rainbowrachel, open3ye, startreat, bala41288, celestialcow, haileyscomet, daniscib, blockurator, prudent-rod1, anarchojeweler, nwjordan, mimi87, sojol527, alvinvoo, nolasco, puggle, indayclara, edgecanopy, vegansofsteemit, plantstoplanks, gguy773, nmcdougal94, mollythegreat, eaglespirit, walkerland, yestermorrow, sapphic, gregorypatrick, grow-pro, abrockman, enjoycompany, iansart, belleamie, nomad-magus, churdtzu, eftnow, tibra, indahigh, thomaskatan, hiatus, ashe-oro, kieranpearson, sovereignalien, sima369, krisstofer, brightstar, heart-to-heart, vegan4theanimals, monetapes, taskmaster4450, mannacurrency, colinhoward, canadianrenegade, tonysayers33, inspirewithwords, franciferrer, cahlen, evecab, kure, silvergoldbotty, busy.pay, lindal,