Commit graph

994 commits

Author SHA1 Message Date
e8ed254e4d
client: fix types in tab.vue 2022-10-10 22:42:17 -04:00
08c65e9797
client: auto-fix lints in tab and page-header 2022-10-10 18:55:33 -04:00
808c43377e
refactor: use nullish coalescing & optional chaining
Changes several places to use the afforementioned constructs in favour of
ternary expressions.
2022-10-11 00:39:27 +02:00
b018b05c5c
add type annotations 2022-10-08 15:10:14 -04:00
b95f90eb15
client: refactor marquee component to composition API 2022-10-08 15:10:14 -04:00
64e3239566
client: refactor super-menu component to composition API 2022-10-07 11:28:49 +02:00
8311b30b4c
client: fix tolerance for future timestamp 2022-10-07 09:38:44 +02:00
27cf3c4e05
client: Fix relative timestamps 2022-10-05 02:17:32 -04:00
def5eb0d2e Merge pull request 'client: remove click-anime directive' (#185) from remove-anime into main 2022-10-05 04:41:32 +00:00
6ef9069a2f
client: refactor components/tab.vue to composition API
Refactoring this component could be done after changing its method of
receiving the list of available tabs by using slots to using an
ordinary parameter. This was possible because all uses of this
component just provided text as the tab labels.

Also removed unused imports of this component.

Also removed the use of the click-anime directive.

Reviewed-on: FoundKeyGang/FoundKey#184
2022-10-04 21:25:20 +02:00
c5f07ef66c
client: fix notification settings displaying empty
The default value was chosen incorrectly in commit
ab84457c0e. To be backward compatible
the default value has to include all available notification types.
2022-10-04 21:14:00 +02:00
a79506d895
client: add default props for form link 2022-10-04 21:13:22 +02:00
36a0f0c480
client: mark properties with defaults as optional 2022-10-04 20:42:12 +02:00
06e40246db
client: mark properties with defaults as optional 2022-10-04 20:35:55 +02:00
9dddb1eb6d client: Use named constants for time calculations (#183)
Constants were borrowed from `const.ts` from the backend but also
includes `WEEK`, `MONTH`, and `YEAR` constants as well.

Co-authored-by: Francis Dinh <normandy@biribiri.dev>
Reviewed-on: FoundKeyGang/FoundKey#183
2022-10-04 18:05:41 +00:00
f4f83cb091
client: remove click-anime directive 2022-10-04 20:01:14 +02:00
93f54e3258
client: refactor components/tab.vue to composition API
Refactoring this component could be done after changing its method of
receiving the list of available tabs by using slots to using an
ordinary parameter. This was possible because all uses of this
component just provided text as the tab labels.

Also removed unused imports of this component.

Also removed the use of the click-anime directive.
2022-10-04 19:54:27 +02:00
4ab9312392
client: fix post-form.vue
This fixes an issue where the post form hangs after posting.
2022-10-04 13:04:07 -04:00
1592420406
fix: don't provide null for header tabs 2022-10-04 17:39:57 +02:00
b28c34b57d
fix types in classic UI widgets 2022-10-04 17:23:26 +02:00
a593dcb003
client: refactor page-header
Fix a missing import.

Refactor all refs to use $ref.
2022-10-04 16:51:40 +02:00
9abf8d467d
client: fix lints 2022-10-04 12:21:10 +02:00
764c2ded23
client refactor: remove separate admin settings page header 2022-10-04 10:58:45 +02:00
398f43731d
client: replace one more "Misskey" 2022-10-03 20:42:24 +02:00
c0b6b3f273
client: remove unused header tabs and actions 2022-10-03 20:42:14 +02:00
8ccc22bb35 Merge pull request 'refactor expiring data and expire signins after 60 days' (#180) from expire-data into main
Reviewed-on: FoundKeyGang/FoundKey#180
2022-10-03 18:27:13 +00:00
198058b19a
add user visible note that login history expires
The display variant where no signin history items are present has been
made shorter and more appropriate.
2022-10-03 18:44:34 +02:00
4394957a5a
client: auto-fix lints 2022-10-03 03:05:53 -04:00
0b26d96776
Merge PR 'client: discard drafts that are just the default state' (#182)
Reviewed-on: FoundKeyGang/FoundKey#182
2022-10-03 02:53:13 -04:00
883554d902
client: update link to online translations 2022-10-02 18:40:46 +02:00
def1e6396c
fixup: simplify check because there is never an initial poll 2022-10-02 16:13:37 +02:00
2e07477398
client: discard drafts that are just the default state
Changelog: Changed
2022-10-02 15:52:39 +02:00
be19ea610f
client: refactor components/ripple.vue to composition API 2022-10-02 13:10:32 +02:00
f571f61c2d
client: don't use filename as alt text
This partially reverts commit e9ab42c10a
as explained at <FoundKeyGang/FoundKey#178 (comment)>.
2022-10-01 22:39:58 +02:00
b9f20ca16d
client: prefer absolute over relative imports 2022-10-01 10:22:56 -04:00
41e7af1662
client refactor: merge script/i18n.ts into i18n.ts
The file i18n.ts was basically only a few lines that call into
scripts/i18n.ts. Instead of having the extra file it is just as good to
have the relevant code for i18n in one file. Since i18n.ts is
imported in many client components, while scripts/i18n.ts was only
imported in i18n.ts, the latter seems better to keep.

Added some more comments and translated the Japanese comments to
English.
2022-10-01 10:22:56 -04:00
e9ab42c10a
Alt text in image viewer 2022-09-30 13:59:26 -07:00
465b72ab53 Merge pull request 'increase image description limit to 2048 characters' (#174) from bigger-image-description into main
Reviewed-on: FoundKeyGang/FoundKey#174
2022-09-29 07:28:00 +00:00
54b717a3f4
client: Update repo url from Misskey to FoundKey
Changelog: Changed
2022-09-27 22:38:09 -04:00
6e8dcc4599
client: fix various lint issues
Mostly adding in missing return types and removing unused imports.
2022-09-26 15:14:09 -04:00
1ed9b15342
client: fix types for instance.ts 2022-09-26 15:05:35 -04:00
c608f0b4c2
client: fix lints in about.emojis.vue 2022-09-26 15:02:22 -04:00
356d226171
client: fix lints in my-antennas pages 2022-09-26 02:31:44 -04:00
59428a49ce client: refactor container.vue to composition api (#164)
Co-authored-by: Francis Dinh <normandy@biribiri.dev>
Co-authored-by: Johann150 <johann.galle@protonmail.com>
Reviewed-on: FoundKeyGang/FoundKey#164
2022-09-25 22:26:19 +00:00
186d693385
increase image description limit to 2048 characters
Changelog: Changed
2022-09-24 14:32:07 -04:00
87f1b0cabc
client: fix inline translations 2022-09-24 22:13:31 -04:00
9470e12424 Merge pull request 'Revert "Use native shell commands for clean/clean-all"' (#170) from revert-native-clean into main
Reviewed-on: FoundKeyGang/FoundKey#170
2022-09-23 22:15:29 +00:00
dba63e4000 Merge pull request 'mute notifications in muted threads' (#119) from mute-notifications into main
Reviewed-on: FoundKeyGang/FoundKey#119
Changelog: Changed
Fixes: #12
2022-09-22 19:52:32 +00:00
d9a64d0a22 Revert "Use native shell commands for clean/clean-all"
This reverts commit 5fb294e7d7.

This will allow the clean/clean-all command to work on Windows once again.
2022-09-22 13:48:06 -04:00
772d4618a6
remove global variables for i18n 2022-09-21 13:29:08 -04:00