Chore: Remove more GH references (#2374)

This commit is contained in:
Robin van der Linde 2025-04-07 19:10:11 +02:00
parent 0f177025e0
commit 03526a8e16
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
63 changed files with 131 additions and 122 deletions

View file

@ -17,15 +17,16 @@ export default class SearchUtils {
return true
}
if (searchTerm === "bugs" || searchTerm === "issues") {
window.location.href = "https://github.com/pietervdvn/MapComplete/issues"
window.location.href = "https://source.mapcomplete.org/MapComplete/MapComplete/issues"
return true
}
if (searchTerm === "source") {
window.location.href = "https://github.com/pietervdvn/MapComplete"
window.location.href = "https://source.mapcomplete.org/MapComplete/MapComplete"
return true
}
if (searchTerm === "docs") {
window.location.href = "https://github.com/pietervdvn/MapComplete/tree/develop/Docs"
window.location.href =
"https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/Docs"
return true
}
if (searchTerm === "osmcha" || searchTerm === "stats") {

View file

@ -191,7 +191,7 @@ export class TagUtils {
"When creating the `json` file describing your layer or theme, you'll have to add a few tags to describe what you want.\n" +
"This document gives an overview of what every expression means and how it behaves in edge cases.\n" +
"\n" +
"If the schema-files note a type [`TagConfigJson`](https://github.com/pietervdvn/MapComplete/blob/develop/src/Models/ThemeConfig/Json/TagConfigJson.ts), you can use one of these values.\n" +
"If the schema-files note a type [`TagConfigJson`](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/src/Models/ThemeConfig/Json/TagConfigJson.ts), you can use one of these values.\n" +
"\n" +
"In some cases, not every type of tags-filter can be used. For example, _rendering_ an option with a regex is\n" +
'fine (`"if": "brand~[Bb]randname", "then":" The brand is Brandname"`); but this regex can not be used to write a value\n' +

View file

@ -141,7 +141,7 @@ export class MangroveIdentity {
*/
export default class FeatureReviews {
/**
* See https://gitlab.com/open-reviews/mangrove/-/blob/master/servers/reviewer/src/review.rs#L269 and https://github.com/pietervdvn/MapComplete/issues/1775
* See https://gitlab.com/open-reviews/mangrove/-/blob/master/servers/reviewer/src/review.rs#L269 and https://source.mapcomplete.org/MapComplete/MapComplete/issues/1775
*/
public static readonly REVIEW_OPINION_MAX_LENGTH = 1000
private static readonly _featureReviewsCache: Record<string, FeatureReviews> = {}