artsy / emission Goto Github PK
View Code? Open in Web Editor NEW⚠️ Deprecated repo, moved to artsy/eigen ➡️ React Native Components
Home Page: http://artsy.github.io/blog/2018/04/17/making-a-components-pod/
License: MIT License
⚠️ Deprecated repo, moved to artsy/eigen ➡️ React Native Components
Home Page: http://artsy.github.io/blog/2018/04/17/making-a-components-pod/
License: MIT License
E.g. https://www.artsy.net/artist/peter-doig-2/shows has a past show where the location information is missing.
Start process to discuss making nested scrollviews and callbacks work.
https://github.com/artsy/emission/blob/master/Pod/Classes/Core/RCTScrollView%2BEnclosingScrollView.m
As per artsy/eigen#1133
ListView
into a large_list
on iPadOpen artist view, land on about tab, we should adjust this so that the work tab is the default selection when the view is opened.
Also use cropped
image urls.
https://rink.hockeyapp.net/manage/apps/37020/app_versions/225/crash_reasons/122479397
RCTFatalException: Unhandled JS Exception: this.props.artworksQuery is not a function. (In 'this.props.artworksQuery(this.props.relay.route.params.artistID,t)', 'this.props.artworksQuery' is undefined)', reason: 'Unhandled JS Exception: this.props.artworksQuery is not a function. (In 'th..., stack:
value@625:943
value@625:2897
scrollResponderHandleScroll@362:1586
handleScroll@360:2499
a@258:71
o@256:391
a@256:582
f@254:159
g@254:262
i@260:102
processEventQueue@254:1382
s@304:92
handleTopLevel@304:181
_receiveRootNodeIDEvent@303:613
receiveEvent@303:714
value@196:3100
<unknown>@196:1319
k@196:413
value@196:1291
E.g. if we want to display an image at 200x100
, we should make GraphQL queries like so:
Screen scale:
200x100
400x200
600x300
For those images where we dynamically size based on the aspect ratio (e.g. masonry grid) we only specify 1 dimension (e.g. width) that’s specified according to screen scale and let metaphysics figure out the resize arguments based on the image’s aspect ratio.
Requires:
tap search, type in artist, tap on artist, get old view vs the new one.
See ce34868.
E.g. https://www.artsy.net/artist/rob-pruitt has a link to ‘Kaikai Kiki’ which has only 1 work:
From http://twitter.com/lazerwalker/status/723232122480287745:
I know more people using TypeScript, the argument generally being great IDE support in VS Code
I’m digging VS Code thus far. I’m not really feeling Flow yet. Maybe it makes sense to use a ‘real’ language instead of another bolted on thing…
The one thing that Flow has going for it and why I wanted to try to use that first is that it’s what is used by FB and thus React/Native are annotated using Flow.
I know this part is under construction, but force seems to use the blurb
field for artist bios instead of bio
I tried doing that as part of my PR #8, but it seems that it re-breaks my simple workaround for the image view getting a zero size rect.
Currently it’s not yet using the right font and some partner details might still be missing.
This needs to be copied over from my prototype app.
While I have a working one that’s backed by a native collection view and our masonry grid layout, I’d like to try to use a pure RN one for now.
The one issue we have is that we don’t have pagination working atm. Maybe we can have a stop-gap hybrid that does further paging without Relay, but that still requires me to work out a way to load the next page when scrolled to the bottom.
The current artist bio that is returned by metaphysics appears to only be the short one, we also need the long one, as seen in the design.
{
"data": {
"artist": {
"bio": "born 1965, Bristol, United Kingdom, lives and works in London, United Kingdom"
}
}
}
ListView
invoke its onEndReached
callback when a ListView
is wrapped in another ScrollView
.Relevant for images used in:
See #69 (comment)
https://github.com/facebook/react-native/blob/235b16d93287061a09c4624e612b5dc4f960ce47/React/Modules/RCTDevMenu.m#L29-L38
&
https://github.com/facebook/react-native/blob/235b16d93287061a09c4624e612b5dc4f960ce47/React/Modules/RCTDevMenu.m#L145-L151.
Which is clashing with https://github.com/Daniel1of1/DHCShakeNotifier.
Related to #41.
Either make RN’s built-in Text
component render HTML or wrap Eigen’s ARTextView
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.