#5565 (Replace "Project" by "Topics" in Noi)
by Luc Saffre · in Developers · assigned to Luc Saffre
Summary
Because our list of "projects" in Jane is actually a list of topics, and we actually want to assign multiple topics to a ticket.
Children
Comments
- 2 years, 6 months ago by Luc Saffre about #5565 (Replace "Project" by "Topics" in Noi) : I had removed lino_care.lib.topics package (because it was useless), but forgot to remove it from setup_info.py. And there was no test_packages.py in care, that's why the mistake passed unrecognized. Tomorrow the cron job should pass again without error.
- 2 years, 6 months ago by Luc Saffre about #5565 (Replace "Project" by "Topics" in Noi) : cron daemon on LF now reported an error "package directory 'lino_care/lib/topics' does not exist", which is obviously a side effect of my changes yesterday.
- 2 years, 6 months ago by Luc Saffre about #5565 (Replace "Project" by "Topics" in Noi) : I finished this ticket and published my work.
- 2 years, 6 months ago by Luc Saffre about #5565 (Replace "Project" by "Topics" in Noi) : Explanation: I had to override Model.as_paragraph() and not Model.as_summary_row().
- 2 years, 6 months ago by Luc Saffre about #5565 (Replace "Project" by "Topics" in Noi) : The changes themselves were easy, but I got stuck because TagsByTopic uses Tag.__str__() rather than Tag.as_summary_row(). It's either a design flaw in the core, or a pitfall.
- 2 years, 6 months ago by Luc Saffre about #5565 (Replace "Project" by "Topics" in Noi) : But the topics plugin should get an editable virtual field "Add topic:", similar to "My comment:" but with a combobox instead of a textbox.
- 2 years, 6 months ago by Luc Saffre about #5565 (Replace "Project" by "Topics" in Noi) : Created new Ticket #5565 (Replace "Project" by "Topics" in Noi).