Post Web Assets v2 upgrade UI fixes and improvements #114

Merged
Márton Lente merged 35 commits from martonlente/extensions-website:ui/issue105 into main 2024-05-07 16:33:28 +02:00

Related to issue #105

This pull request fixes Web Assets v2 upgrade issues, and adds UI enhacements as detailed in #105's tasklist, including a notifications system overhaul.

Related to issue #105 This pull request fixes Web Assets v2 upgrade issues, and adds UI enhacements as detailed in #105's tasklist, including a notifications system overhaul.
Márton Lente added 29 commits 2024-05-06 14:41:34 +02:00
Add JavaScript app function agreeWith terms to enable button submit if agree with terms button is checked.
Based on the proposal #93

Email subjects change to the following:

```
Add-on approved: "Genuinely Disgusting"
New comment on Add-on "Genuinely Disgusting"
Add-on rated: "Genuinely Disgusting"
Add-on reported: "Genuinely Disgusting"
Add-on rating reported: "Genuinely Disgusting"
Add-on changes requested: "Genuinely Disgusting"
Add-on review requested: "Genuinely Disgusting"
```

Notification emails can also be viewed in the admin `Email previews` section (with fake objects constructed and passed into email template contexts).

Indicating why the email was sent is not in this change because we currently don't store why **precisely** (can only guess it's either because of `moderators` group or extension follow, the state of either can change after the notification was generated). This can be part of the `Notification` records however, after that the reason can be included in the email.

Reviewed-on: #96
Reviewed-by: Oleg-Komarov <oleg-komarov@noreply.localhost>
This reverts commit bddbcd3ad9.
This should help with UI improvements listed in
#105
Normally this shouldn't happen, but due to an incomplete data migration #94
we currently have extensions that have only CMT items and miss the AWR one.
Add templates components form fields placeholders. Placeholder texts' are as specific as possible based on templates' architecture (so that shared fields have generic placeholder texts).
Márton Lente added 1 commit 2024-05-06 14:53:57 +02:00
Márton Lente added 1 commit 2024-05-06 15:06:08 +02:00
Márton Lente changed title from WIP: Post Web Assets v2 upgrade UI fixes and improvements to Post Web Assets v2 upgrade UI fixes and improvements 2024-05-06 15:42:35 +02:00
Márton Lente added 2 commits 2024-05-06 15:53:15 +02:00
Márton Lente added 1 commit 2024-05-06 18:58:01 +02:00
Márton Lente added 1 commit 2024-05-07 15:19:20 +02:00
Add template extensions submit noscript behaviour to enable extensions' upload when JavaScript is disabled in the browser.

How to test this? I tried checking your ui/issue105 branch and the Upload Extension button is never active:

image

How to test this? I tried checking your ui/issue105 branch and the Upload Extension button is never active: ![image](/attachments/42132c35-af4d-4134-991b-612fc759a116)
Author
Owner

How to test this? I tried checking your ui/issue105 branch and the Upload Extension button is never active:

image

This has been checked together and seems to be ok.

> How to test this? I tried checking your ui/issue105 branch and the Upload Extension button is never active: > > ![image](/attachments/42132c35-af4d-4134-991b-612fc759a116) This has been checked together and seems to be ok.
Márton Lente merged commit 85e5a21e20 into main 2024-05-07 16:33:28 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 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: infrastructure/extensions-website#114
No description provided.