File tree Expand file tree Collapse file tree 2 files changed +44
-35
lines changed
lib/error_tracker/web/live Expand file tree Collapse file tree 2 files changed +44
-35
lines changed Original file line number Diff line number Diff line change 8787 < . badge :if = { error . status == :unresolved } color = { :red } > Unresolved</ . badge >
8888 </ td >
8989 < td class = "px-4 py-4 text-center " >
90- < . button
91- :if = { error . status == :unresolved }
92- phx-click = "resolve "
93- phx-value-error_id = { error . id }
94- >
95- Resolve
96- </ . button >
90+ < div class = "flex justify-between " >
91+ < . button
92+ :if = { error . status == :unresolved }
93+ phx-click = "resolve "
94+ phx-value-error_id = { error . id }
95+ >
96+ Resolve
97+ </ . button >
9798
98- < . button
99- :if = { error . status == :resolved }
100- phx-click = "unresolve "
101- phx-value-error_id = { error . id }
102- >
103- Unresolve
104- </ . button >
99+ < . button
100+ :if = { error . status == :resolved }
101+ phx-click = "unresolve "
102+ phx-value-error_id = { error . id }
103+ >
104+ Unresolve
105+ </ . button >
105106
106- < . button :if = { ! error . muted } phx-click = "mute " type = "link " phx-value-error_id = { error . id } >
107- Mute
108- </ . button >
107+ < . button :if = { ! error . muted } phx-click = "mute " type = "link " phx-value-error_id = { error . id } >
108+ < . icon name = " bell-slash " /> Mute
109+ </ . button >
109110
110- < . button :if = { error . muted } phx-click = "unmute " type = "link " phx-value-error_id = { error . id } >
111- Unmute
112- </ . button >
111+ < . button
112+ :if = { error . muted }
113+ phx-click = "unmute "
114+ type = "link "
115+ phx-value-error_id = { error . id }
116+ >
117+ < . icon name = "bell " /> Unmute
118+ </ . button >
119+ </ div >
113120 </ td >
114121 </ tr >
115122 </ tbody >
Original file line number Diff line number Diff line change 117117 </ . section >
118118
119119 < . section >
120- < . button :if = { @ error . status == :unresolved } phx-click = "resolve " >
121- Mark as resolved
122- </ . button >
123-
124- < . button :if = { @ error . status == :resolved } phx-click = "unresolve " >
125- Mark as unresolved
126- </ . button >
127-
128- < . button :if = { ! @ error . muted } phx-click = "mute " type = "link " >
129- Mute
130- </ . button >
131-
132- < . button :if = { @ error . muted } phx-click = "unmute " type = "link " >
133- Unmute
134- </ . button >
120+ < div class = "flex flex-col gap-y-4 " >
121+ < . button :if = { @ error . status == :unresolved } phx-click = "resolve " >
122+ Mark as resolved
123+ </ . button >
124+
125+ < . button :if = { @ error . status == :resolved } phx-click = "unresolve " >
126+ Mark as unresolved
127+ </ . button >
128+
129+ < . button :if = { ! @ error . muted } phx-click = "mute " type = "link " >
130+ < . icon name = "bell-slash " /> Mute
131+ </ . button >
132+
133+ < . button :if = { @ error . muted } phx-click = "unmute " type = "link " >
134+ < . icon name = "bell " /> Unmute
135+ </ . button >
136+ </ div >
135137 </ . section >
136138 </ div >
137139</ div >
You can’t perform that action at this time.
0 commit comments