mirror of
https://github.com/stashapp/stash.git
synced 2026-06-11 07:41:08 -05:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
869cbd496b | ||
|
|
5049d6e5c9 | ||
|
|
98df51755e | ||
|
|
947a17355c | ||
|
|
71e4071871 |
@@ -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>
|
||||
|
||||
|
||||
@@ -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]
|
||||
);
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user