Asbjørn Ulsberg activity https://gitlab.com/bitbear 2026-01-16T21:11:16Z tag:gitlab.com,2026-01-16:5003921858 Asbjørn Ulsberg commented on merge request !440 at Granola / Granola 2026-01-16T21:11:16Z bitbear Asbjørn Ulsberg

Agreed!

tag:gitlab.com,2026-01-12:4986067745 Asbjørn Ulsberg approved merge request !444: Draft: set focus on invalid input at Granola / Granola 2026-01-12T22:04:28Z bitbear Asbjørn Ulsberg

This makes sure we scroll to the first invalid input, which can be helpful when submitting invalid forms. In case there's more than one error, it first tries to scroll so all of them are in the view, and then it finally focuses on the first invalid one. This gives us a reasonable chance to get all of the invalid inputs in the viewport.

tag:gitlab.com,2026-01-11:4981868553 Asbjørn Ulsberg commented on merge request !406 at Granola / Granola 2026-01-11T21:24:49Z bitbear Asbjørn Ulsberg

Yeah, I think this is a step in the right direction!

tag:gitlab.com,2026-01-08:4973301986 Asbjørn Ulsberg commented on merge request !439 at Granola / Granola 2026-01-08T12:44:09Z bitbear Asbjørn Ulsberg

Sorry, seems like I've had a brain damage or something making me write UserInfo instead of EntryInfo every time. Please re-read my comments with s/UserInfo/EntryInfo/g. 🤦

tag:gitlab.com,2026-01-07:4971096154 Asbjørn Ulsberg approved merge request !439: separate out EntryInfo at Granola / Granola 2026-01-07T21:33:29Z bitbear Asbjørn Ulsberg

The idea here is that EntryInfo is the metadata for an entry that a user can change. This MR takes that idea and runs with it a bit.

The idea is to eventually extend the EntryInfo so it can contain a generic dictionary of JSON data, so orgas can store extra metadata (like Evoke's GEMA info for authorship etc). But I didn't do that last bit yet, just restructured things a bit first instead.

tag:gitlab.com,2026-01-07:4971096143 Asbjørn Ulsberg commented on merge request !439 at Granola / Granola 2026-01-07T21:33:29Z bitbear Asbjørn Ulsberg

So UserInfo would have an additional string field containing JSON? I was thinking UserInfo itself represented the JSON, but if that's not the case, I misunderstood and you can ignore my comment. :)

tag:gitlab.com,2026-01-03:4959131621 Asbjørn Ulsberg commented on merge request !409 at Granola / Granola 2026-01-03T23:50:19Z bitbear Asbjørn Ulsberg

Let's merge the two first commits, and rework the last one a bit to be less dependent on JavaScript?

tag:gitlab.com,2026-01-03:4959131271 Asbjørn Ulsberg commented on merge request !439 at Granola / Granola 2026-01-03T23:49:20Z bitbear Asbjørn Ulsberg

The idea is to eventually extend the EntryInfo so it can contain a generic dictionary of JSON data, so orgas can store extra metadata (like Evoke's GEMA info for authorship etc).

Won't having a predefined struct UserInfo with fields mapped to database columns make this dictionary to JSON mapping in the same UserInfo struct harder in the future?

tag:gitlab.com,2026-01-03:4959087510 Asbjørn Ulsberg approved merge request !442: disable submit-button if nothing to submit at Granola / Granola 2026-01-03T22:48:50Z bitbear Asbjørn Ulsberg
tag:gitlab.com,2026-01-02:4956653990 Asbjørn Ulsberg commented on merge request !440 at Granola / Granola 2026-01-02T10:40:14Z bitbear Asbjørn Ulsberg

This seems like a very neat and useful feature!

tag:gitlab.com,2026-01-02:4956653986 Asbjørn Ulsberg approved merge request !440: Draft: add visitor/slide mocks at Granola / Granola 2026-01-02T10:40:14Z bitbear Asbjørn Ulsberg

This renders a version of the visitor-list and compo-slides with mock data to try and catch styling-issues early on.

Marked as draft, because these pages aren't discoverable.

tag:gitlab.com,2026-01-02:4956653962 Asbjørn Ulsberg commented on merge request !440 at Granola / Granola 2026-01-02T10:40:13Z bitbear Asbjørn Ulsberg

To me, the mock stuff added here doesn't seem like tools. "Mocking tools" indicates the creation of mock data to me, while the mocks here are static data rendered in existing views.

tag:gitlab.com,2026-01-02:4956653946 Asbjørn Ulsberg commented on merge request !440 at Granola / Granola 2026-01-02T10:40:13Z bitbear Asbjørn Ulsberg

An alternative to a /mock root resource would be to append .mock or ?mock to the URL of other resources. When added (perhaps through a switch inside the admin interface somewhere), all links could be altered to provide mock data, sort of like going into "mock mode". Thoughts?

tag:gitlab.com,2026-01-02:4956437279 Asbjørn Ulsberg commented on merge request !442 at Granola / Granola 2026-01-02T08:45:04Z bitbear Asbjørn Ulsberg

It might be useful to add a tooltip explaining why the button is disabled, no?

              <button id="add-all" type="submit"{{ if eq (len .MissingEntries) 0 }} disabled data-tooltip="No more entries to add"{{ end }}>Add all entries</button>
tag:gitlab.com,2026-01-02:4956437083 Asbjørn Ulsberg approved merge request !442: disable submit-button if nothing to submit at Granola / Granola 2026-01-02T08:44:59Z bitbear Asbjørn Ulsberg
tag:gitlab.com,2025-12-31:4954119472 Asbjørn Ulsberg approved merge request !441: misc invite fixes at Granola / Granola 2025-12-31T16:23:35Z bitbear Asbjørn Ulsberg

Here's a few fixes/cleanups for invite-related stuff...

tag:gitlab.com,2025-12-29:4948606787 Asbjørn Ulsberg commented on merge request !396 at Granola / Granola 2025-12-29T12:27:36Z bitbear Asbjørn Ulsberg

Yeah, I think some sort of disclaimer or warning can be given in these "Download" dialogs, such that the person downloading knows that the archive might not be suitable for direct upload to scene.org.

Also, !406 (merged) is going to improve on this situation so we at some point in the future might remove such a disclaimer/warning.

tag:gitlab.com,2025-12-29:4948606765 Asbjørn Ulsberg approved merge request !396: Download all entries at Granola / Granola 2025-12-29T12:27:36Z bitbear Asbjørn Ulsberg

this adds a button to download all entries of all playlists in one zip containing subdirectories. this basically then is what was played at the party and can be used to create dirs for scene.org.

tag:gitlab.com,2025-12-29:4948588232 Asbjørn Ulsberg commented on merge request !402 at Granola / Granola 2025-12-29T12:21:30Z bitbear Asbjørn Ulsberg

LGTM! 🙂

tag:gitlab.com,2025-12-29:4948587722 Asbjørn Ulsberg approved merge request !402: Print diplomas at Granola / Granola 2025-12-29T12:21:20Z bitbear Asbjørn Ulsberg

Here's an MR that implements diploma printing.

While it's not perfect, I think it's better than nothing. Here a few things that could be improved:

  • I'd love to get rid of the hard-coding of the A4, size, but I can't seem to figure out a good way that works in all browsers to make the diploma take up the entire page. width: 100vw; height: 100vh; works in Chrome, but not in Firefox (when printing).
  • Perhaps make the number of placements to print configurable? Dunno, 3 seems pretty standard...
  • Probably want some sort of integration with a configurable party-logo, like has been recently suggested by @steam0r

Neither of these seems critical, so perhaps we land this as-is soon?

Closes: #101