-
-
Notifications
You must be signed in to change notification settings - Fork 730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Order layout panel should be enabled only when we are focused on that panel #6492
Comments
@stevepiercy don't delete my comments please when I tell to these individuals that they need to follow the rules of contribution, perhaps if it weren't deleted I wouldn't have now 2 comments from @saurabhraghuvanshii and @kaushik7kk asking me if they can work on this issue. To answer to you guys I don't think any of you should work on this issue since you clearly have not followed the rules and expectations that we have for first time contributors https://6.docs.plone.org/contributing/first-time.html |
@ichim-david we discussed already that we want a clean comment history, and not scroll through noise. I used to leave my own admonitions, but they were ignored repeatedly. Going forward, we can leave the first admonition and delete the rest. However in all of my experience, those who post a comment such as the one above don't read anything except the title, and maybe the description, of the issue. That's why I have https://docs.github.com/en/get-started/writing-on-github/working-with-saved-replies/creating-a-saved-reply to make it easier to admonish such inconsiderate behavior. I almost never bother to personalize these messages because they don't bother to read a readme or contributing guide. Here's the one I use most often, and I delete the Volto bit for other repos. please read and follow [First-time contributors](https://6.docs.plone.org/contributing/first-time.html), especially [Things not to do](https://6.docs.plone.org/contributing/first-time.html#things-not-to-do), [Contributing to Plone](https://6.docs.plone.org/contributing/index.html), and [Contributing to Volto](https://6.docs.plone.org/contributing/volto.html). |
@ichim-david As I understand it, you're saying that when we open the layout tab, it currently defaults to rendering the order tab inside instead of the block tab. Are you suggesting that we should render the block tab by default instead of the order tab? Please let me know if I misunderstood |
@nitinawari no. What I mean is this, the order tab renders it's content which is a drag and drop list of blocks that mirrors the drag and drop seen on the main edit area. |
@ichim-david I’ve resolved the issue with the orderTab, but I noticed a new issue after that fix. The elements of the "Order" tab now take a long time to render after clicking on it. This delay seems to be related to the activeTab state and how it’s managed when switching tabs. It appears that the tab content is not updating immediately, causing the delay. Do u have any suggestions for this ? |
On holidays until next year |
No problem. Thank you for your replay and enjoy 😊. |
@ichim-david Instead of repeatedly reminding users to read the guide, a GitHub workflow or bot can be set up to automatically detect such comments and reply with 'Please read the guide!'. Happy to help with this if needed. |
@dev-palwar GitHub does not have an API event endpoint for comments in an existing issue or pull request from first-timers. It does have an API event endpoint when a first-timer opens an issue or pull request. I have such a bot, Other than that, parsing comments for keywords may be possible, but language context is tricky. You're welcome to try, but you should open a new issue to discuss it further. |
@ichim-david can u now have a look on this issue about order tab rendering that I mentioned above? |
Describe the bug
The order side panel is rendering even when it's the order button isn't focused.
We should enable it only when we want to interact with it as it's another set of elements that re-render every time
there is a change in the blocks within the page.
To Reproduce
Steps to reproduce the behavior:
Use devtools to see the order panel logic rendered even when you don't intend to interact with it because your focus
is on the page options or a certain focused block.
Expected behavior
Order panel should render only when focused.
The text was updated successfully, but these errors were encountered: