Skip to content

Commit

Permalink
#2055 fix slow opening of team analyzer panel (#2056)
Browse files Browse the repository at this point in the history
* update release_notes.md

* #2055 remove unused info label

* #2055 remove unused info label (code analysis results)

* #2055 release_notes.md

* #2055 release_notes.md
  • Loading branch information
wsbrenk committed Apr 28, 2024
1 parent 70d9ded commit b974bcf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 5 additions & 6 deletions src/main/java/module/teamAnalyzer/ui/TeamInfoPanel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import java.awt.Font
import java.awt.GridBagConstraints
import java.awt.GridBagLayout
import javax.swing.BorderFactory
import javax.swing.ImageIcon
import javax.swing.JLabel
import javax.swing.JPanel

Expand All @@ -23,14 +22,14 @@ class TeamInfoPanel : JPanel() {

fun setTeam(details: Map<String?, String?>) {
removeAll()
val hoVerwaltung = HOVerwaltung.instance();
val hoVerwaltung = HOVerwaltung.instance()
val isBot = isBot(details)

// Column 1
val infoLabel = JLabel()
infoLabel.icon = ImageIcon(details["LogoURL"])
infoLabel.text = hoVerwaltung.getLanguageString("ls.teamanalyzer.info")
border = BorderFactory.createTitledBorder("Info")
// val infoLabel = JLabel()
// infoLabel.icon = ImageIcon(details["LogoURL"])
// infoLabel.text = hoVerwaltung.getLanguageString("ls.teamanalyzer.info")
border = BorderFactory.createTitledBorder(hoVerwaltung.getLanguageString("ls.teamanalyzer.info"))
val gbc = GridBagConstraints()
layout = GridBagLayout()

Expand Down
11 changes: 6 additions & 5 deletions src/main/resources/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,15 @@

## Translations

Reports by Contributors - September 24, 2023 - March 26, 2024
Reports by Contributors - September 24, 2023 - April 28, 2024

* wsbrenk 214
* Sebastien 157
* wsbrenk 355
* Lidegand 178
* Sebastien 156
* Achilles 70
* \_KOHb\_ 22
* Georgi 10
* Moorhuhninho 3
* Lidegand 3
* sich 3

Total 412
Total 797

0 comments on commit b974bcf

Please sign in to comment.