-
Notifications
You must be signed in to change notification settings - Fork 8
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
In-app notification API #147
Conversation
…BackendIntegration22
Interesting, can you develop about what was buggy in Quasar's pull to refresh component? |
Amazing work Edmund! Looks really good! Will continue the review later today. |
The problem started when we switched to a more standard infinite scrolling system for the home feed and notification page using VueUse's So I switched up the two pages to mount the infinite scrolling system to a full screen fixed height div. When Quasar's pull down to refresh component is mounted on a fixed height div, it caused the infinite scrolling to be laggy/jumpy, and the pull down to refresh area is also not configurable and the selection area seems to be too large when it is mounted on a div container. |
…rsation page instead of the opinion page
Makes sense. I wonder what was the reason why we didn't use the infinite scrolling from quasar. It would be interesting at some point to fork the Quasar |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like us to create a prettier pull-to-refresh
component probably only after the stack of UI/UX change you're already doing, and after we work to release to the store
}, | ||
(t) => { | ||
return { | ||
userIdx: index("user_idx_notification").on(t.userId), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't this index already created because this is a foreign key?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No PostgreSQL doesn't create indexes automatically for foreign keys.
For info the rationale for renaming is:
|
Also for naming I suggest we use |
Changes:
q-inner-loading
instead since we no longer use Quasar's pull-down-to-refresh component due to it being buggy