A clear all fields button with a "Are you sure?" popup for mod submission page #168

Open
opened 2024-12-02 20:32:40 +00:00 by freakoverse · 0 comments
Owner

Considering we'll be be doing issue #116, the mod submission should include a button, next to the publish button, called "Clear fields" that would erase all current fields and their cached versions.

Note:

  1. This button shouldn't be available in the edit version of the page.
  2. This button should also be available in the write a blog post page (similar to the first point, the button shouldn't be available in the edit blog post page).

Considering the user-error nature of this, clicking that button should trigger a "Are you sure you want to clear all field data?" "yes/no" popup to make sure the user wants to do this action.

(Thoughts: Do that same popup for publishing mods and blogs in general? (including edits). I'd imagine it's generally useful.)

With that said, and considering issue #137, might as well have a general popup to be used where needed.

Considering we'll be be doing [issue #116](https://git.nostrdev.com/degmods/degmods.com/issues/166), the mod submission should include a button, next to the publish button, called "Clear fields" that would erase all current fields and their cached versions. Note: 1. This button shouldn't be available in the edit version of the page. 2. This button should also be available in the write a blog post page (similar to the first point, the button shouldn't be available in the edit blog post page). Considering the user-error nature of this, clicking that button should trigger a "Are you sure you want to clear all field data?" "yes/no" popup to make sure the user wants to do this action. (Thoughts: Do that same popup for publishing mods and blogs in general? (including edits). I'd imagine it's generally useful.) With that said, and considering [issue #137](https://git.nostrdev.com/degmods/degmods.com/issues/137), might as well have a general popup to be used where needed.
freakoverse added the
Kind/Feature
Priority
Low
labels 2024-12-02 20:32:40 +00:00
freakoverse added this to the Extra Features project 2024-12-02 20:32:40 +00:00
enes self-assigned this 2024-12-03 16:44:44 +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#168
No description provided.