Componentizes blocks (inheriting from `Grid::WidgetComponent`) as well
as implementing `BlocksGridComponent`.
Moves responsibility for data loading from controller to individual
block components.
Favorite is the correct term in the context of expressing a preference
for a particular project / other OpenProject domain object.
Updates `ActsAsFavorable` to `ActsAsFavoritable`, as well as filenames,
identifiers and strings to:
favored => favorited
favorable => favoritable
favoring => favoriting
* add a new helper for breadcrumb in wiki page
* set page header in destroy page
* set page header in edit page
* set page header in history and rename and edit parent pages
* change toolbar items into page header items
* add new wiki action to sub header
* remove version edit page which is not in use any more
* add export as a menu item of the header
* fix rubocup errors
* fix failing tests
* replace page header in annotate page
* replace page header in diff page
* add page header in select menu page
* fix rubocup errors
* fix errors on rename test
* fix errors on selecting items from toolbar
* fix errors on tests for child pages
* set correct permission for configure menu item
* replace page header in summary page
* replace page header in summary details page
* edit docs of sub header
* add page header in wiki new page
* remove controller and a route for edit method
* undo changes for docs of sub header
* extract header in show page into a new component
* use helper method in header component
* add wiki module to the breadcrumb
* rename page header component for wiki page
* simplify how lock and lock implemented
* extract sub header
* remove wiki title from header of history page
* fix page header in new page
* use page.find_test_selector in test
* fix failing test for summary page
* fix failing test for wiki child pages
* change the summary test
* use test selector for page header title
* undo changes for activate user in admin
* use test selector in adding editing history test
* use test selector in attachment upload test
* use test selector in child pages tests
* use test selector in wiki menu items tests
* change test selector for breadcrumbs
* extract conditions to show edit button into a method
* extract conditions to show rollback action menu item into a method
* extract conditions to show create button into a method
* fix duplicated code in test
* Remove outdated `show_local_breadcrumb` method which is replaced by the Primer::PageHeader breadcrumb
* Remove `default_breadcrumb` method as it serves no prupose any more
* Remove the old breadcrumb and its hook completely
* remove breadcrumbs path from rename
* fix translations errors in storages
* undo changes on translations
* remove default breadcrumbs in time tracking controller
---------
Co-authored-by: Behrokh Satarnejad <b.satarnejad@openproject.com>
Co-authored-by: Behrokh Satarnejad <62008897+bsatarnejad@users.noreply.github.com>
Updates the copyright to 2021 for all files that have a copyright. Files in our source code without the copyright header still do not receive one automatically. Additionally, backlisted files are also excluded.
Previously the copyright of chiliproject which references redmine stated a copyright of redmine up to and including 2017 which is not true for the code we have in here. Because of that I changed that to 2013
* in main menu add gantt as extra work package child item
* Satisfy spec and code climate
* Add gantt chart icon behin default gantt query name.
* WIP Query menu in left sidebar
* Shift query dropdown in left sidenav
* Reload menu or load query on click from every project location
* WIP set correct label for default queries
* Query menu listens on all changes of queries (delete, create, rename, toggle starred) and updates immediatly
* WIP: Inline edit, field validation
* Inline Edit validation and comfirm
* Inline edit: validation of duplicate name
* Set default columns and sorting for static queries
* Codeclimate issues fixed
* WIP Inline edit validation not working perfectly in all error states
* Inline edit working
* Autocompleter hover disabled and hovering over categories fixed
* Category hover and toggle fixed; tested in Chrome, Firefox and Opera
* Placeholder cut off fixed and text wrap added
* English and german wording adjusted
* Styles of inline edit and menu adjusted; matching wiki page styles
* prevent menus to be displayed to often
* application menu only displayed on work package
* specify using no_menu layout more often
* adapt tests to altered production implementation
* Hamburger icon only in project; on global wp page: default queries shown correctly and summary removed
* searching for undefined leads to error
* Accessible click fixed (listen on escape)
* Gantt in top menu deleted (gantt chart is part of default queries on wp page)
* load menu on wp summary page
* reduce times queries are loaded
* lowercase on second word
* remove menu from search and home
* Styles fixed (category toggle and correct highlighting)
* reflect static query in url
* fix autocomplete handling in specs
* Open all global menus on default and hide hamburger icon on global pages; Rebuild changes that have been ovrwritten after merge"
* Correct highlighting of default queries after reload
* Replace summary cuke with spec
* WIP
* Clear up selectors
* Avoid actively setting promises and instead use $state.go to load links
[ci skip]
* Make editable title component a little simpler
We can reuse the component I built for the wiki, that wasn't present in
the frontend beforehand.
* Fix moving through the menu and selecting items
[ci skip]
* Add save button to query title when query changed
* Improve static names lookup by comparing query_props
* Adapt and fix specs
* Allow inner scrolling of wp query results
Also, style the webkit scrollbar to make it pretty where supported
* Allow renaming the query through setting menu, but simply focus on field
[ci skip]
This commit adds a new static helper for Links now used on more than
location in OpenProject (Homescreen + Help menu).
It allows to override the help link using the `configuration.yml`.
If it is overriden, no dropdown is rendered, but only a single link.
This commit alleviates the homescreen management from both core and
plugins, in order to simply add and remove blocks.
Also contains refactoring from review
* Consistent block and variable usage
* Removed unused labels
* Avoid word breaks in multiline enumerations and remove margin from enumerations
This commit adds the homescreen functionality to OpenProject,
replacing the default welcome screen.
This adds support for:
* Blocks of content for various privilege levels (latest projects, users, news, etc.)
* Links to common functionality (administration, community)
Relevant work package:
https://community.openproject.org/work_packages/19722