13 Commits

Author SHA1 Message Date
Oliver Günther 4d731dcab6 Replace raw and explicit html_safe calls 2026-03-20 09:49:10 +01:00
Ivan Kuchin 0b1f73ec79 erb_lint auto except rubocop linter 2025-02-11 18:49:19 +01:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Henriette Darge 5324e36cca Replace the dropdown menu in the projects list with a Primer::Alpha::Action menu 2024-04-15 10:26:12 +02:00
ulferts c7eec30bdf move helper methods to project table/row component 2024-03-01 09:43:40 +01:00
Behrokh Satarnejad a5ee5ca606 [52127] project list truncate long text fields and disable expand action (#14838)
* remove unnecessary code

* remove column for collapsing in table

* truncate project status description and add dialog to the end of it

* change dialog title for project status description

* change dialog title for custom fields of long text

* add dialog and truncation for project description

* add a test for it

* change element for long text and add divider for modal header

* show the expand link for the long text with table

* move styes from table sass file to projects list style sheet

* change class names

* Update _table.sass

* show expand button when there is a macro in a long text field

* change size of modal to large

* remove divider of modal header

* create a separate component to be used for attribute dialog

* create a new stimulus controller for cell changes

* create a new component for showing a long text in a cell

* remove unnecessary classes

* use attribute component to show long text value on list

* check if the attribute value is multi type then show a specific text for it

* delete project controller

* add more test cases

* remove margin from text element

* remove duplicated code

* remove gear icon from table header

* use targetConnected callback instead of connect
2024-02-29 17:29:00 +01:00
Christophe Bliard c795874f7f Update copyright year for 2024
command used: `rg -l 'Copyright \(C\) 2012-202\d the OpenProject' | xargs -n 100 sed -i -r 's/Copyright \(C\) 2012-202. the OpenProject/Copyright (C) 2012-2024 the OpenProject/'`
2024-01-02 16:23:54 +01:00
Klaus Zanders da9dc2070e Do not display project infos on the index page 2023-12-11 10:14:43 +01:00
Aaron Contreras 1b179c69bc Refactor Stimulus ProjectController to better leverage targets
Found the use of a `data-filter-name` and `data-project-id`
brought better clarity to the javascript involved in a specific view and
a better "place to find the involved code".
2023-05-31 22:15:54 +02:00
Aaron Contreras 28982ea237 Convert toggleDescription to Stimulus 2023-05-31 22:15:53 +02:00
Christophe Bliard a0a9748cf5 Fix call to helper in component 2023-05-30 12:35:16 +02:00
Dombi Attila 804462f00c Remove including helpers in ViewComponents, use the #helpers method instead (#12709)
* Remove including helpers in ViewComponents, and use the #helpers method instead
2023-05-30 06:43:37 +02:00
Dombi Attila 5ce9405ee8 [#47013] Replace Projects::TableCell by ViewComponent
https://community.openproject.org/work_packages/47013
2023-05-23 15:31:46 +03:00