Skip to content

Conversation

@jkowalski
Copy link
Contributor

No description provided.

@jkowalski jkowalski requested a review from Copilot May 21, 2025 04:02
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces consistent code formatting across the KopiaUI codebase using Double quotes, trailing commas, and multiline argument lists, and enforces these rules via Prettier in CI.

  • Normalized string quotes to double quotes and added semicolons
  • Reformatted arrays/objects and argument lists to multiline with trailing commas
  • Added Prettier as a dev dependency, npm scripts, Makefile targets, and CI workflow steps

Reviewed Changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated no comments.

Show a summary per file
File Description
app/tests/main.spec.js Updated quotes/semicolons, multiline path joins, and trailing commas
app/sign.mjs Normalized quotes, semicolons, and multiline arrays
app/public/utils.js Converted function to IIFE, quotes, semicolons, and multiline maps
app/public/server.js Quotes, semicolons, and multiline argument lists
app/public/preload.js Quotes, semicolons, and object literal formatting
app/public/notifications.js Quotes, semicolons, and multiline fs calls
app/public/index.html Lowercased doctype
app/public/config.js Quotes, semicolons, and multiline path joins
app/public/auto-launch.js Quotes, semicolons, and promise chains formatted
app/package.json Added Prettier dependency and scripts
app/notarize.mjs Quotes, semicolons, and multiline logging calls
Makefile Added check-prettier and prettier targets
.github/workflows/lint.yml Added Prettier check step
Files not reviewed (1)
  • app/package-lock.json: Language not supported

@codecov
Copy link

codecov bot commented May 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.39%. Comparing base (cb455c6) to head (d8634a8).
Report is 522 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4586      +/-   ##
==========================================
+ Coverage   75.86%   76.39%   +0.53%     
==========================================
  Files         470      527      +57     
  Lines       37301    40091    +2790     
==========================================
+ Hits        28299    30629    +2330     
- Misses       7071     7443     +372     
- Partials     1931     2019      +88     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jkowalski jkowalski requested a review from julio-lopez May 21, 2025 04:32
@jkowalski jkowalski enabled auto-merge (squash) May 21, 2025 04:40
@jkowalski jkowalski merged commit 2e16917 into kopia:master May 21, 2025
27 checks passed
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.

2 participants