Comments (9)
@jorgelainfiesta: can you push a WIP branch somewhere so I can have a look?
from breethe-client.
You can check out recent-locations
and change line 51 on src/ui/components/Location/component.ts
To try findRelatedRecords
replace the line with:
this.measurements = await store.query((q) => q.findRelatedRecords(locationSignature, 'measurements'));
To try filter
replace it with:
this.measurements = await store.query(
(q) => q.findRecords('measurement')
.filter({ attribute: 'location', value: locationId })
);
from breethe-client.
@jorgelainfiesta: turns out you need to specify the inverse
for the relationships to work correctly: 4c4882b
from breethe-client.
Wow! Thank you so much 😄
from breethe-client.
second pair of eyes can be helpful sometimes :)
from breethe-client.
Now we just need to figure out how to do the search request. Maybe I'm missing something like that.
from breethe-client.
I might have some time later this week but won't be able to look at this today. I'd suggest reaching out to Dan Gebhard on the Ember Community Slack.
from breethe-client.
Is this still "help wanted"? I think you figured it out?
from breethe-client.
Yeah thanks, it's sorted out.
from breethe-client.
Related Issues (20)
- Disable particles and gas effect in the pre-render
- Render non-functional UI in a loading state in the SSR response
- Switch CSS to css-blocks
- update logo
- Fix Service Worker on iOS HOT 1
- Round measurement value
- Fog animation is too resource intensive HOT 4
- [WIP] Fix SSR/Offline support HOT 1
- Support location labels
- Idea: visual representation of scale for measurements HOT 1
- Make app work without JS HOT 3
- Fog effect sometimes reveals edges of images
- Client falls back to old data even if server has more recent data HOT 1
- Clear old data
- Accessibility issues HOT 3
- Fog animation causes high GPU load HOT 10
- Images are not fingerprinted HOT 1
- Fix canvas height HOT 1
- Implement integration Glimmer tests
- Fix css-blocks optimizations
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 breethe-client.