Commit Graph

1341 Commits (4231ec5a1ae99679d3d43d31f7694b65f82feeba)
 

Author SHA1 Message Date
deeshu e62a94c05a
feat: hiding dialog using X button should remove class "overflow-hidden" (#1555)
Hiding dialogs result in the body to stay frozen due to mounting behaviour of the dialog, but using 'X' button hides the dialog and won't let user scroll any further. Removing overflow behaviour during hiding procedure will improve User Experience.
2 years ago
Manu 2b83572641
fix: the broken install docs link (#1554) 2 years ago
boojack 5f8aae69e4
chore: update save button style (#1542) 2 years ago
boojack 73b8d1dd99
fix: revert hide ask ai button (#1539) 2 years ago
boojack 58fa00079b
chore: update version to `0.12.2` (#1538) 2 years ago
boojack 3060dafb45
chore: update resource link template (#1537) 2 years ago
boojack 5cb436174d
chore: remove search key binding (#1536) 2 years ago
boojack 541fd9c044
chore: update window resize listener (#1535) 2 years ago
boojack 7d6934d00c
fix: rss link (#1534) 2 years ago
João Nuno Mota 2c328a4540
feat: hide ask ai button when key is empty (#1515)
* Add option to hide Ask AI and update dev version

* Fix formatting according to eslint

* Replace option to hide Ask AI with auto hiding based on config

* Fix golangci-lint errors

* Remove showAskAI logic from OpenAPI
2 years ago
boojack 648634d376
chore: use pnpm (#1533)
* chore: use pnpm

* chore: update
2 years ago
Fog3211 a654a1cb88
fix: toast overload max size error (#1531)
Co-authored-by: Fog3211 <23151576+Fog3211@users.noreply.github.com>
2 years ago
boojack ef02519e72
chore: regenerate yarn lock file (#1530) 2 years ago
Lincoln Nogueira 557278fac0
feat: improve i18n support as a whole (#1526)
* feat: improve i18n support as a whole

- Remove dayjs in favor of /helpers/datetime.ts, which uses
Intl.DateTimeFormat and Date. Dayjs is not exactly i18n friendly
and has several locale related opened issues.

- Move/refactor date/time code from /helpers/utils.ts to
/helpers/datetime.ts.

- Fix Daily Review weekday not changing according to selected date.

- Localize Daily review weekday and month.

- Load i18n listed strings from /locales/{locale}.json in a dynamic way.
This makes much easier to add new locales, by just adding a properly
named json file and listing it only in /web/src/i18n.ts and
/api/user_setting.go.

- Fallback languages are now set in /web/src/i18n.ts.

- Full language codes are now preffered, but they fallback to 2-letter
codes when not available.

- The locale dropdown is now populated dynamically from the available
locales. Locale names are populated by the browser via
Intl.DisplayNames(locale).

- /web/src/i18n.ts now exports a type TLocale from availableLocales
array. This is used only by findNearestLanguageMatch(). As I was unable
to use this type in ".d.ts" files, I switched the Locale type from
/web/src/types/i18n.d.ts to string.

- Move pretty much all hardcoded text strings to i18n strings.

- Add pt-BR translation.

- Remove site.ts and move its content to a i18n string.

- Rename zh.json to zh-Hans.json to get the correct language name on
selector dropdown.

- Remove pt_BR.json and replace with pt-BR.json.

- Some minor layout spacing fixes to accommodate larger texts.

- Improve some error messages.

* Delete .yarnrc.yml

* Delete package-lock.json

* fix: 158:28  error  Insert `⏎`  prettier/prettier
2 years ago
Zeng1998 5652bb76d4
fix: incorrect date parsing (#1527)
* fix: incorrect date parsing

* fix eslint
2 years ago
Alex Zhao d0c40490a7
feat: add `HostnameImmutable` to aws endpoint config (#1230)
* add config to support S3-compatible urls like minio

* add comment for HostnameImmutable

* fix linting
2 years ago
CorrectRoadH 630d84348e
feat: add resource backend unit test (#1521)
* add resource unit test

* add more resource unit test

* change variable name

* add more test cases

* delete unnecessary line

* eslint

* add more asset
2 years ago
CorrectRoadH 81d4f01b7f
feat: add e2e test (#1486)
* add i18n

* add base e2e test

* add multiple test for e2e

* extract the funciton of write memo

* change test sturct

* deteled unused dir

* use fixture

* add fixture

* restruced the project

* feat: add workflow

* feat: change playwright test position

* feat: change playwright test position

* using yarn intead of npm

* change install method

* only enable sign in test

* adjust the order of test

* change report pos

* fix style of e2e workflow

* add review test

* unify locale

* randome write content

* change report pos

* reduce unused wait time

* reduce unused folder

* stash

* merge upstream locale

* change test name

* add test item

* change action name

* add lanuage setting

* add shotscreen

* change name of test

* fix the error of import dep

* fix the error of import dep

* fix the error of filename

* fix the format of workflow

* fix the name error of test case

* feat: change the describe of test case

* feat: remove unused test

* feat: change the fixtures name

* feat: remove unused config

* feat: change docker action

* feat: change the generate method

* feat: extrace screenshot

* feat: change extra path

* feat: change extra path

* feat: screenshot and upload

* feat: change upload filename

* feat: change login method

* feat: change e2e method

* feat: change e2e test

* feat: add wait for login

---------

Co-authored-by: CorrectRoadH <a778917369@gmail.comå>
2 years ago
boojack b5c665cb7e
chore: update docker image source (#1511) 2 years ago
Gabe Cook 836387cada
fix(ci): fix release builds not having any tags (#1507) 2 years ago
Peng Ding 0020498c10
feat: update Chinese translations in zh.json and zh-Hant.json using locale_updater.py (#1506)
update zh.json and zh-Hant.json using locale_updater.py
2 years ago
_Jellen 66ed43cbcb
feat: update and refactor Korean translation data (#1505)
refactor and update ko.json
- added missing translation keys into ko.json
- synced the JSON key order of ko.json with en.json
- removed unused translation data
2 years ago
Gabe Cook c6e1d139f8
feat(ci): Add GHCR mirror and major/minor rolling tags (#1503) 2 years ago
boojack ef7381f032
chore: upgrade version to `0.12.1` (#1499) 2 years ago
boojack df30304d00
chore: update share memo buttons (#1498) 2 years ago
boojack 91a24ef9ce
chore: update memo header (#1497)
* chore: update memo header

* chore: update
2 years ago
Luyu Cheng d11083d3b9
fix(css): reorder the font fallback list (#1495) (#1496) 2 years ago
boojack 680b8ede6c
chore: adjust header style (#1493) 2 years ago
boojack 4e023e2500
chore: add file type to audio (#1492)
* chore: add file type to audio

* chore: update
2 years ago
boojack 3eac19d258
chore: add ignore version upgrade setting (#1491) 2 years ago
boojack ab867b68d3
chore: add timezone env to dockerfile (#1490) 2 years ago
boojack 8cdc662745
chore: update memo visibility display (#1485) 2 years ago
boojack 204c03e772
chore: update audience name (#1484) 2 years ago
boojack d0ddac296f
chore: update store error handler (#1479) 2 years ago
HappyZ 609366da6e
chore: add "copy link" for each memo (#1474) 2 years ago
boojack f48d91539e
chore: update locale file structure (#1478) 2 years ago
boojack cc23f69f66
chore: update import path (#1477) 2 years ago
Zeng1998 6ceafc1827
fix: unexpected reset of the storage setting (#1475) 2 years ago
Sönke Werner Köster 8c2224ae39
feat: allow instance moderators to post public via the API (#1464) 2 years ago
boojack 6ff7cfddda
fix: return external link directly (#1465)
* fix: return external link directly

* chore: update
2 years ago
boojack 5361f76b11
chore: update filename when creating resource (#1460) 2 years ago
boojack bdc00d67b2
chore: add default local storage path (#1457) 2 years ago
boojack 5caa8cdec5
chore: delete resource related file (#1456) 2 years ago
boojack 9ede3da882
chore: update learn more link (#1455) 2 years ago
boojack 836e496ee0
chore: allow remove user avatar (#1454) 2 years ago
boojack 5aa4ba32c9
fix: system setting field name (#1453) 2 years ago
boojack 4419b4d4ae
chore: update version and remove isDev flag (#1452)
* chore: update version and remove isDev flag

* chore: update
2 years ago
boojack 1cab30f32f
feat: add public id field to resource (#1451)
* feat: add public id field to resource

* feat: support reset resource link
2 years ago
boojack c9a5df81ce
chore: update store tests (#1449) 2 years ago
boojack 4f2adfef7b
chore: update system setting name convention (#1448) 2 years ago