-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
File: platforms/pictique/src/routes/(protected)/+layout.svelte
-
[Line 40–58]
Replace theif...else
block with a lookup table for cleaner logic. -
[Line 97]
Extract conditional logic into the<script>
block for clarity.
File: platforms/pictique/src/routes/(protected)/messages/[id]/+page.svelte
-
[Line 11]
Replaceany
with a proper type (useunknown
or a specific interface/type). -
[Line 36–47]
Use arrow functions instead of traditional function declarations. -
[Line 42]
Remove unnecessaryconsole.log()
.
File: platforms/pictique/src/routes/(protected)/profile/+page.svelte
- Add a redirect if the page content is empty or unused.
File: platforms/pictique/src/routes/(protected)/home/+page.svelte
- [Line 148–160]
Simplify prop passing: usecomment={comment}
and move all comment-specific logic into theComment
component.
General Notes
-
Search for
any
and replace with more appropriate types (e.g.,unknown
, or detailed interfaces). -
Remove
console.log()
statements unless used for error handling. -
Replace all occurrences of
w/h-[100vh]
withw/h-screen
and w/h-[100%] with w/h-full.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request