Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add loading state for publishing a new sub #346

Open
plebeius-eth opened this issue May 6, 2024 · 2 comments
Open

add loading state for publishing a new sub #346

plebeius-eth opened this issue May 6, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@plebeius-eth
Copy link
Member

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 plebeius-eth self-assigned this May 6, 2024
@plebeius-eth plebeius-eth converted this from a draft issue May 6, 2024
@plebeius-eth plebeius-eth added the enhancement New feature or request label May 6, 2024
@plebeius-eth
Copy link
Member Author

1bc7102

@github-project-automation github-project-automation bot moved this from In Progress to Done in seedit May 6, 2024
@estebanabaroa
Copy link
Member

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 plebbit/plebbit-js#41

@estebanabaroa estebanabaroa reopened this Jun 1, 2024
@estebanabaroa estebanabaroa moved this from Done to Todo in seedit Jun 1, 2024
@plebeius-eth plebeius-eth removed the status in seedit Jun 2, 2024
@plebeius-eth plebeius-eth moved this to Waiting for API in seedit Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Waiting for API
Development

No branches or pull requests

2 participants