To have an informative popup about publish to relays #113

Open
opened 2024-11-01 10:11:10 +00:00 by freakoverse · 0 comments
Owner

When publishing a mod, a blog, or a short post (social post or comment), a popup would appear showcasing information about publishing to relays.

There'd be one main loading bar and multiple loading bars below it.

Multiple loading bars:

  • Each one is for publish to a relay.
  • Have yet to start attempting to publish to the relay makes it stay at 0%
  • The attempt to publish makes it go to 50%
  • Publishing confirmed makes it go to 100%
  • If one relay fails after attempting, it goes back to 0% (with an added class to visually change it to a fail state)

Main loading bar:

  • Let's assume there are 10 relays to publish to
  • If a relay hasn't attempted to publish yet, that would represent 0% for the main bar
  • If a relay has begun attempting to publish to a relay, that would represent 5% for the main bar
  • If a relay has finished and successfully published to a relay, that would represent 10% for the main bar
  • Once all attempts has been made/completed, and there is at least one relay that is success, then the whole bar goes to 100%
    • It's text, however, would say "Successfully published to 1 out of 10 relays"
  • If all relays fail to publish, then it'd behave similar to the last point above in the multiple loading bars section.
    • Plus, its text would say "Failed to publish to any relay" with a button "Try to publish again"

Notes:

  • The popup would only show the main bar, with a clickable text/link that would expand to showcase all relays.

html and css code:

  • Will share it / mention where it is in the design link when made ready
When publishing a mod, a blog, or a short post (social post or comment), a popup would appear showcasing information about publishing to relays. There'd be one main loading bar and multiple loading bars below it. Multiple loading bars: - Each one is for publish to a relay. - Have yet to start attempting to publish to the relay makes it stay at 0% - The attempt to publish makes it go to 50% - Publishing confirmed makes it go to 100% - If one relay fails after attempting, it goes back to 0% (with an added class to visually change it to a fail state) Main loading bar: - Let's assume there are 10 relays to publish to - If a relay hasn't attempted to publish yet, that would represent 0% for the main bar - If a relay has begun attempting to publish to a relay, that would represent 5% for the main bar - If a relay has finished and successfully published to a relay, that would represent 10% for the main bar - Once all attempts has been made/completed, and there is at least one relay that is success, then the whole bar goes to 100% - - It's text, however, would say "Successfully published to 1 out of 10 relays" - If all relays fail to publish, then it'd behave similar to the last point above in the multiple loading bars section. - - Plus, its text would say "Failed to publish to any relay" with a button "Try to publish again" Notes: - The popup would only show the main bar, with a clickable text/link that would expand to showcase all relays. html and css code: - Will share it / mention where it is in the design link when made ready
freakoverse added the
Kind/Feature
label 2024-11-01 10:11:17 +00:00
freakoverse added this to the Extra Features project 2024-11-17 11:21:55 +00:00
freakoverse added the
Priority
Low
label 2024-11-17 16:03:47 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: degmods/degmods.com#113
No description provided.