Closed LouisDeconinck closed 1 month ago
The changes introduce a new constant, CreateProfileStep
, to manage user profile creation in the application. Additionally, the logic within the load
function of the admin account layout has been updated to incorporate this constant, affecting redirection behavior based on user profile completeness. Lastly, the hardcoded website name has been replaced with a dynamic import from the configuration, enhancing adaptability in the account menu layout.
Files | Change Summary |
---|---|
src/config.ts |
Added export const CreateProfileStep: boolean = true . |
src/routes/(admin)/account/+layout.ts |
Imported CreateProfileStep and modified the load function's logic to include this constant. |
src/routes/(admin)/account/(menu)/+layout.svelte |
Imported WebsiteName and replaced hardcoded text with {WebsiteName} in the rendered HTML. |
🐰 In the code, a change does hop,
New flags and names, we can't stop!
Profiles now with care we create,
Dynamic names that resonate.
Hooray for updates, let joy abound,
In our code garden, new features found! 🌼
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?
Add a toggle setting to skip creating a profile.
Summary by CodeRabbit
New Features
Bug Fixes