Skip to content

refactor(filter): simplify time store model logic and fix next-offset bug#811

Open
dopenguin wants to merge 1 commit into
refactor/polar-inputfrom
vue3/refactor-filter-time-store
Open

refactor(filter): simplify time store model logic and fix next-offset bug#811
dopenguin wants to merge 1 commit into
refactor/polar-inputfrom
vue3/refactor-filter-time-store

Conversation

@dopenguin

@dopenguin dopenguin commented Jun 18, 2026

Copy link
Copy Markdown
Member

Summary

As mentioned in #801, the time store of filter could be simplified.
Also fixed a bug where the offset was added twice.

Instructions for local reproduction and review

  • npm run snowbox
  • Time filter should still work as previously

Note that the selected values for a custom date range stay selected after one switches to another method. I thought that was a neat byproduct as this may be something a user would rather expect.

Relevant tickets, issues, et cetera

Blocked by #810

@dopenguin dopenguin added this to the POLAR@3 milestone Jun 18, 2026
@dopenguin dopenguin self-assigned this Jun 18, 2026
@dopenguin dopenguin added the refactor Refactoring of previous code label Jun 18, 2026
@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://Dataport.github.io/polar/pr-preview/pr-811/

Built to branch gh-pages at 2026-07-09 10:46 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@dopenguin dopenguin force-pushed the vue3/refactor-filter-time-store branch from 5f17e3d to 7c451b8 Compare June 22, 2026 15:42
@dopenguin dopenguin force-pushed the vue3/refactor-filter-time-store branch 3 times, most recently from f45b965 to 98b7fdf Compare July 1, 2026 08:21
@dopenguin dopenguin force-pushed the refactor/polar-input branch from c976070 to 77acbd9 Compare July 2, 2026 13:19
@dopenguin dopenguin closed this Jul 2, 2026
@dopenguin dopenguin force-pushed the vue3/refactor-filter-time-store branch from 98b7fdf to 77acbd9 Compare July 2, 2026 13:20
@dopenguin dopenguin reopened this Jul 2, 2026
@dopenguin dopenguin force-pushed the refactor/polar-input branch from 77acbd9 to 226a455 Compare July 2, 2026 14:56
@dopenguin dopenguin force-pushed the vue3/refactor-filter-time-store branch from ea80495 to b45f604 Compare July 2, 2026 14:57
@dopenguin dopenguin force-pushed the refactor/polar-input branch from 226a455 to c404b37 Compare July 6, 2026 11:51
@dopenguin dopenguin force-pushed the vue3/refactor-filter-time-store branch from b45f604 to 773af17 Compare July 6, 2026 11:51
@dopenguin dopenguin force-pushed the refactor/polar-input branch from c404b37 to c588206 Compare July 9, 2026 10:44
@dopenguin dopenguin force-pushed the vue3/refactor-filter-time-store branch from 773af17 to 3d7b85d Compare July 9, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactoring of previous code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant