Commit Graph

89 Commits

Author SHA1 Message Date
EstrellaXD
1a5daa8aae fix: backend parser error.
search add button function.
2023-09-09 12:25:13 +08:00
EstrellaXD
522b33dc34 webui: fix search.ts 2023-09-08 21:15:20 +08:00
EstrellaXD
6367cc22a2 webui: move search component to ab-search-bar.vue 2023-09-08 20:18:21 +08:00
EstrellaXD
0177a8999a Merge branch 'webui-model-update' into 3.1-dev 2023-09-08 13:38:39 +08:00
EstrellaXD
978e0d37e0 webui: search api model change. 2023-09-08 13:38:11 +08:00
zthxxx
bec27b29e6 fix: 搜索接口后端关闭连接时会触发 error 事件,前端需要手动调用 close 不再自动重连 2023-09-08 13:24:59 +08:00
EstrellaXD
ef19f4ed07 feat: add vue/component 2023-09-08 10:50:06 +08:00
EstrellaXD
36994be369 feat: add click outside to close search result and provider select. 2023-09-08 10:49:41 +08:00
zthxxx
ff69990daa fix: 修复搜索番剧输入框报错后中断问题
- 报错信息改为 console 中展示,不打断 observer
- input 输入框改为 v-model 绑定,解决 IME 输入法输入时打断问题

待优化:
- 后端解析时报错信息应该和重新约定接口格式,将解析数据或报错信息都能返回到前端解析和提示
- 搜索项数据没限制,条数太多等时间太长没有意义
- 列表项的 UI 待优化,比如展示样式和点击添加/关闭啥的
2023-09-08 01:32:24 +08:00
EstrellaXD
396fd73f9d fix: request error bugs.
webui: move func to store reduce code in component.
2023-09-07 18:48:34 +08:00
EstrellaXD
9953a76a39 webui: change v-bind model. add transition effect in mian page. 2023-09-07 01:57:19 +08:00
zthxxx
544dda81c4 feat: 番剧搜索框接口使用和交互完成
- 三种搜索触发来源
  - 输入中 debounce 600ms 后触发搜索
  - 按回车或点击搜索 icon 按钮后触发搜索
  - 切换 provider 源站时触发搜索
- 渲染的番剧信息列表样式待调整
- 搜索框 placeholder / provider 展示样式/i18n 待调整
2023-09-07 00:54:17 +08:00
EstrellaXD
6681590b7b fix: search bar type error. 2023-09-06 23:49:39 +08:00
EstrellaXD
a430258a2b change: axios default setting. 2023-09-06 21:35:59 +08:00
EstrellaXD
fdd67697bd webui: add rss manage function. 2023-09-05 00:37:36 +08:00
EstrellaXD
20c3c42f8a webui: update search card.
backend: update api url and rss manage api route.
2023-09-04 20:53:25 +08:00
EstrellaXD
74eea85094 Merge branch 'webui' into 3.1-dev 2023-09-04 13:25:27 +08:00
EstrellaXD
fba142fe68 webui: little adjust on ui. 2023-09-04 01:33:51 +08:00
EstrellaXD
cbd3322a0d webui: change search bar style. 2023-09-03 22:04:38 +08:00
EstrellaXD
b672983ef2 webui: disable registerSW 2023-09-03 19:57:43 +08:00
EstrellaXD
fc428a8c43 webui: add standalone mode detection 2023-09-02 21:41:53 +08:00
EstrellaXD
d5422ae787 webui: adjust bangumi grid space.
change header.
2023-09-02 17:20:37 +08:00
EstrellaXD
820f69f40f webui: add default value in select component.
unhide search bar.

backend: fix type error.
2023-09-02 11:44:53 +08:00
EstrellaXD
9460cf211d webui: add search info style. 2023-09-02 11:30:32 +08:00
EstrellaXD
f204bcd6b6 webui: add story in bangumi card. 2023-09-01 17:10:02 +08:00
zthxxx
7d50e360ed fix: 修复 bangumi search API 中的流式接口,webui 对应接口定义方法改造
- StreamingResponse 换成 EventSourceResponse,即 Server Send Event Source 方式发送数据
- webui 中 search 接口改成 rxjs Observable 方式,
  这次来不及改到 vue 里,但是写了接口 usage example;
- 顺手补了一些 vscode 通用的开发配置,
  补了之前配置文件解析漏了一个可用环境变量的 host 字段
2023-08-31 23:48:07 +08:00
EstrellaXD
16bbf6f866 webui: adjust rss icon. 2023-08-30 10:12:37 +08:00
EstrellaXD
6f80a17da1 webui: adjust ui. 2023-08-30 10:03:19 +08:00
EstrellaXD
6e496dce40 webui: add padding in rss page. 2023-08-30 09:38:08 +08:00
EstrellaXD
4eacbc81ff fix: reset all api in frontend. 2023-08-30 01:26:48 +08:00
EstrellaXD
e5af3d9924 fix: collect api bug. 2023-08-30 01:18:54 +08:00
EstrellaXD
ce8baff938 fix: rss api bug. fix ui. 2023-08-29 21:27:18 +08:00
EstrellaXD
7ccee98e2e fix: bugs, add disable rss api. 2023-08-29 19:28:44 +08:00
EstrellaXD
b60526d552 fix: frontend build issue. 2023-08-28 21:51:05 +08:00
EstrellaXD
061def1193 webui: fix rss item page. 2023-08-28 20:59:27 +08:00
EstrellaXD
ea97218855 webui: change some component style. Add tag components. 2023-08-28 20:18:43 +08:00
EstrellaXD
89fc6693fb webui: rss class update 2023-08-28 18:24:50 +08:00
EstrellaXD
02eaafc4fa webui: rss i18n update. 2023-08-28 18:24:28 +08:00
EstrellaXD
11dc78de3e webui: temp save in rss view. 2023-08-22 22:14:27 +08:00
EstrellaXD
f0124df794 webui: fix bugs. adjust setting page. 2023-08-22 16:34:45 +08:00
EstrellaXD
da937d46f6 webui: fix bugs. adjust api model. 2023-08-22 16:28:30 +08:00
EstrellaXD
0714722b08 feat: change rss add card, add aggregation rss judgment conditions 2023-08-20 17:13:53 +08:00
EstrellaXD
a872622b57 change: add universal api response model in src. 2023-08-20 15:11:16 +08:00
EstrellaXD
bb05f40df8 change: webui api accept model. 2023-08-20 12:20:12 +08:00
Rewrite0
bffb3dfdc2 Merge branch '3.1-dev-up' into webui 2023-08-16 19:50:34 +08:00
EstrellaXD
cf6103470e webui: change pwa 192 icon, change some config in pwa. remove login hint 2023-08-15 20:00:27 +08:00
EstrellaXD
7cf0c1daa9 fix:replace pwa icon image. 2023-08-14 10:44:08 +08:00
Rewrite0
3425e38bb1 feat: create RSS page 2023-08-13 19:49:43 +08:00
Rewrite0
5b30aaa4ea feat: new api 2023-08-13 17:18:23 +08:00
Rewrite0
67f8487561 save 2023-08-13 15:06:35 +08:00