Compare commits

..

3 Commits

Author SHA1 Message Date
311b27bfb6 Bump version 2025-12-23 18:09:12 +01:00
71e190f944 Fix an issue where some checkboxes didn't update 2025-12-23 18:08:49 +01:00
36bbc713ac Bump version 2025-12-23 17:55:02 +01:00
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,4 @@
import { useState } from 'react';
import { getMemory } from '../../memory'; import { getMemory } from '../../memory';
import { RequestCluster } from '../../request-cluster'; import { RequestCluster } from '../../request-cluster';
@ -20,6 +21,7 @@ export function StolenData({
cookiesOrOriginOnly: boolean; cookiesOrOriginOnly: boolean;
detailsVisibility: boolean; detailsVisibility: boolean;
}) { }) {
const [changesCount, setChangesCount] = useState(0);
if (!origin) { if (!origin) {
return ( return (
<div className="stolen-data-container"> <div className="stolen-data-container">
@ -34,12 +36,15 @@ export function StolenData({
(cluster) => !cookiesOrOriginOnly || cluster.hasCookies() || cluster.exposesOrigin() (cluster) => !cookiesOrOriginOnly || cluster.hasCookies() || cluster.exposesOrigin()
); );
return ( return (
<div className="stolen-data-container"> <div className={['stolen-data-container', `data-changes-count-${changesCount}`].join(' ')}>
<span>Domeny{detailsVisibility ? ' oraz przesłane informacje' : null}</span> <span>Domeny{detailsVisibility ? ' oraz przesłane informacje' : null}</span>
<br /> <br />
<button <button
onClick={() => { onClick={() => {
clusters.forEach((cluster) => cluster.undoMark()); clusters.forEach((cluster) => {
cluster.undoMark();
});
setChangesCount(changesCount + 1);
}} }}
style={{ marginTop: '8px', lineHeight: '32px' }} style={{ marginTop: '8px', lineHeight: '32px' }}
> >

View File

@ -3,7 +3,7 @@
"manifest_version": 2, "manifest_version": 2,
"name": "Rentgen", "name": "Rentgen",
"short_name": "Rentgen", "short_name": "Rentgen",
"version": "0.2.2", "version": "0.2.4",
"author": "Kuba Orlik, Arkadiusz Wieczorek (Internet. Time to act! Foundation)", "author": "Kuba Orlik, Arkadiusz Wieczorek (Internet. Time to act! Foundation)",
"homepage_url": "https://git.internet-czas-dzialac.pl/icd/rentgen", "homepage_url": "https://git.internet-czas-dzialac.pl/icd/rentgen",
"background": { "background": {