Comments (12)
Thank you for reporting the issue with all the details.
from nocodb.
Same here on a Apple M3 Pro with Sonoma 14.5 (23F79) and Safari 17.5 (19618.2.12.11.6).
Nocodb runs as a Docker Container on my Debian Server.
It works for me when I switch to Google Chrome temporarily.
from nocodb.
Works like a charm. Replacing
await pollNotifications()
withsetTimeout(pollNotifications, 0)
resolved the issue. I used the following sed command to update the compiled code in place.sed -i 's/await i()/setTimeout(i, 0);/g' /usr/src/app/./node_modules/nc-lib-gui/lib/dist/_nuxt/BVffXuyZ.js
Thank you very much @itopaloglu83 it works for me too. I ran your sed command inside my Docker container and it works like a charm. ππ»
Chrome needs 3-5 times more RAM, compared to Safari, for the same Websites open. So i use Chrome only if really necessary.
from nocodb.
Yes, it works flawlessly for me too
from nocodb.
Thank you @itopaloglu83 @christiankriedemann for lending a helping a hand here.
from nocodb.
It might be a problem with my computer as well. I just donβt have any other device to test with.
from nocodb.
Have narrowed down the scenario - if we go to kanban and back to project home screen. The clicks freeze after like 5-10 seconds. Otherwise they mostly function.
from nocodb.
I wasn't able to replicate the kanpan path, but it seems like switching to another tab expedites the issue.
Here's the bare minimum way I was able to replicate it.
- Navigate to app.nocodb.com
- Wait for over 90 seconds without interacting with the page.
I believe this might be related to how Safari stops the execution of background tabs, especially when they are invisible.
Another interesting thing is the polling request getting stuck right around the same time. So I blocked the api/v1/notifications/poll
endpoint which seems to alleviate the issue.
![Screenshot 2024-06-15 at 11 01 52](https://private-user-images.githubusercontent.com/461270/339999931-0a373e09-0d81-485d-ba7b-9f7b332c8c48.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyODU1MzUsIm5iZiI6MTcxOTI4NTIzNSwicGF0aCI6Ii80NjEyNzAvMzM5OTk5OTMxLTBhMzczZTA5LTBkODEtNDg1ZC1iYTdiLTlmN2IzMzJjOGM0OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNVQwMzEzNTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jOWQxYWJlODBmZmNhYWUzNzc0MWQ1MWE0MDI1ZjlhNTBlYjc0ZTk4ZTYwMzE4YzhmOWI0OWEzY2MxNTFhMmEwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.uWFypgwyV3D_J9TWlrCoR-B9_lB7jzhe88gbCrpqyXw)
from nocodb.
For me, the tab freezes after I have worked in another tab and return.
Sometimes while I am working in nocodb
Interestingly, it doesn't seem to occur when I have the web information (CMD + OPTION + I) open.
from nocodb.
I'm not familiar with the code base but it looks like 55425f5 made the pollNotifications
function recursive. Check L31 below.
nocodb/packages/nc-gui/store/notification.ts
Lines 19 to 36 in 30aa5fd
This might be the issue, I'm going to update the code to see what if it removes the issue.
from nocodb.
Works like a charm. Replacing await pollNotifications()
with setTimeout(pollNotifications, 0)
resolved the issue. I used the following sed command to update the compiled code in place.
sed -i 's/await i()/setTimeout(i, 0);/g' /usr/src/app/./node_modules/nc-lib-gui/lib/dist/_nuxt/BVffXuyZ.js
from nocodb.
docker run -d -p 8888:8080 nocodb/nocodb-timely:0.250.2-pr-8772-20240616-1919
Can you verify if this image fixes the issue
from nocodb.
Related Issues (20)
- π Bug: Cannot connect to legacy MySQL HOT 1
- π¦ Feature: Remove mentions for least used DB
- π Bug: NocoDB ignores end date for calendar view HOT 1
- π Bug: List API response delayed when pagination set to 100 HOT 1
- π Bug: When trying to add a new option in a Single select, the first option value is updated as well HOT 3
- π Bug: display value in new view οΌis not first column
- Bug : Audit records only available for super user ? HOT 5
- π Bug: CSV Import error (Select options with an `'`)
- π¦ Feature: Import CSV - skip field mapping during import HOT 3
- π Bug: "Duplicate column alias" error with Airtable API quick import HOT 4
- π Bug: Noco-win-x64.exe After importing an image, the image cannot be previewed
- π Bug: User cannot see a base if added, removed, and re-added HOT 1
- π¦ Feature: Show actual database error message on failed SQL operation
- π Bug: Undefined binding(s) detected when compiling SELECT when Link Records using API
- [Design] π Bug: formula modal UI/UX
- [Design] π Bug: Comments modal UI/UX HOT 3
- [Design] π Bug: expanded record UI/UX HOT 2
- [Design] π Bug: Group BY UI follow up's HOT 2
- π¦ Feature: Data Entry - Auto Column Detector
- Nested logic as query parameter HOT 8
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 nocodb.