vrtc / chorus (public) (License: CC0) (since 2023-08-12) (hash sha1)
World of Warcraft add-on stub. The overall goal is to create a specialized raid frame.
List of commits:
Subject Hash Author Date (UTC)
fix: globalize string constants cc5893ba83f388c0a58b183321f63867b10248ad Vladyslav Bondarenko 2024-06-14 15:12:35
feat: always show player frame 1eb20501d74ee931691f02abc31a176569a7d299 Vladyslav Bondarenko 2024-06-14 14:34:42
feat: add header background to larger units ef000eebb9ef5a8211f6aff47e2a1c38a3badf4a Vladyslav Bondarenko 2024-06-14 13:54:04
feat: unknown unit level is rendered as red f830dfcf22bf2f8e5c087de8f42a89f6733f5269 Vladyslav Bondarenko 2024-06-14 13:51:34
fix: make unit level text bold 2a4ea6baea2107a3f1ec8ab7bca4edb169a4575b Vladyslav Bondarenko 2024-06-14 13:51:01
feat: narrow backdrop for larger frames 77b080701c68bb8f6e353e15586f0e8063266d5c Vladyslav Bondarenko 2024-06-14 11:24:16
fix!: clever defaults for backdrop dimensions 2b894d724b4c9c97f5c27b98f43bf3e4616cb1ed Vladyslav Bondarenko 2024-06-14 10:58:30
fix!: render backdrop reliably for TOT frames 2f45f0afaee507cc5fc88a9892bf4474c644f173 Vladyslav Bondarenko 2024-06-14 09:55:18
fix: solo and party frames must never overlap 6776655fe59277688c4cb6b19d00f6dcf41cca89 Vladyslav Bondarenko 2024-06-14 09:13:23
fix: tiny unit frame border visual glitch 14090239c7535614ce4a02c7ee06d8204dd90a74 Vladyslav Bondarenko 2024-06-13 14:36:22
fix: generalize frame backdrop color picker 9960ac95ee03be3d8c93c49f773b850b057d9502 Vladyslav Bondarenko 2024-06-12 10:04:46
fix: remove some obsolete notes 2e0bd3ec7f1e445473836d4a97817dece7e8e4c3 Vladyslav Bondarenko 2024-06-12 09:11:32
fix: show aura tooltip given spell name 75860ee70c3e2fdcef8c51b56e86eaa3178c9a0d Vladyslav Bondarenko 2024-02-06 22:04:10
fix!: correct aura weight map validator 9df60b2e2da12d9f6f1470610a638aa6de3b31e7 Vladyslav Bondarenko 2024-01-28 22:27:59
doc: add `ldoc` annotations 0f7e2cbf74fe354c1c34fc9cd63b8b53237f8682 Vladyslav Bondarenko 2024-01-28 21:58:55
fix!: load the add-on correctly b857b8764be59195f65137f2bd577289d7c76cc9 Vladyslav Bondarenko 2024-01-28 04:46:25
release: prepare release 0.7.0 ba97f4d7e7eb9ff984d88d75a740e24c0e90bb05 Vladyslav Bondarenko 2024-01-27 15:10:27
doc: add recipe to produce documentation de290d89eee64d11752024b3b7dd5eeea062414e Vladyslav Bondarenko 2024-01-27 15:03:45
build: move test files to separate directory 629a79fd7ea24f487655001cee2364ea3398628b Vladyslav Bondarenko 2024-01-26 00:59:22
build: minor patch to appease static analysis 7c3af6a2309236acd2d2de3eccfe550d296aba39 Vladyslav Bondarenko 2024-01-26 00:45:50
Commit cc5893ba83f388c0a58b183321f63867b10248ad - fix: globalize string constants
When unit is dead, show a relevant label on the health bar. Instead of
hardcoded English, use `GlobalStrings.lua` constants from the game
client environment. That is, globalize string constants.
Author: Vladyslav Bondarenko
Author date (UTC): 2024-06-14 15:12
Committer name: Vladyslav Bondarenko
Committer date (UTC): 2024-06-14 15:16
Parent(s): 1eb20501d74ee931691f02abc31a176569a7d299
Signer:
Signing key: EFF9624877D25D02
Signing status: E
Tree: bb0dfdcda1325a20b43f41a73531879c9cc66fb3
File Lines added Lines deleted
src/ChorusProgressFrameTemplate.lua 11 3
File src/ChorusProgressFrameTemplate.lua changed (mode: 100644) (index 53a781a..a6e41bd)
... ... local UnitPower = Chorus.test.UnitPower or UnitPower
29 29 local UnitPowerMax = Chorus.test.UnitPowerMax or UnitPowerMax local UnitPowerMax = Chorus.test.UnitPowerMax or UnitPowerMax
30 30 local UnitPowerType = Chorus.test.UnitPowerType or UnitPowerType local UnitPowerType = Chorus.test.UnitPowerType or UnitPowerType
31 31
32 --[[ See `FrameXML/GlobalStrings.lua`. ]]--
33 local CORPSE = CORPSE or 'CORPSE'
34 local DEAD = DEAD or 'DEAD'
35 local DEATH_RELEASE = DEATH_RELEASE or 'DEATH_RELEASE'
36
32 37 local PowerBarColor = PowerBarColor local PowerBarColor = PowerBarColor
33 38 local RAID_CLASS_COLORS = RAID_CLASS_COLORS local RAID_CLASS_COLORS = RAID_CLASS_COLORS
34 39 local SecureButton_GetUnit = Chorus.test.SecureButton_GetUnit or SecureButton_GetUnit local SecureButton_GetUnit = Chorus.test.SecureButton_GetUnit or SecureButton_GetUnit
 
... ... local function applyOverlayHealth(self, unitDesignation)
241 246 return return
242 247 end end
243 248
249 --[[ See `FrameXML/GlobalStrings.lua`. ]]--
250 local s = nil
244 251 if UnitIsCorpse(unitDesignation) then if UnitIsCorpse(unitDesignation) then
245 label1:SetText('(Corpse)')
252 s = '(' .. (CORPSE or 'CORPSE') .. ')'
246 253 elseif UnitIsGhost(unitDesignation) then elseif UnitIsGhost(unitDesignation) then
247 label1:SetText('(Ghost)')
254 s = '(' .. (DEATH_RELEASE or 'GHOST') .. ')'
248 255 elseif UnitIsDead(unitDesignation) then elseif UnitIsDead(unitDesignation) then
249 label1:SetText('(Dead)')
256 s = '(' .. (DEAD or 'DEAD') .. ')'
250 257 end end
258 label1:SetText(s)
251 259 end end
252 260 end end
253 261
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/vrtc/chorus

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/vrtc/chorus

Clone this repository using git:
git clone git://git.rocketgit.com/user/vrtc/chorus

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main