PlebLab / Top-Builder

Welcome to PlebLab's Startup Day, a dynamic gathering for Bitcoin startups, featuring the Top Builder competition as its centerpiece. This event is a hub of activity, offering builder sessions, workshops, announcements, and speaker panels, all aimed at fostering growth and learning within the Bitcoin community.
https://pleblab.dev
7 stars 0 forks source link

[Top Builder 2024]: Shopstr_R2 #17

Open calvadev opened 7 months ago

calvadev commented 7 months ago

🏗️ Top Builder 2024 Application Form to track progress through Round 1 - 3 ~ Currently in Round 2

📝 Instructions

  1. Only complete this form if you have been chosen for Top Builder, by PlebLab.
  2. Provide detailed information to assist the judges in evaluating your project.

🧑‍🤝‍🧑 The Team

💡 The Idea

📚 Additional Information

📌 Submission Type

🚀 Current Project Progress

⏳ Round 1 Milestone

⏳ Round 2 Milestone

📝 Submission Complete

📅 Top Builder Program Structure

Registration Opens: Monday, December 18, 2023

Round 1: January 13 - February 10, 2024

Round 2: February 10 - 25, 2024

Round 3: Starting February 26, 2024

Final Round at Startup Day: March 14, 2024

thomasyeung687 commented 5 months ago

GitHub PR

Fixes:

  1. Created update to implement better WebSocket management which:
    • reduced open WebSockets by 90%
    • improved site responsiveness and speed by closing Websockets and freeing resources
  2. Fixed chat querying:
    • previously Shopstr only fetched chats from around a day back due to a mistake in how we were querying for dms
    • now Shopstr fetches all dms of a user and displays them
  3. QOL
    • loading indicators when fetching products / dms
calvadev commented 5 months ago

Stacker News Update on performance improvements:

https://stacker.news/items/414398

Nostr post on performance improvements:

https://njump.me/nevent1qqsf57kqmthtl8qt76d4zgg9edlzxfk2yyrf5r3rfcwq4zmx75a2wdgpp4mhxue69uhkummn9ekx7mqpr4mhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet5qyf8wumn8ghj7mmxve3ksctfdch8qatzqyt8wumn8ghj7un9d3shjtnwdaehgu3wvfskueqpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgq3q5dc33fyg3cpd9r58vlqge2hh8dy6hkkrjxkhluv2xpyfreqkmsesjawkym

thomasyeung687 commented 5 months ago

GitHub PR

Fixes:

  1. Added caching for Products, Profiles, and Chats meaning products will be fetched from indexedDB if the last fetch was less than 10 minutes ago which:
    • decreased the speed of page load by 66% if items are cached.
    • Note: Chats are refreshed every 3 minutes instead of 10 minutes like Products and Profiles in order to better update chats
calvadev commented 5 months ago

Stacker News Update on Caching:

https://stacker.news/items/417043

Nostr post on caching:

https://njump.me/nevent1qqs9t9q0d687pxfl4c37932mce8aq7c443wsjfpd3vuw4v85uu3p2pcpp4mhxue69uhkummn9ekx7mqpz4mhxue69uhk2er9dchxummnw3ezumrpdejqz9mhwden5te0dehhxarj9ekkzumnd46hstnrdaksz9rhwden5te0dehhxarj9ehhsarj9ejx2aszyrfkaqyrlfandkhwv3kt3vlenl428ky7tguk2zr5ruqrugdvpd47chfmk42

thomasyeung687 commented 5 months ago

Here's a quick loom video contrasting the performance differences between the old site and the new site by implementing: -Fixed dm rendering -WebSocket management for relay querying -Simple local caching service with IndexedDB

https://www.loom.com/share/40920c6aa0e748aabe64bb1b6144e937

ericspaghetti commented 5 months ago

Now sets default relays for new users to shopstr, fixes missing relays previously

https://github.com/shopstr-eng/shopstr/pull/46

thomasyeung687 commented 5 months ago

⏳ Round 2 Milestones

To be completed by February 24th, 2024.

Second-round milestone the team has set for themselves:

  1. Track metrics to accurately gauge usage of Shopstr.store:
    • [x] Unique Daily Active Users
    • [x] Invoices Generated
    • [x] Sales (sats)
    • [x] Number of Sales
    • [x] Inquiries sent
  2. Improve Direct Messages:
    • [x] Real time chats
    • [x] Show latest chat message in button for entering a chat
    • [x] chat notifications (popup / pip next to dm icon)
    • [x] REACH: distinction between read messages and unread messages / chats you've replied to and chats awaiting reply from you
  3. Shareable links directly to listed products on Shopstr
  4. UI improvements:
    • [x] Sign In Modal instead of Sign In page
    • [x] Responsive side/bottom navigation bar

Bugfixes:

ericspaghetti commented 5 months ago

We added a Metrics page to view global metrics on shopstr.store activity as detailed in our Metrics 2 Milestones.

These metrics help our team understand our product activity.

More importantly however, this sets a starting point to deliver a more personalized metrics dashboard to shopstr sellers. Metrics will allow any shopstr user to review their sales performance, activity, build reports, gain new insights, etc.

Screenshot 2024-02-22 at 6 07 51 PM
calvadev commented 5 months ago

GitHub PR

Added shareable links that route to listings directly with a button click.

ericspaghetti commented 5 months ago

We updated the Shopstr webpage to have a more approachable feel.

We hope this update gives it a more familiar feel to visitors new to Shopstr or Nostr.

Previous:

image

Updated:

image image image image
thomasyeung687 commented 5 months ago

⏳ Round 2 MILESTONE DEMO & POW

https://www.loom.com/share/794641a4cc4e497b85ca286e4754d442?sid=a0ad2709-9de5-41e8-a563-8f773f407eae

Second-round milestone the team has set for themselves:

  1. Metrics PR (Eric)

    • Track metrics to accurately gauge usage of Shopstr.store:
      • [x] Unique Daily Active Users
      • [x] Invoices Generated
      • [x] Sales (sats)
      • [x] Number of Sales
      • [x] Inquiries sent
  2. Improve Direct Messages (Thomas):

    • Improvements to the chats will allow buyers and sellers to better communicate
    • [x] Real time chats
    • [x] Show latest chat message in button for entering a chat and number of unread messages
    • [x] un-read chat notifications (popup / pip next to dm icon)
    • [x] REACH: distinction between read messages and unread messages / chats you've replied to and chats awaiting reply from you
  3. Share Products PR (Calvadev)

    • Shareable links directly to listed products on Shopstr.
    • This will allow our users to share products they have listed on any platform of their choosing.
  4. UI improvements: (Eric)

    • Much needed facelift for the site's navigation UI and Sign In page. More work to be done but happy to say we have made improvements to how the site looks with these changes below.
    • [x] Sign In Modal instead of Sign In page
    • [x] Responsive side/bottom navigation bar

Quality Of Life improvements:

Bugfixes:

calvadev commented 5 months ago

GitHub PR

calvadev commented 5 months ago

Publicity PoW:

calvadev commented 5 months ago

Stacker News update on R2:

https://stacker.news/items/436326

Nostr post on shareable links and bugfixes:

https://njump.me/nevent1qqsr4xchsxu3q34g26r6vku63tjkafn42x22xqrz6txa3n659y0wkygpp4mhxue69uhkummn9ekx7mqpzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgq3q5dc33fyg3cpd9r58vlqge2hh8dy6hkkrjxkhluv2xpyfreqkmsesty9t3p

Nostr post on DM improvements:

https://njump.me/nevent1qqszr7f8s8p6zewyncqdmgm5vxpr77q08ymyh3rjtqj269puj65w9xgpp4mhxue69uhkummn9ekx7mqpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgq3q5dc33fyg3cpd9r58vlqge2hh8dy6hkkrjxkhluv2xpyfreqkmsesc2zaxt

Nostr post on UI improvements and metrics:

https://njump.me/nevent1qqszvqcetu7cvn94xzadapkkl89xw62587tfr90n8yuj7na2tjmvq3gzyz3hzx9y3z8q955wsanupr927ua5n276cwg66ll33gcy3y0yzmwrx4lf7hj