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

chore: rename hilla-file-router to file-router #2261

Conversation

cromoteca
Copy link
Contributor

Fixes #2260

@@ -13,9 +13,6 @@
/**
* Implementation of TypeScript's Hilla ConfigView. Represents a view
* configuration from Hilla file-system-routing module.
*
* @see <a href=
* "https://github.com/vaadin/hilla/tree/main/packages/ts/hilla-file-router/src/utils.ts#L3">ConfigView</a>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Link dead before PR

@@ -6,7 +6,6 @@
* Represents a view's menu configuration
* from Hilla file-system-routing.
* Used for configuring MainLayout navigation items
* @see <a href="https://github.com/vaadin/hilla/tree/main/packages/ts/hilla-file-router/src/utils.ts#L38">ConfigView menu</a>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Link dead before PR

Copy link

codecov bot commented Mar 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.77%. Comparing base (2b7ef94) to head (f6eca1a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2261   +/-   ##
=======================================
  Coverage   93.77%   93.77%           
=======================================
  Files          65       65           
  Lines        1639     1639           
  Branches      368      368           
=======================================
  Hits         1537     1537           
  Misses         67       67           
  Partials       35       35           
Flag Coverage Δ
unittests 93.77% <ø> (ø)

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.

@cromoteca cromoteca changed the title Rename hilla-file-router to file-router chore: rename hilla-file-router to file-router Mar 25, 2024
…ctory-whose-name-does-not-follow-existing-pattern
taefi
taefi previously approved these changes Mar 26, 2024
Copy link
Contributor

@taefi taefi left a comment

Choose a reason for hiding this comment

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

LGTM. Having uniform module naming that follows the same pattern (not having hilla- in their directory name) is important. The counter argument of having same module name as the directory name can also be valid, but having uniformity is more important IMO.

…ctory-whose-name-does-not-follow-existing-pattern
Copy link

sonarcloud bot commented Mar 26, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
3 Security Hotspots

See analysis details on SonarCloud

@cromoteca cromoteca requested a review from taefi March 26, 2024 09:50
Copy link
Contributor

@taefi taefi left a comment

Choose a reason for hiding this comment

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

LGTM

@cromoteca cromoteca merged commit 3f90fdc into main Mar 26, 2024
14 of 15 checks passed
@cromoteca cromoteca deleted the fix/2260/File-router-TS-package-is-in-a-directory-whose-name-does-not-follow-existing-pattern branch March 26, 2024 10:28
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.

File router TS package is in a directory whose name does not follow existing pattern.
2 participants