-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set of backend/frontend fixes (#343)
* Bump version number after failed release workflow * Removing small widget Icons * UI fixes requested by Grzegorz * Jenkins Widget fix - when endpoint has 2 public urls set then private url is not replaced with public for the button * SonarQube wiremock endpoints fixed * Widget content fixed - it should now display scroll handle if needed * ToDo list widget - font decreased * Cypress tests fixd * Jenkins Job widget will use last of the branches mentioned in the API response * CR Fixes + new init config provided by Grzegorz Co-authored-by: szymon.owczarzak <[email protected]>
- Loading branch information
1 parent
2ea494e
commit 8e6a215
Showing
20 changed files
with
1,446 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
cogboard-app/src/main/kotlin/com/cognifide/cogboard/widget/Util.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.cognifide.cogboard.widget | ||
|
||
fun String.makeUrlPublic(publicDomain: String): String { | ||
if (this == "") return "" | ||
if (publicDomain == "") return this | ||
|
||
val rest = this.substringAfter("//").substringAfter("/") | ||
return "${publicDomain.removeSuffix("/")}/$rest" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.