Projektmanagement-Plugin

Dies ist ein Plugin zur Verwaltung von Aufgabenabhängigkeiten in Discourse.
Es verwandelt im Wesentlichen eine Kategorie in ein Projekt und die Themen in dieser Kategorie in Aufgaben dieses Projekts.
Sie können Abhängigkeiten zwischen Aufgaben definieren – im Grunde, welche Aufgaben abgeschlossen sein müssen, bevor andere beginnen können. Sie können auch Startdaten, Enddaten und die Dauer der Aufgaben festlegen. Das Plugin setzt die Start- und Enddaten der abhängigen Aufgaben automatisch, wenn Sie sie irgendwo ändern.
Es zeigt zudem das früheste Startdatum und das späteste Enddatum in der Kategorieüberschrift an.
Die gesamte Projektdauer wird ebenfalls berechnet. Sie können Aufgaben auch sperren, damit die automatische Berechnung von Start- und Enddaten sie nicht beeinflusst.
Dieses YouTube-Video erklärt die Verwendung:

TODO:

  • Nachrichten auf mobilen / schmalen Bildschirmen anzeigen
  • eine Themenlistenansicht hinzufügen, um Aufgaben in topologischer Reihenfolge anzuzeigen (+ die abhängigen Aufgaben etwas einrücken)
  • Message Bus nutzen, um andere Benutzer über Änderungen zu benachrichtigen
  • Versionsverwaltung für Projektaufgaben hinzufügen
  • Unterstützung für Unterprojekte hinzufügen (ein Unterprojekt ist eine Aufgabe in einem Projekt, aber auch eine eigene Kategorie)
  • die Benutzeroberfläche ansprechender gestalten (Links statt Buttons usw.)
  • Tests schreiben
  • Kalenderansicht hinzufügen, wie von @Bank_Live vorgeschlagen unter Projects management plugin - #10 by Bank_Live
  • Aufgabenstatus: erledigt / noch nicht erledigt
  • FEHLER: setup projects_task bei Änderung der Kategorie-ID statt bei composer init aufrufen

Installation

Folgen Sie der Anleitung Ein Plugin installieren
aus dem offiziellen Discourse Meta, wobei Sie git clone https://github.com/spirobel/projects.git
als Plugin-Befehl verwenden.

Gedicht

Ich bin von dir abhängig.
Du bist von mir abhängig.
Wer ist der Abhängige?
Und wer ist der Abhängigkeitsziel?

Code auf GitHub

30 „Gefällt mir“

Good idea, how can I add my own field, custom field (like date for event plugin etc) by creating a new task as a new topic?

3 „Gefällt mir“

I am not sure I understand your question right, what exactly do you want to do?

I want to add own field like the title and tags, so that it can later be easily accessed in json form and can be easily manipulated/calculated , for searching etc

Scree5

2 „Gefällt mir“

thats actually not a trival problem. On the one hand you have to handle a lot of cases in the frontend. I still havent handled all for this plugin. As you can see revision capability is still on the todo list. Then there also is the issue of saving the data and if its a wise idea to use the pluginstore or not. The topic is touched on in this thread:

I also wrote this plugin because I wanted to figure out if real tables can actually bring a big benefit. This whole dependency logic and the error checking in the backend with a rollback if its just a “dry” shot would not be possible using only the plugin store. I think its a trade off. For some use cases the pluginstore is enough. But I think to do more complex stuff there is no way around “real” tables. I also want to write a blogpost about this after i explored this a bit more. If we look at this in a more abstract way, what we want to do is this: We want to use discourse to collectively edit structured data. At the moment its really hard to “just add” a custom field to a post or topic, but I think it can be made easier. Another thing that I want to do is to rip out the composer editor completely and use the topic just for data entry. I dont know what will come of it, but here is some brainstorming:Why not create an OPEN SOURCE platform dedicated to open source drug discovery ? · Issue #581 · OpenSourceMalaria/OSM_To_Do_List · GitHub
Maybe these two types of plugins can also be combined like i explain in this github issue. So you enter data in topics that have no normal d-editor, but a specialized data entry editor and then you reference this data in topics that still have the d-editor. These other topics might also have some extra fields, like in this projects management plugin.

https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/templates/components/composer-editor.hbs

Take all off this with a grain of salt, as I havent had the time to properly try this out. I will create a write up about this when I am back from vacation :smiley:

5 „Gefällt mir“

Unfortunately, but the plugin doesn’t want to get boostap now.

Broken

1 „Gefällt mir“

It’s great Hope to add a chart for each period in the future

can you please post the error message so I can help you? :slightly_smiling_face:
Also: this plugin uses its on tables, so you need to rerun migrations after installing. should be somthing like rake db:migrate please check the install guide for further details

1 „Gefällt mir“

ok can you maybe draw a picture, what exactly you would like to have? I will think about it. :smiley:

1 „Gefällt mir“

Ok I mean same this.

1 „Gefällt mir“

Okay i added it to the TODO list it makes sense. I am on holiday now. I will take a look at it after I get back :smiley:

This style will make the page look more useable.

Thank you for creating these things. I will definitely wait to use

1 „Gefällt mir“

there was indeed a problem with asset compilation.

I fixed it now and installed it on my server: https://cidian.social/c/build-house/5
I want to use this plugin to plan my projects, so I will continue to improve it.

2 „Gefällt mir“

Still problem fail to boostrap:

FAILED
--------------------
Pups::ExecError: chown -R root /var/lib/postgresql/12/main failed with return #<Process::Status: pid 41 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cmd"=>["chown -R root /var/lib/postgresql/12/main", "[ ! -e /shared/postgres_data ] && install -d -m 0755 -o postgres -g postgres /shared/postgres_data && sudo -E -u postgres /usr/lib/postgresql/12/bin/initdb -D /shared/postgres_data || exit 0", "chown -R postgres:postgres /shared/postgres_data", "chown -R postgres:postgres /var/run/postgresql"]}
1 „Gefällt mir“

Hello, thanks for trying again! On which version are you? The last version I tried it with is: 2.5.0.beta4 Its running on a testserver over here: Build House - cidian.social

ok it seems like it is this issue:
https://meta.discourse.org/t/clean-install-upgrade-fails-because-of-pg12/151212

Hallo, ich bin ein neuer Discourse-Nutzer auf unserer künstlerischen Community-Plattform. Ich suche nach einem potenziellen Plugin für Projektmanagement für kleine Projekte innerhalb unserer Discourse-Community. Wird dieses Plugin noch verwendet?

1 „Gefällt mir“

Dies war das erste Plugin, das ich geschrieben habe, um zu lernen, wie man Discourse-Plugins entwickelt. Es befindet sich derzeit in einem unfertigen Zustand. Ich habe noch nicht entschieden, in welche Richtung ich dieses Plugin weiterentwickeln möchte, aber ich möchte definitiv daran weiterarbeiten und den geschriebenen Code neu verwenden. Ich würde mich freuen, wenn du mir von deinem Anwendungsfall erzählen könntest. Falls es dir lieber ist, auch gerne per Privatnachricht! :smiley:

5 „Gefällt mir“

Vielen Dank für deine großartige Arbeit, @spirobel!

Wie ist der aktuelle Status dieses Plugins? Ich würde es gerne für meine Instanz verwenden, bin aber skeptisch, ein Plugin zu installieren, das sich derzeit in einem unbekannten Entwicklungsstadium befindet.

Vielen Dank!

3 „Gefällt mir“

Ich arbeite derzeit an einer Neuschreibung meines Basic Editor-Plugins; danach könnte ich mich vielleicht wieder diesem hier widmen. Ich müsste jedoch überlegen, wer die Zielgruppe für dieses Plugin sein würde. Ich würde mich freuen, zu hören, wofür ihr es einsetzen möchtet. Das Gleiche gilt für alle, die dies lesen: schreibt einfach auf, wie ihr Discourse nutzen möchtet, um eure Projekte zu verwalten. Vielleicht können wir gemeinsam brainstormen :slight_smile: :+1:

2 „Gefällt mir“