5539 Commits

Author SHA1 Message Date
Valentyne Stigloher
046274dec7 fixup! (refactor) migrate from cjs to esm so that in the case of importing .json files, node does support these only via adding with { type: 'json' } and then it is still experimental. The workaround is to create a require() function which is hidden from webpack via simple-hacky string replacement. https://nodejs.org/api/esm.html#json-modules This means that the files are not fully compatible, as webpack supports loading of other files via import, while node does only allow .js (experimentally .json and .wasm). 2023-12-13 23:53:06 +01:00
Valentyne Stigloher
3a86a20fc0 (ci) add coverage report 2023-12-13 23:35:38 +01:00
Valentyne Stigloher
07bb6fa20b (ci) add simple GitLab CI configuration for running jest tests 2023-12-13 23:35:38 +01:00
Valentyne Stigloher
c00e6e772b (make) add make test to Makefile
the target `test` has to be phony, because the directory `test` would trigger an `already up to date` message
2023-12-13 23:35:38 +01:00
Valentyne Stigloher
7e5134c0ed (test) add tests for pronoun parsing 2023-12-13 23:35:38 +01:00
Valentyne Stigloher
21adf0e13d (test) add jest as unit testing framework 2023-12-13 23:35:37 +01:00
Valentyne Stigloher
eb9ebace3a (refactor) migrate from cjs to esm so that
in the case of importing `.json` files, node does support these only via adding `with { type: 'json' }`
and then it is still experimental.
The workaround is to create a require() function which is hidden from webpack via simple-hacky string replacement.
https://nodejs.org/api/esm.html#json-modules
This means that the files are not fully compatible, as webpack supports loading of other files via `import`,
while node does only allow `.js` (experimentally `.json` and `.wasm`).
2023-12-13 23:31:45 +01:00
Valentyne Stigloher
449822e2d8 (refactor) remove unused imports 2023-12-13 23:31:00 +01:00
Andrea Vos
8566abf3fa (pl)(blog) równia pochyła 2023-12-13 18:09:24 +01:00
Andrea Vos
718afda565 Merge branch 'szymonmisiek-main-patch-befa' into 'main'
(pl)(academic) added new text (Tomasz Dyrmo)

See merge request PronounsPage/PronounsPage!394
2023-12-11 20:13:58 +00:00
Szymon Misiek
3016d16caf (pl)(trans-lingustics) typo 2023-12-11 20:12:54 +00:00
Szymon Misiek
281f3467ec (pl)(academic) added new text (Tomasz Dyrmo) 2023-12-11 20:03:47 +00:00
Andrea Vos
ab4284f32c Merge branch 'markdown' into 'main'
(profile) allow inline markdown syntax for fields: description, names, words

Closes #367

See merge request PronounsPage/PronounsPage!391
2023-12-11 16:20:06 +00:00
Andrea Vos
0b64664a2d (profile) allow inline markdown - better wording 2023-12-11 17:14:49 +01:00
Andrea Vos
ddef23f0f0 (dark)(a11y) improve contrast of <mark> in dark mode 2023-12-10 00:43:23 +01:00
Andrea Vos
ac0dd81244 (profile) allow inline markdown - add switch 2023-12-10 00:32:22 +01:00
Andrea Vos
3747372db0 Merge branch 'calendar-filter' into 'main'
(calendar) add filtering to the event list

See merge request PronounsPage/PronounsPage!390
2023-12-09 22:05:37 +00:00
Andrea Vos
f738d2154c Merge branch 'de-translations' into 'main'
German translations

See merge request PronounsPage/PronounsPage!393
2023-12-09 22:04:13 +00:00
Andrea Vos
1b3ec32423 (pl)(academic) translingwistyka 2023-12-09 23:02:42 +01:00
Valentyne Stigloher
df3d86696f (de) edit description of binary pronouns
All other pronoun groups don’t adress the reader directly and it missed the pronouns ≠ gender of the English version
2023-12-09 22:51:32 +01:00
Valentyne Stigloher
d5b21d1a37 (de) trans 2023-12-09 22:51:32 +01:00
Andrea Vos
c71b6efcfb (calendar) add filtering to the event list - optimisation 2023-12-09 21:49:17 +01:00
Andrea Vos
a75772b46d (calendar) add filtering to the event list - fix miscommit 2023-12-09 21:35:24 +01:00
Andrea Vos
2f4bb39943 Merge branch 'trans-lingwistyka' into 'main'
Trans lingwistyka

See merge request PronounsPage/PronounsPage!392
2023-12-09 20:11:48 +00:00
Andrea Vos
a2c0e59543 (pl)(academic) translingwistyka 2023-12-09 21:10:57 +01:00
Andrea Vos
2fa6ea2f25 (pl)(academic) translingwistyka 2023-12-09 20:44:51 +01:00
Andrea Vos
5f680642e7 Merge branch 'main' into markdown
# Conflicts:
#	locale/expectedTranslations.js
2023-12-09 19:10:21 +01:00
Andrea Vos
16b0004237 (profile) allow inline markdown - optimisation, consistency 2023-12-09 19:10:01 +01:00
Andrea Vos
4ed10398e1 (profile) allow inline markdown - add togglable instructions 2023-12-09 16:19:37 +01:00
Andrea Vos
d2bd2499d2 (profile) allow inline markdown - switch library 2023-12-09 15:59:20 +01:00
Andrea Vos
9b4834966d (pl)(academic) translingwistyka 2023-12-09 13:52:11 +01:00
Andrea Vos
74ae372e78 Merge branch 'colours' into 'main'
(profile) more colours and better contrast

See merge request PronounsPage/PronounsPage!389
2023-12-07 07:50:07 +00:00
Andrea Vos
15687c7e91 (profile) allow inline markdown syntax for fields: description, names, words 2023-12-06 20:44:58 +01:00
Andrea Vos
12c5b0254a (calendar) add filtering to the event list 2023-12-06 20:18:52 +01:00
Andrea Vos
05aeca8408 (profile) more colours and better contrast 2023-12-06 19:37:45 +01:00
Andrea Vos
f541c9ee75 Merge branch '366-hide-null-morphemes' into 'main'
Hide undefined morphemes which are not defined by the generator or the table

Closes #366

See merge request PronounsPage/PronounsPage!388
2023-12-03 10:52:13 +00:00
Andrea Vos
500368334e (ru)(trans) 2023-12-03 11:49:22 +01:00
Valentyne Stigloher
70334bd0e1 (de) fix capitalization in plural example 2023-12-02 19:25:44 +01:00
Valentyne Stigloher
c5b8619704 (pronouns) hide undefined morphemes which are not defined by the generator or the table
This affected et/siem and generated pronouns using the slash notation
Fixes #366
2023-12-02 19:25:23 +01:00
PronounsPage
ae702e4d95 fix dependencies 2023-12-02 15:07:43 +00:00
PronounsPage
36031fcb4a fix dependencies 2023-12-02 15:01:19 +00:00
PronounsPage
b96f0b1684 fix dependencies 2023-12-02 14:49:38 +00:00
Andrea Vos
f4e7728218 (calendar) extend the calendar into 2024 2023-12-02 15:40:58 +01:00
Andrea Vos
ddde143d65 (bug) safari seems to struggle with loading some profiles
my best guess after checking out console and network tab is too many concurrent connections – so spreading them out a bit 🤞
2023-12-02 15:40:41 +01:00
Andrea Vos
b9805d114d (admin) timesheets overview improvements 2023-12-02 15:03:44 +01:00
Andrea Vos
bf1287bdf4 (design)(bug) fix typo 2023-12-01 22:40:29 +01:00
Andrea Vos
0cf4b48415 (ua)(trans) 2023-11-30 23:52:36 +01:00
Andrea Vos
6280aa03cf (vi)(trans) 2023-11-30 23:51:17 +01:00
Andrea Vos
6d1337e00c (fr)(footer) add credits for the domain name 2023-11-30 08:42:15 +01:00
Andrea Vos
ef09c96d48 (pl)(blog)(census) fix inconsistency in report authors (header vs quotation box) 2023-11-23 19:43:24 +01:00