Thursday, 20 May 2021

momijizukamori: (tits against the rte)
So it turns out that when you are used to reflowable HTML, having to write a GUI where you have to manually break lines yourself and absolutely position all elements is a huge pain in the ass. I begin to understand why everyone uses Electron these days. But I started to take a stab at work index entries, because I don't want to accept that I'm going to have to write a view for full work blurbs from scratch instead of using the HTML engine. Here's what we've got so far:


The black box is where an implementation of the required tags grid will go - it'll probably be smaller, but I need to do some testing to figure out what size it needs to be to be intelligable. It'll be a togglable option whether to show or hide. For the main body, I'm thinking of having two modes - one with up to two lines of title/author, and one line of fandoms, and one with up to two lines of title/author, up to two lines of fandoms, and remaining space filled with tags. Probably they will be on either side, size-wise, of the current prototype, as I realized that the proto is kind of an akward height.

Far right column is update date and word count at the moment, though I think I need to do something to make that clearer. Having those two items be configurable (replace with any of the other number stats - hits/kudoes/comments/bookmarks/chapters) is a definite possibility. Also gonna bump the tiny font up a little, I think.

Current plan is to have it open the work itself with a single tap, and to open up the overlay with the scrollable full blurb on long-press. But! For the people who were interested in this app, what would be your ideal items to show in the index view? Configuration beyond long/short and the required tags grid will probably come later but I am interested in what people want.

EDIT: I post this and then go to load a new version of the code onto my Glo only to discover that something has gone seriously wonky with it and while it will boot to the home screen, I can't interact with anything and the battery doesn't seem to be charging? I am going to leave it off and plugged in for a few hours and see if that helps at all, and then try a factory reset if it doesn't.

Profile

momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)
Cocoa

April 2025

M T W T F S S
 123456
78910111213
14 151617181920
21222324252627
282930    

the greatest secret of all times:

Custom text with html!Custom text with [personal profile] momijizukamori - a user name.italics! underline! strikethrough
I am a blockquote

Expand Cut Tags

No cut tags

Style Credit