19 Commits

Author SHA1 Message Date
Eric
4e1549609e
enable moderation view for thumbnails in notification centre 2024-07-08 12:22:55 +02:00
Eric
99643e9da8
update search input text 2024-07-08 08:23:01 +02:00
Eric
56e22d539d
Hide thumbnails setting
Prevents downloading thumbnails, due to a known issue where certain image downloads will crash the Codex node.
2024-07-08 08:01:47 +02:00
Eric
5555d5d1a0
fix requests scroll 2024-07-06 13:27:35 +03:00
Eric
17def5f4d3
fix issues that arose after requests store refactor
there are some issues that arose with the async updates to the request objects, where some properties of the request are not yet populated, and therefore the components that render using those properties need not be shown unless those properties are populated
2024-07-06 12:08:00 +03:00
Eric
3c4c27b071
hide drawer menu when click away 2024-07-06 11:58:16 +03:00
Eric
65de6aaf10
refactor requests store request structure
The purpose was to emulate the structure of a request in the contract, so that the entire request object could be overwritten, and then the app state, eg moderated, would be separately set. Other state properties are also only fetched if not already fetched.
2024-07-03 17:12:23 +10:00
Eric
5e82b0e3e9
dark mode by default, remove alert buttons 2024-07-01 17:03:20 +10:00
Eric
754604cb05
Add preview link to moderation views 2024-06-24 12:50:25 +10:00
Eric
d869176a9c
make header and footer sticky and main content scrollable 2024-06-20 13:11:04 +10:00
Eric
1ce47a1f22
clean up request fetching 2024-06-20 10:51:43 +10:00
Eric
12702d4e59
add moderation controls
Moderation view of all requests: /moderate

Allows request details page to be opened in two separate tabs: one with moderation enabled, and the other without (for the projector). Moderating the image has its state synced to the other (non-moderated) tab
2024-06-19 16:43:41 +10:00
Eric
ed378e1a77
Split out loading of request and request details
On the requests page, only show details relating to the StorageRequested event
On the request details page, load more detailed information, including slot info. If already fetched, do not re-fetch
2024-06-17 17:25:05 +10:00
Eric
77cdbbe6e8
Add all the bells and whistles
Add tooltip, relative time, requestedAt
However, fetching data is too slow now and there is a lag after render. Can try removing the fetching of slots when getting past StorageRequested events, and only do that fetch on the details page
2024-06-14 18:13:35 +10:00
Eric
a6225b9f6a
set max height for requests table 2024-06-07 12:57:30 +10:00
Eric
83ab353038
Add slots inside of storage request details 2024-06-06 15:28:29 +10:00
Eric
552cc2705b
Add storage request detail view 2024-06-06 13:04:36 +10:00
Eric
62b25b46ee
listen to all contract events with alerts 2024-06-04 17:38:13 +10:00
Eric
1cfc90a1bf
Initial commit 2024-05-30 17:56:10 +10:00