Comments (13)
Just an update, I can recreate the issue reliably and am looking into a fix.
from orderable-document-list.
Same here:
from orderable-document-list.
This appears to be an intermittent bug, sometimes it correctly updates, but sometimes it doesn't. Even though the toast message says that things have been reordered, and the orderable list remains consistent when going back to it. Maybe it's a caching issue?
from orderable-document-list.
Believe this is a bug in the current version of the Studio. Will investigate further.
Thanks for reporting!
from orderable-document-list.
Okay, thanks! FYI I had this in 2.21.2 and 2.21.3.
from orderable-document-list.
Please try 2.21.5
and report back if you still see the same.
from orderable-document-list.
Hi @SimeonGriggs - I just tried with 2.215
but the issue remains. Some lists reorder correctly, while others simply don't.
from orderable-document-list.
Hi @SimeonGriggs - any updates on this? I just had another go at using your plugin but unfortunately, it's still not working as it should.
from orderable-document-list.
This turned out to be a Studio-level issue, which I thought might've been addressed in a newer version. Were you using latest version of the Studio?
from orderable-document-list.
I'm running 2.27.1 right now, which is fairly recent, no? So what I noticed is that the ordering is applied correctly, and using it with GROQ works reliably. The orderable list views also display consistently.
However, the provided orderRankOrdering
does not work as it should in other document listings. Whenever I choose this option from the menu as the sort order to use, it doesn't match the custom order I set. So if you ask me, the bug is actually in this part somehow.
from orderable-document-list.
Yes it appears to be something in the Studio not respecting a custom ordering. Still under consideration.
from orderable-document-list.
This should be resolved in Studio 2.30.0
from orderable-document-list.
Hi Simeon, thanks for the update. I'm running the following setup:
@sanity/cli 2.30.0 (up to date)
@sanity/base 2.30.0 (up to date)
@sanity/code-input 2.30.0 (up to date)
@sanity/color-input 2.30.0 (up to date)
@sanity/components 2.14.0 (up to date)
@sanity/core 2.30.0 (up to date)
@sanity/dashboard 2.30.0 (up to date)
@sanity/default-layout 2.30.0 (up to date)
@sanity/default-login 2.30.0 (up to date)
@sanity/desk-tool 2.30.0 (up to date)
@sanity/google-maps-input 2.30.0 (up to date)
@sanity/image-url 1.0.1 (up to date)
@sanity/language-filter 2.29.8 (up to date)
@sanity/orderable-document-list 0.0.8 (up to date)
@sanity/production-preview 2.29.3 (up to date)
@sanity/vision 2.30.0 (up to date)
For some reason, it's still not working when I check back with 'Sort by Ordered' in my main document list. Odd, no?
from orderable-document-list.
Related Issues (20)
- Query order document with translations (V2 of document-internationalization) HOT 1
- Label and preview fails to render when published changes are made HOT 1
- Orderable document list causes the native list search input field to disappear HOT 4
- Programmaticaly change order of list
- Error: Cannot destructure property 'media' of 'theme.sanity' as it is undefined. HOT 9
- allow `canHandleIntent` to customise `intent` HOT 1
- Update `sanity/desk` to `sanity/structure` HOT 6
- Handling long lists
- The structure tool crashes when using this plugin with Sanity 3.27.0
- deskTool is deprecated HOT 1
- Flattening listItems with orderableDocumentListDeskItem HOT 3
- Create Intent button not showing up
- Sanity AI Assist can fill in an orderRank value and crash the entire application
- Dependency Dashboard
- Export OrderableDocumentList component for use in views
- Navigating through panes using this plugin, alters the panel nesting behaviour
- [vite] Internal server error: Cannot use import statement outside a module HOT 1
- Right click document actions context menu
- Ordered docs don't show status indicators HOT 1
- Error sanity.config.ts: Type 'ListItem' is not assignable to type 'ListItemBuilder | ListItem | Divider'.
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 orderable-document-list.