Commit Graph

44 Commits

Author SHA1 Message Date
Emi Simpson 96808a5648
Split CSS out into its own file 2022-11-17 12:19:34 -05:00
Emi Simpson 9646e67ff7
Improve the rendering of errors on thumbnails & rendered images 2022-11-17 12:05:25 -05:00
Emi Simpson 71229e2339
Made the GError display prettier 2022-11-16 17:50:33 -05:00
Emi Simpson eef0a5a653
Refactored some code out of the UI module 2022-11-16 17:24:53 -05:00
Emi Simpson 4d8d6ee8e0
Partially sequentialize code for loading adjacent images on focus 2022-11-16 17:12:53 -05:00
Emi Simpson b9803d260b
Added a little bit more leway to clicking buttons on the focus screen 2022-11-16 12:40:21 -05:00
Emi Simpson f364d00d3e
Change load order when focusing image 2022-11-16 11:54:27 -05:00
Emi Simpson 40757cbe6a
Fix UnexpectedError in image update event handling 2022-11-16 11:53:34 -05:00
Emi Simpson 66f2e69026
Added ability to recover from some network errors 2022-11-15 22:18:19 -05:00
Emi Simpson 8a6eda1fed
Use the magic of modeling to prevent double-loading images 2022-11-15 21:01:45 -05:00
Emi Simpson 95fc1b912e
Refactored update to be more pure 2022-11-15 20:47:21 -05:00
Emi Simpson 4530c347a5
Preload images adjacent to the currently viewed image 2022-11-15 17:59:33 -05:00
Emi Simpson 5ca93955bd
Add some keybindings
Left -> view prev image
Right -> view next image
Escape -> close viewed image
1 -> focus the first image of the gallery
2022-11-15 14:35:50 -05:00
Emi Simpson 8c5e4591a6
Learn from experience & rename output JS 2022-11-13 00:23:46 -05:00
Emi Simpson bb9bfc1346
Shuffle a couple files around 2022-11-12 22:06:22 -05:00
Emi Simpson 54cf627a01
Added README and setup help 2022-11-12 21:52:53 -05:00
Emi Simpson aae4a2138e
Use buttons were buttons ought to be 2022-11-12 19:52:43 -05:00
Emi Simpson 5297164963
Add a close button 2022-11-12 19:44:06 -05:00
Emi Simpson c771e9df3b
Add panning buttons 2022-11-12 19:39:11 -05:00
Emi Simpson cbc18fce18
Mess with the margins a little 2022-11-11 19:32:48 -05:00
Emi Simpson 156c703d3d
Add zooming to images 2022-11-11 17:27:58 -05:00
Emi Simpson 387e7d1b47
Predict the correct size of full images 2022-11-09 17:44:35 -05:00
Emi Simpson 3802543623
Use seperate nonces for thumbnails and full images
Corresponds to dd2748c in aviary-cli
2022-11-09 15:54:33 -05:00
Emi Simpson 0895108c07
Made thumbnail + gallery errors look 20% less horrible 2022-11-09 12:29:15 -05:00
Emi Simpson 831b361eda
Add a basic HTML interface 2022-11-08 22:42:02 -05:00
Emi Simpson 257712bfae
Encode blurhashes in the app 2022-11-08 20:37:59 -05:00
Emi Simpson 612fe976a0
Add handling for possible key import errors 2022-11-07 17:49:20 -05:00
Emi Simpson c434b19515
Added handling for network errors 2022-11-07 16:16:47 -05:00
Emi Simpson 52bbf8379b
Refactored the model, preventing redundant requests of full images 2022-11-07 15:41:19 -05:00
Emi Simpson ff526005aa
Added primitive rendering of a focused element 2022-11-07 12:23:59 -05:00
Emi Simpson 10e1ddecdf
Added thumbnail rendering!!! 2022-11-06 19:46:39 -05:00
Emi Simpson 69f66e7908
Turn nonce into a non-effect constant using FFI 2022-11-06 11:58:15 -05:00
Emi Simpson 111bebf0de
Move a lot of code into a seperate Logic module 2022-11-06 11:47:36 -05:00
Emi Simpson 4ab1bcdbc1
Added Halogen functions to render list of thumb blurhashes 2022-11-06 11:36:31 -05:00
Emi Simpson e24bdf5b13
Restructure code to use a more sound model 2022-11-05 17:41:41 -04:00
Emi Simpson 86f7740baa
Add FFI files missing from earlier commits 2022-11-05 15:52:26 -04:00
Emi Simpson a7886e208e
Add editor config 2022-11-05 15:51:57 -04:00
Emi Simpson 2ff873b070
Handle HTTP status in index lookup 2022-11-05 14:50:34 -04:00
Emi Simpson c12ceba496
Add image decryption 2022-11-05 14:47:35 -04:00
Emi Simpson 99422b1f0a
Add protobuf parsing (et. al) 2022-11-04 14:05:02 -04:00
Emi Simpson a3fbcea843
Made a whole bunch of changes
Really not in the mood for git hygine right now
2022-10-24 15:10:30 -04:00
Emi Simpson 6885935089
Attempt to implement subtlecrypto key importing (untested) 2022-10-19 17:43:54 -04:00
Emi Simpson 379260d457
Fix parseUrl 2022-10-19 17:39:04 -04:00
Emi Simpson 03b0c2ef12
Began work on a PureScript Aviary implementation 2022-10-09 20:03:03 -04:00