mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-05 19:24:39 +00:00
fix news inconsistency
This commit is contained in:
@@ -1,15 +0,0 @@
|
|||||||
name: Sweep Issue
|
|
||||||
title: 'Sweep: '
|
|
||||||
description: For small bugs, features, refactors, and tests to be handled by Sweep, an AI-powered junior developer.
|
|
||||||
labels: sweep
|
|
||||||
body:
|
|
||||||
- type: textarea
|
|
||||||
id: description
|
|
||||||
attributes:
|
|
||||||
label: Details
|
|
||||||
description: Tell Sweep where and what to edit and provide enough context for a new developer to the codebase
|
|
||||||
placeholder: |
|
|
||||||
Unit Tests: Write unit tests for <FILE>. Test each function in the file. Make sure to test edge cases.
|
|
||||||
Bugs: The bug might be in <FILE>. Here are the logs: ...
|
|
||||||
Features: the new endpoint should use the ... class from <FILE> because it contains ... logic.
|
|
||||||
Refactors: We are migrating this function to ... version because ...
|
|
||||||
+1
-1
@@ -1277,7 +1277,7 @@ async function AddBetterSEQTAElements(toggle: any) {
|
|||||||
console.error('Error fetching and processing student data:', error)
|
console.error('Error fetching and processing student data:', error)
|
||||||
}
|
}
|
||||||
|
|
||||||
const NewsButtonStr = '<li class="item" data-key="news" id="newsbutton" data-path="/news" data-betterseqta="true"><label><svg style="width:24px;height:24px" viewBox="0 0 24 24"><path fill="currentColor" d="M20 3H4C2.89 3 2 3.89 2 5V19C2 20.11 2.89 21 4 21H20C21.11 21 22 20.11 22 19V5C22 3.89 21.11 3 20 3M5 7H10V13H5V7M19 17H5V15H19V17M19 13H12V11H19V13M19 9H12V7H19V9Z" /></svg>News</label></li>'
|
const NewsButtonStr = '<li class="item" data-key="news" id="newsbutton" data-path="/news" data-betterseqta="true"><label><svg style="width:24px;height:24px" viewBox="0 0 24 24"><path fill="currentColor" d="M20 3H4C2.89 3 2 3.89 2 5V19C2 20.11 2.89 21 4 21H20C21.11 21 22 20.11 22 19V5C22 3.89 21.11 3 20 3M5 7H10V13H5V7M19 17H5V15H19V17M19 13H12V11H19V13M19 9H12V7H19V9Z" /></svg><span>News</span></label></li>'
|
||||||
const NewsButton = stringToHTML(NewsButtonStr)
|
const NewsButton = stringToHTML(NewsButtonStr)
|
||||||
List!.appendChild(NewsButton.firstChild!)
|
List!.appendChild(NewsButton.firstChild!)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user