OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
change the ui of projects filter, moving the filters button and text box in one row
Behrokh Satarnejaded8c483c5051
diff --git a/app/components/projects/filters_component.html.erb b/app/components/projects/filters_component.html.erbindex fdb1c85a1fe..5b17b212b0a 100644--- a/app/components/projects/filters_component.html.erb+++ b/app/components/projects/filters_component.html.erb@@ -1,19 +1,23 @@<div data-controller="project-filters"data-application-target="dynamic"data-project-filters-display-filters-value="<%= helpers.show_filters_section? %>">- <%= render(- Primer::Beta::IconButton.new(- icon: :filter,- size: :medium,- aria: { label: t(:label_filters_toggle) },- mr: 2,+ <div style="display: flex;">+ <%= render(+ Primer::Beta::Button.new(+ scheme: :secondary,mb: 2,data: { 'project-filters-target': 'filterFormToggle','action': 'project-filters#toggleDisplayFilters','test-selector': 'project-filter-toggle' })- )- %>+ ) { t(:label_filter) }+ %>+ <%= text_field_tag :filterText,+ '',+ class: 'advanced-filters--text-field -slim',+ placeholder: t(:label_filter_by_text)+ %>+ </div><%= form_tag({},method: :get,diff --git a/config/locales/en.yml b/config/locales/en.ymlindex f5202baa8cf..720e478b660 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -1908,6 +1908,8 @@ en:label_feeds_access_key_type: "RSS"label_file_plural: "Files"label_filter_add: "Add filter"+ label_filter: "Filter"+ label_filter_by_text: "Filter by text"label_filter_plural: "Filters"label_filters_toggle: "Show/hide filters"label_float: "Float"