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
Landscape: Single-page application rearchitecture #3025
Conversation
…lish-related ones
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.
LGTM based on my last bit of QA over the past few hours. Godspeed.
will existing landscape apps still sorta work? and will there be any guidance on how to migrate them? i know, i know, the perils of being on the bleeding edge, but i'd really like to spend more time in hoon and much less in react 😬 |
Should be fine.
I'm working on it! Just cleaning up create-landscape-app today and tomorrow, and when we OTA (quite soon) I'll write some advice on migration for existing third-party apps. Essentially instead of your Hoon boilerplate having HTTP request handling etc etc. you just let You can also go without back-end code entirely if you like; you can just poke The tradeoff is that widget-style tile apps are basically no longer possible without writing it directly into |
beautiful. i think i forked from a pretty old version of create-landscape-app, but i'm optimistic. the main thing i'm worried about is the boilerplate for the OS1 style interface - for srrs, i ended up porting a lot of the frontend code for publish and tweaking the css, and i'd love to get rid of all the hacky stuff i did there... but i'm hoping that the app will still work while i do that. |
Have we tried this on I copied this into a |
Hey! That error (I think) shouldn’t mean anything — I want to ask how you merged it in. If you literally took this branch, you’ll need to compile the JS ( |
You're correct, it works when I do that. Thanks! The fact that +on-load keeps crashing every time on you :goad %force is bad, because it means that app can't reload. On fusion, this will mean no OTAs will succeed until the on-load succeeds. Not a showstopper for this, but it will need to not crash before fusion goes out. |
It would seem imperative to tackle now, then. @loganallenc @liam-fitzgerald would you mind investigating? It seems like |
On it! |
soto: run +on-load migration once
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.
Skimmed the hoon-side changes. Nothing outrageous enough to make me want to fight/hold this off.
Is the ~landscape url documentation anywhere? I was just dreaming of this feature yesterday |
I'll try to look into it today and write something up. |
I don’t think this part has been fully integrated on the front-end yet to function properly. Needs some additional love. |
If you can point me in the right direction I might try giving it some |
@tylershuster As you can see here you can poke file-server to set the Landscape homepage prefix as a unit of terms (you know, We would then need to use that and make our router relative to the prefix for Launch. We'd need the back nav to update too. On top of all this, in our current state this isn't possible because the store will wipe as we navigate and we'll lose track of the prefix. But after #3038 this should be fine? |
is this only when you're using file server, or in general? how would you go about porting a custom tile? here's what i had to do get srrs working with a basic tile if it's useful for anyone else: ryjm/srrs@d5ff0ec |
npm run build:dev
insidepkg/interface
.window.api
and able to send authenticated actions to any app as it likes).indigo-react
integration.ContentType
has been added to S3 uploads such that they do not prompt a download window (s3: set Content-Type for uploaded media #2865, Add ContentType to uploaded s3 images (SPA) #2890)%launch
; they can also easily mount their endpoints using%file-server
, without having to writeon-watch
boilerplate for handling HTTP requests. More details to come for developers.~landscape
and allow you to slot a static page at the root directory instead.code
text in input & messages behaves poorly #2829).cc @liam-fitzgerald