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

Centralize url path building #410

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Centralize url path building #410

merged 1 commit into from
Jan 23, 2025

Conversation

adrw
Copy link
Collaborator

@adrw adrw commented Jan 23, 2025

Code cleanup from #407 and centralizes all path building in per web action static methods.

}
}
}
// Buttons
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was code copied in from Tailwind but didn't end up using.

@@ -124,22 +124,10 @@ class BackfillCreateServiceIndexAction @Inject constructor(
return Response(htmlResponseBody)
}

enum class BackfillCreateField(val fieldId: String) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this not used?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah unused

import kotlinx.html.img
import kotlinx.html.nav

fun TagConsumer<*>.NavBar(currentPath: String) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused from initial work, replaced with the DashboardPageLayout

@adrw adrw merged commit 6e89a7a into master Jan 23, 2025
5 checks passed
@adrw adrw mentioned this pull request Jan 23, 2025
8 tasks
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.

4 participants