Refactor: break up app.js into smaller modules #128
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
merge-ready
merge-ready
needs-checks
needs-checks
needs-rebase
needs-rebase
needs-review
needs-review
needs-rework
needs-rework
notplanned
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/upaas#128
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
static/js/app.jsfile (581 lines) contains all frontend JavaScript in a single file:Proposal: split into logical modules loaded via separate
<script>tags:utils.js— global store + legacy compatcomponents.js— small reusable components (copy, confirm, dismiss, relative time)app-detail.js— app detail page logicdeployment.js— deployment card + deployments history pagedashboard.js— dashboard page logicAll files are plain JS (no bundler), loaded in order via
<script>tags inbase.html.