Commit d0a1e8f2 authored by Jon Richter's avatar Jon Richter
Browse files

add development TODOs

parent 331632c9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -148,6 +148,7 @@ export default {
      topics: [],
      users: [],
      baseUrl: "https://agora.degrowth.net/"
      // TODO: Make configurable.
    };
  },
  async beforeCreate() {
@@ -164,6 +165,7 @@ export default {
    const id = params.get("id");

    // get discourse data
    // TODO: Make configurable.
    fetch("https://agora.degrowth.net/c/events/l/map.json?order=default")
      .then(resp => resp.json())
      .then(data => {
@@ -171,6 +173,7 @@ export default {

        this.topics = data.topic_list.topics
          // parse topics with geolocation and remove old topic
          // TODO: Have selectable filters for current, outdated or both kinds of events.
          .filter(topic => {
            let outdated = false; // allow all topics
            if (topic.event) {