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

Source Code Package Compatibility #68

Closed
wants to merge 82 commits into from
Closed

Conversation

chrstinalin
Copy link
Contributor

@chrstinalin chrstinalin commented Jul 3, 2024

Closes #59, closes #67.

Changes

  • Makes all xpi functionality compatible with source code packages, including: leaving annotations, exporting comments, and diffing.
  • Splits the addons root folder into two more directories: xpi and source.
  • Split the sidebar into two different sections representing each directory.
  • When the user reviews a new addon that has a source code package attributed to it, Assay will prompt the user and ask whether they want to install the XPI or the source.
image

Note: The Codecov isn't entirely accurate as I added more tests in parent branches.

@chrstinalin chrstinalin marked this pull request as draft July 3, 2024 15:14
@codecov-commenter
Copy link

codecov-commenter commented Jul 3, 2024

Codecov Report

Attention: Patch coverage is 71.11111% with 52 lines in your changes missing coverage. Please review.

Project coverage is 91.62%. Comparing base (0ffe0d0) to head (f93022c).

Files Patch % Lines
src/controller/commentCacheController.ts 42.85% 20 Missing ⚠️
src/views/addonView.ts 26.08% 17 Missing ⚠️
src/controller/addonController.ts 84.37% 10 Missing ⚠️
src/controller/urlController.ts 66.66% 4 Missing ⚠️
src/controller/directoryController.ts 80.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           diff-bar      #68      +/-   ##
============================================
- Coverage     92.95%   91.62%   -1.33%     
============================================
  Files            27       27              
  Lines          2754     2867     +113     
  Branches        169      172       +3     
============================================
+ Hits           2560     2627      +67     
- Misses          190      236      +46     
  Partials          4        4              

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

@chrstinalin chrstinalin changed the title Source Code Compatibility Source Code Package Compatibility Jul 3, 2024
@chrstinalin chrstinalin marked this pull request as ready for review July 4, 2024 18:50
@chrstinalin chrstinalin changed the base branch from icon-font to diff-bar July 8, 2024 18:26
Copy link
Member

@willdurand willdurand left a comment

Choose a reason for hiding this comment

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

Since this is not a feature implemented in code-manager, let's put this PR on hold.

@chrstinalin chrstinalin force-pushed the diff-bar branch 2 times, most recently from 80ad54d to aaca245 Compare July 9, 2024 16:50
@chrstinalin chrstinalin deleted the branch diff-bar July 15, 2024 14:56
@willdurand willdurand deleted the diff-source branch August 1, 2024 12:24
@chrstinalin chrstinalin restored the diff-source branch August 1, 2024 14:21
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.

Diff Source Code Packages Open a Source Code Package for Review
3 participants