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
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
6e55f80782
fix search button <kbd> too wide on mac – second attempt
2025-01-31 22:29:10 +01:00
Andrea Vos
28d624b6d1
fix search button <kbd> too wide on mac
2025-01-29 21:19:09 +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
75dde4c2b3
(nuxt) replace symlink ~/public/img-local with dynamic public assets configuration
2025-01-19 21:24:57 +01:00
Valentyne Stigloher
9f5b83583d
(search) add little reminder comments to keep search and <Header> in sync
2024-12-28 00:16:46 +01:00
Andrea Vos
1de791b234
(search) display keyboard shortcut
2024-12-28 00:16:46 +01:00
Valentyne Stigloher
8838665a55
(refactor) integrate <SearchHeaderButton> into <Header> (prevents two instances of <SearchDialogue>)
2024-12-28 00:16:45 +01:00
Valentyne Stigloher
332e667366
(search) open a search dialogue via button in the header or Ctrl+K
2024-12-28 00:16:08 +01:00
Valentyne Stigloher
6ada0d267d
(refactor) dynamic load <NounsNav> to prevent hydration errors on empty component
2024-10-31 10:44:08 +01:00
Valentyne Stigloher
b25afefc49
(fmt)
2024-10-29 10:56:32 +01:00
Valentyne Stigloher
e6ddc10e5b
(pronouns) add ask usage
2024-10-12 18:45:27 +02:00
Valentyne Stigloher
7aaa57880d
(nuxt) use name of routes / pages instead of building urls as this breaks sometimes when encodeURIComponent is used (and it’s shorter)
2024-09-20 22:53:57 +02:00
Valentyne Stigloher
9516a93501
(ts) migrate some components to composition API with typescript
2024-09-20 22:53:57 +02:00
Valentyne Stigloher
d442e06056
(style) move hamburger button so that it aligns to filter bars
2024-09-16 21:25:34 +02:00
Valentyne Stigloher
58b36107ab
(refactor) use fragments to reduce count of DOM elements
2024-09-12 14:39:31 +02:00
Valentyne Stigloher
1a2db6b665
(vue) replace client-only created with mounted as it causes hydration errors when setting data and it also matches unmounted
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
d7ca6fe741
(vue) fixes around falltrough classes and deep selectors
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
1f953117fa
(refactor) migrate from vuex to pinia
2024-09-11 21:29:35 +02:00
Valentyne Stigloher
6090078689
(nuxt) use useConfig composable instead of $config global as this can only be controlled via runtimeConfig and is better protected than in Nuxt 2
2024-09-11 21:29:35 +02:00
Valentyne Stigloher
f7e4115f40
(vue) remove .native modifier
...
https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html
2024-09-11 21:29:22 +02:00
Valentyne Stigloher
d7ead48168
(vue) rename destroyed to unmounted and beforeDestroy to beforeUnmount
...
https://v3-migration.vuejs.org/breaking-changes/#other-minor-changes
2024-09-11 21:29:22 +02:00
Andrea Vos
1301c710e7
(lint)
2024-08-15 21:16:22 +02:00
Andrea Vos
49da4c9118
community discord banner
2024-08-15 20:55:59 +02:00
Valentyne Stigloher
8efd0717dd
(nav) correct highlighting for blog and translinguistics (and for the edge-case of the /undefined 404 route)
2024-07-29 10:38:43 +02:00
Andrea Vos
551839121c
(ru)(ar) hoist blog to navbar & homepage
2024-07-24 19:41:43 +02:00
Valentyne Stigloher
8e5735e1c5
(ar) disable sources and noun templates, hide terminology
2024-05-25 18:57:42 +02:00
Andrea Vos
cabda5bec8
(lint)
2024-05-15 21:23:33 +02:00
Andrea Vos
b20d73da34
(en) gender census invitation
2024-05-15 19:51:29 +02:00
Andrea Vos
c723f3b15a
(merch) add link to shop to (mobile) menu
2024-05-15 19:27:47 +02:00
Andrea Vos
d96b693204
(en) gender census invitation
2024-05-15 19:05:05 +02:00
Andrea Vos
c83219c00d
(blog) make blog more visible: latest posts on homepage, item in header
2024-04-23 22:50:53 +02:00
Andrea Vos
c26b1fbceb
disable safari warning
...
we got a confirmation from one user that it's fixed. let's hope that's the case for everyone. let's remove the warning banner and see if someone complains again.
2024-03-21 20:01:39 +01:00
Valentyne Stigloher
52f305cbf5
(fix) show error message dialogue even though it is untranslatable
...
also prevents closing due to timeout when show() is called just after hide()
2024-03-10 17:17:29 +01:00
Andrea Vos
c1043d07d2
linter fixes
2024-02-25 14:53:48 +00:00
Andrea Vos
40fc84126b
Merge branch 'main' into workshops
2024-02-25 12:53:38 +00:00
Andrea Vos
a4799d397a
fix linter
2024-02-18 22:10:54 +00:00
Andrea Vos
39429e1b9b
(bug) safari warning
2024-02-18 22:01:13 +00:00
Valentyne Stigloher
600b4b4788
(fix) use v-if instead of v-show so that census banners don’t 404 on other locales
2024-02-17 13:58:41 +01:00
Andrea Vos
706a1b51ef
Merge branch 'main' into workshops
...
# Conflicts:
# components/CommunityNav.vue
# components/Header.vue
# src/contact.js
2024-02-09 15:11:01 +01:00
Andrea Vos
ea506eabb7
(bug) minor fix for potentially missing config values in <Header>
2024-01-28 14:53:42 +01:00
Valentyne Stigloher
a065029cb5
(refactor) rename $config and $locale Vue globals to have a dollar sign per convention
2024-01-26 14:30:12 +01:00
PronounsPage
fa14ab79d9
(lint) automatically fix lints via yarn lint --fix
2024-01-11 20:36:05 +01:00
Valentyne Stigloher
8e1a40d74f
(lint) add .js extension on imports in .vue
2024-01-11 20:33:04 +01:00
Andrea Vos
88f97ef4d8
(workshops) first draft
2023-12-28 23:00:07 +01:00
Valentyne Stigloher
b0d00883cc
(lint) explicitely add .vue extension when importing components
2023-12-28 22:34:27 +01:00
Andrea Vos
4dde0080cd
(ads)(WIP) publift
2023-09-13 17:28:00 +02:00
Andrea Vos
3bc14a493a
reorganise locale list
...
it's more visible in the locale directory, the published column is clearer when the list contains objects
also: prepare language symbols, but without enabling them yet
2023-07-15 14:13:22 +02:00
Andrea Vos
1a207284f6
account switch – re-enable, broadcast to all tabs on switch to make them reload and stop confusing people
2023-07-10 18:32:55 +02:00