2024-05-24 - Daily Updates from sagarkothari88

in HiveDevs6 months ago

post-thumbnail

Hello Hive Community Members,

Welcome to daily updates from @sagarkothari88 - a Hive Witness & mobile-app-developer. I daily invest my time with my skillset in #Hive & I daily hive-power-up.

My contributions on projects on Hive Blockchain

Updates on New Version of Hive Distrion App

Ban/Unban Admin UX

  • Today, My aim was to complete feature to ban & unban admin on the front-end side.
  • We did manage to complete in time today & here is how it looks.

ban-unban-admins

Dynamic Menu Items based on user type

  • Total number of menu items (so far), which are shown to user, are as follows.

total-menu-items

  • We've also added Owner & Guide menu items.
  • This menu items will appear based on the user priviledges.
  • If an admin logs in, we don't show admin menu item. Show businesses, guides & owners menu items.
  • If a business guide logs in, we don't show admins, guides, owners menu. Only businesses menu item.
  • If an owner logs in, we don't show admins, guides, owners menu. Only businesses.
  • If a regular user logs in, we only show businesses
  • Here is what a regular user is going to get as menu items if he/she logs in.
  • The reason, you see old-claim-experience in the background, is a different branch. While taking that screenshot, I was working on a different branch.

regular-user-menu-items

How?

  • How does the front-end know that this user is admin & that user is guide?
  • For this, I had to update the login API.
  • In response of log-in API, now we are also sending the type of the user.
  • Based on it, UX can populate menu items accordingly.
  • Here is how it looks from Postman

postman-for-login-api

cURL for the request for new Login

curl --location 'http://localhost:3000/login' \
--header 'Content-Type: application/json; charset=utf-8' \
--data '{
  "challenge": "SIGNATURE_GOES_HERE",
  "username": "shaktimaaan",
  "pubkey": "STM62ourfAJGoWjzs1uyhRtC9BbwmQGi1wse8Fw5CTrBvUBz6Wym3",
  "proof": "2024-05-25T02:19:16.168Z"
}'

What's next?

  • Implement similar UX for Guides
  • Implement similar UX for Business Owners
  • Add new API for adding businesses
  • Add new API for setting guides to a business
  • Add new API for setting a business owner to a business
  • Add new API for setting the payment methods on a business

Dedicated Resources for Hive Eco-System

Resource NameResource DescriptionApprox Cost of ResourceStatus
Hive WitnessHive Witness Node$50
DluxRunning Dlux Witness Node$5
LarynxRunning a LARYNX node$5
DuatRunning a DUAT node$5
VSCRunning a VSC witness node$5
Discord BotHive Curators Discord Bot Node$5
HP RewardsHive Curators HP reward Bot Node$5
12 NodesPowerful video encoder nodes for 3Speak $20 on average$240
Bandwidth3 internet connections$50
DistrionHive-Distrion Backend node$5
Community ContributorsRewarding community contributors in INR$60
Additional DeveloperAdditional Contributing Developer$1000
--------
TotalApprox$1435--

Updates: Video Encoder Nodes

  • I'm running 12 powerful video encoder nodes for 3Speak Community Members.
  • Monthly internet bandwidth usage which exceeds 15 TB, Maintenance cost, Electricity backup, Internet backup, Depreciation cost - it's all on me.
  • On 2024-05-24, 3Speak published total 116 videos.
  • My video encoder nodes encoded 104 videos from 116 videos published.
  • It means, my encoder nodes encoded 89.66 % of total videos published on 2024-05-24
  • Here is visual representation of above data.

2024-05-24-encoder-data

My Daily Hive Investment Report for 2024-05-24

  • 25.85 Hive Power Up
  • 20.66 Witness Rewards in Hive Power
  • 65.49 Curation Rewards as Hive Power
  • 8.74 Benefactor Rewards as Hive Power
  • 120.74 Total Hive Power Invested

Curation Report for 2024-05-24

NOTE:

  • If you don't like tagging you under curation report, let me know in comment section & I'll exclude you from the curation report.
  • If you think that I should not attach curation report in the post, let me know in the comment section.

We've curated total 43 & motivated content creators for their contributions on Hive.

AuthorPost
@amiegeoffreyhttps://ecency.com/@amiegeoffrey/the-pillars-of-my-life-loh186
@gwajnberghttps://ecency.com/@gwajnberg/buying-gold-grams-or-ounces-a-bit-a-bout-my-recent-purchases-as-well
@wiseagenthttps://ecency.com/@wiseagent/time-travel-a-world-of-infinite-possibilities
@dboosterhttps://ecency.com/@dbooster/binance-woes-and-decentralized-exchanges
@justclickindivahttps://ecency.com/@justclickindiva/in-the-air-tonight-i-can-feel-it-a-poem-of-trouble-and-reflection-or-a-mixed-media-art-project
@idea-make-richhttps://ecency.com/@idea-make-rich/bicycle-shadow-images-shadow-hunters
@promete0szhttps://ecency.com/@promete0sz/engspa-character-review-nami-from-one-piece-of-netflix
@saravm82https://ecency.com/@saravm82/nuevo-arte-la-tv-new-art-la-tv
@ekaviekahttps://ecency.com/@ekavieka/crawl-crawl
@steemmatthttps://ecency.com/@steemmatt/destroying-shareholder-value
@belkisa758https://ecency.com/@belkisa758/a-mis-56or-y-crossfit-la-escalera-esp-eng
@mayifiestashttps://ecency.com/@mayifiestas/esp-eng-video-reflexion-generacion
@heroldiushttps://ecency.com/@heroldius/sticker-art-059-special-lettering-montreal
@p1k4ppa10https://ecency.com/@p1k4ppa10/happy-birthday-my-love-sdyrkf
@dwayne16https://ecency.com/@dwayne16/sps-is-the-sleeping-giant-midseason-update
@aslamrerhttps://ecency.com/@aslamrer/job-complexities-during-interview-and-my-dressing-dilemma-
@blanca56https://ecency.com/@blanca56/beautiful-golden-bracelet-hermosa-pulsera-dorada-eng-spa
@jasonmunapaseehttps://ecency.com/@jasonmunapasee/journey-to-rocky-river
@coloneljethrohttps://ecency.com/@coloneljethro/head-for-the-hills
@hylene74https://ecency.com/@hylene74/taking-advantage-of-promotions-at-crabbaymarket-eng-esp
@semarekhahttps://ecency.com/@semarekha/rohu-carp-fish-recipe-with-96f271da191bc
@ciderjunkiehttps://ecency.com/@ciderjunkie/19a70d1db05f965dfa6607e31d4b6b9a-vimmtv
@artmomhttps://ecency.com/@artmom/wednesday-walk-at-the-park-near-church-a-serene-escape
@stefano.massarihttps://ecency.com/@stefano.massari/24-05-2024-principles-of
@eniolwhttps://ecency.com/@eniolw/chess-puzzle-of-the-day-may-23-2024--problema-de-ajedrez-del-da-23-may-2024-20240524t035051z
@uakulinarhttps://ecency.com/@uakulinar/bitkoyin-kupuyut-j-budut-kupuvati
@kgakakillerghttps://ecency.com/@kgakakillerg/alien-x-monster-munch-original-digital-art-creations-i-post-new-creations-daily
@oluwadreyhttps://ecency.com/@oluwadrey/team-leaders-report-team-3-newbies-initiative-wk1
@samstonehillhttps://ecency.com/@samstonehill/bitten-by-the-bamboo-bug-creating-a-platform-over-paradise
@videoaddictionhttps://ecency.com/@videoaddiction/i-missed-being-in-nature
@nhaji01https://ecency.com/@nhaji01/lawsuit-or-forgiveness-learning-to
@imfarhadhttps://ecency.com/@imfarhad/myhivegoals-goals-vs-progress-weekly-updates-
@palabras1https://ecency.com/@palabras1/tatuajes-invisibles-invisible-tattoos-espeng
@mamaemigrantehttps://ecency.com/@mamaemigrante/un-tatuaje-color-naranja-an-orange-tattoo-initiative
@mysteriousroadhttps://ecency.com/@mysteriousroad/unlimited-reflection-of-car
@lorddiablohttps://ecency.com/@lorddiablo/battle-mage-secrets-weekly-battle-challenge-holy-protection
@digi-mehttps://ecency.com/@digi-me/hiking-one-of-the-worlds
@vickolyhttps://ecency.com/@vickoly/the-dilemma-of-legal-action-my-story-of-choosing-peace-over-court
@yagelybrhttps://ecency.com/@yagelybr/better-late-than-never-my-second-year-at-hive
@merit.ahamahttps://ecency.com/@merit.ahama/i-hate-what-i-dont-like-a-pet-peeve-or-a-phobia
@soylegionariohttps://ecency.com/@soylegionario/de-regreso-al-futbol-despues-del-accidente-que-viva-el-deporte-siempre-es-en
@aventurerasbikehttps://ecency.com/@aventurerasbike/dhfhfocc
@mistakilihttps://ecency.com/@mistakili/ethereum-etf-approval-a-milestone-in-crypto-integration-with-traditional-finance

What do you think?

  • What do you love the most out of these activities I do?
  • Please let me know in the comment section.

Who am I?

Support me

  • Please upvote my content to motivate me
  • Please Reblog
  • Please vote me as Hive Witness
appStoreGooglePlayStore

Support @sagarkothari88

Vote sagarkothari88 as Hive Witness

Support @threespeak

Vote for 3Speak as Witness

Don't forget to swap your HBD/Hive using @ecency

Don't forget to pay using HBD/Hive

https://hive-distrion.app

Images by @noakmilo

Sort:  

Thanks for the support, am very happy for the mention 😃/

Hello @promete0sz

You are welcome

Thank you for checking out my post & dropping a comment

!GIF You are most welcome

Here are some tokens as gift for you.

!PIZZA token gift for you

Please Support Back

Thanks.

Hello @eniolw

You are welcome

Thank you for checking out my post & dropping a comment.

!GIF You are most welcome

Here are some tokens as gift for you.

!LUV token gift for you

!ALIVE token gift for you

!PIZZA token gift for you

Don't forget to Support Back

Ignore if already supported

This post has been manually curated by @bhattg from Indiaunited community. Join us on our Discord Server.

Do you know that you can earn a passive income by delegating to @indiaunited. We share more than 100 % of the curation rewards with the delegators in the form of IUC tokens. HP delegators and IUC token holders also get upto 20% additional vote weight.

Here are some handy links for delegations: 100HP, 250HP, 500HP, 1000HP.

image.png

100% of the rewards from this comment goes to the curator for their manual curation efforts. Please encourage the curator @bhattg by upvoting this comment and support the community by voting the posts made by @indiaunited..

This post received an extra 10.00% vote for delegating HP / holding IUC tokens.

Thanks for your contribution to the STEMsocial community. Feel free to join us on discord to get to know the rest of us!

Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).

You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support. 
 

Thank you so much @stemsocial for curation

Congratulations @sagarkothari88! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You got more than 8250 replies.
Your next target is to reach 8500 replies.
You received more than 18000 HP as payout for your posts, comments and curation.
Your next payout target is 19000 HP.
The unit is Hive Power equivalent because post and comment rewards can be split into HP and HBD

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Thank you very much, greetings

Hello @hylene74

You are welcome

Greetings from the other side of the world.

Thank you for checking out my post & dropping a comment.

!GIF You are most welcome

Here are some tokens as gift for you.

!LUV token gift for you

!ALIVE token gift for you

Thanks for the curation, fully appreciated.
Have a great Sunday

Hello @heroldius

You are welcome

Sunday is over. 9 PM here. Busy working Sunday.

Thank you for checking out my post & dropping a comment.

Hope you're having good Sunday.

!GIF You are most welcome

Here are some tokens as gift for you.

!LUV token gift for you

!ALIVE token gift for you

Thanks

PIZZA!

$PIZZA slices delivered:
sagarkothari88 tipped eniolw
@sagarkothari88(2/5) tipped @promete0sz

Hello @sagarkothari88. Thanks so much for your support of my mixed media art project. I love the layout of your post, outlining each section of duties and accomplishments. You also list your Hive activity in terms of your rewards and earnings in HP. That's a nice, personal touch.

By all means, continue the report as in this one. In my opinion, it allows your readers to see all the different areas you help Hive succeed.

I particularly like the section listing other Hive members you support through your vote and comments. It's good to hear from a witness who makes time to connect with their readers and supporters at other times than just asking others to give you a witness vote. This is by no means a complaint of any other witness. From viewing other witnesses' reports, I can see it is a full-time job that keeps them extremely busy.

That you take time to visit and support those who support you is telling of your personality and spirit. I appreciate it. BTW...I love fiction writing. Stop by when you get a chance.

Take care and have a good start to your weekend.

!LADY

View or trade LOH tokens.


@justclickindiva, you successfully shared 0.1000 LOH with @sagarkothari88 and you earned 0.1000 LOH as tips. (1/22 calls)

Use !LADY command to share LOH! More details available in this post.

Thank you very much for the support and the mention my friend. I really appreciate it.
and thank you very much for your hard work on the Hive Project, can't wait to see it live to the public.
!VSC !LUV

@ekavieka has sent VSC to @sagarkothari88

This post was rewarded with 0.1 VSC to support your work.
Join our photography communityVisual Shots
Check here to view or trade VSC Tokens
Be part of our Curation Trail


@ekavieka ha enviado VSC a @sagarkothari88

Éste post fue recompensado con 0.1 VSC para apoyar tu trabajo.
Únete a nuestra comunidad de fotografía Visual Shots
Consulte aquí para ver o intercambiar VSC Tokens
Se parte de nuestro Trail de Curación


Uses: 2/5