Skip to content

Commit

Permalink
Merge pull request #1456 from Hans5958/live-love-live/7
Browse files Browse the repository at this point in the history
Various minor changes (7)
  • Loading branch information
Codixer authored Jul 20, 2023
2 parents 8bf41c0 + cf4b5e5 commit ec517d5
Show file tree
Hide file tree
Showing 19 changed files with 499 additions and 498 deletions.
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ You may contribute to the project by submitting a Pull Request on the GitHub rep

## New Atlas entries

To contribute to the map, we require a certain format for artwork region and labels. This can be generated on [the drawing mode](https://place-atlas.stefanocoding.me?mode=draw) on the website.
To contribute to the map, we require a certain format for artwork region and labels. This can be generated on [the drawing mode](https://2022.place-atlas.stefanocoding.me?mode=draw) on the website.

To add a new entry, go to [the drawing mode](https://place-atlas.stefanocoding.me?mode=draw) and draw a shape/polygon around the region you'd like to describe. You can use the <kbd>Undo</kbd>, <kbd>Redo</kbd>, and <kbd>Reset</kbd> buttons to help you creating a good polygon. Make sure that the lines you're drawing don't form a [self-intersecting polygon](https://upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Complex_polygon.svg/288px-Complex_polygon.svg.png).
To add a new entry, go to [the drawing mode](https://2022.place-atlas.stefanocoding.me?mode=draw) and draw a shape/polygon around the region you'd like to describe. You can use the <kbd>Undo</kbd>, <kbd>Redo</kbd>, and <kbd>Reset</kbd> buttons to help you creating a good polygon. Make sure that the lines you're drawing don't form a [self-intersecting polygon](https://upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Complex_polygon.svg/288px-Complex_polygon.svg.png).

Multiple periods can be added to represent the changing state of the artwork on different times. You can set the start and end period, as well as chosing the appropriate canvas variations. You can also copy the polygon from one period to the other, duplicating a period to be edited later, as well as deleting a period (if there is more than one). An alert is also shown if there are errors for assistance.

Expand Down Expand Up @@ -76,7 +76,7 @@ Edits are also welcome on this repository using Git through GitHub. You may use

Upon creating a fork of this repository and pushing the changes, create a pull request towards the `cleanup` branch. A member will merge the pull request if it is adequate.

To help find duplicates, [use the Overlap mode](https://place-atlas.stefanocoding.me?mode=overlap).
To help find duplicates, [use the Overlap mode](https://2022.place-atlas.stefanocoding.me?mode=overlap).

### Example

Expand Down Expand Up @@ -107,8 +107,8 @@ Hereforth is an example of the structured data. The example has been expanded, b
```

`109-166, T:0-1` has this meaning.
- `109-166`: Default canvas variation (r/place), period [109](https://place-atlas.stefanocoding.me/#/109) to [166](https://place-atlas.stefanocoding.me/#/166).
- `T:0-1`: "The Final Clean" canvas variation, period [0](https://place-atlas.stefanocoding.me/#/T:0) (The Final Clean) to [1](https://place-atlas.stefanocoding.me/#/T:1) (Unofficial Corrections).
- `109-166`: Default canvas variation (r/place), period [109](https://2022.place-atlas.stefanocoding.me/#/109) to [166](https://2022.place-atlas.stefanocoding.me/#/166).
- `T:0-1`: "The Final Clean" canvas variation, period [0](https://2022.place-atlas.stefanocoding.me/#/T:0) (The Final Clean) to [1](https://2022.place-atlas.stefanocoding.me/#/T:1) (Unofficial Corrections).

## Development

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[![Entry count](https://img.shields.io/badge/dynamic/json?color=blue&label=entries&query=%24.length&url=https%3A%2F%2Fgithub.com%2FplaceAtlas%2Fatlas%2Fblob%2Fmaster%2Fweb%2Fatlas.json%3Fraw%3Dtrue)](https://place-atlas.stefanocoding.me/)
[![Entry count](https://img.shields.io/badge/dynamic/json?color=blue&label=entries&query=%24.length&url=https%3A%2F%2Fgithub.com%2FplaceAtlas%2Fatlas%2Fblob%2Fmaster%2Fweb%2Fatlas.json%3Fraw%3Dtrue)](https://2022.place-atlas.stefanocoding.me/)
![Commit activity](https://img.shields.io/github/commit-activity/w/placeAtlas/atlas)
[![Netlify](https://img.shields.io/netlify/1e7291ce-0680-45ed-9843-47a32a992bbb?logo=netlify&logoColor=white)](https://app.netlify.com/sites/place-atlas/deploys)
[![License](https://img.shields.io/github/license/placeAtlas/atlas)](https://github.com/placeAtlas/atlas/blob/master/LICENSE)
[![Discord](https://img.shields.io/discord/960791635342524496?color=%235865F2&logo=discord&logoColor=white)](https://discord.gg/pJkm23b2nA)
[![Subreddit subscribers](https://img.shields.io/reddit/subreddit-subscribers/placeAtlas2?color=%23FF4500&label=r%2FplaceAtlas2&logo=reddit&logoColor=white)](https://www.reddit.com/r/placeAtlas2/)
[![Website](https://img.shields.io/static/v1?label=website&message=place-atlas.stefanocoding.me&color=blue)](https://place-atlas.stefanocoding.me/)
[![Website](https://img.shields.io/static/v1?label=website&message=2022.place-atlas.stefanocoding.me&color=blue)](https://2022.place-atlas.stefanocoding.me/)

# The 2022 r/place Atlas

Expand All @@ -14,7 +14,7 @@ This project was established by Roland Rytz for the event in 2017, and further d

This project is licensed under the [GNU Affero General Public License v3.0](LICENSE).

You can check out the website by visiting [place-atlas.stefanocoding.me](https://place-atlas.stefanocoding.me/). If you want to keep distance from GitHub, you may visit [r/placeAtlas2](https://www.reddit.com/r/placeAtlas2/).
You can check out the website by visiting [2022.place-atlas.stefanocoding.me](https://2022.place-atlas.stefanocoding.me/). If you want to keep distance from GitHub, you may visit [r/placeAtlas2](https://www.reddit.com/r/placeAtlas2/).

## Contributing

Expand Down Expand Up @@ -53,4 +53,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. This section only includes GitHub contributions. Other credits are shown on [the About page](https://place-atlas.stefanocoding.me/about).
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. This section only includes GitHub contributions. Other credits are shown on [the About page](https://2022.place-atlas.stefanocoding.me/about).
4 changes: 2 additions & 2 deletions tools/unused/area-chart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tools/unused/smallifier.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The 2022 r/place Atlas
Copyright (c) 2017 Roland Rytz <[email protected]>
Copyright (c) 2022 Place Atlas contributors
Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt)
Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt)
-->

<!--
Expand Down
2 changes: 1 addition & 1 deletion web/_css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* The 2022 r/place Atlas
* Copyright (c) 2017 Roland Rytz <[email protected]>
* Copyright (c) 2022 Place Atlas contributors
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt)
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt)
*/

/* purgecss start ignore */
Expand Down
2 changes: 1 addition & 1 deletion web/_js/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* The 2022 r/place Atlas
* Copyright (c) 2017 Roland Rytz <[email protected]>
* Copyright (c) 2022 Place Atlas contributors
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt)
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt)
*/

const contributorsEl = document.querySelector('#contributors-wrapper')
Expand Down
8 changes: 4 additions & 4 deletions web/_js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Please also check code indicated with "@instance-only" outside this file.
// TODO: Avoid having instance-only code inside the main scripts to make updating easier.

const prodDomain = "place-atlas.stefanocoding.me"
const prodDomain = "2022.place-atlas.stefanocoding.me"
window.prodDomain = prodDomain

const instanceId = "2022"
Expand Down Expand Up @@ -254,15 +254,15 @@ window.defaultVariation = defaultVariation
let defaultPeriod = variationsConfig[defaultVariation].default
window.defaultPeriod = defaultPeriod

const useNumericalId = false
const useNumericalId = true
window.useNumericalId = useNumericalId

console.info(`%cThe 2022 r/place Atlas
%cCopyright (c) 2017 Roland Rytz <[email protected]>
Copyright (c) 2022 Place Atlas contributors
Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt)
Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt)
https://place-atlas.stefanocoding.me/
https://2022.place-atlas.stefanocoding.me/
https://discord.gg/pJkm23b2nA
https://reddit.com/r/placeatlas2
https://github.com/placeAtlas/atlas
Expand Down
2 changes: 1 addition & 1 deletion web/_js/main/atlas.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* The 2022 r/place Atlas
* Copyright (c) 2017 Roland Rytz <[email protected]>
* Copyright (c) 2022 Place Atlas contributors
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt)
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt)
*/

window.addEventListener("error", e => {
Expand Down
2 changes: 1 addition & 1 deletion web/_js/main/draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* The 2022 r/place Atlas
* Copyright (c) 2017 Roland Rytz <[email protected]>
* Copyright (c) 2022 Place Atlas contributors
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt)
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt)
*/

const finishButton = document.getElementById("finishButton")
Expand Down
2 changes: 1 addition & 1 deletion web/_js/main/infoblock.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* The 2022 r/place Atlas
* Copyright (c) 2017 Roland Rytz <[email protected]>
* Copyright (c) 2022 Place Atlas contributors
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt)
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt)
*/

const baseLinkElement = document.createElement("a")
Expand Down
2 changes: 1 addition & 1 deletion web/_js/main/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* The 2022 r/place Atlas
* Copyright (c) 2017 Roland Rytz <[email protected]>
* Copyright (c) 2022 Place Atlas contributors
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt)
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt)
*/

const innerContainer = document.getElementById("innerContainer")
Expand Down
2 changes: 1 addition & 1 deletion web/_js/main/overlap.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* The 2022 r/place Atlas
* Copyright (c) 2017 Roland Rytz <[email protected]>
* Copyright (c) 2022 Place Atlas contributors
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt)
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt)
*/

function initOverlap() {
Expand Down
4 changes: 2 additions & 2 deletions web/_js/main/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* The 2022 r/place Atlas
* Copyright (c) 2017 Roland Rytz <[email protected]>
* Copyright (c) 2022 Place Atlas contributors
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt)
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt)
*/

let areasSum = 0
Expand Down Expand Up @@ -203,7 +203,7 @@ console.info("The " + topCount + " largest entries:")
let outstring = ""

for (let i = 0; i < topCount; i++) {
outstring += ((i + 1) + "|[" + atlas[atlas.length - i - 1].name + "](http://place-atlas.stefanocoding.me/?id=" + atlas[atlas.length - i - 1].id + ")|" + ~~atlas[atlas.length - i - 1].area + "|" + Math.round(atlas[atlas.length - i - 1].area / 100) / 100 + "%\n")
outstring += ((i + 1) + "|[" + atlas[atlas.length - i - 1].name + "](http://2022.place-atlas.stefanocoding.me/?id=" + atlas[atlas.length - i - 1].id + ")|" + ~~atlas[atlas.length - i - 1].area + "|" + Math.round(atlas[atlas.length - i - 1].area / 100) / 100 + "%\n")
}

console.info(outstring)
Expand Down
2 changes: 1 addition & 1 deletion web/_js/main/time.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* The 2022 r/place Atlas
* Copyright (c) 2017 Roland Rytz <[email protected]>
* Copyright (c) 2022 Place Atlas contributors
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt)
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt)
*/

const codeReference = {}
Expand Down
4 changes: 2 additions & 2 deletions web/_js/main/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* The 2022 r/place Atlas
* Copyright (c) 2017 Roland Rytz <[email protected]>
* Copyright (c) 2022 Place Atlas contributors
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt)
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt)
*/

const linesCanvas = document.getElementById("linesCanvas")
Expand Down Expand Up @@ -676,7 +676,7 @@ function highlightEntryFromUrl() {
if (!id) return

const entries = atlas.filter(e => {
return e.id === id
return e.id.toString() === id
})

if (entries.length !== 1) return
Expand Down
1 change: 1 addition & 0 deletions web/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://place-atlas.stefanocoding.me/* https://2022.place-atlas.stefanocoding.me/:splat
6 changes: 3 additions & 3 deletions web/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
The 2022 r/place Atlas
Copyright (c) 2017 Roland Rytz <[email protected]>
Copyright (c) 2022 Place Atlas contributors
Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt)
Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt)
-->

<!DOCTYPE html>
Expand All @@ -17,8 +17,8 @@

<meta property="og:title" content="About - The 2022 r/place Atlas">
<meta property="og:type" content="website">
<meta property="og:url" content="https://place-atlas.stefanocoding.me/">
<meta property="og:image" content="https://place-atlas.stefanocoding.me/_img/logo.png">
<meta property="og:url" content="https://2022.place-atlas.stefanocoding.me/">
<meta property="og:image" content="https://2022.place-atlas.stefanocoding.me/_img/logo.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="512">
<meta property="og:image:height" content="512">
Expand Down
Loading

0 comments on commit ec517d5

Please sign in to comment.