81 Commits

Author SHA1 Message Date
Eric
afb09f330b
add known issue 2024-07-22 12:23:20 +10:00
Eric
22d590c59d
increase RequestFinished timeout to 10s 2024-07-08 12:23:09 +02:00
Eric
4e1549609e
enable moderation view for thumbnails in notification centre 2024-07-08 12:22:55 +02:00
Eric
f179ee86d5
Add notifications badge
Also, fix bug with deleting one notification at a time
2024-07-08 08:49:56 +02:00
Eric
c360f7f087
add icon for thumbnail toggle setting 2024-07-08 08:23:17 +02:00
Eric
99643e9da8
update search input text 2024-07-08 08:23:01 +02:00
Eric
833eb88d92
update setting label text 2024-07-08 08:19:29 +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
6b6cc5f783
fix 'no events' and single event deletion 2024-07-06 13:25:02 +03:00
Eric
b3bb759ba8
Event updates
- deduplicate events (for some reason contract event subscription callbacks are firing more than once
- order events by timestamp
- prettify event names
- give each event a unique id so they can be deleted one-by-one
2024-07-06 12:42:24 +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
3430a02b6f
fix issue with cross tab sync
when attempting to sync event.moderated cross tab, first the request store would be updated, thus changing the last store timestamp, then the events store would be updated, and the change would appear old. To facilitate, add a `lastStoreTimestamp` for each store
2024-07-06 12:06:10 +03:00
Eric
b8751c2370
support moderated changes cross tab 2024-07-06 12:03:25 +03:00
Eric
1bfe0cd125
replace alerts with notification centre 2024-07-06 12:00:15 +03:00
Eric
3c4c27b071
hide drawer menu when click away 2024-07-06 11:58:16 +03:00
Eric
4f9a98acfb
fix multi tab sync
- moved all logic to a modified pinia-persisted-state plugin, allowing for a better sync of the metadata (eg bad messaging replacement)
2024-07-05 21:13:13 +10:00
Eric
1cbdb688b6
hangover from refactor 2024-07-04 22:05:00 +10: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
ea98b760fe
Add timestamp to events
Also add clearEvents/clearEvents
2024-07-03 11:25:57 +10:00
Eric
e3390a0bc1
aggressively cache images browser-side 2024-07-02 16:34:24 +10:00
Eric
3ef0e8dcb4
clean up 2024-07-02 16:34:11 +10:00
Eric
31b4bd95a1
Move events to their own store for notifications centre 2024-07-02 16:23:06 +10:00
Eric
4f75651962
always show when slots are loading 2024-07-02 16:21:12 +10:00
Eric
b0489601c5
add error to CodexImage title, so don't need to look in source 2024-07-02 16:20:58 +10:00
Eric
56da727773
change slotState and requestState to object to avoid typos 2024-07-02 16:20:31 +10:00
Eric
09c4ed7daf
fix dark mode memory on page load, hide drawer on item click, remove bg from logo when on home page 2024-07-02 16:20:04 +10:00
Eric
ce7470bcd5
increase image download timeout to 2 minutes 2024-07-02 11:38:14 +10:00
Eric
ee5771608d
add padding to request details left column items 2024-07-01 21:20:08 +10:00
Eric
903272e16a
fix StorageFinished appearing immediately after StorageRequested 2024-07-01 21:19:47 +10:00
Eric
d01b188f76
add drawer navigation menu
- draw slides out from left
- add dark mode button
2024-07-01 20:33:13 +10:00
Eric
8e4f07e8eb
Add relative times for request: requested, expires, ends 2024-07-01 18:21:47 +10:00
Eric
d5c1100b45
bump image download timeout to 30s 2024-07-01 18:20:58 +10:00
Eric
5e82b0e3e9
dark mode by default, remove alert buttons 2024-07-01 17:03:20 +10:00
Eric
5a5dd68af6
cancel image downloading when unmounting 2024-07-01 17:00:43 +10:00
Eric
c7a8a83e43
fixes for updating request states
- once storage requested, set timeout for duration to get the updated state, as the only way to get RequestFinished events (since they don't exist in the contract). The timeout callback is fired after duration seconds after storage was requested.
- always fetch request state on page load (on request details page)
2024-06-28 15:27:52 +10:00
Eric
f466102054
increase Codex logo size in footer 2024-06-28 15:23:36 +10:00
Eric
e060668cb2
Fix alert button url and info
- alert button url was not honouring the enableModeration query string
- slot index was not appear for slot index 0
2024-06-28 15:23:20 +10:00
Eric
bbbd706574
fix cross-tab state sync 2024-06-28 12:37:19 +10:00
Eric
18ecacda94
Modify codex start script to use public ip for --nat 2024-06-27 12:03:47 +10:00
Eric
0ea0f60197
fix bug with multiple alerts not dismissing
The alerts for multiple events involving slots had non-unique ids and were failing to dismiss.
2024-06-27 12:01:33 +10:00
Eric
f1b97c3f3c
update codex run script 2024-06-26 17:02:55 +10:00
Eric
dcb6131c19
fix bug where a 404 puts a value in the shared state that should not exist 2024-06-26 17:02:55 +10:00
Eric
20d3a1ce8d
maintain moderation view when viewing request details from alert banner 2024-06-26 17:02:55 +10:00
Eric
50b0e7ea03
fix bug with stale images when requestId in URL changes 2024-06-26 17:02:55 +10:00
Eric
22fe987c3b
download images from network when request cancelled or finished 2024-06-26 17:02:54 +10:00
Eric
8118a9f911
Update footer
- balance and block number are continually updated
- codex node and ethereum rpc connections continually checked
2024-06-26 17:02:50 +10:00
Eric
5c1d79eda4
fix bug where loading a preview page syncs recent loading flag in store 2024-06-24 12:50:51 +10:00
Eric
754604cb05
Add preview link to moderation views 2024-06-24 12:50:25 +10:00
Eric
2ca7d346af
re-fetch request states asynchronously on page load 2024-06-21 23:19:37 +10:00