summaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)AuthorFilesLines
4 daysimgflag: Reserve space for the "other users" tableYorhel1-4/+6
To avoid the page height changing for every image, which can be jarring if you've scrolled down to see the users table. Also hide the guideline link when you can't vote anyway.
5 daysUser list: Right-align numeric columnsYorhel1-0/+8
8 daysimgflag: Automatically adjust box size based on window sizeYorhel1-1/+1
10 daysimgflag: Display votes from other usersYorhel1-0/+3
13 daysDelete old release edit formYorhel5-285/+0
So that I can now work on adding a few more fields.
2020-03-17imgflag: More styling + add guideline link to UIYorhel1-7/+5
The buttons are closer together for more convenient mouse-based voting.
2020-03-17imgflag: Allow skipping images + some minor style changesYorhel1-2/+2
2020-03-16imgflag: Add short mouse-over descriptions to the vote optionsYorhel1-10/+19
These need to be refined, not sure they're all that great at the moment.
2020-03-16imgflag: Initial schema + UI for image flaggingYorhel1-0/+15
Lots of TODO's left to work on, but you have to start somewhere. I've bumped the Docker image version because this change requires TUWF commit 74aad378d49592df4359ea8a9f6f36d4a0013c04 (Elm decoder for structs with more than 8 fields)
2020-03-05RelEdit: Two-column platform & language selector + fix order of platformsYorhel1-0/+1
+ add separator after most-common-shortcut-platforms
2020-02-28Elm/form styling: Use buttons instead of links for "remove" actionYorhel1-1/+2
2020-02-28v2rw/RelEdit: Add visual novel relation editingYorhel1-4/+3
And a few minor styling fixes.
2020-02-27v2rw/RelEdit: Add external links editorYorhel1-0/+3
Seems to be working pretty well. It's not as discoverable as the old form, but it's much easier to work with (just paste the URL), it provides better feedback and looks a lot less messy. The code is also nicely DRY. It has some complexity, but less than what I had anticipated. Adding new links or allowing multiple links for a single site should be much easier now. This is the edit form I was referring to back in 06bacb61526f3945520dd344821d2aa7b85a5f43
2020-02-21v2rw/WIP: Incremental rewrite of the release edit formYorhel1-4/+4
The new form does change a few things to the UI, so I'll keep the old form around for a while so that people have something to fallback to when it doesn't work (like, right now). I'm also doing this rewrite in multiple commits as it's a pretty large change.
2020-02-13Staff::Page: Use server-side spoiler hidingYorhel1-7/+0
Using the new viewget/viewset infrastructure. This is *much* simpler in implementation and also solves the table striping anomaly when some rows are hidden.
2020-02-13v2rw: WIP: Convert character pagesYorhel1-1/+3
This uses an alternative (non-JS) approach to spoiler hiding, which is both much simpler to implement and properly handles all cases. Downside is that it requires a page reload. It also allows direct linking to a character page with a particular view, but I'm not entirely sure if this is a welcome feature. This is a WIP because it doesn't display instances yet.
2020-02-09Tagmod: Add "notes" field to tag voting thingYorhel1-2/+4
Currently only displayed in the tag link browser and the tag editing form, but I'm hoping to display these on the VN page as well (on hover or something, not sure about the UI).
2020-01-28v2rw: Convert the VN tagmod interfaceYorhel3-188/+22
This also changes the voting interface a little bit: - Spoiler options are a bit more concise - Mouse-over a button indicates what it does - The -1 and -2 options are not available anymore - Downvoted tags are hidden by default - Moderators can now vote-and-overrule in a single go
2020-01-23v2rw: Convert release pagesYorhel1-8/+0
This removes the user list management functionality, I'll reimplement those in a bit.
2020-01-13UList.VNPage: Improve styling to make inputs stand out moreYorhel1-0/+1
Basically use the same form styling as the old select boxes and put use a different default text than "-".
2020-01-09ulist: Rework VN "User options" tab to be more prominent and convenientYorhel1-5/+8
Personally not a big fan of this taking so much space when it's not on the user's list, but people want instant options so there we go. It probably still blends in too well with the rest of the VN info though, styling isn't my thing. And there's no need to hit "Add to list" anymore now.
2020-01-08ulist: Add vote dropdown againYorhel1-0/+1
As in: Provide some voting guidance again and optimize for the common case where you vote with a whole number.
2020-01-08Slightly less ugly tagscore displayYorhel1-5/+10
And get rid of the spoiler warning in the tag link browser. There are lots of pages that would need it if we applied it consistently.
2020-01-08v2rw: Convert tag link browserYorhel1-1/+0
2020-01-06Staff::Page: Add spoiler hiding options for voiced character listingYorhel1-8/+15
2020-01-06CSS: Make "select columns" have the same appearance as a nav linkYorhel1-1/+2
2020-01-06Char/VN filters: Keep tagspoil level even if no tags/traits are selectedYorhel1-3/+0
https://vndb.org/t2520.349
2020-01-04ulist: Add ability to save views as defaultYorhel1-3/+6
2020-01-02ulist: Add alphabet selection thing againYorhel1-3/+4
2020-01-02CSS: Don't wrap the dropdown indicator arrow to the next lineYorhel1-2/+2
2019-12-29ulist: Display labels on VN browserYorhel1-2/+2
Replaces the old "wishlist status" column that I removed earlier. It's kind of awkward, but at least the functionality still exists now.
2019-12-24ulist: Add list management widget on VN pagesYorhel2-19/+4
Minimal version. It reuses the LabelEdit and VoteEdit widgets, but doesn't allow setting a note or start/finish date at the moment. VN pages now have both v2rw.js and the old vndb.js; Those two scripts aren't meant to be used together on a single page, so I'm hoping this will be temporary. I removed the 'checkall' handling from vndb.js as that might conflict. It's only used on the old list pages anyway.
2019-12-12v2rw: Discussion board editing & thread creationYorhel1-5/+6
Now with BBCode preview, interactive board search, client-side error reporting and lots of new bugs. This took me far too long, turns out it wasn't such a trivial rewrite.
2019-12-09Add SubscribeStar buttonYorhel1-2/+5
2019-12-06Handle BBCode spoiler tags in CSSYorhel2-13/+3
Also fixes the hover effect for threads, which I broke earlier due to the threads moving to v2rw.js.
2019-12-06Add link to d9#3 to quick reply box + allow customizing TextPreview headerYorhel1-3/+4
2019-12-05v2rw: Convert thread reply form to ElmYorhel1-1/+1
So we can apply the new preview functionality. I got rid of the "Go advanced" button, because there's really nothing advanced about it.
2019-12-01JS: Remove old "This is not VNDB!" domain checkYorhel1-11/+0
This is a remnant from when I was running a public sandbox VNDB, to avoid getting people confused and wasting their time contributing to the sandbox. Removed for consistency with pages that have migrated to the new v2rw.js, which doesn't have the message, and for the new .onion address.
2019-12-01v2rw: Convert thread display + poll votingYorhel1-1/+2
I did not reimplement the 'poll_recast' and 'poll_preview' settings, these actions are now always permitted. Updated CSS a little bit to highlight the linked post and fix the double border at the bottom. The nice thing about the sql_visible_threads() function I wrote earlier is that is can also be used for access control on a single thread. More code re-use. \o/
2019-11-28Use plain links for JS-ified linkradio inputs + fix focus of non-JS linkradiosYorhel1-0/+25
Kind of backwards to use input elements to display a link when they're backed by Javascript anyway. This also avoids the need to create a unique id for each linkradio element.
2019-11-27ulist: Add column selection + voted, modified, release date & rating columnsYorhel1-22/+27
It works pretty well, but Lists.pm is getting *really* ugly now. :(
2019-11-27CSS: Less hacky .maintabsYorhel1-32/+17
Flexbox instead of floats. Apart from that, it's still very hacky. Uses relative positioning in order to overlay 1px over the .mainbox. This should fix the ages-old 'bottom tabs overlay next mainbox' bug and provide more flexibility with adding a top-level <fieldset> or centered buttons.
2019-11-19ulist: Compact the notes field and "add release" link in the expanded viewYorhel1-1/+2
Less clutter when not editing.
2019-11-15v2rw: Convert discussion board searchYorhel1-2/+2
With minor styling improvements and full pagination for thread title search. I did combine a few queries which I initially separated for performance reasons. A few quick benchmarks show that it's fast enough, but I'll have to see how it performs in production.
2019-11-10ulist: Improve page load time by lazily loading some thingsYorhel1-1/+1
Instantiating 100 <input type="date"> takes about 180ms on my system with Firefox, so doing that lazily is a big win. UList.Opt is typically hidden, lazily initializing that saves an additional 60ms. Also increase the mouse-over div for the date editor a bit so that there's more hover space.
2019-11-10ulist: Dynamically update releases summary on changeYorhel1-0/+1
2019-11-10ulist: Generalize Elm dropdown + add release status change & removalYorhel1-15/+17
Found a cleaner way to recognize outside-of-dropdown clicks, so that gets rid of the weird and unreliable message timing workarounds. TODO: - Dynamically updating that releases summary thing (1/1 blah) - Adding releases - Add "linkradio" styling for plain <a> tags? These hidden checkboxes are silly for stuff that requires JS anyway.
2019-11-10ulist: Implement notes editing + small code reorgYorhel1-0/+1
2019-11-10JS: Add LibreJS compatibility + use embedded comment tag to sort v2rw.js filesYorhel1-0/+7
I found myself forgetting to add a file to $JS_FILES in the Makefile several times now, and with Perl and Elm modules being detected and loaded automatically, it feels weird not to do the same for .js files. This embedded order trick is ugly, but it's pretty simple and gets the job done.
2019-11-10ulist: Add (nonfunctional) releases + options UI; More consistent namingYorhel1-2/+10