Skip to content

Panel Submenu - #609

Open
SAASVUUV wants to merge 30 commits into
mainfrom
panel_submenu
Open

SAASVUUV wants to merge 30 commits into
mainfrom
panel_submenu

Conversation

@SAASVUUV

Copy link
Copy Markdown
Contributor

Adição de novo submenu "Painel"

config.field_search.columns = [:name, :year, :semester]
config.columns[:name].search_ui = :text

config.columns[:name].label = I18n.t("panel.admission_data.process_name")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Será que ao invés de definir cada label não é melhor usar o caminho padrão no locale?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eu defini no novo locale (panel.admission_data.process_name) que o nome da coluna seria "Processo Seletivo", pois o padrão de :name para admission_process é "nome". Achei mais informativo a nova abordagem, além de não ser custosa e nem complicada de entender no código.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E o mesmo vale para as outras colunas

@github-code-quality

github-code-quality Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Code Coverage Overview

Languages: Ruby

Ruby / code-coverage/simplecov

The overall line coverage in commit 775ddf4 in the panel_submenu branch remains at 81%, unchanged from commit ab334de in the main branch.

Show a line coverage summary of the most impacted files.
File main ab334de panel_submenu 775ddf4 +/-
app/models/admi...sion_process.rb 68% 66% -2%
app/models/admi.../filled_form.rb 47% 49% +2%
app/helpers/pan..._data_helper.rb 0% 33% +33%
app/controllers...a_controller.rb 0% 71% +71%
app/helpers/adm...xport_helper.rb 0% 80% +80%
app/helpers/pan...files_helper.rb 0% 90% +90%
app/controllers...s_controller.rb 0% 98% +98%
app/models/conc...file_cleanup.rb 0% 100% +100%
app/controllers...bled_concern.rb 0% 100% +100%
app/models/carr..._orphan_file.rb 0% 100% +100%

Updated September 09, 2026 18:56 UTC

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants