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

[2.x] Improve the numerical filename priority prefix feature #1710

Conversation

caendesilva
Copy link
Member

@caendesilva caendesilva commented May 4, 2024

Refactors some code introduced in #1709 and implements the remaining documented tasks and adds a lot more tests as this is an important feature that is implemented through several interconnected parts of the codebase, thus unit tests are added to make sure the code units operate as expected; as mainly high level feature tests were added in the original PR.

Copy link

codecov bot commented May 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.97%. Comparing base (5b1446d) to head (0bcb133).

Additional details and impacted files
@@            Coverage Diff             @@
##             2.x-dev    #1710   +/-   ##
==========================================
  Coverage      99.97%   99.97%           
- Complexity      1784     1787    +3     
==========================================
  Files            184      184           
  Lines           4738     4748   +10     
==========================================
+ Hits            4737     4747   +10     
  Misses             1        1           

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

@caendesilva caendesilva force-pushed the support-automatic-navigation-priorities-by-prefixing-a-number-in-filenames branch from 26ec193 to 1babead Compare May 4, 2024 15:01
@caendesilva caendesilva force-pushed the support-automatic-navigation-priorities-by-prefixing-a-number-in-filenames branch from 5689ead to 2f8de3f Compare May 6, 2024 16:00
@caendesilva caendesilva force-pushed the support-automatic-navigation-priorities-by-prefixing-a-number-in-filenames branch 3 times, most recently from b5456e1 to ed92c8e Compare May 6, 2024 16:46
@caendesilva caendesilva force-pushed the support-automatic-navigation-priorities-by-prefixing-a-number-in-filenames branch from 9dadbd1 to 7363134 Compare May 6, 2024 16:47
Renames isIdentifierNumbered to hasNumericalPrefix
Renames splitNumberAndIdentifier to splitNumericPrefix
I think delimiter is better than divider here
In case we want to customize this later it's easier to see here
@caendesilva caendesilva changed the title [2.x] Refactor internal implementations for the numerical priority filename prefix feature [2.x] Improve the numerical filename priority prefix feature May 10, 2024
@caendesilva caendesilva marked this pull request as ready for review June 4, 2024 10:38
@caendesilva caendesilva merged commit 58774f7 into 2.x-dev Jun 4, 2024
9 checks passed
@caendesilva caendesilva deleted the support-automatic-navigation-priorities-by-prefixing-a-number-in-filenames branch June 4, 2024 10:38
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.

None yet

2 participants