Commit Graph

34 Commits (edda6ea4bdc81ea5c0e686bb6832840e1beedb20)

Author SHA1 Message Date
Steven d8aeec993c chore: replace classnames with clsx 2 years ago
Steven 7f5148d490 chore: clean dropdown 2 years ago
Steven bf905bba86 chore: remove unused date picker 2 years ago
Steven cc43d06d33 chore: update memo stats response 2 years ago
Noah Alderton 24bb3e096a
fix: DatePicker by passing in Timezone to API (#2770)
* Fix DatePicker by passing in Timezone to API

* Add some clarity
2 years ago
Noah Alderton b578afbc6a
fix: DatePicker Local Date (#2766)
Fix DatePicker Local Date
2 years ago
Steven 4c59035757 chore: update about page 2 years ago
Steven b8eaf1d57e chore: deprecate memo creation stats legacy api 2 years ago
Steven dfa14689e4 chore: add click away event to date picker 2 years ago
Steven 32cafbff9b chore: add OverflowTip kit component 2 years ago
Steven 39a0e69b04 chore: update function name 2 years ago
Steven e60e47f76f chore: update user definition 2 years ago
Steven 982b0285c9 chore: fix date picker 2 years ago
Zexi 035d71e07c
fix: visibility translation (#2429)
* fix: visibility translation

* refactor: remove useless file

* feat: add visibility icon
2 years ago
Steven 7b25b8c1e1 feat: update daily review 2 years ago
Steven bff41a8957 fix: invalid username checks 2 years ago
Athurg Gooth 137c8f8a07
chore: better date picker (#2220)
* Add buttons to increase year in DatePicker

* Show month with padding 0 to keep DatePicker size
2 years ago
Steven 319f679e30 chore: fix timestamp type 2 years ago
boojack b9b795bf0e
chore: add react use (#2157)
* chore: add react use

* chore: update
2 years ago
boojack d114b630d2
feat: add prettier sort import plugin (#2058) 2 years ago
Alexandr Tumaykin f91f09adea
feat: use username instead of uid (#1977)
* #1916 replace userId to username

* resolve

---------

Co-authored-by: Александр Тумайкин <AATumaykin@tsum.ru>
3 years ago
Ajay Kumbhare 83b771d5cd
fix: disable selection of future dates in daily review section (#1983)
* #1952 Fix incorrect localization key for sign-up failure message

* feat: add typeScript support to enforce valid translation keys

* feat: add typeScript support to enforce valid translation keys

* fix lint errors

* fix lint error

* chore: Disallow destructuring 't' from useTranslation

This commit adds a linting rule to disallow the destructuring of the 't' property from the result of the useTranslation function call. The no-restricted-syntax rule in the ESLint configuration has been updated to enforce this restriction. The intention is to promote alternative approaches like using the useTranslate hook for localization.

* fix: typo fixed for memoChat

* fix: copy code button toast message

Refactored the code for the "Copy Code" button to utilize i18 strings for displaying the success message. Replaced the hard-coded value with the appropriate i18 string "Code copied successfully."

* fix: #1980 disable selection of future dates in daily review section
3 years ago
Ajay Kumbhare 1780225da5
feat: add typeScript support to enforce valid translation keys (#1954)
* #1952 Fix incorrect localization key for sign-up failure message

* feat: add typeScript support to enforce valid translation keys

* feat: add typeScript support to enforce valid translation keys

* fix lint errors

* fix lint error
3 years ago
Cyang39 dcac442ebf
chore: change dropdown's background color in dark mode (#1925)
#1919
3 years ago
boojack 0292f472e0
chore: add data empty placeholder (#1913) 3 years ago
boojack a7573d5705
refactor: migrate memo to apiv1 (#1907)
* refactor: migrate memo to apiv1

* chore: update

* chore: update

* chore: update

* chore: upate

* chore: update

* chore: update
3 years ago
boojack db8b8f0d58
chore: remove unused kit components (#1871) 3 years ago
boojack 847b4605f4
chore: update dark mode style (#1864) 3 years ago
boojack b40571095d
feat: update memo detail page (#1682)
* feat: update memo detail page

* chore: update
3 years ago
Athurg Gooth 2730b90512
feat: highlight the DatePicker's date (#1669)
Co-authored-by: Athurg Feng <athurg@gooth.org>
3 years ago
boojack 921d4b996d
chore: update help button style (#1656) 3 years ago
Lincoln Nogueira 96021e518a
feat: add max upload size setting to UI & UI improvements (#1646)
* Add preliminar Windows support for both
development and production environments.

Default profile.Data will be set to "C:\ProgramData\memos" on Windows.
Folder will be created if it does not exist, as this behavior is
expected for Windows applications.

System service installation can be achieved with third-party tools,
explained in docs/windows-service.md.

Not sure if it's worth using https://github.com/kardianos/service
to make service support built-in.

This could be a nice addition alongside #1583 (add Windows artifacts)

* feat: improve Windows support

- Fix local file storage path handling on Windows

- Improve Windows dev script

* feat: add max upload size setting to UI & more

- feat: add max upload size setting to UI

- feat: max upload size setting is checked on UI during upload,
but also enforced by the server

- fix: overflowing mobile layout for Create SSO, Create Storage
and other Settings dialogs

- feat: add HelpButton component with some links to docs were appropriate

- remove LearnMore component in favor of HelpButton

- refactor: change some if/else to switch statements

- refactor: inline some err == nil checks

! Existing databases without the new setting 'max-upload-size-mib'
will show an upload error, but this can be user-fixed by simply
setting the value on system settings UI.

* improvements requested by @boojack
3 years ago
boojack edf934efbb
chore: update memo style (#1581) 3 years ago
boojack 91a24ef9ce
chore: update memo header (#1497)
* chore: update memo header

* chore: update
3 years ago