plebbit / seedit

A GUI for plebbit similar to old.reddit
https://seedit.eth.limo/#/
GNU General Public License v2.0
11 stars 2 forks source link

add loading state for publishing a new sub #346

Open plebeius-eth opened 5 months ago

plebeius-eth commented 5 months ago

Rinse, [May 6, 2024 at 12:36:45 PM]: a sub is created but not published when typeof sub.createdAt === "number" && !sub.updatedAt. We should have a way to show the user that the sub is created but it's getting published in the background creating a sub is instantaneous, but publishing to the network (which will make typeof sub.updatedAt === "number") could take a while

plebeius-eth commented 5 months ago

1bc710271a3d881d7fa1a61280ea28d413a91e2e

estebanabaroa commented 4 months ago

we need to leave this open as this is not a great way to get the state, at some point useStateString(subplebbit) and useFeedStateString() should automatically get the state 'publishing-ipns' of a starting sub, and there will be no need for this hack. we need to wait for this to be implemented in plebbit-js https://github.com/plebbit/plebbit-js/issues/41