Skip to content

Commit 74746f5

Browse files
Refatorar painéis do JournalProxyEditor - organização e ordenação de campos (#1317)
* Initial plan * Add comments to indicate fields not visible to editorial team Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com> * Move sponsor_history from institutions panel to policy panel Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com> * Move frequency and publishing_model from website panel to titles panel Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com> * Move preprint, peer_review, and open_data from open_science panel to policy panel Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com> * Order fields in panels_titles alphabetically (A, B, D, E, F) Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com> * Order fields in panels_website (sections 09, 10) Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com> * Order fields in panels_open_science (sections 02, 03a, 03b, 04) Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com> * Order fields in panels_policy (sections 01-14) Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com> * Order fields in panels_instructions_for_authors (sections 01-07) Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com> * Remove comment from title field as requested Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com> * Address PR review feedback: uncomment mission, move official to top, move copyright_holder_history to license section Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com> * Consolidate invisible field comments to reduce redundancy Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com>
1 parent f3e5763 commit 74746f5

1 file changed

Lines changed: 103 additions & 100 deletions

File tree

journal/proxys.py

Lines changed: 103 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,37 @@ class JournalProxyEditor(Journal):
99
panels_titles = [
1010
# SOBRE O PERIÓDICO - 08 - Ficha Bibliográfica - F - Ano de criação do periódico / ISSN
1111
AutocompletePanel("official", read_only=True),
12-
# SOBRE O PERIÓDICO - 08 - Ficha Bibliográfica - A - Título do periódico
1312
FieldPanel("title", read_only=True),
1413
# SOBRE O PERIÓDICO - 08 - Ficha Bibliográfica - B - Título abreviado do periódico
1514
FieldPanel("short_title"),
15+
# SOBRE O PERIÓDICO - 08 - Ficha Bibliográfica - D - Periodicidade
16+
FieldPanel("frequency"),
17+
# SOBRE O PERIÓDICO - 08 - Ficha Bibliográfica - E - Modalidade de publicação
18+
FieldPanel("publishing_model"),
19+
# Campo não deve ficar visível para o perfil da equipe editorial / editores
1620
# InlinePanel("other_titles", label=_("Other titles")),
1721
]
1822

1923
panels_scope_and_about = [
20-
# InlinePanel("mission", label=_("Mission")),
24+
InlinePanel("mission", label=_("Mission")),
2125

2226
# SOBRE O PERIÓDICO - 01 - brief history
2327
InlinePanel("history", label=_("Brief History")),
2428

2529
# SOBRE O PERIÓDICO - 05 - focus and scope
2630
InlinePanel("focus", label=_("Focus and Scope")),
27-
# AutocompletePanel("subject"),
28-
# InlinePanel("thematic_area", label=_("Thematic Areas")),
29-
# AutocompletePanel("subject_descriptor"),
30-
# AutocompletePanel("wos_area"),
31-
# AutocompletePanel("wos_db"),
3231

3332
# SOBRE O PERIÓDICO - 07a - Fontes de Indexação padronizadas
3433
AutocompletePanel("indexed_at"),
3534
# SOBRE O PERIÓDICO - 07b - Fontes de Indexação adicionais / não padronizadas
3635
AutocompletePanel("additional_indexed_at"),
3736

37+
# Campos não devem ficar visíveis para o perfil da equipe editorial / editores
38+
# AutocompletePanel("subject"),
39+
# InlinePanel("thematic_area", label=_("Thematic Areas")),
40+
# AutocompletePanel("subject_descriptor"),
41+
# AutocompletePanel("wos_area"),
42+
# AutocompletePanel("wos_db"),
3843
# AutocompletePanel("vocabulary"),
3944
# InlinePanel("title_in_database", label=_("Title in Database")),
4045
]
@@ -44,16 +49,21 @@ class JournalProxyEditor(Journal):
4449
InlinePanel("owner_history", label=_("Owner")),
4550
# SOBRE O PERIÓDICO - 08 - Ficha Bibliográfica - C2 - Publicação de
4651
InlinePanel("publisher_history", label=_("Publisher")),
47-
48-
# POLÍTICA EDITORIAL - 14 - Patrocinadores e Agências de Fomento
49-
InlinePanel("sponsor_history", label=_("Sponsor")),
50-
# InlinePanel(
51-
# "copyright_holder_history",
52-
# label=_("Copyright Holder"),
53-
# ),
5452
]
5553

5654
panels_website = [
55+
# SOBRE O PERIÓDICO - 09 - Websites e Mídias Sociais
56+
InlinePanel("social_networks", label=_("Social Network")),
57+
58+
# SOBRE O PERIÓDICO - 09b - Websites
59+
FieldPanel("submission_online_url"),
60+
61+
# SOBRE O PERIÓDICO - 09c - Websites
62+
FieldPanel("journal_url"),
63+
64+
# SOBRE O PERIÓDICO - 09d - Websites
65+
FieldPanel("logo", heading=_("Logo")),
66+
5767
# SOBRE O PERIÓDICO - 10a - Contato
5868
FieldPanel("contact_name"),
5969
# SOBRE O PERIÓDICO - 10b - Contato
@@ -63,86 +73,52 @@ class JournalProxyEditor(Journal):
6373
# SOBRE O PERIÓDICO - 10d - Contato
6474
InlinePanel("journal_email", label=_("Contact e-mail")),
6575

66-
# SOBRE O PERIÓDICO - 09d - Websites
67-
FieldPanel("logo", heading=_("Logo")),
68-
# SOBRE O PERIÓDICO - 09c - Websites
69-
FieldPanel("journal_url"),
70-
76+
# Campos não devem ficar visíveis para o perfil da equipe editorial / editores
7177
# InlinePanel("related_journal_urls", label=_("Journal Urls")),
72-
73-
# SOBRE O PERIÓDICO - 09b - Websites
74-
FieldPanel("submission_online_url"),
7578
# FieldPanel("main_collection"),
76-
77-
# SOBRE O PERIÓDICO - 09 - Websites e Mídias Sociais
78-
InlinePanel("social_networks", label=_("Social Network")),
79-
80-
# SOBRE O PERIÓDICO - 08 - Ficha Bibliográfica - D - Periodicidade
81-
FieldPanel("frequency"),
82-
83-
# SOBRE O PERIÓDICO - 08 - Ficha Bibliográfica - E - Modalidade de publicação
84-
FieldPanel("publishing_model"),
8579
# FieldPanel("standard"),
8680
]
8781

8882
panels_open_science = [
89-
# FieldPanel("open_access"),
90-
9183
# SOBRE O PERIÓDICO - 02 - journal declares it is open access
9284
InlinePanel("open_access_text", label=_("Open Access")),
93-
# FieldPanel("url_oa"),
9485

9586
# SOBRE O PERIÓDICO - 03a - Conformidade com a Ciência Aberta - formulário de auto declaração
9687
InlinePanel("open_science_form_files", label=_("Open Science accordance form")),
88+
89+
# about_the_journal - 03b - Conformidade com a Ciência Aberta - declaração de conformidade
90+
InlinePanel(
91+
"open_science_compliance",
92+
label=_("Open Science Compliance"),
93+
),
9794

9895
# SOBRE O PERIÓDICO - 04 - Ética na Publicação
9996
InlinePanel(
10097
"ethics",
10198
label=_("Ethics"),
10299
),
103100

101+
# Campos não devem ficar visíveis para o perfil da equipe editorial / editores
102+
# FieldPanel("open_access"),
103+
# FieldPanel("url_oa"),
104104
# POLÍTICA EDITORIAL - 11b - Direitos Autorais / AUTORES CEDEM PARA PUBLICAR EM CC-BY
105105
# FieldPanel("journal_use_license"),
106+
]
106107

107-
# POLÍTICA EDITORIAL - 03 - Dados Abertos
108-
InlinePanel("open_data", label=_("Open data")),
109-
108+
panels_policy = [
110109
# POLÍTICA EDITORIAL - 01 - Preprints
111110
InlinePanel("preprint", label=_("Preprint")),
112111

113112
# POLÍTICA EDITORIAL - 02 - Peer review
114113
InlinePanel("peer_review", label=_("Peer review")),
115-
116-
# about_the_journal - 03b - Conformidade com a Ciência Aberta - declaração de conformidade
117-
InlinePanel(
118-
"open_science_compliance",
119-
label=_("Open Science Compliance"),
120-
),
121-
]
122114

123-
panels_policy = [
124-
125-
# POLÍTICA EDITORIAL - 10 - Comitê de Ética
126-
InlinePanel(
127-
"ethics_committee",
128-
label=_("Ethics Committee"),
129-
),
130-
# POLÍTICA EDITORIAL - 11a - detentor dos direitos autorais
131-
InlinePanel(
132-
"copyright",
133-
label=_("Copyright"),
134-
),
115+
# POLÍTICA EDITORIAL - 03 - Dados Abertos
116+
InlinePanel("open_data", label=_("Open data")),
135117

136-
# POLÍTICA EDITORIAL - 12 - Propriedade Intelectual e Termos de uso - Responsabilidade do site
137-
InlinePanel(
138-
"website_responsibility",
139-
label=_("Intellectual Property / Terms of use / Website responsibility"),
140-
),
141-
142-
# POLÍTICA EDITORIAL - 13 - Propriedade Intelectual e Termos de uso - Responsabilidade do autor
118+
# POLÍTICA EDITORIAL - 04 - Cobrança de Taxas
143119
InlinePanel(
144-
"author_responsibility",
145-
label=_("Intellectual Property / Terms of use / Author responsibility"),
120+
"fee_charging",
121+
label=_("Fee Charging"),
146122
),
147123

148124
# POLÍTICA EDITORIAL - 05 - Política de Ética e Más condutas, Errata e Retratação
@@ -151,7 +127,6 @@ class JournalProxyEditor(Journal):
151127
label=_("Retraction Policy | Ethics and Misconduct Policy"),
152128
),
153129

154-
# AutocompletePanel("digital_pa"),
155130
# about_the_journal - 06 - Preservação Digital - texto + link - poderia estar fixo no template html?
156131
InlinePanel(
157132
"digital_preservation",
@@ -170,31 +145,60 @@ class JournalProxyEditor(Journal):
170145
label=_("Similarity Verification Software Adoption"),
171146
),
172147

148+
# POLÍTICA EDITORIAL - 08 - Adoção de softwares uso de recursos de Inteligência Artificial
149+
# Uso por autores
150+
# Responsabilidade e transparência
151+
# Uso por pareceristas e editores
152+
# Processos de avaliação e decisões editoriais
153+
# Atualizações - TEXTO FIXO NO TEMPLATE HTML?
154+
InlinePanel(
155+
"artificial_intelligence",
156+
label=_("Artificial Intelligence"),
157+
),
158+
173159
# POLÍTICA EDITORIAL - 09 - Questões de Sexo e Gênero
174160
InlinePanel(
175161
"gender_issues",
176162
label=_("Gender Issues"),
177163
),
178-
# POLÍTICA EDITORIAL - 04 - Cobrança de Taxas
164+
165+
# POLÍTICA EDITORIAL - 10 - Comitê de Ética
179166
InlinePanel(
180-
"fee_charging",
181-
label=_("Fee Charging"),
167+
"ethics_committee",
168+
label=_("Ethics Committee"),
169+
),
170+
171+
# POLÍTICA EDITORIAL - 11a - detentor dos direitos autorais
172+
InlinePanel(
173+
"copyright",
174+
label=_("Copyright"),
175+
),
176+
InlinePanel(
177+
"copyright_holder_history",
178+
label=_("Copyright Holder"),
179+
),
180+
181+
# POLÍTICA EDITORIAL - 12 - Propriedade Intelectual e Termos de uso - Responsabilidade do site
182+
InlinePanel(
183+
"website_responsibility",
184+
label=_("Intellectual Property / Terms of use / Website responsibility"),
185+
),
186+
187+
# POLÍTICA EDITORIAL - 13 - Propriedade Intelectual e Termos de uso - Responsabilidade do autor
188+
InlinePanel(
189+
"author_responsibility",
190+
label=_("Intellectual Property / Terms of use / Author responsibility"),
182191
),
192+
193+
# POLÍTICA EDITORIAL - 14 - Patrocinadores e Agências de Fomento
194+
InlinePanel("sponsor_history", label=_("Sponsor")),
195+
196+
# Campos não devem ficar visíveis para o perfil da equipe editorial / editores
197+
# AutocompletePanel("digital_pa"),
183198
# InlinePanel(
184199
# "editorial_policy",
185200
# label=_("Editorial Policy"),
186201
# ),
187-
188-
# POLÍTICA EDITORIAL - 08 - Adoção de softwares uso de recursos de Inteligência Artificial
189-
# Uso por autores
190-
# Responsabilidade e transparência
191-
# Uso por pareceristas e editores
192-
# Processos de avaliação e decisões editoriais
193-
# Atualizações - TEXTO FIXO NO TEMPLATE HTML?
194-
InlinePanel(
195-
"artificial_intelligence",
196-
label=_("Artificial Intelligence"),
197-
),
198202
]
199203
# panels_notes = [InlinePanel("notes", label=_("Notes"))]
200204

@@ -210,11 +214,8 @@ class JournalProxyEditor(Journal):
210214
label=_("Authors Contributions"),
211215
),
212216

213-
# INSTRUÇÕES AOS AUTORES - 0? -
214-
# InlinePanel(
215-
# "preparing_manuscript",
216-
# label=_("Preparing Manuscript"),
217-
# ),
217+
# INSTRUÇÕES AOS AUTORES - 03 - Formato de Envio dos Artigos
218+
FieldPanel("format_check_list"),
218219

219220
# INSTRUÇÕES AOS AUTORES - 04 - Ativos Digitais
220221
InlinePanel(
@@ -228,34 +229,36 @@ class JournalProxyEditor(Journal):
228229
label=_("Citations and References"),
229230
),
230231

231-
# INSTRUÇÕES AOS AUTORES - 0? -
232-
# InlinePanel(
233-
# "supp_docs_submission",
234-
# label=_("Supplementary Documents Required for Submission"),
235-
# ),
236-
237232
# INSTRUÇÕES AOS AUTORES - 06 - Declaração de Financiamento
238233
InlinePanel(
239234
"financing_statement",
240235
label=_("Financing Statement"),
241236
),
242237

243-
# INSTRUÇÕES AOS AUTORES - 0? -
244-
# InlinePanel(
245-
# "acknowledgements",
246-
# label=_("Acknowledgements"),
247-
# ),
248238
# INSTRUÇÕES AOS AUTORES - 07 - Informações Adicionais
249239
InlinePanel(
250240
"additional_information",
251241
label=_("Additional Information"),
252242
),
243+
244+
# Campos não devem ficar visíveis para o perfil da equipe editorial / editores
245+
# INSTRUÇÕES AOS AUTORES - 0? -
246+
# InlinePanel(
247+
# "preparing_manuscript",
248+
# label=_("Preparing Manuscript"),
249+
# ),
250+
# INSTRUÇÕES AOS AUTORES - 0? -
251+
# InlinePanel(
252+
# "supp_docs_submission",
253+
# label=_("Supplementary Documents Required for Submission"),
254+
# ),
255+
# INSTRUÇÕES AOS AUTORES - 0? -
256+
# InlinePanel(
257+
# "acknowledgements",
258+
# label=_("Acknowledgements"),
259+
# ),
253260
# FieldPanel("author_name"),
254261
# FieldPanel("manuscript_length"),
255-
256-
# INSTRUÇÕES AOS AUTORES - 03 - Formato de Envio dos Artigos
257-
FieldPanel("format_check_list"),
258-
259262
# AutocompletePanel("text_language"),
260263
# AutocompletePanel("abstract_language"),
261264
]

0 commit comments

Comments
 (0)