Skip to content

Conversation

@jakmro
Copy link
Contributor

@jakmro jakmro commented Apr 2, 2025

Description

Code refactor (example)

Tested on

  • iOS
  • Android

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings

@jakmro jakmro changed the base branch from v0.4.0-rc1 to @jakmro/text-embeddings-ios April 2, 2025 15:34
@jakmro jakmro marked this pull request as ready for review April 3, 2025 12:45
@jakmro jakmro requested a review from mkopcins April 7, 2025 08:33
@mkopcins mkopcins changed the title @jakmro/code refactor chore: @jakmro/code refactor Apr 7, 2025
@mkopcins mkopcins marked this pull request as draft April 10, 2025 13:41
…BaseModule (#182)

## Description

This PR aims to reduce code complexity by removing some redundant
abstractions (for example the wrappers of native modules). It also
introduces some changes to the baseModule and applies the new useModule
hook to the remaining hooks.

### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Documentation update (improves or adds clarity to existing
documentation)

### Tested on

- [ ] iOS
- [ ] Android

### Testing instructions

<!-- Provide step-by-step instructions on how to test your changes.
Include setup details if necessary. -->

### Screenshots

<!-- Add screenshots here, if applicable -->

### Related issues

<!-- Link related issues here using #issue-number -->

### Checklist

- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have updated the documentation accordingly
- [ ] My changes generate no new warnings

### Additional notes

<!-- Include any additional information, assumptions, or context that
reviewers might need to understand this PR. -->
@chmjkb chmjkb marked this pull request as ready for review April 15, 2025 15:19
Copy link
Contributor

@pweglik pweglik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:+1

@jakmro jakmro force-pushed the @jakmro/text-embeddings-ios branch 2 times, most recently from 06125c3 to a43a3ba Compare April 17, 2025 12:40
jakmro and others added 2 commits April 22, 2025 12:02
## Description
Add access to tokenizer.

### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Documentation update (improves or adds clarity to existing
documentation)

### Tested on

- [x] iOS
- [x] Android

### Checklist

- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have updated the documentation accordingly
- [x] My changes generate no new warnings
@jakmro jakmro requested a review from chmjkb April 22, 2025 11:02
@jakmro jakmro merged commit 35b9b7e into @jakmro/text-embeddings-ios Apr 22, 2025
1 check passed
@jakmro jakmro deleted the @jakmro/code-refactor branch April 22, 2025 11:21
jakmro added a commit that referenced this pull request Apr 23, 2025
Code refactor (example)

- [x] iOS
- [x] Android

- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have updated the documentation accordingly
- [x] My changes generate no new warnings

---------

Co-authored-by: Jakub Chmura <92989966+chmjkb@users.noreply.github.com>
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.

4 participants