1234 Commits

Author SHA1 Message Date
Andrea Vos
d57de4a570 Merge branch 'search-kbd-width' into 'main'
fix search button <kbd> too wide on mac

See merge request PronounsPage/PronounsPage!568
2025-02-06 21:07:11 +00:00
Andrea Vos
8597f05ca8 another ads experiment 2025-02-06 21:06:22 +01:00
Adaline Simonian
23a3862ca0
test: introduce snapshot-based smoke tests
- Adds a new test suite with Docker-based smoke tests for all locales.
  Can be run using the ./smoketest.sh script.
- Replaces all calls to Math.random() with a new helper that returns 0.5
  in snapshot testing mode, ensuring deterministic snapshots.
- Similarly replaces all calls to new Date() and Date.now() with new
  helpers that return a fixed date in snapshot testing mode.
- Replaces checks against NODE_ENV with APP_ENV, to ensure that the
  bundles can be built with Nuxt for testing without losing code that
  would otherwise be stripped out by production optimizations.
- Adds a database init script that can be used to initialize the
  database with a single admin user and a long-lived JWT token for use
  in automation tests.
- Adds a JWT decoding/encoding CLI tool for debugging JWTs.

Note: Snapshots are not checked in, and must be generated manually. See
test/__snapshots__/.gitignore for more information.
2025-02-02 23:11:19 -08:00
Andrea Vos
3e23c2d9d3 (lint) 2025-02-01 16:55:29 +01:00
Andrea Vos
6e55f80782 fix search button <kbd> too wide on mac – second attempt 2025-01-31 22:29:10 +01:00
Andrea Vos
272d59ea19 allow complex code in a tooltip 2025-01-31 22:27:25 +01:00
Andrea Vos
53d089dfab fix CI 2025-01-31 22:25:35 +01:00
Andrea Vos
6ab120441a Merge remote-tracking branch 'origin/main' 2025-01-31 22:14:52 +01:00
Andrea Vos
908605375e fix CI 2025-01-31 22:14:43 +01:00
Andrea Vos
be8b95c445 Merge branch 'auth-method-count-warning' into 'main'
(auth)(ux) warn users if they only have a single login method set up

See merge request PronounsPage/PronounsPage!569
2025-01-31 21:09:00 +00:00
Andrea Vos
09e0fa9f2d (lint) 2025-01-31 22:04:35 +01:00
Andrea Vos
cc2dc6bfa2 CR feedback 2025-01-31 22:02:11 +01:00
Andrea Vos
9340b4fb8e (bug) fix <ExpendableList>'s only-one-item-hidden behaviour 2025-01-31 21:57:19 +01:00
Andrea Vos
af7c47d079 (dark) fix switches styling in dark mode 2025-01-31 21:49:08 +01:00
Andrea Vos
01631e413a use avris-vue-share after v1.0 release instead of copying the code with modifications 2025-01-31 21:44:47 +01:00
Andrea Vos
7d70c620aa (lint) 2025-01-29 22:15:53 +01:00
Andrea Vos
5a426770d3 (auth)(ux) warn users if they only have a single login method set up 2025-01-29 22:13:40 +01:00
Andrea Vos
28d624b6d1 fix search button <kbd> too wide on mac 2025-01-29 21:19:09 +01:00
Andrea Vos
7c8727ab97 show feedback to unlogged users when hovering over blog reaction buttons 2025-01-29 21:16:12 +01:00
Valentyne Stigloher
ce684b2dcf (nouns) fix missing diff for proposed changes 2025-01-28 22:16:10 +01:00
Valentyne Stigloher
a0b8959749 (admin) have a spinner next to the filter of the users list whenever queries change and the response is pending 2025-01-27 19:35:36 +01:00
Valentyne Stigloher
adf85b28dd (ts) migrate <ServerTable> to composition API with typescript 2025-01-27 19:24:59 +01:00
Valentyne Stigloher
688e7c773d (user) keep user property reactive on <Account> 2025-01-27 16:14:30 +01:00
Valentyne Stigloher
0f45834648 (flags) fix declension translation in <FlagList> 2025-01-26 21:12:40 +01:00
Valentyne Stigloher
b608274450 (style) add min-width to shortcut note of the search button so that the nav bar does not jump horizontally 2025-01-26 15:48:15 +01:00
Valentyne Stigloher
e4eaf8b651 (vue) apply $attrs to text element of <T> to include itemprop=text in <Answer> 2025-01-26 15:31:22 +01:00
Andrea Vos
c35a338642 (pl)(bug)(pronouns) fix avoiding throwing 500 2025-01-21 17:58:55 +01:00
Valentyne Stigloher
e1ac9eb363 (calendar) make _law and _zaimki invertible so that it is more easily readable in dark mode (_black-ribbon tbd) 2025-01-20 11:50:11 +01:00
Valentyne Stigloher
ea0c637001 (search) display icons instead of broken image for calendar events which have an icon 2025-01-20 11:24:56 +01:00
Valentyne Stigloher
c2346cac5f (pronouns) move pronouns/morphemes.ts into config.pronouns.morphemes 2025-01-19 21:24:57 +01:00
Valentyne Stigloher
75dde4c2b3 (nuxt) replace symlink ~/public/img-local with dynamic public assets configuration 2025-01-19 21:24:57 +01:00
Andrea Vos
6451131b8e Merge branch 'refs/heads/main' into naski 2025-01-19 19:23:06 +01:00
Valentyne Stigloher
cfb55030e3 (style) display extra on @username route (overview when user has no card in this language and on the side) 2025-01-19 19:20:04 +01:00
Andrea Vos
6dbd121186 Merge branch 'nynorsk' into 'main'
Publish Nynorsk

See merge request PronounsPage/PronounsPage!554
2025-01-19 17:08:35 +00:00
Andrea Vos
2a24e83ff2 Merge branch 'refs/heads/main' into naski 2025-01-19 16:24:36 +01:00
Valentyne Stigloher
5c0bd270ed (nouns) show no category moderation filter only if language has noun categories 2025-01-18 13:15:42 +01:00
Valentyne Stigloher
9d4900fde8 (nouns) use same styling on <NounsTemplatesTable>, extract <NounsTable> to not repeat styling 2025-01-17 13:36:14 +01:00
Valentyne Stigloher
7870951f49 (style) deduplicate .list-btn-concise 2025-01-17 13:36:14 +01:00
Valentyne Stigloher
9289dcf35d (refactor) remove unused columns prop of <Table> 2025-01-17 13:36:14 +01:00
Valentyne Stigloher
3a2d04285c (nouns) add nonbinary column to generated images 2025-01-17 13:36:14 +01:00
Valentyne Stigloher
9c861646de (nouns) add nonbinary column to dictionary 2025-01-17 13:36:14 +01:00
Benjamin
bbfa210340 JS Modernization (@benshawmean) 2025-01-16 22:24:08 +00:00
Adaline Simonian
b282277271
refactor: rename 'no' locale to 'nb' 2025-01-14 22:04:34 -08:00
Adaline Simonian
12edd655b6
chore: fix lint errors 2025-01-14 18:20:30 -08:00
Adaline Simonian
9aedcfb166
fix: distinguish better between sublanguages 2025-01-14 18:08:25 -08:00
Andrea Vos
cde7eef6bb (hbs) poc transliteration 2025-01-14 23:12:27 +01:00
Andrea Vos
5ed2b998f2 lint 2025-01-13 20:46:23 +01:00
Andrea Vos
725dd5e1f1 (nn) Bokmal/Nynorsk switch 2025-01-13 20:40:59 +01:00
Adaline Simonian
9dff79140d
refactor: address review comments 2025-01-13 10:37:53 -08:00
Adaline Simonian
6827935244
Merge branch 'main' into complete-norwegian 2025-01-12 16:00:04 -08:00