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

Refactor data flow #204

Merged
merged 5 commits into from
Jan 23, 2025
Merged

Conversation

ator-dev
Copy link
Member

No description provided.

- Create ArrayBox with 3 separately-interfaced properties: accessible,
  mutable, observable.
  - Pass ArrayBox of MatchTerms into toolbar to allow modification
  - Observe ArrayBox of MatchTerms in content to respond to changes
- Create TermsSyncService to observe ArrayBox of MatchTerms, sending
  them to background automatically if they become out of sync
- Hand responsibility of content for updating the toolbar when terms
  mutate to the toolbar itself
- Major refactoring work revisiting a lot of old decisions, particularly
  relating to data flow and messages between (and within) background and
  content
- Modularise more functions
@ator-dev ator-dev merged commit 58c8fdb into searchmarkers:main Jan 23, 2025
@ator-dev ator-dev deleted the refactor-data-flow branch January 23, 2025 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant