Andrea Vos activity https://gitlab.com/Avris 2026-03-19T17:32:40Z tag:gitlab.com,2026-03-19:5223296318 Andrea Vos pushed to project branch main at PronounsPage / PronounsPage 2026-03-19T17:32:40Z Avris Andrea Vos [email protected]

Andrea Vos (392c6595) at 19 Mar 17:32

(pl)(nouns) link to jΔ™zyk-neutralny-studium-przypadku on /osobatywy

tag:gitlab.com,2026-03-19:5222746490 Andrea Vos commented on merge request !759 at PronounsPage / PronounsPage 2026-03-19T15:23:46Z Avris Andrea Vos [email protected]

disagreed, your MR remains the main one πŸ˜‰ mine is based on a slightly outdated branch, doesn't have previous discussions, etc. – but if you're onboard with the structure, please incorporate this simpler scaffolding into your branch (merging my branch directly into yours is not recommended, because while i created the structure itself manually, refactoring all the commands into that structure was entirely vibe coded and not reviewed, just a prototype)

tag:gitlab.com,2026-03-19:5222728402 Andrea Vos commented on merge request !759 at PronounsPage / PronounsPage 2026-03-19T15:19:57Z Avris Andrea Vos [email protected]

yes yes. this PR is not meant to be merged, and definitely not to main directly.

the only point is to discuss the simpler approach to scaffolding. let's keep other discussions to your PR πŸ˜‰

tag:gitlab.com,2026-03-19:5222720110 Andrea Vos commented on merge request !759 at PronounsPage / PronounsPage 2026-03-19T15:18:09Z Avris Andrea Vos [email protected]

ooof, i was supposed to create this MR to your branch, not to main πŸ˜… the only relevant changes are in bin

tag:gitlab.com,2026-03-19:5222662184 Andrea Vos commented on merge request !758 at PronounsPage / PronounsPage 2026-03-19T15:06:17Z Avris Andrea Vos [email protected]

I've proposed a simplification in !759 (merged) ;)

also, just realised that there's also server/miastamaszerujace.ts that's a CLI command (it can be put in the calendar group, next to `bot)

tag:gitlab.com,2026-03-19:5222566527 Andrea Vos commented on merge request !757 at PronounsPage / PronounsPage 2026-03-19T14:43:43Z Avris Andrea Vos [email protected]

i'm fine with the changes, but the pipeline is failing πŸ˜… i guess more of pnpm caching issues?

tag:gitlab.com,2026-03-19:5222559816 Andrea Vos commented on merge request !748 at PronounsPage / PronounsPage 2026-03-19T14:42:25Z Avris Andrea Vos [email protected]

generic option works too

tag:gitlab.com,2026-03-19:5222553341 Andrea Vos commented on merge request !748 at PronounsPage / PronounsPage 2026-03-19T14:41:07Z Avris Andrea Vos [email protected]

totally!

tag:gitlab.com,2026-03-19:5222549710 Andrea Vos opened merge request !759: CLI simplified PoC at PronounsPage / PronounsPage 2026-03-19T14:40:21Z Avris Andrea Vos [email protected]

⚠️ This is not production ready, just a PoC for a discussion of !758 (I created a hello-world PoC and told Claude to migrate Ben's commands into this pattern; plus I didn't tackle updates to makefile, readme etc.)

basically, the advantages i'm looking for here are:

  • no need for all the complexity in bin/lib/*.ts. complex types requiring docstrings, an extra abstraction of Command… yargs seem to handle strings, numbers and booleans correctly out of the box, and those are the only types we use. zod is really cool, but might be an overkill for this use case, and i'd rather have one dependency fewer πŸ˜‰
  • simplified folder structure: bin/commands/<group>/<subcommand>.ts rather than bin/commands/<group>/main.ts and bin/commands/<group>/subcommands/<subcommand>.ts
  • all commands and subcommands defined in one place, bin/index.ts, rather than multiple main.ts files. if we had dozens of commands, a more verbose structure would be justified, but for us right now I'd argue that simpler is better πŸ˜‰ the resulting bin/index.ts is just 66 lines, yet it lets you see at glance what commands we have and how they're grouped
    • that makes it really convenient to move commands around. i moved cleanup out of utils with just a few actions required
    • speaking of… IMO the generic "utils" group is not helpful, it just makes things unnecessarily verbose. why do i need to type pnpm cli utils calendarBot rather than just pnpm cli calendarBot? i love the subcommands structure that lets us group similar commands, but utils doesn't provide value. instead, we could for example have db migrate and db init-test as one group, maybe admin stats and admin notify as another, and make the rest just top-level commands? of give them each a "group of one", like sentry already is, eg. pnpm cli calendar bot
tag:gitlab.com,2026-03-19:5222466458 Andrea Vos pushed new project branch cli-simplified at PronounsPage / PronounsPage 2026-03-19T14:24:18Z Avris Andrea Vos [email protected]

Andrea Vos (cec549aa) at 19 Mar 14:24

(refactor) simplify exports/name duplication

... and 15 more commits

tag:gitlab.com,2026-03-19:5222438379 Andrea Vos commented on merge request !748 at PronounsPage / PronounsPage 2026-03-19T14:18:55Z Avris Andrea Vos [email protected]
is probably the most explicit and clear UI (maybe with a placeholder `(select sentiment)`?)
tag:gitlab.com,2026-03-19:5222401336 Andrea Vos approved merge request !748: opinion sentiments at PronounsPage / PronounsPage 2026-03-19T14:11:23Z Avris Andrea Vos [email protected]

includes some refactoring to make the implementation easier. main thing is that profile.opinions is always an object, that way functions can be more indifferent about what they take (and maybe later enables having a preview in the editor)

includes a simple label header for the opinion inputs, may be sensible to apply it to other forms too

tag:gitlab.com,2026-03-19:5222400493 Andrea Vos commented on merge request !748 at PronounsPage / PronounsPage 2026-03-19T14:11:14Z Avris Andrea Vos [email protected]

I had something to mention it here, but switched context to the CLI, and forgot 🀦 Oh well, if it comes back to me, I'll add a comment.

Overall, looks great! Personally, I'd prefer backfilling with null rather than 0, but it's not really a hill i'd die on. So if my argument convinces you, then let's do it, but if you wanna merge already, that's a βœ… from me too πŸ˜‰

tag:gitlab.com,2026-03-19:5222383203 Andrea Vos commented on merge request !748 at PronounsPage / PronounsPage 2026-03-19T14:08:05Z Avris Andrea Vos [email protected]

I wanna avoid people checking in on their card and wondering "why would PP mark my 'yassss queen' as neutral?! bug report, angry tweet!". instead they could see an unfilled value, which should convey a "this is a new feature, fill it out! (and until you do, we'll keep treating it as neutral)".

if there is no for that value, it will show up as empty at first, but force a choice when clicked.

although, that would force us to think about form validation. if they don't fill out the sentiments for pre-existing opinions, and hit save, should we prevent that and display an error? probably too much bother, but at least we should make sure that this doesn't get saved as 0 but remains a null

tag:gitlab.com,2026-03-19:5222354238 Andrea Vos commented on merge request !748 at PronounsPage / PronounsPage 2026-03-19T14:02:17Z Avris Andrea Vos [email protected]

beautiful! 😍

tag:gitlab.com,2026-03-19:5222253519 Andrea Vos commented on merge request !758 at PronounsPage / PronounsPage 2026-03-19T13:41:44Z Avris Andrea Vos [email protected]

we're not creating a library that people might use and care about versioning. it's just internal CLI that likely will keep evolving without care for BC or versioning. i'd rather not set this value and pretend that we're gonna properly version the commands πŸ˜…

tag:gitlab.com,2026-03-19:5222248625 Andrea Vos commented on merge request !758 at PronounsPage / PronounsPage 2026-03-19T13:40:41Z Avris Andrea Vos [email protected]

this value seems to be used when displaying help message, and it says now that usage is pp-cli <command>, which i don't think is a valid command.

.scriptName('pnpm cli') makes help message render pnpm cli <command>, which is way more helpful

tag:gitlab.com,2026-03-19:5222150013 Andrea Vos commented on merge request !758 at PronounsPage / PronounsPage 2026-03-19T13:20:51Z Avris Andrea Vos [email protected]

When trying to run it, I'm running into unexpected issues. The options don't seem to propagate to the subcommands? Maybe I'm running something a wrong way, but the second command is literally copied from the README πŸ˜…

andrea@andrea-black PronounsPage % pnpm cli translation create --locale fr

> [email protected] cli /Users/andrea/Projects/PronounsPage
> IS_CLI=true tsx --tsconfig .nuxt/tsconfig.server.json --import ./sentry.scripts.config.ts --env-file=.env bin/index.ts translation create --locale fr

Missing required option: locale
 ELIFECYCLE  Command failed with exit code 1.
andrea@andrea-black PronounsPage % pnpm cli translation merge -l fr -f merge.suml

> [email protected] cli /Users/andrea/Projects/PronounsPage
> IS_CLI=true tsx --tsconfig .nuxt/tsconfig.server.json --import ./sentry.scripts.config.ts --env-file=.env bin/index.ts translation merge -l fr -f merge.suml

Missing required option: locale
 ELIFECYCLE  Command failed with exit code 1.

But that aside… It looks like a big step in the right direction and a lot of good work! However, I'm afraid that we're also introducing a lot of complexity that will need to be maintained and understood for a long time, mainly to support zod typing for options that are only used by like five commands anyway πŸ˜…

I'm not sure how my imagined simple solution would look like exactly, but I'd like to give it a go before this PR gets merged, please give me a few hours to play around and propose an alternative before putting significant effort into this branch πŸ˜‰

tag:gitlab.com,2026-03-19:5221916332 Andrea Vos pushed to project branch main at PronounsPage / PronounsPage 2026-03-19T12:27:49Z Avris Andrea Vos [email protected]

Andrea Vos (298a1c5e) at 19 Mar 12:27

Merge remote-tracking branch 'origin/main'

... and 1 more commit