Tail Star | Cracking Windows Phone and BlackBerry Native Development Cross-Platform Mobile Apps | Massa Carrara

Design drafting

Posted in

#76 by witchcapture
2018-08-25 at 06:19
Thanks, did a rebuild and it's all working! I got some new errors at first (cannot find type `DocEdit`, etc), but manually running "util/elmgen.pl >elm/Lib/Gen.elm" fixed them.

Looks friendly enough. I worry slightly about the space needed for longer titles, and we need to stuff the user's 'notes' somewhere. I guess with an icon?

Hmm, yeah, maybe you hover over/tap the icon and it shows? Anilist does something similar. Or perhaps you could click it and and the row expands to show the notes and releases.
#77 by yorhel
2018-08-25 at 06:27
Hmm, yeah, maybe you hover over/tap the icon and it shows?
Yup, seems like an idea.

Meanwhile, I see I still have an enormous backlog of stuff to implement. >.>
#78 by kurothing
2018-08-27 at 17:26
I'd just like to point out that the Database API page is looking a bit funky without styling for the tables, but more importantly it doesn't site next to the list like other pages? linky
#79 by yorhel
2018-10-02 at 07:34
I'm still struggling with a whole bunch of things - evidently I suck at UIs.

For character pages, there's a few more things that need to be implemented, but I'm not sure where to place or how to style them. (Some example pages to help: link and link - WARNING: spoiler hiding not implemented yet).
- There should be a spoiler setting somewhere. The styling is easy, could be the same as the dropdown at the tag listing on VN pages. But where? Note that this spoiler setting applies to the entire page: traits, VNs, and instances. We could also add separate settings for each, but I'm not sure that's very helpful.
- Sexual trait toggle. This seems easier, could be positioned at the right top of the "Detailed info" box - doesn't affect anything else.
- And now the extra hard part: Instances. An extra box listing the instances would make sense, but... how to style the character info in there? Not all character info necessarily needs to be on there, a simple listing of characters + images would work fine as well - but still, styling.

The last point may even be related to how characters are listed on VN pages - perhaps it's an idea to create a consistent "character card" that could be used for character listings at several places. Perhaps we can even consolidate that with the character browsing/searching interface. But I'm not really sure if that's going to work well or if separately styled listings still make more sense.


--
Another thing I've been thinking about: At the top "tabs" for each entry we have the database contribution links (Edit, History, Copy, Add Release, etc). I'd say that draws too much attention to them, A generic edit icon with the actions in a dropdown seems more appropriate. Thoughts?Last modified on 2018-10-02 at 07:41
#80 by witchcapture
2018-10-07 at 05:24
To be honest, I'm not that great at them either :P

How about something like this? link

- Spoiler setting is just below the header. I stuck it in the header at first, but it didn't really feel right there, with the new edit dropdown already there and the header being less about the details in general.
- Sexual trait toggle: only problem with putting it in the detail/traits box is that you end up with a some empty vertical space at the top left, which feels a little weird - I think it should be fine just next to the spoiler setting like it is in vndb v 2.
- Instances: I like your idea of a reusable card. I gave that a try and I think it works pretty well here. Using them (or slightly altered to remove the description) instead of the full character browser might make the VN pages a bit easier to generate/more lightweight too. Was that the sort of thing you had in mind, or were you more thinking a card with all of the character details?

Since we've gone more in the direction of cards since the VN page was designed, I might circle back to that later and see if we can bring that a little more in line with the new pages too.

As for the tabs: yeah, I agree, they probably don't need to be so emphasized. In the mockup above I've replaced them with an outline button saying "Contribute", but here's a second version with an edit pencil: link Which one do you prefer?

Let me know if this works for you and I'll whip up some CSS :)
#81 by yorhel
2018-10-07 at 05:50
Nice, I'm liking all the suggestions. I have a slight preference for the edit pencil icon - if only because it's smaller :)
#82 by witchcapture
2018-10-11 at 08:21
Awesome, here's a PR for that: link -corresponding HTML is in the PR message too.
#83 by yorhel
2018-10-26 at 13:32
Alright, finally done with the character pages. I spent way too long fretting over how to implement the trait hiding part - all solutions I could think of are ugly in their own way. I'm happy with the end result though, it's clean and functional!

I did notice an odd bug with the instance cards: Long VN titles will cause the card to be much wider than it should. E.g. link. flex and white-space:nowrap don't seem to work all that well togerher, I ran into a similar issue before with the doc page styline. (Igawa Asagi's page is also messier than most due to the large amount of traits and aliases - but not every page is going to be the most elegant thing ever, so whatever :).
#84 by witchcapture
2018-10-28 at 03:16
Awesome, looks great!

It looks like flexbox changes the default for min-width from 0 to 'auto', and it seems changing it back to 0 prevents this from happening. If you add "min-width: 0;" to ".col, .col-sm, .col-md, .col-lg, .col-xl, .col-xxl {" in grid.css the issue should go away. If the doc page thing is still an issue let me know and I can take a look at that too.

I'll continue with the design stuff and get you some more designs soon :)
#85 by kurothing
2018-10-28 at 03:19
In regards to the long VN Titles, you could create a work around by using the max-width property on the card, using Igawa Asagi's page to experiment, setting the max width value of
max-width: 43.49vw;
on the .character-card class ensures the card width matches the width of the other cards while viewing on a 1920x1080 full screen browser at 100% zoom (To be precise, 835px).

From there, you would need to set a max-width on the inner content, but at this point the
white-space: nowrap;
works but overflows the card element.

Playing around with it a bit further, placing the exact same max-width value onto the .character-card__left class results in the text in the .character-card__vns element being cut to approximately 50% of the card and cut off with an ellipisis.

I'm not sure if this is the effect you want, Here is a screenshot of the effect applied to both .character-card and .character-card__left and a fullscreen one.

This all works on Firefox Maximized (Not F11 mode) on a 1920x1080 monitor. It would require additional work to be mobile friendly, since I used vw (view width) units, which means the card might become about half the width of the screen on lower resolutions.

Edit: Heh, witchcapture figured out a better solution while i was messing around :DLast modified on 2018-10-28 at 03:20
#86 by witchcapture
2018-11-11 at 08:13
Just realized I never did the HTML/CSS for the user and list pages, so PR for that here: link

Hopefully I didn't forget any of the features there :P

Also implemented a simple click-to-edit for the VN ratings in the list page (in the HTML attached to the PR) to see how it feels, and it seems like it would be pretty useful - might be worth adding in something like that to make updating your ratings a little easier.
#87 by yorhel
2018-11-11 at 10:11
Looking good. A few thoughts about the list:
- It's missing space for the "notes" feature - I think an icon or short snippet in the main list would work, the same expanded view as for releases could be used to display the full notes. (I'm thinking of giving this notes feature more exposure in the future, it could work well as a mini-review system - hence my interest in keeping this :)
- I've never been a huge fan of the select-and-batch-edit interface. It's a fine feature for advanced users, but it's not very obvious in its use. I like the in-line vote editing you proposed, perhaps we could expand that to other editing operations. Or perhaps an icon that opens a modal editor for the selected entry. What do you think?
- This is a thing. I'm totally not a fan of that interface, but I can see the appeal of having an image at each entry. How does a "compact view" / "card view" toggle sound?

While we're on the topic of lists, I'm curious if you already had some ideas for the VN browsing/searching/filtering interface. There may be an opportunity to streamline and perhaps even unify some of the UI.
(Plus having advanced filtering on a users' list could be a useful feature. If the UI allows for that, of course, I don't want these pages to become too cluttered)

I'll finish the character editing form first and then I'll work on the user page.Last modified on 2018-11-11 at 10:18

Reply

You must be logged in to reply to this thread.