Git Product home page Git Product logo

herocast's Issues

Use manual lists as feeds

Types of lists

  1. chronological follow feed for me
  2. chronological follow feed for another user (see how vitaliks feed looks like)
  3. trending feed
  4. list of authors (I want to see all casts published by users x, y and z)
  5. channel moderated feed
  6. channel latest feed

we have 1., 3. and 6. right now

Fix Hats Protocol self-onboarding issues

add info message / warning

  • setting HatsModuleFactory address 0xfe661c01891172046fee16d3a57c3cf456729efa as Hats Delegator contract address
  • same hat id used for both admin and caster
  • unclear which account should be connected at:
    • 'select account' step
    • when signing
    • when transferring
  • send details of deployed farcaster contract to user email

Deploy Farcaster Hats Delegator contracts via herocast

  • move all Hats Protocol related components onto a separate page

  • requires an existing Hats Protocol tree (=permissions setup) plus admin hats and caster hat

  • optional: one click deploy a "pre-filled Hats tree" that requires as little input from user as possible

Add scheduled casts

requirements:

  • add cast to be posted on schedule (date and time in UTC)
  • show list of scheduled casts and allow removing them

new DB table: draft

  • created_at: datetime utc
  • content: json data of cast
  • scheduled_for: datetime utc
  • posted_at: datetime utc
  • status: [draft | scheduled | published | error]

optional:

  • schedule by user timezone for better UX and convert in background to UTC)
  • allow editing scheduled casts

Fix creating new account

when creating new account and something breaks, there's no way to go from Create account onchain to Register username step.
Next step assumes that there is a pending account (= account that isn't fully registered in herocast DB), but it is already created onchain.

user: @cameron

Upgrade profile management

allow users in herocast to:

  • set fname
    • farcaster constraint: can only be done by an EOA ■ suggestion / warning
  • set profile display name
  • set profile pic
  • set profile bio

todo:

  • create re-usable modal
  • add modal in new account signup and on settings page

Onchain activity feed

  • enter ens address of other users
  • show feed of onchain activity

learn from Interface how they do it, bring it to desktop experience with shortcuts etc

Caster Information in Sidebar

  • show name, description, Farcaster badges about author
  • bring a bunch of additional information together: ens, token holdings, etc

UX issue: content placement and alignment

left aligned content is quite odd when I feel the majority of my web experience is with centered content.
This is particularly noticible when using a ultra wide monitor.
Consider changing to centered content or having the option to change it

Fix post-login loading screen

  • when logging in from email account, hydrate isn't done but we're redirecting to /feed already
  • showing random follow others and right side 'add account'
    make a screen for this state, check based on hydratedAt or something instead of feed content

Transform hotkeys overview depending on platform (windows / macos)

Why: we want to support hotkeys in windows / across all desktop platforms.

Hotkeys are shown as CMD + K and Meta + Shift + a in windows.
those aren't working / not actionable.
The real values are:

  • replace Meta with either Windows / Apple
  • Replace CMD with Ctrl on Windows

Register new Farcaster accounts via herocast

  • add UX to register new Farcaster accounts, instead of only allowing existing Farcaster accounts to get connected
  • allow setting a name and profile
  • make sure UI isn't ultra confusing

Upgrade notifications view

Why: we want to stay on top of activity we're getting on our accounts.

What:

  • there is currently no way to see recent likes in herocast
  • there is only one list of reply notifications right now. but it shows the same thread repeatedly when other accounts reply to the same cast / in the same thread

Fix account renaming

Short description:
Fail to make post call to the offchain farcaster username endpoint (https://fnames.farcaster.xyz/transfers) with error UNAUTHORIZED.
I'm checking that the connected wallet owns the FID and that the new username isn't used already.

Code: https://github.com/hellno/herocast/blob/9bb982e5eb007e26a9b30fc7ccc60b3f5bc3f8c5/src/common/components/RenameAccountForm.tsx#L192

Steps to reproduce:

  1. Go to https://app.herocast.xyz/settings
  2. Click on rename of any account (best case don't use your main account)
  3. Enter new username, click rename and sign the message
  4. See error message below:
image

Network tab:
image

Request error:
image

Allow account to be recovered / removed from Hats Protocol Delegator

allow a herocast user that created a shared account to transfer fid back to EOA (eg back to warpcast or user owned wallet)
required steps:

  • signature from the receiving EOA
  • FarcasterDelegator.transferFID() tx executed by ownerHat-wearer

Why: increase user trust / decrease perceived risk of using a shared account in the first place

tsconfig.json excludes packages

Currently the tsconfig.json excludes all of node_modules, making type hinting for all of the installed packages except the listed ones (react/next, react-dom/next, node) not work. This makes development very hard, as most of the advantages of using typescript language server type hinting don't work. An easy fix is to remove the exclude section from the config file.

I am opening this as an issue instead of a PR to promote a better discussion around why this choice was made at first

Add keyboard navigation to Notification view

Navigate left-right with tab works, can use j / k to scroll notifications.

What is missing for a thread conversation (as in screenshot below):

  • add scrolling through replies with j / k
  • add reply with using r
  • add reply button into cast row for non-shortcuts users :)
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.