feat; in KÜ Chart RSL und ISO start button
This commit is contained in:
@@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false
|
|||||||
NEXT_PUBLIC_EXPORT_STATIC=false
|
NEXT_PUBLIC_EXPORT_STATIC=false
|
||||||
NEXT_PUBLIC_USE_CGI=false
|
NEXT_PUBLIC_USE_CGI=false
|
||||||
# App-Versionsnummer
|
# App-Versionsnummer
|
||||||
NEXT_PUBLIC_APP_VERSION=1.6.656
|
NEXT_PUBLIC_APP_VERSION=1.6.657
|
||||||
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)
|
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)
|
||||||
|
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
|
|||||||
NEXT_PUBLIC_EXPORT_STATIC=true
|
NEXT_PUBLIC_EXPORT_STATIC=true
|
||||||
NEXT_PUBLIC_USE_CGI=true
|
NEXT_PUBLIC_USE_CGI=true
|
||||||
# App-Versionsnummer
|
# App-Versionsnummer
|
||||||
NEXT_PUBLIC_APP_VERSION=1.6.656
|
NEXT_PUBLIC_APP_VERSION=1.6.657
|
||||||
NEXT_PUBLIC_CPL_MODE=production
|
NEXT_PUBLIC_CPL_MODE=production
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
|
## [1.6.657] – 2025-07-28
|
||||||
|
|
||||||
|
- deat: KVz anzeigen
|
||||||
|
|
||||||
|
---
|
||||||
## [1.6.656] – 2025-07-28
|
## [1.6.656] – 2025-07-28
|
||||||
|
|
||||||
- fix: Chart Titel Isolationsmessung zu schleifenmessung
|
- fix: Chart Titel Isolationsmessung zu schleifenmessung
|
||||||
|
|||||||
@@ -237,10 +237,14 @@ const IsoChartActionBar: React.FC = () => {
|
|||||||
</div>
|
</div>
|
||||||
</Listbox>
|
</Listbox>
|
||||||
|
|
||||||
{/* Label für Isolationswiderstand - kein Dropdown mehr nötig */}
|
{/* ISO starten button*/}
|
||||||
<div className="px-3 py-1 bg-gray-50 border rounded text-sm text-gray-700">
|
<button
|
||||||
Isolationswiderstand
|
onClick={handleFetchData}
|
||||||
</div>
|
className="px-4 py-1 bg-littwin-blue text-white rounded text-sm"
|
||||||
|
disabled={isLoading}
|
||||||
|
>
|
||||||
|
ISO starten
|
||||||
|
</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
onClick={handleFetchData}
|
onClick={handleFetchData}
|
||||||
|
|||||||
@@ -257,70 +257,15 @@ const LoopChartActionBar: React.FC = () => {
|
|||||||
</div>
|
</div>
|
||||||
</Listbox>
|
</Listbox>
|
||||||
<div className="relative w-48"> </div>
|
<div className="relative w-48"> </div>
|
||||||
{/* Dropdown */}
|
|
||||||
{/*
|
{/* Schleife starten button*/}
|
||||||
<Listbox
|
<button
|
||||||
value={selectedSlotType}
|
onClick={handleFetchData}
|
||||||
onChange={(value) => {
|
className="px-4 py-1 bg-littwin-blue text-white rounded text-sm"
|
||||||
dispatch(setSelectedSlotType(value));
|
disabled={isLoading}
|
||||||
dispatch(
|
|
||||||
setChartTitle(
|
|
||||||
value === "isolationswiderstand"
|
|
||||||
? "Isolationsmessung"
|
|
||||||
: "Schleifenmessung"
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<div className="relative w-56">
|
RSL starten
|
||||||
<Listbox.Button className="w-full border px-3 py-1 rounded text-left bg-white flex justify-between items-center text-sm">
|
</button>
|
||||||
<span>
|
|
||||||
{
|
|
||||||
{
|
|
||||||
isolationswiderstand: "Isolationswiderstand",
|
|
||||||
schleifenwiderstand: "Schleifenwiderstand",
|
|
||||||
}[selectedSlotType]
|
|
||||||
}
|
|
||||||
</span>
|
|
||||||
<svg
|
|
||||||
className="w-5 h-5 text-gray-400"
|
|
||||||
viewBox="0 0 20 20"
|
|
||||||
fill="currentColor"
|
|
||||||
>
|
|
||||||
<path
|
|
||||||
fillRule="evenodd"
|
|
||||||
d="M5.23 7.21a.75.75 0 011.06.02L10 10.585l3.71-3.355a.75.75 0 111.02 1.1l-4.25 3.85a.75.75 0 01-1.02 0l-4.25-3.85a.75.75 0 01.02-1.06z"
|
|
||||||
clipRule="evenodd"
|
|
||||||
/>
|
|
||||||
</svg>
|
|
||||||
</Listbox.Button>
|
|
||||||
<Listbox.Options className="absolute z-50 mt-1 w-full border rounded bg-white shadow max-h-60 overflow-auto text-sm">
|
|
||||||
{["isolationswiderstand", "schleifenwiderstand"].map((type) => (
|
|
||||||
<Listbox.Option
|
|
||||||
key={type}
|
|
||||||
value={type}
|
|
||||||
className={({ selected, active }) =>
|
|
||||||
`px-4 py-1 cursor-pointer ${
|
|
||||||
selected
|
|
||||||
? "bg-littwin-blue text-white"
|
|
||||||
: active
|
|
||||||
? "bg-gray-200"
|
|
||||||
: ""
|
|
||||||
}`
|
|
||||||
}
|
|
||||||
>
|
|
||||||
{
|
|
||||||
{
|
|
||||||
isolationswiderstand: "Isolationswiderstand",
|
|
||||||
schleifenwiderstand: "Schleifenwiderstand",
|
|
||||||
}[type]
|
|
||||||
}
|
|
||||||
</Listbox.Option>
|
|
||||||
))}
|
|
||||||
</Listbox.Options>
|
|
||||||
</div>
|
|
||||||
</Listbox>
|
|
||||||
*/}
|
|
||||||
|
|
||||||
<button
|
<button
|
||||||
onClick={handleFetchData}
|
onClick={handleFetchData}
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.656",
|
"version": "1.6.657",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.656",
|
"version": "1.6.657",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/roboto": "^5.1.0",
|
"@fontsource/roboto": "^5.1.0",
|
||||||
"@headlessui/react": "^2.2.4",
|
"@headlessui/react": "^2.2.4",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.656",
|
"version": "1.6.657",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
Reference in New Issue
Block a user