Comments (2)
Minor changes for this are in place, the title and the URL are updated when the preview is open. Appreciate that might not be enough but hopefully it's a decent enough start. This can be viewed, along with #60 using the a build from https://github.com/dom111/webdav-js/tree/feature/file-information-on-preview
from webdav-js.
This skips content that doesn't have a preview supporting type and updates the push-state. This means that if you refresh the page once the history has changed, that you'd need to manually navigate back to a directory, I've not really looked into this, but I imagine that's potentially tricky to work around without server-side rewrite rules that involve setting a header or something to differentiate requests that hit for the raw data and requests that need to be routed through the script - hopefully that's not too much of a blocker.
There's probably different schools of thought, but I don't think that the image itself should be pushed into the path -- after all, the user's "browser cursor" is not on the image itself, it is on the directory view at the position where it's viewing that image. So what I'd do about the paths is not to push the path in (as that doesn't survive a refresh), but just push a fragment identifier, say, http://server/path/#view:${FILENAME}
that, when present, opens the image in preview right away.
from webdav-js.
Related Issues (20)
- Wishlist: Display Folder Path at Top HOT 2
- Propfind Not Allowed: Fall back to regular link
- Add copy/move
- Use XMLHttpRequest for file uploads (PUT method) to show progress indicator HOT 4
- Deleting a file which was not overwritten leaves an entry behind
- Online PWA app that can work with CORS
- MOVE not working on Apache
- Bug, critical: PROPFIND requires for Depth header HOT 8
- [discussion] github.com/perry-mitchell/webdav-client
- [Bug] IIS error when click on back button <-
- Customize dav root
- Chrome extension HOT 1
- Detect if the current URL has a WebDAV share HOT 2
- nginx example non-functional
- Directory listing appears twice HOT 3
- Creating Directory, Uploading File & Refresh HOT 2
- MOVE WebDav Vert not working IIS HOT 2
- Enhancement: thumbnails support HOT 15
- Add plugin mechanism
- Convert to TypeScript and replace webpack with esbuild HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webdav-js.