إضافة إدارة المشاريع

هذا إضافة لإدارة تبعيات المهام مع منصة ديسكورش.
تحوّل الإضافة بشكل أساسي أي تصنيف إلى مشروع، وتحوّل المواضيع داخل هذا التصنيف إلى مهام لذلك المشروع.
يمكنك تعريف التبعيات بين المهام، أي تحديد المهام التي يجب أن تنتهي قبل بدء مهام أخرى. كما يمكنك تحديد تواريخ البدء والانتهاء ومدة كل مهمة. ستقوم الإضافة تلقائيًا بتحديث تواريخ البدء والانتهاء للمهام التابعة عند تغييرها في أي مكان.
ستعرض الإضافة أيضًا تاريخ البدء الأقدم وتاريخ الانتهاء الأحدث في رأس التصنيف.
سيتم حساب المدة الإجمالية للمشروع تلقائيًا. كما يمكنك قفل مهام معينة لمنع الحساب التلقائي لتواريخ البدء والانتهاء من التأثير عليها.
يشرح هذا الفيديو على يوتيوب كيفية استخدام الإضافة:

قيد التنفيذ:

  • عرض الرسائل على الشاشات المحمولة أو الضيقة
  • إضافة عرض قائمة المواضيع لعرض المهام بالترتيب الطوبولوجي (+إزاحة المهام التابعة قليلاً)
  • استخدام ناقل الرسائل لإخطار المستخدمين الآخرين بالتغييرات
  • إضافة إمكانية المراجعة لمهام المشروع
  • إضافة دعم للمشاريع الفرعية (سيكون المشروع الفرعي مهمة في مشروع واحد، ولكنه أيضًا تصنيف مستقل)
  • تحسين واجهة المستخدم (استخدام الروابط بدلاً من الأزرار وما إلى ذلك)
  • كتابة الاختبارات
  • إضافة عرض تقويمي كما اقترح @Bank_Live في Projects management plugin - #10 by Bank_Live
  • حالة المهمة: مكتملة / غير مكتملة بعد
  • خطأ: استدعاء setup projects_task عند تغيير معرف التصنيف بدلاً من تهيئة المؤلف

التثبيت

اتبع دليل تثبيت إضافة
من منصة ديسكورش الرسمية، باستخدام الأمر git clone https://github.com/spirobel/projects.git
كأمر للإضافة.

قصيدة

أنا معتمد عليك.
أنت معتمد عليّ.
من هو المعتمد؟
ومن هو المعتمد عليه؟

الكود على GitHub

30 إعجابًا

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 إعجابات

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)

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 إعجابات

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

Broken

إعجاب واحد (1)

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)

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

إعجاب واحد (1)

Ok I mean same this.

إعجاب واحد (1)

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)

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)

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)

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

مرحبًا، أنا مستخدم جديد في منصة Discourse الفنية المجتمعية. أبحث عن إضافة لإدارة المشاريع للمشاريع الصغيرة داخل مجتمعنا في Discourse. هل لا تزال هذه الإضافة مستخدمة؟

إعجاب واحد (1)

كان هذا أول إضافة كتبتها لتعلم كيفية كتابة إضافات لـ Discourse. وهي حالياً في حالة غير مكتملة. لم أقرر بعد الاتجاه الذي أريد أن أتخذه مع هذه الإضافة، لكنني أرغب بالتأكيد في مواصلة العمل عليها وإعادة توظيف الكود الذي كتبته. سأكون سعيداً إذا أخبرتني عن حالة الاستخدام الخاصة بك. ويمكنك أيضاً مراسلتي عبر الرسائل الخاصة إذا كان ذلك أكثر راحة لك! :smiley:

5 إعجابات

شكرًا لك على عملك الرائع @spirobel!

ما هو الوضع الحالي لهذا الإضافة؟ أحب أن أستخدمه في مثيلي، لكنني حذر من تثبيت إضافة تكون في حالة تطوير غير معروفة حاليًا.

شكرًا لك!

3 إعجابات

أعمل حاليًا على إعادة كتابة إضافة المحرر الأساسية، وقد أعود إلى هذه الإضافة لاحقًا. لكن سيتعين عليّ إعادة التفكير في الفئة المستهدفة لهذه الإضافة. سأكون سعيدًا جدًا للاستماع إلى ما تود استخدامه لها. وينطبق الأمر نفسه على أي شخص يقرأ هذا: فقط اكتب كيف تود استخدام Discourse لإدارة مشاريعك. ربما يمكننا العصف الذهني معًا :slight_smile: :+1:

إعجابَين (2)