-
Notifications
You must be signed in to change notification settings - Fork 75
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
refactor(pages-api): change parameter for layout operations to just use layout name #14683
base: main
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughThis pull request standardizes the handling of layout names by removing the ".json" extension from layout name variables throughout the codebase. Changes were made in the repository, service, event handler, and test files to update constants, method signatures, and variable names, ensuring that layout names are consistently managed. Where necessary, the ".json" extension is now appended during file path construction instead of being embedded in the layout name. Changes
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (8)
🚧 Files skipped from review as they are similar to previous changes (8)
⏰ Context from checks skipped due to timeout of 90000ms (5)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
891dd77
to
8e042b7
Compare
31d2f69
to
e886d3a
Compare
e743118
to
59b0493
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 😄 Always great to make things consistent 💪
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14683 +/- ##
=======================================
Coverage 95.76% 95.76%
=======================================
Files 1914 1914
Lines 24948 24948
Branches 2857 2857
=======================================
Hits 23891 23891
Misses 798 798
Partials 259 259 ☔ View full report in Codecov by Sentry. |
c78bd45
to
b5f260c
Compare
36ae109
to
4791e63
Compare
…se layout name Remove file extension formatting on layoutName parameter of service repository layer methods in AltinnAppGitRepository. This makes the method more consistent with the other methods and follows layer responsibilities (service layer does not need to know or specify file extension). # Testing: - [ ] Operations acting on layout sets or layouts should be tested on frontend commit-id:cf35ff23
4791e63
to
8eea8d3
Compare
Description
Remove file extension formatting on layoutName parameter of service
repository layer methods in AltinnAppGitRepository. This makes the
method more consistent with the other methods and follows layer
responsibilities (service layer does not need to know or specify file
extension).
Testing:
frontend
Stack:
Related Issue(s)
Verification
Documentation
Summary by CodeRabbit
Refactor
Tests