Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

时间范围筛选不准 || Time range filtering is not allowed #376

Closed
relines opened this issue Dec 26, 2024 · 2 comments
Closed

时间范围筛选不准 || Time range filtering is not allowed #376

relines opened this issue Dec 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@relines
Copy link

relines commented Dec 26, 2024

时间范围筛选不准,应该是没生效,而且移动端点击应用筛选按钮没反应,我使用的是0.30.3版本。


The time range filtering is not accurate, it should not be effective, and there is no response when clicking the application filter button on the mobile terminal. I am using version 0.30.3.

@github-actions github-actions bot changed the title 时间范围筛选不准 时间范围筛选不准 || Time range filtering is not allowed Dec 26, 2024
Copy link

dosubot bot commented Dec 26, 2024

在 Blinko 版本 0.30.3 中,时间范围筛选功能的实现涉及 FilterPop 组件。时间范围的选择通过 RangeCalendar 组件进行,用户选择的日期范围会在 handleApplyFilter 函数中应用到 blinkoStore.noteListFilterConfig[1]

关于移动端点击“应用筛选”按钮无反应的问题,handleApplyFilter 函数负责更新筛选配置并调用 resetAndCall 方法以应用筛选条件[1]。如果按钮没有反应,可能需要检查以下几点:

  1. 事件绑定:确保按钮的点击事件正确绑定到 handleApplyFilter 函数。
  2. 状态更新:确认 dateRange 状态在选择日期后正确更新。
  3. UI 反馈:检查是否有任何错误处理机制或日志输出,以帮助识别问题。

如果这些检查没有解决问题,可能需要进一步调试代码或查看是否有已知的兼容性问题。

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot dosubot bot added the bug Something isn't working label Dec 26, 2024
blinko-space added a commit that referenced this issue Dec 26, 2024
- Updated PWA configuration to conditionally disable service worker in development mode for better debugging.
- Refactored note date filtering logic to combine start and end date checks into a single condition, enhancing clarity and performance.
- Cleaned up code formatting for better readability in note attachment handling.
@blinko-space
Copy link
Owner

fixed in lastest version v0.30.5

github-actions bot pushed a commit that referenced this issue Dec 26, 2024
## [0.30.5](v0.30.4...v0.30.5) (2024-12-26)

### Bug Fixes

* improve note date filtering and clean up PWA configuration [#376](#376) ([5e2cf71](5e2cf71))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants