Skip to content

Add devtools integration #918

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

Merged
merged 19 commits into from
Feb 14, 2025
Merged

Add devtools integration #918

merged 19 commits into from
Feb 14, 2025

Conversation

Demivan
Copy link
Member

@Demivan Demivan commented Feb 12, 2025

Description

Add integration with new Vue devtools.

Features:

  • Global translations
  • Components translations
  • Missing translations
  • Pseudolocalization switch

Linked Issues

Closes #793

Additional context

@Demivan Demivan added the Type: Feature Includes new features label Feb 12, 2025
Copy link

github-actions bot commented Feb 12, 2025

Export Size

fluent-vue

Name Size Diff
createFluentVue 3.97 KB +1.43 KB (+56.55%) 🔺
useFluent 909 B -14 B (-1.52%) 🔽

Copy link

codecov bot commented Feb 12, 2025

Codecov Report

Attention: Patch coverage is 21.92982% with 89 lines in your changes missing coverage. Please review.

Project coverage is 72.53%. Comparing base (3c40987) to head (5a48025).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/devtools/plugin.ts 22.22% 75 Missing and 2 partials ⚠️
src/devtools/pseudoLocalize.ts 15.38% 11 Missing ⚠️
src/index.ts 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##              main     #918       +/-   ##
============================================
- Coverage   100.00%   72.53%   -27.47%     
============================================
  Files           12       14        +2     
  Lines          210      324      +114     
  Branches        42       75       +33     
============================================
+ Hits           210      235       +25     
- Misses           0       86       +86     
- Partials         0        3        +3     
Flag Coverage Δ
vue-2 58.33% <1.75%> (-30.72%) ⬇️
vue-3 67.59% <21.92%> (-24.79%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

pkg-pr-new bot commented Feb 14, 2025

Open in Stackblitz

npm i https://pkg.pr.new/fluent-vue/fluent-vue@918

commit: 5a48025

@Demivan Demivan merged commit 1736a8d into main Feb 14, 2025
14 of 15 checks passed
@Demivan Demivan deleted the devtools branch February 14, 2025 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Includes new features
Development

Successfully merging this pull request may close these issues.

Vue devtools integration
1 participant