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)
feat: Classify rare or elite units dd2c1f490c08a75774be085b318ebcd1b2788a2b Vladyslav Bondarenko 2023-08-29 21:18:49
feat(build): Remove cgitrc 1e6b59264abab70e1f2fa9ae494c74d2606c060f Vladyslav Bondarenko 2023-08-29 14:37:03
feat(build): Add cgitrc 7288f0336e36010fb92bf60479fdca3a0082ecd1 Vladyslav Bondarenko 2023-08-29 14:14:24
feat(build): Add cgitrc ea45afc0375774c2fe6bb0a3237cfd1817529ff0 Vladyslav Bondarenko 2023-08-29 14:14:24
feat(test)!: Toggle debug mode at runtime 23c37e3ab2eaf924f41fe51adc1e54f525222a8b Vladyslav Bondarenko 2023-08-29 03:41:55
fix: Aura tooltip is always opaque 1f7ba009c71796093b8cfa63cb38d918b9696c79 Vladyslav Bondarenko 2023-08-29 01:31:40
fix: Adjust aura tooltip toggle button layout fc72d10b09f44ef9ba6f2f93413a20def40c2d4a Vladyslav Bondarenko 2023-08-29 01:30:27
feat!: Add role widget 0ac8cda6522056c8adb527ba2f144229f251f69e Vladyslav Bondarenko 2023-08-29 00:59:14
fix: Only show power bar when appropriate 5313d1bfbf676c88b5c2a0a56fbea88549633b7b Vladyslav Bondarenko 2023-08-28 22:46:36
feat!: Toggle detailed unit aura tooltip in combat 460c622c04a8b0fa503c2a5d45313b667809b95c Vladyslav Bondarenko 2023-08-28 19:26:25
feat!: Add detailed buff and debuff popup 1ff7bcff470419c7fa40c6b946e441867dda4825 Vladyslav Bondarenko 2023-08-27 20:42:05
fix!: Further specialize every aura frame 1ec8385427bda76ea40840e68da7f5948d5af9bd Vladyslav Bondarenko 2023-08-27 18:40:55
feat: Add combat status indicator to unit buttons 38e469e01eb581693fd22f69b0739ea308d94966 Vladyslav Bondarenko 2023-08-27 16:35:38
fix!: Show raid targeting icon correctly ae5a1c5541d4bf137ea287671eb1f558422b26f4 Vladyslav Bondarenko 2023-08-27 15:24:57
fix!: Disable test mockup for release 0.4 54113d6a7f222ea2f382a1d5382c8e941e7537b1 Vladyslav Bondarenko 2023-08-26 22:42:33
fix: Apply source formatting before 0.4 cb1c5f11b553aba43751091c8746abdf261806e6 Vladyslav Bondarenko 2023-08-26 22:36:57
fix!: Cast bar consistent between targets a7c5e11ec5094033e946a95002010e5b02d6da74 Vladyslav Bondarenko 2023-08-26 21:56:35
fix(test)!: Add primitive test mockups f2b7fcf2058c7c1b61ef43241f55e92a5113bf57 Vladyslav Bondarenko 2023-08-26 16:55:54
feat(build): Update project descriptors for 0.3 740e01cc3a8888e0500ce213d7901f66625919ab Vladyslav Bondarenko 2023-08-25 21:15:10
feat: Add solo target of target f11b332540168ff42f4f9b53abd87b8b2a09db65 Vladyslav Bondarenko 2023-08-25 20:44:27
Commit dd2c1f490c08a75774be085b318ebcd1b2788a2b - feat: Classify rare or elite units
When given unit is rare or elite, and given the unit frame contains a
unit level widget, add special symbol that denotes the unit category
to level text.
Author: Vladyslav Bondarenko
Author date (UTC): 2023-08-29 21:18
Committer name: Vladyslav Bondarenko
Committer date (UTC): 2023-08-29 21:18
Parent(s): 5fc6322014c37a0b57d2f2c1943f49f89d02be80
Signer:
Signing key: EFF9624877D25D02
Signing status: E
Tree: 5ac0052d5a834fe26fac152d869c89b4d71dfc64
File Lines added Lines deleted
etc/luacheckrc.lua 1 0
src/ChorusUnitLevelFrameTemplate.lua 12 2
src/ChorusUnitLevelFrameTemplate.xml 3 3
File etc/luacheckrc.lua changed (mode: 100644) (index c8f64a0..4575ace)
... ... stds.wowapi = {
24 24 'UnitCastingInfo', 'UnitCastingInfo',
25 25 'UnitChannelInfo', 'UnitChannelInfo',
26 26 'UnitClass', 'UnitClass',
27 'UnitClassification',
27 28 'UnitDetailedThreatSituation', 'UnitDetailedThreatSituation',
28 29 'UnitExists', 'UnitExists',
29 30 'UnitGUID', 'UnitGUID',
File src/ChorusUnitLevelFrameTemplate.lua changed (mode: 100644) (index 8574554..aaefe3d)
... ... local function applyUnitLevel(self, unitDesignation)
50 50 if unitLevel then if unitLevel then
51 51 assert('number' == type(unitLevel)) assert('number' == type(unitLevel))
52 52
53 local t
53 54 if unitLevel > 0 then if unitLevel > 0 then
54 label:SetText(string.format('%d', unitLevel))
55 t = string.format('%d', unitLevel)
55 56 else else
56 label:SetText('?')
57 t = '?'
57 58 end end
58 59
60 local c = UnitClassification(unitDesignation)
61 if 'elite' == c or 'worldboss' == c or 'rareelite' == c then
62 t = t .. '!'
63 elseif 'rare' == c then
64 t = t .. '~'
65 end
66
67 label:SetText(t)
68
59 69 local r = 1 local r = 1
60 70 local g = 1 local g = 1
61 71 local b = 1 local b = 1
File src/ChorusUnitLevelFrameTemplate.xml changed (mode: 100644) (index 085bb27..8006470)
1 1 <?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
2 2 <Ui xmlns="http://www.blizzard.com/wow/ui/"> <Ui xmlns="http://www.blizzard.com/wow/ui/">
3 3 <Script file="ChorusUnitLevelFrameTemplate.lua"/> <Script file="ChorusUnitLevelFrameTemplate.lua"/>
4 <Frame name="ChorusUnitLevelFrameTemplate" virtual="true" frameLevel="9" frameStrata="TOOLTIP">
4 <Frame name="ChorusUnitLevelFrameTemplate" virtual="true">
5 5 <Size> <Size>
6 <AbsDimension x="24" y="16" />
6 <AbsDimension x="36" y="16" />
7 7 </Size> </Size>
8 8 <Layers> <Layers>
9 9 <Layer level="OVERLAY"> <Layer level="OVERLAY">
10 <FontString name="$parentText" inherits="ChorusFont12Sans" setAllPoints="true" justifyH="CENTER" justifyV="MIDDLE"/>
10 <FontString name="$parentText" inherits="ChorusFont12Sans" setAllPoints="true" justifyH="LEFT" justifyV="MIDDLE"/>
11 11 </Layer> </Layer>
12 12 </Layers> </Layers>
13 13 <Scripts> <Scripts>
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