Commit Graph

105 Commits

Author SHA1 Message Date
ThatOneCalculator
005d557502 Calckey 2022-07-18 19:00:45 -07:00
syuilo
a04e735d5d chore(client): tweak style 2022-07-18 18:41:17 +09:00
syuilo
6437723414 enhance(client): tweak ui 2022-07-17 23:18:05 +09:00
syuilo
8c3974b97b enhance(client): tweak ui 2022-07-17 21:06:33 +09:00
syuilo
fbfac17342 chore(client): tweak deck ui 2022-07-17 05:33:21 +09:00
syuilo
e783621f0e fix(client): fix deck style 2022-07-17 05:12:43 +09:00
syuilo
d771dd598b fix(client): デッキUI時に ページで表示 ボタンが機能しない問題を修正
Fix #9010
2022-07-17 05:12:22 +09:00
syuilo
e725ad54cc chore(client): tweak style 2022-07-16 22:16:01 +09:00
syuilo
f4aad83644 chore(client): tweak deck ui 2022-07-16 15:19:44 +09:00
syuilo
ad298da308 chore(client): tweak ui 2022-07-16 13:49:23 +09:00
syuilo
a091fe736c chore(client): tweak style 2022-07-16 13:13:58 +09:00
syuilo
7593b41db8 chore(client): tweak ui 2022-07-15 22:09:05 +09:00
syuilo
c6d8346b7f enhance(client): RSSティッカーで表示順序をシャッフルできるように 2022-07-15 17:12:08 +09:00
syuilo
2cb5e792fd chore(client): tweak ui 2022-07-15 17:01:13 +09:00
syuilo
22b02f0f72 chore(client): tweak ui 2022-07-14 17:52:59 +09:00
syuilo
6b1a892a86 refactor(client): rename menu(sidebar) -> navbar 2022-07-14 17:42:12 +09:00
syuilo
8a5a10077e chore(client): tweak style 2022-07-14 17:22:06 +09:00
syuilo
66ce279232 chore(client): trust ios 2022-07-13 21:41:06 +09:00
yzhe819
2d69600539 chore: fix lint errors (#8981) 2022-07-10 19:47:29 +09:00
syuilo
011df8b99d chore(client): tweak ui 2022-07-07 20:19:50 +09:00
syuilo
8034c60ae5 enhance(client): make widgets available on tablet again 2022-07-07 17:29:30 +09:00
syuilo
dc3508f784 chore(client): tweak style 2022-07-07 17:28:21 +09:00
syuilo
edbdb7c5c9 chore(client): rendering performance tweak a bit 2022-07-05 22:35:57 +09:00
syuilo
c0335907ef chore(client): tweak deck 2022-07-05 16:07:53 +09:00
syuilo
9d24f0f8fb chore(client): tweak deck 2022-07-05 15:55:55 +09:00
Kainoa Kanter
698409a1b1 chore: fix client lint errors (#8934)
* Fix client lint

* Hide no-v-html

* Ignore banned type

* Update page-editor.vue
2022-07-05 11:21:59 +09:00
Johann150
ae3a51a673 fix lint no-undef 2022-07-04 16:33:55 +02:00
Johann150
0dc3a8b2e8 fix lint: use let instead of const for $ref
Fixes lint no-const-assign.
2022-07-04 16:22:21 +02:00
syuilo
694d2c94a1 enhance(client): deckのウイジェットカラムが未設定の時に説明を表示するように 2022-07-04 21:28:59 +09:00
syuilo
2a24fc18ca enhance(client): tweak statusbar 2022-07-04 01:37:47 +09:00
syuilo
284aa8b8ca chore(client): tweak style 2022-07-04 01:12:36 +09:00
syuilo
ad4d2cec91 enhance(client): tweak deck 2022-07-03 23:13:41 +09:00
syuilo
be4266e611 enhance(client): refine deck
Fix #7720
2022-07-03 20:30:58 +09:00
syuilo
ff80f1b584 fix(client): contextmenu of deck not working 2022-07-03 19:11:10 +09:00
syuilo
2ae11f265b chore(client): tweak style 2022-07-03 16:36:13 +09:00
syuilo
569cc28025 fix(client): style tweak for ios 2022-07-03 16:17:31 +09:00
syuilo
58ebe2ed05 feat(client): status bar (experimental) 2022-07-03 14:40:02 +09:00
syuilo
c8c7d10348 refactor(client): refactoring 2022-07-02 14:00:37 +09:00
syuilo
bd76b1fed8 tweak client 2022-06-30 10:13:27 +09:00
Johann150
b3983ee3f7 fix 'assignment to const' error 2022-06-29 17:44:03 +02:00
syuilo
a827e29fe1 chore(client): fix #8858 2022-06-28 17:59:23 +09:00
syuilo
10a18cd514 refactor(client): Refine routing (#8846) 2022-06-20 17:38:49 +09:00
syuilo
79dba2ad89 lint 2022-06-12 19:50:47 +09:00
syuilo
ee9cf6553b fix(client): デッキでウィジェットの情報が保存されない問題を修正
Fix #8818
2022-06-12 19:50:43 +09:00
Johann150
c8374e8ace chore: fix some lints automatically (#8788)
* chore: fix some lints automatically

Fixed lints that were automatically fixable with `eslint --fix`.

* fix type

* workaround for empty interface lint
2022-06-10 14:36:55 +09:00
Johann150
d3e65bc8b7 fix(lint): indentation 2022-05-31 16:22:00 +02:00
Johann150
ec47b46423 refactor: improve code quality (#8751)
* remove unnecessary if

`Array.prototype.some` already returns a boolean so an if to return
true or false is completely unnecessary in this case.

* perf: use count instead of find

When using `count` instead of `findOneBy`, the data is not
unnecessarily loaded.

* remove duplicate null check

The variable is checked for null in the lines above and the function
returns if so. Therefore, it can not be null at this point.

* simplify `getJsonSchema`

Because the assigned value is `null` and the used keys are only
shallow, use of `nestedProperty.set` seems inappropriate. Because the
value is not read, the initial for loop can be replaced by a `for..in`
loop.

Since all keys will be assigned `null`, the condition of the ternary
expression in the nested function will always be true. Therefore the
recursion case will never happen. With this the nested function can be
eliminated.

* remove duplicate condition

The code above already checks `dragging` and returns if it is truthy.
Checking it again later is therefore unnecessary.

To make this more obvious the `return` is removed in favour of using
an if...else construct.

* remove impossible "unknown" time

The `ago` variable will always be a number and all non-negative numbers
are already covered by other cases, the negative case is handled with
`future` so there is no case when `unkown` could be achieved.
2022-05-29 15:15:52 +09:00
Andreas Nedbal
06ea19ed3a feat(tests): add e2e tests for widgets (#8735)
* test(e2e): add baseline for widget tests

* chore(repo): enable test running in branch

* fix(e2e): set viewport for widget tests

* fix(client): add widget identifier classes to widgets

* test(e2e): add memo widget test

* fix(tests): force select value

* fix(tests): force button press for widget addition

* fix(tests): invoke select value differently

* fix(tests): adjust widget submit

* fix(tests): don't explicitly navigate for widget test

* fix(tests): click label to hide select popup

* fix(tests): just click modal background

* fix(tests): adjust modal background selector

* fix(tests): click all modal backgrounds

* feat(e2e): add test for adding timeline widget

* fix(client): add more widget identifier classes

* feat(tests): add method abstraction for test cases

* fix(tests): force-click overlays

* fix(tests): force widget button press

* fix(tests): remove timeout from final widget check

* feat(tests): add widget removal test case

* fix(client): use mk instead of msky as class prefix

* fix(tests): check widgets for existence rather than visibility

* chore(meta): don't run tests for specific feature branch
2022-05-28 14:28:12 +09:00
Johann150
d2ca085a17 fix lints (#8737)
* fix: emits use ev instead of e

* fix: errors use err instead of e

* fix: replace use of data where possible

* fix: events use evt instead of e

* fix: use strict equals

* fix: use emoji instead of e

* fix: vue lints
2022-05-26 22:53:09 +09:00
Andreas Nedbal
818345aa72 fix(client): fix lint issues in Deck UI components (#8681) 2022-05-19 17:35:43 +09:00