Giter VIP home page Giter VIP logo

aoe2map's People

Contributors

happyleavesaoc avatar hszemi avatar simonsan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

aoe2map's Issues

Pull up constants

  • pull up all constants from all scripts to the top, before the map blocks
  • prefix all / only duplicate constants so they don't collide
  • warn when a constant definition cannot be pulled up (i.e. when it is defined twice with different values)

Make "new version available" alert lead to latest version

Currently, the link in the "new version available" alert leads to the next version. This means that you possibly have to click through multiple versions of a map to reach the latest version.
The link should directly lead to the latest version.

Make it possible to rate maps

The easiest and most robust solution would possibly be the option to give maps a thumbs-up 👍
(Do we also want to have a thumbs-down? Discuss.)

Make probabilities configurable

Add an input field to each map so users can set the probabilities manually.

  • pre-fill those fields
  • update pre-filled fields when maps are added
  • keep "dirty" values
  • add button to reset probabilities / distribute evenly

Make it possible to inherit images when uploading a new map version

Currently, images have to be re-uploaded (or rather recreated and uploaded) for every new map version.
Often however, the same image fits multiple versions of a map.
Make it possible to select the images you want to keep from the old version when uploading the new version of a map.

Allow multiple people to manage a map / collection

Currently, only the owner can edit a map or add new versions. The same is true for map collections. An owner should be able to define other users for a map/collection that shall be able to manage that map/collection as well

Add OpenGraph tags to collection page

The map page has them already, the collection page could use them as well. Not too sure about whether it should have a preview image or not though.

Deletion and archival of Maps and Collections

Users shall be able to:

  • delete their own map / collection until 24h after it was created
  • archive their own map / collection from that point onwards

A deleted map / collection is removed from the database, the files are deleted from the disk.
An archived map / collection is marked in the database, but the database contents and files remain.

An archived map is still accessible via the direct url and remains part of collections that it is in, but it does no longer show up in searches and cannot be added to collections anymore. An archived collection is still accessible via the direct url, but it does no longer show up in searches. Archived maps and collections display an info box about their status.

Add Changelog

Add a dedicated changelog field so map authors can explain what is new when they upload a new version of a map

Offer "make this map custom regicide / sudden death" feature

We could check for a guard_state command in the rms and if none is found, we could add the corresponding block of commands in the <PLAYER_SETUP> section and offer the modified version for download.

We could also offer a "Regicidify"/"Suddendeathify" page: Drag&Drop rms in, get regicide or sudden death version out

Search for Names Containing Underscores

I have a map named "Arabia_Bamboo": https://aoe2map.net/map/e541d3c8-a342-41b2-8135-8dbea53728d0

Using the website's search functionality, search for "Arabia Bamboo" (with a space, not an underscore). No results are returned.
A search for just "Bamboo" or for "Arabia_Bamboo" with an underscore returns the map in the results.

It would be nice if the search functionality could support searching for maps that use various word separators, e.g. spaces , underscores _, and dashes -, as I was expecting the map to be returned with those searches.

Create API with machine-readable interface file (openAPI)

Hey there,
I would like to propose that we create an API for the data at aoe2map.net so for example we can pull in some data and show it on an OBS-overlay or on the client.

I would further propose to use openAPI ("specification for machine-readable interface files for describing, producing, consuming, and visualizing RESTful web services"):
https://swagger.io/specification/

To easily create and validate the API file we can use apibldr
https://www.apibldr.com/

Display owners next to map authors on map page

Map info currently looks like this:
grafik
After this change, it would look similar to this:
grafik

This allows users to more accurately judge the quality of uploads: Is the map owner the original author, a tournament host, or just a random dude on the internet?

This means that usernames would appear publicly on the site for the first time.

  • discloses who (supposedly) uses the site
  • could be used for attacking those accounts (but why?)

This change is scheduled to be implemented not before 2019-10-01.

I am going to email all users about this change and its implications soon™ on 2019-09-15 and ask them if they have reservations against it. If points are brought up that speak against this change, it can also be canceled. If a user's concerns can be resolved by other means while still implementing this change, I will also be willing to do so.

Make urls prettier

Why have ugly things like https://aoe2map.net/map/772675d9-4793-4d84-bd92-f33f2c9bc8ba when you could also easily have https://aoe2map.net/map/forest-nothing-2018-772675d9 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.