summaryrefslogtreecommitdiff
path: root/elm/UList
AgeCommit message (Collapse)AuthorFilesLines
2019-12-24ulist: Add list management widget on VN pagesYorhel3-4/+134
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-16ulist: Add "voted = private" warningYorhel1-7/+15
Because I suspect that the current behavior may be confusing in a few scenarios, especially when marking the "Voted" label as private.
2019-12-01v2rw: Convert thread display + poll votingYorhel1-1/+1
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 linkradiosYorhel3-33/+24
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-19ulist: Focus and select label input when adding a new labelYorhel1-2/+6
2019-11-19ulist: Remove the notes iconYorhel1-1/+0
It's redundant. The goal was to make the notes feature more prominent so it'd stand out more, but in hindsight it seems more like a distraction.
2019-11-19ulist: Compact the notes field and "add release" link in the expanded viewYorhel1-11/+20
Less clutter when not editing.
2019-11-11ulist: Improve date editing experience for browsers that fall back to a text ↵Yorhel1-5/+8
field
2019-11-10ulist: Improve page load time by lazily loading some thingsYorhel2-13/+28
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: Add feature to add releases to the listYorhel1-14/+62
2019-11-10ulist: Dynamically update releases summary on changeYorhel2-3/+12
2019-11-10ulist: Generalize Elm dropdown + add release status change & removalYorhel2-52/+72
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: Proper release date formatting in release listYorhel1-3/+10
2019-11-10ulist: Implement notes editing + small code reorgYorhel6-15/+48
2019-11-10ulist: Implement deletion of items from the listYorhel2-10/+45
2019-11-10ulist: Add (nonfunctional) releases + options UI; More consistent namingYorhel8-0/+511