Compare commits

...

5 Commits

Author SHA1 Message Date
WithoutPants
869cbd496b Update changelog 2025-10-22 12:49:27 +11:00
WithoutPants
5049d6e5c9 Fix scene list table styling issues (#6169)
* Reduce z-index of table list header
* Set better max-height for scene list table
2025-10-22 12:48:39 +11:00
WithoutPants
98df51755e Fix column layout image wall issues (#6168) 2025-10-22 12:21:04 +11:00
WithoutPants
947a17355c Fix UI loop when sorting by random without seed (#6167) 2025-10-22 11:31:42 +11:00
WithoutPants
71e4071871 Encode credentials during login (#6163) 2025-10-21 19:04:44 +11:00
6 changed files with 25 additions and 13 deletions

View File

@@ -44,7 +44,8 @@
xhr.onerror = function() {
document.getElementsByClassName("login-error")[0].innerHTML = localeStrings.internal_error;
};
xhr.send("username=" + username + "&password=" + password + "&returnURL=" + returnURL);
var body = "username=" + encodeURIComponent(username) + "&password=" + encodeURIComponent(password) + "&returnURL=" + encodeURIComponent(returnURL);
xhr.send(body);
}
</script>

View File

@@ -116,15 +116,13 @@ const ImageWall: React.FC<IImageWallProps> = ({
const renderImage = useCallback(
(props: RenderImageProps) => {
return (
<ImageWallItem
{...props}
maxHeight={
targetRowHeight(containerRef.current?.offsetWidth ?? 0) *
maxHeightFactor
}
/>
);
// #6165 - only use targetRowHeight in row direction
const maxHeight =
props.direction === "column"
? props.photo.height
: targetRowHeight(containerRef.current?.offsetWidth ?? 0) *
maxHeightFactor;
return <ImageWallItem {...props} maxHeight={maxHeight} />;
},
[targetRowHeight]
);

View File

@@ -740,7 +740,7 @@ input[type="range"].zoom-slider {
background-color: #202b33;
position: sticky;
top: 0;
z-index: 100;
z-index: 1;
}
td:first-child {

View File

@@ -24,6 +24,7 @@ export function useFilterURL(
const history = useHistory();
const location = useLocation();
const prevLocation = usePrevious(location);
// when the filter changes, update the URL
const updateFilter = useCallback(
@@ -47,7 +48,8 @@ export function useFilterURL(
// and updates the filter accordingly.
useEffect(() => {
// don't apply if active is false
if (!active) return;
// also don't apply if location is unchanged
if (!active || prevLocation === location) return;
// re-init to load default filter on empty new query params
if (!location.search) {
@@ -73,7 +75,8 @@ export function useFilterURL(
});
}, [
active,
location.search,
prevLocation,
location,
defaultFilter,
setFilter,
updateFilter,

View File

@@ -958,3 +958,9 @@ input[type="range"].blue-slider {
}
}
}
.table-list.scene-table {
// Set max height to viewport height minus estimated header/footer height
// TODO - this will need to be rolled out to other tables
max-height: calc(100dvh - 210px);
}

View File

@@ -28,6 +28,10 @@
* Include IP address in login errors in log. ([#5760](https://github.com/stashapp/stash/pull/5760))
### 🐛 Bug fixes
* **[0.29.1]** Fixed password with special characters not allowing login. ([#6163](https://github.com/stashapp/stash/pull/6163))
* **[0.29.1]** Fixed layout issues using column direction for image wall. ([#6168](https://github.com/stashapp/stash/pull/6168))
* **[0.29.1]** Fixed layout issues for scene list table. ([#6169](https://github.com/stashapp/stash/pull/6169))
* **[0.29.1]** Fixed UI loop when sorting by random without seed using URL. ([#6167](https://github.com/stashapp/stash/pull/6167))
* Fixed ordering studios by tag count returning error. ([#5776](https://github.com/stashapp/stash/pull/5776))
* Fixed error when submitting fingerprints for scenes that have been deleted. ([#5799](https://github.com/stashapp/stash/pull/5799))
* Fixed errors when scraping groups. ([#5793](https://github.com/stashapp/stash/pull/5793), [#5974](https://github.com/stashapp/stash/pull/5974))