ncssar / radiolog

SAR radio log program
Other
13 stars 3 forks source link

team tab label is always lowercase #694

Open caver456 opened 8 months ago

caver456 commented 8 months ago

decide what the correct case is: exact case as typed? force caps if it's a known/assumed acronym, regardless of typing?

caver456 commented 8 months ago

Be careful when making any case changes - uppercase / lowercase / case-sensitivity was the core probably behind #452 which took quite a bit of sleuthing.

caver456 commented 7 months ago

see pic in probably-duplicate issue #701

caver456 commented 7 months ago

Trying to reproduce the issue: adding a new entry and setting the callsign field to 'Team PcsoDrone':

image

image

image

capital D is preserved in the entry callsign text, but not in the team tab or in the sidebar, or in self.extTeamNameList:

150137:Accepted
150137:newEntry called with these values:
150137:['1501', 'FROM', 'Team PcsoDrone', 'DEPARTING IC', None, 'In Transit', 1701558066.0240748, None, None, None]
150137:new team: newTeamName=Team PcsoDrone extTeamName=z_TeamPcsodrone niceTeamName=Team Pcsodrone shortNiceTeamName=Pcsodrone
150137:extTeamNameList before sort:['dummy', 'z_TeamPcsodrone']
150137:grouped tabs:{'NCSOcmd': [], 'NCSO': [], 'NCPD': [], 'TPD': [], 'GVPD': [], 'CHP': [], 'Numbers': [], 'other': ['dummy', 'z_TeamPcsodrone']}
150137:extTeamNameList after sort:['spacerLeft', 'z_TeamPcsodrone']
150137:next available hotkey:1
150137:Accepted2
150137:  writing C:\Users\caver\RadioLog\New_Incident_2023_12_02_150103\New_Incident_2023_12_02_150103.csv
150137:  done writing C:\Users\caver\RadioLog\New_Incident_2023_12_02_150103\New_Incident_2023_12_02_150103.csv
150137:  writing C:\Users\caver\RadioLog-2WD\New_Incident_2023_12_02_150103.csv
150137:  done writing C:\Users\caver\RadioLog-2WD\New_Incident_2023_12_02_150103.csv
150137:  writing C:\Users\caver\RadioLog\New_Incident_2023_12_02_150103\New_Incident_2023_12_02_150103_clueLog.csv
150137:  done writing C:\Users\caver\RadioLog\New_Incident_2023_12_02_150103\New_Incident_2023_12_02_150103_clueLog.csv
150137:  writing C:\Users\caver\RadioLog-2WD\New_Incident_2023_12_02_150103_clueLog.csv
150137:  done writing C:\Users\caver\RadioLog-2WD\New_Incident_2023_12_02_150103_clueLog.csv