Add comprehensive tests for EditSection functionality in the Windows application
- Implement tests for picker behavior, including loading sequences, searching, and handling empty libraries. - Validate sequence opening via Enter key and double-click actions. - Ensure proper handling of unsaved edits and sequence deletion scenarios. - Verify accessibility features for picker rows across different languages. - Introduce a dialog counting mechanism to manage unsaved edit confirmations.
This commit is contained in:
1 parent
4ea44bb917
commit
5aeb6aa787
214 files changed
+6547
-826
No files matched your search
+42
-34
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano — Sequence editor</title>
|
||||
<title>Titano — Edit</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -21,7 +21,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<button aria-label="Collapse navigation" style="height: 32px; border: 0; background: transparent; color: #a9aeb9; text-align: left; padding: 0 8px; border-radius: 6px; font: inherit; cursor: pointer">≡</button>
|
||||
<a href="Main.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 13px; border-radius: 6px; color: #a9aeb9; text-decoration: none">Library</a>
|
||||
<a href="Import.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 13px; border-radius: 6px; color: #a9aeb9; text-decoration: none">Import</a>
|
||||
<a href="Editor.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; background: #2f3038; color: #f2f3f5; text-decoration: none; border-left: 3px solid #4cc2ff">Sequence</a>
|
||||
<a href="Editor.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; background: #2f3038; color: #f2f3f5; text-decoration: none; border-left: 3px solid #4cc2ff">Edit</a>
|
||||
<a href="Archive.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 13px; border-radius: 6px; color: #a9aeb9; text-decoration: none">Archive</a>
|
||||
<a href="Jobs.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 13px; border-radius: 6px; color: #a9aeb9; text-decoration: none">Jobs<span style="margin-left: auto; background: #4cc2ff; color: #0b1b24; font-size: 11px; font-weight: 600; padding: 0 6px; border-radius: 8px">1</span></a>
|
||||
<a href="Server.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 13px; border-radius: 6px; color: #a9aeb9; text-decoration: none">Server</a>
|
||||
@@ -32,13 +32,23 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<main style="flex-grow: 1; display: flex; flex-direction: column; min-width: 0; padding: 0 16px 12px">
|
||||
<div style="height: 52px; display: flex; align-items: center; gap: 12px; flex-shrink: 0">
|
||||
<a href="Main.html" aria-label="Back to Library" title="Back to Library" style="text-decoration: none; font-size: 18px; color: #a9aeb9">←</a>
|
||||
<span style="font-size: 16px; font-weight: 600">Harbour sunset</span>
|
||||
<button title="Harbour sunset · Choose another sequence to edit; this one is saved first · Ctrl+O" style="max-width: 340px; height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #f2f3f5; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer"><span style="min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap">Harbour sunset</span>▾</button>
|
||||
<span style="color: #a9aeb9">3,600 frames · Canon EOS R5 · 2 s interval · 2 h 00 m · 3 warnings</span>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<button title="Read every frame again and refresh the analysis (about 6 minutes)" style="height: 32px; padding: 0 14px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">Analyse</button>
|
||||
<button title="Let the advisor set every section from the analysis and list what changed" style="height: 32px; padding: 0 14px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">Optimise all</button>
|
||||
<button title="Render with the selected preset · Ctrl+R" style="height: 32px; padding: 0 16px; border: 0; border-radius: 6px; background: #4cc2ff; color: #0b1b24; font: inherit; font-weight: 600; cursor: pointer">Render · 4K 10-bit HEVC ▾</button>
|
||||
</div>
|
||||
<nav aria-label="Path" style="height: 44px; box-sizing: border-box; padding-bottom: 8px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); flex-shrink: 0">
|
||||
<button title="Analysis · What the deep analysis measured and found, and which step deals with each finding · Analysed · 3 warnings · Alt+1" style="height: 36px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: #f2f3f5; font: inherit; cursor: pointer"><span style="width: 22px; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #35c48f; font-size: 15px">✓</span><span style="min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap">Analysis</span><span style="flex-grow: 1; height: 1px; background: #3e404a"></span></button>
|
||||
<button title="Frames · Frame table, frame warnings, exclusions · 2 black, white, duplicate or unreadable frames are still in the video: Optimise section or Exclude takes them out · Alt+2" style="height: 36px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: #f2f3f5; font: inherit; cursor: pointer"><span style="width: 22px; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #e8b339; font-size: 12px">▲</span><span style="min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap">Frames</span><span style="flex-grow: 1; height: 1px; background: #3e404a"></span></button>
|
||||
<button aria-current="step" title="Exposure · Deflicker, regions, day-night transitions, white balance · Auto · Alt+3" style="height: 36px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 0; border-radius: 6px 6px 0 0; box-shadow: inset 0 -2px 0 #4cc2ff; background: transparent; color: #f2f3f5; font: inherit; cursor: pointer"><span style="width: 22px; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #35c48f; font-size: 15px">✓</span><span style="min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600">Exposure</span><span style="flex-grow: 1; height: 1px; background: #3e404a"></span></button>
|
||||
<button title="Motion · Motion blur, optical flow, stabilisation · Auto · Alt+4" style="height: 36px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer"><span style="width: 22px; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #35c48f; font-size: 15px">✓</span><span style="min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap">Motion</span><span style="flex-grow: 1; height: 1px; background: #3e404a"></span></button>
|
||||
<button title="Camera · Crop, aspect, virtual camera moves · Auto · Alt+5" style="height: 36px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer"><span style="width: 22px; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #35c48f; font-size: 15px">✓</span><span style="min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap">Camera</span><span style="flex-grow: 1; height: 1px; background: #3e404a"></span></button>
|
||||
<button title="Time · Frame rate, timing mode, speed curve · Auto · Alt+6" style="height: 36px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer"><span style="width: 22px; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #35c48f; font-size: 15px">✓</span><span style="min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap">Time</span><span style="flex-grow: 1; height: 1px; background: #3e404a"></span></button>
|
||||
<button title="Stack · Median and star-trail stacking · Optional · Alt+7" style="height: 36px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer"><span style="width: 22px; height: 22px; box-sizing: border-box; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1.5px solid #3e404a; border-radius: 11px; color: #a9aeb9; font-size: 12px; font-variant-numeric: tabular-nums">7</span><span style="min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap">Stack</span><span style="flex-grow: 1; height: 1px; background: #3e404a"></span></button>
|
||||
<button title="Export · Presets, output, batch, history · Not rendered · Alt+8" style="height: 36px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer"><span style="width: 22px; height: 22px; box-sizing: border-box; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1.5px solid #3e404a; border-radius: 11px; color: #a9aeb9; font-size: 12px; font-variant-numeric: tabular-nums">8</span><span style="min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap">Export</span></button>
|
||||
</nav>
|
||||
<div style="display: flex; gap: 16px; flex-grow: 1; min-height: 0">
|
||||
<div style="flex-grow: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0">
|
||||
<div style="position: relative; height: 430px; border-radius: 8px; overflow: hidden; background: #000; display: flex">
|
||||
@@ -62,15 +72,6 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div style="flex: 1; background: linear-gradient(180deg,#5b8fd6,#9dc3f0)"></div><div style="flex: 1; background: linear-gradient(180deg,#5788cf,#98bfee)"></div><div style="flex: 1; background: linear-gradient(180deg,#5382c8,#93baea)"></div><div style="flex: 1; background: linear-gradient(180deg,#4f7cc0,#8db3e4); outline: 2px solid #4cc2ff; outline-offset: -2px"></div><div style="flex: 1; background: linear-gradient(180deg,#4a74b6,#86abdc)"></div><div style="flex: 1; background: linear-gradient(180deg,#456caa,#7ea3d3)"></div><div style="flex: 1; background: linear-gradient(180deg,#43659d,#7899c8)"></div><div style="flex: 1; background: linear-gradient(180deg,#455e8f,#7a8fb8)"></div><div style="flex: 1; background: linear-gradient(180deg,#4d5a86,#8a86a5)"></div><div style="flex: 1; background: linear-gradient(180deg,#58557c,#a07f8f)"></div><div style="flex: 1; background: linear-gradient(180deg,#664f72,#b8767a)"></div><div style="flex: 1; background: linear-gradient(180deg,#734a68,#cc6f62)"></div><div style="flex: 1; background: linear-gradient(180deg,#7d4560,#d87252)"></div><div style="flex: 1; background: linear-gradient(180deg,#823f57,#e07a48)"></div><div style="flex: 1; background: linear-gradient(180deg,#7f3a4e,#e08745)"></div><div style="flex: 1; background: linear-gradient(180deg,#733546,#d38a4a)"></div><div style="flex: 1; background: linear-gradient(180deg,#62303f,#b87c4c)"></div><div style="flex: 1; background: linear-gradient(180deg,#4f2b3a,#96673f)"></div><div style="flex: 1; background: linear-gradient(180deg,#3d2735,#6f4f37)"></div><div style="flex: 1; background: linear-gradient(180deg,#2e2330,#4d3b30)"></div><div style="flex: 1; background: linear-gradient(180deg,#231f2b,#35302c)"></div><div style="flex: 1; background: linear-gradient(180deg,#1c1b26,#282729)"></div><div style="flex: 1; background: linear-gradient(180deg,#171823,#202024)"></div><div style="flex: 1; background: linear-gradient(180deg,#14151f,#1b1b1f)"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="display: flex; gap: 4px; border-bottom: 1px solid #3e404a">
|
||||
<button title="Frame table, warnings, exclusions" style="height: 34px; padding: 0 14px; border: 0; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer">Frames</button>
|
||||
<button aria-pressed="true" title="Deflicker, regions, day-night transitions, white balance" style="height: 34px; padding: 0 14px; border: 0; border-bottom: 2px solid #4cc2ff; background: transparent; color: #f2f3f5; font: inherit; cursor: pointer">Exposure</button>
|
||||
<button title="Motion blur, optical flow, stabilization" style="height: 34px; padding: 0 14px; border: 0; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer">Motion</button>
|
||||
<button title="Crop, aspect, virtual camera moves" style="height: 34px; padding: 0 14px; border: 0; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer">Camera</button>
|
||||
<button title="Frame rate, timing mode, speed curve" style="height: 34px; padding: 0 14px; border: 0; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer">Time</button>
|
||||
<button title="Median and star-trail stacking" style="height: 34px; padding: 0 14px; border: 0; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer">Stack</button>
|
||||
<button title="Presets, output, batch, history" style="height: 34px; padding: 0 14px; border: 0; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer">Export</button>
|
||||
</div>
|
||||
<div style="flex-grow: 1; background: #26262c; border: 1px solid #3e404a; border-radius: 8px; padding: 10px; min-height: 0; display: flex; flex-direction: column">
|
||||
<div style="display: flex; gap: 16px; font-size: 11px; color: #a9aeb9"><span style="color: #f5a524">— measured luminance</span><span style="color: #4cc2ff">— target curve</span><span style="color: #5ad1c8">- - sky region</span><span style="color: #f5a524">▼ exposure steps as received</span><span style="margin-left: auto">flicker −67 % · max step 0.21 EV</span></div>
|
||||
<svg viewBox="0 0 900 150" preserveAspectRatio="none" style="width: 100%; flex-grow: 1" aria-hidden="true">
|
||||
@@ -83,29 +84,36 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
<aside style="width: 320px; flex-shrink: 0; background: #26262c; border: 1px solid #3e404a; border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 14px">
|
||||
<div style="font-size: 14px; font-weight: 600">Exposure</div>
|
||||
<div style="display: flex; flex-direction: column; gap: 6px">
|
||||
<div style="display: flex; align-items: center"><label for="deflicker" style="flex-grow: 1">Deflicker window</label><button title="Auto: four flicker periods measured on the autocorrelation (41 frames). Touch the slider to take over." style="height: 24px; padding: 0 8px; border: 1px solid #4cc2ff; border-radius: 12px; background: transparent; color: #4cc2ff; font: inherit; font-size: 11px; cursor: pointer">Auto · 41</button></div>
|
||||
<input id="deflicker" type="range" min="5" max="121" value="41" title="Frames used to estimate the flicker-free curve; too short leaves flicker, too long flattens real light changes" style="width: 100%; accent-color: #4cc2ff">
|
||||
<div style="flex-shrink: 0; display: flex; flex-direction: column; gap: 10px">
|
||||
<aside style="width: 320px; flex-grow: 1; background: #26262c; border: 1px solid #3e404a; border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 14px">
|
||||
<div style="font-size: 14px; font-weight: 600">Exposure</div>
|
||||
<div style="display: flex; flex-direction: column; gap: 6px">
|
||||
<div style="display: flex; align-items: center"><label for="deflicker" style="flex-grow: 1">Deflicker window</label><button title="Auto: four flicker periods measured on the autocorrelation (41 frames). Touch the slider to take over." style="height: 24px; padding: 0 8px; border: 1px solid #4cc2ff; border-radius: 12px; background: transparent; color: #4cc2ff; font: inherit; font-size: 11px; cursor: pointer">Auto · 41</button></div>
|
||||
<input id="deflicker" type="range" min="5" max="121" value="41" title="Frames used to estimate the flicker-free curve; too short leaves flicker, too long flattens real light changes" style="width: 100%; accent-color: #4cc2ff">
|
||||
</div>
|
||||
<div style="display: flex; flex-direction: column; gap: 6px">
|
||||
<div style="display: flex; align-items: center"><label for="strength" style="flex-grow: 1">Strength</label><span style="color: #a9aeb9">0.80</span></div>
|
||||
<input id="strength" type="range" min="0" max="100" value="80" title="How much of the measured flicker is removed; 1.0 removes it all" style="width: 100%; accent-color: #4cc2ff">
|
||||
</div>
|
||||
<div style="display: flex; align-items: center"><label for="regions" style="flex-grow: 1">Regions</label><button id="regions" title="Auto: horizon found with 1.9 EV separation; sky and landscape get their own curve" style="height: 24px; padding: 0 8px; border: 1px solid #4cc2ff; border-radius: 12px; background: transparent; color: #4cc2ff; font: inherit; font-size: 11px; cursor: pointer">Auto · horizon</button></div>
|
||||
<div style="display: flex; flex-direction: column; gap: 6px">
|
||||
<div style="display: flex; align-items: center"><label for="transitions" style="flex-grow: 1">Transitions</label><button title="Auto: half the typical distance between exposure steps (18 frames); 3 of 3 steps redistributed" style="height: 24px; padding: 0 8px; border: 1px solid #4cc2ff; border-radius: 12px; background: transparent; color: #4cc2ff; font: inherit; font-size: 11px; cursor: pointer">Auto · 18</button></div>
|
||||
<input id="transitions" type="range" min="0" max="120" value="18" title="Frames over which each ISO/shutter/aperture step is spread; 0 keeps the steps" style="width: 100%; accent-color: #4cc2ff">
|
||||
</div>
|
||||
<div style="display: flex; align-items: center"><label for="wb" style="flex-grow: 1">White balance smoothing</label><input id="wb" type="checkbox" checked title="Smooth the channel ratios so auto white balance stops flickering while the sunset drift stays" style="width: 36px; height: 20px; accent-color: #4cc2ff"></div>
|
||||
<div style="display: flex; align-items: center"><label for="ct" style="flex-grow: 1">Colour temperature</label><span style="color: #7b818e" title="Not applicable on this sequence: the night frames sit off the Planckian locus">n/a</span></div>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<div style="display: flex; gap: 8px">
|
||||
<button title="Apply the advisor's heavier choices for this section and list what changed" style="flex-grow: 1; height: 32px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">Optimise section</button>
|
||||
<button title="Return every control of this section to Auto" style="height: 32px; padding: 0 14px; border: 1px solid #3e404a; border-radius: 6px; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer">Reset</button>
|
||||
</div>
|
||||
</aside>
|
||||
<div style="display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px">
|
||||
<button title="Back to Frames · Ctrl+PgUp" style="justify-self: start; height: 32px; padding: 0 14px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">‹ Previous</button>
|
||||
<span style="min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; color: #a9aeb9; font-variant-numeric: tabular-nums">3 / 8</span>
|
||||
<button title="Continue with Motion · Ctrl+PgDn" style="justify-self: end; height: 32px; padding: 0 14px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">Next ›</button>
|
||||
</div>
|
||||
<div style="display: flex; flex-direction: column; gap: 6px">
|
||||
<div style="display: flex; align-items: center"><label for="strength" style="flex-grow: 1">Strength</label><span style="color: #a9aeb9">0.80</span></div>
|
||||
<input id="strength" type="range" min="0" max="100" value="80" title="How much of the measured flicker is removed; 1.0 removes it all" style="width: 100%; accent-color: #4cc2ff">
|
||||
</div>
|
||||
<div style="display: flex; align-items: center"><label for="regions" style="flex-grow: 1">Regions</label><button id="regions" title="Auto: horizon found with 1.9 EV separation; sky and landscape get their own curve" style="height: 24px; padding: 0 8px; border: 1px solid #4cc2ff; border-radius: 12px; background: transparent; color: #4cc2ff; font: inherit; font-size: 11px; cursor: pointer">Auto · horizon</button></div>
|
||||
<div style="display: flex; flex-direction: column; gap: 6px">
|
||||
<div style="display: flex; align-items: center"><label for="transitions" style="flex-grow: 1">Transitions</label><button title="Auto: half the typical distance between exposure steps (18 frames); 3 of 3 steps redistributed" style="height: 24px; padding: 0 8px; border: 1px solid #4cc2ff; border-radius: 12px; background: transparent; color: #4cc2ff; font: inherit; font-size: 11px; cursor: pointer">Auto · 18</button></div>
|
||||
<input id="transitions" type="range" min="0" max="120" value="18" title="Frames over which each ISO/shutter/aperture step is spread; 0 keeps the steps" style="width: 100%; accent-color: #4cc2ff">
|
||||
</div>
|
||||
<div style="display: flex; align-items: center"><label for="wb" style="flex-grow: 1">White balance smoothing</label><input id="wb" type="checkbox" checked title="Smooth the channel ratios so auto white balance stops flickering while the sunset drift stays" style="width: 36px; height: 20px; accent-color: #4cc2ff"></div>
|
||||
<div style="display: flex; align-items: center"><label for="ct" style="flex-grow: 1">Colour temperature</label><span style="color: #7b818e" title="Not applicable on this sequence: the night frames sit off the Planckian locus">n/a</span></div>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<div style="display: flex; gap: 8px">
|
||||
<button title="Apply the advisor's heavier choices for this section and list what changed" style="flex-grow: 1; height: 32px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">Optimise section</button>
|
||||
<button title="Return every control of this section to Auto" style="height: 32px; padding: 0 14px; border: 1px solid #3e404a; border-radius: 6px; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer">Reset</button>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user