Closed zewa666 closed 4 months ago
Run & review this pull request in StackBlitz Codeflow.
this is just a minor feature but something I stumbled on the other day when working on a new feature.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.8%. Comparing base (
e34971d
) to head (317affd
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
makes sense, thanks for that
out of topic, I'm hearing and reading about Supabase more now (probably because it's now in GA after 4 years of Beta) and was wondering, are you using it with OData and SlickGrid or some other ways? Just curious, might want to finally look at doing a personal project now that I'm pretty much done with SlickGrid work (though I'm working on a new feature coming soon that will probably interest you, stay tuned, maybe a POC later tonight)
Supabase is quite interesting though I'd personally prefer Hasura. Have been using it with super great success for a larger project and would prefer that everytime again. The thing is, once persistance and handling CRUD becomes a free thing along with permissions etc, all handled by fundamental DB principles, nothing beats the productivity boost. Plus, I guess the GraphQL layer should nicely integrate with Slickgrid, though I have to admit I haven't yet tried so.
ah yeah you mentioned it last time when we did the Header Menu thing. I think I'd also personally prefer GraphQL over OData, so Hasura make sense in this case. Thanks for the info, the web world is evolving so fast, it's hard to keep up 😅
@zewa666 I think that the biggest challenge with Hasura would be to create the structure that I defined for the Pagination/Sorting/Filtering. I assume that's all doable in Hasura and perhaps we could create a new package in universal to support Hasura following this structure that I require. I'm just guessing here since I haven't tried anything and barely read their docs... or you could use GraphQL to fetch all dataset just once but if the dataset is large then that won't cut it
Looking more at the docs, it seems to be quite different compare to my approach, so I guess we would a customize port of the GraphQL Service that I made
Do you know if they have an online GraphQL DB that we can hook to? So that it could be used for possibly creating and/or testing SlickGrid with it in a demo example.
interesting video : How to add GraphQL to Supabase with Hasura
havent yet looked into slickgrids graphql backend but I guess it should be doable to adjust things to match Hasuras style.
the biggest pro with Hasura where it live-queries, aka graphql subscriptions but with server push on change. that alone is so very cool it could be worth the hassle (think of your realtime example)
Hasura cloud offers a free tier. as for db go for something like https://neon.tech/pricing
adds the possibility to define tooltips via the title tag on icon formatters