What do you want your URLs to look like? Remember that hash is used to keep the browser from reloading the app.
On 4/17/20, 12:13 AM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> wrote: I'm still looking into the code and it looks like Routing implemented now is not doing what I would expected. Everything is based on "hash" property in "location". Instead I need something which is in "search" of location. I will wait for your thoughts before I do try to handle stuff on my end. pt., 17 kwi 2020 o 08:30 Piotr Zarzycki <piotrzarzyck...@gmail.com> napisał(a): > Hi Guys, > > I really thought that I will be able to use Router [1] based on > documentation and maybe eventually some look to the code [2] - to figure > out how things should be implemented. However it looks like non of the > existing stuff helps me to use in in real world application at all. I would > like to throw a simple question. > > I would like to "answer" in my application to following url, catch params > and do some actions: > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmydomain.com%2Fsomefolder%2Findex.html%3Ftarget%3Dsomevalue%26account%3D&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141794314&sdata=Dv%2FfoygkOuy8EWX3yajDig8oYM9d7ZgqUOGohQd37og%3D&reserved=0 > <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flocaldev.prominic.net%2Fprominic%2Fbin%2Fjs-debug%2Findex.html%3Ftarget%3DUpdateCreditCard%26account%3DA55XXX&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141794314&sdata=OW%2BlL31bVS%2FUSwL3GJrUAN7ppdjLjYPueWlLqFXQxwA%3D&reserved=0> > somevalue > > How should I do that using Routing in Royale ? :) > > [1] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapache.github.io%2Froyale-docs%2Ffeatures%2Frouting&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141794314&sdata=%2Bq64VNDap48GgbtQtGnIKFQhasrk%2FXb5%2B0bqiTXs328%3D&reserved=0 > [2] > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Ftree%2Fdevelop%2Fframeworks%2Fprojects%2FBasic%2Fsrc%2Fmain%2Froyale%2Forg%2Fapache%2Froyale%2Frouting&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141794314&sdata=dbfGXbu79kwYBWPwd4i0meomYPr616KOKMT6ok%2FVwX8%3D&reserved=0 > > Thanks, > Piotr > > śr., 22 sty 2020 o 13:08 Carlos Rovira <carlosrov...@apache.org> > napisał(a): > >> Hi Harbs, >> >> thanks for taking a look, I'll try to apply your suggestions and see if I >> can make it work. >> >> If you plan to work in that new Routing implementation, I'll wait for it >> to >> write about it in blog and social media, since better to point people to >> the more elaborated one. I as well recommend you to make it end in its own >> "Routing.swc" since I think it deserves it. >> >> As Alex dream on possibilities, I want as well to dream and I think >> nowadays, a part from pure client navigation, we have server navigation, >> and as other royale features people will soon try to do it. In the case of >> Routing, people will want to have URLs for concrete items retrieved from >> database and we should support it (was what we discussed before that in >> that case, we'll be able to not have # in the url but just a friendly >> permalink). Hope we can support that, since we'll be great to create, lets >> say, a blog app, and as user browse posts and navigate to see a full >> posst, >> he gets as well a friendly URL with no anchors that can be indexable by >> google and retrieved (i.e, the same as Wordpress) >> >> Thanks >> >> >> >> >> >> El mar., 21 ene. 2020 a las 23:57, Alex Harui (<aha...@adobe.com.invalid >> >) >> escribió: >> >> > If we're dreaming of the future possible implementations, one vision is >> > that the route paths are computed from the currentStates of Containers. >> > That might have the least setup required, it would almost be automatic. >> > >> > IOW, Containers have both a label and currentState property. A routing >> > implementation could scan the DOM for contaners and build the path from >> > label/currentState pairs. >> > >> > Of course, I could be wrong... >> > >> > -Alex >> > >> > >> > On 1/21/20, 1:33 PM, "Harbs" <harbs.li...@gmail.com> wrote: >> > >> > I’ve also been thinking about the router in general, and I came up >> > with an idea on how to do it with beads. >> > >> > It’ll probably take me a few days until I implement the changes… >> > >> > In addition to <ComponentRouting>, I think we can also offer >> > <PathRouting> which would allow different routers to be attached to >> > different places in the application and each level of the hierarchy can >> > take care of its own state. >> > >> > Harbs >> > >> > > On Jan 21, 2020, at 11:29 PM, Harbs <harbs.li...@gmail.com> >> wrote: >> > > >> > > FWIW, I’d like to write a version of a router which allows for >> more >> > declarative syntax for routing to components. >> > > >> > > Something like this: >> > > <Router> >> > > <beads> >> > > <ComponentRouting> >> > > <ComponentRoute component=“LayoutsPlayGround” >> state=“layouts_panel” >> > title=“Layouts”/> >> > > <ComponentRoute component=“GridPlayGround” state=“grid_panel” >> > title=“Grids”/> >> > > <ComponentRoute component=“ButtonBarPlayGround” >> state=“button_panel” >> > title=“Button Bar”/> >> > > etc... >> > > </ComponentRouting> >> > > </beads> >> > > </Router> >> > > >> > >> On Jan 21, 2020, at 11:20 PM, Harbs <harbs.li...@gmail.com >> <mailto: >> > harbs.li...@gmail.com>> wrote: >> > >> >> > >> To see what I mean about href links, check out this page and >> click >> > on a link: >> > >> http://spectrum-royale/SpectrumBrowser/bin/js-debug/#!link < >> > http://spectrum-royale/SpectrumBrowser/bin/js-debug/#!link> >> > >> >> > >> Then use the side panel to navigate to the same pages. >> > >> >> > >>> On Jan 21, 2020, at 11:18 PM, Harbs <harbs.li...@gmail.com >> > <mailto:harbs.li...@gmail.com>> wrote: >> > >>> >> > >>> The problem is the href in the <a> element in the nav. The hash >> is >> > being changed to “#" after the router redirects. >> > >>> >> > >>> You need to handle routing in one of two ways (and not both). >> > >>> 1. Use setState() >> > >>> 2. Use href links >> > >>> >> > >>> To do #1, you need to remove the href from the <a> elements (or >> > use something else such as a div or li). >> > >>> >> > >>> If you use href links, the logic of actually switching the views >> > should be handled by the router, so for example in Card, the href should >> > be #card_panel or #!card_panel. >> > >>> >> > >>> Then setNavSelection will work. >> > >>> >> > >>> The downside of the second method is that I’m not sure how to >> set >> > the title. Maybe that should be a separate method that can be called. >> > >>> >> > >>>> On Jan 21, 2020, at 8:48 PM, Carlos Rovira < >> > carlosrov...@apache.org <mailto:carlosrov...@apache.org>> wrote: >> > >>>> >> > >>>> Hi Harbs, >> > >>>> >> > >>>> this paste is the MainContent.mxml from TDJ with the changes I >> > tried: >> > >>>> >> > >>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fez6aq&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141794314&sdata=8GGvb49Tfw0pmv98Phvo8VBsuDnWWIuAOGbZ7DT0l1g%3D&reserved=0 >> > < >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fez6aq&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141794314&sdata=8GGvb49Tfw0pmv98Phvo8VBsuDnWWIuAOGbZ7DT0l1g%3D&reserved=0 >> > > >> > >>>> >> > >>>> You can override whole file in your local and try to compile to >> > see >> > >>>> results. I'm sure you'll get the right way to work for your >> code. >> > >>>> >> > >>>> Thanks >> > >>>> >> > >>>> Carlos >> > >>>> >> > >>>> >> > >>>> >> > >>>> El mar., 21 ene. 2020 a las 19:31, Harbs (< >> harbs.li...@gmail.com >> > <mailto:harbs.li...@gmail.com>>) escribió: >> > >>>> >> > >>>>> Oops. I thought this email went out yesterday… >> > >>>>> >> > >>>>> I have very little time today. >> > >>>>> >> > >>>>> Can you show me the code you tried? >> > >>>>> >> > >>>>>> On Jan 20, 2020, at 8:01 PM, Carlos Rovira < >> > carlosrov...@apache.org <mailto:carlosrov...@apache.org>> >> > >>>>> wrote: >> > >>>>>> >> > >>>>>> Hi Harbs, >> > >>>>>> >> > >>>>>> thanks for adding this. I think it will deserve some blog >> > example, since >> > >>>>> is >> > >>>>>> something people requested in social media. >> > >>>>>> Can you please add it to Tour De Jewel? I tried but, I get >> two >> > problems: >> > >>>>>> 1.- back/forth buttons are not working >> > >>>>>> 2.- previous button seems to register more than once the same >> > state. >> > >>>>>> Thanks >> > >>>>>> >> > >>>>>> Carlos >> > >>>>>> >> > >>>>>> >> > >>>>>> El lun., 20 ene. 2020 a las 14:38, Harbs (< >> > harbs.li...@gmail.com <mailto:harbs.li...@gmail.com>>) >> > >>>>> escribió: >> > >>>>>> >> > >>>>>>> I don’t remember how deep linking worked, but the concept is >> > similar. >> > >>>>>>> Routing is the modern term. >> > >>>>>>> >> > >>>>>>> FWIW, here’s an article on routing strategies vis a vis url >> > paths: >> > >>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcodecraft.tv%2Fcourses%2Fangular%2Frouting%2Frouting-strategies%2F&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141794314&sdata=YE9TtnIwO0v8oYi87yOUo0nosE5ZYmpWxIr5QiHMmlU%3D&reserved=0 >> > < >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcodecraft.tv%2Fcourses%2Fangular%2Frouting%2Frouting-strategies%2F&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141794314&sdata=YE9TtnIwO0v8oYi87yOUo0nosE5ZYmpWxIr5QiHMmlU%3D&reserved=0 >> > >> > < >> > >>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcodecraft.tv%2Fcourses%2Fangular%2Frouting%2Frouting-strategies%2F&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141794314&sdata=YE9TtnIwO0v8oYi87yOUo0nosE5ZYmpWxIr5QiHMmlU%3D&reserved=0 >> > < >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcodecraft.tv%2Fcourses%2Fangular%2Frouting%2Frouting-strategies%2F&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141804308&sdata=V%2Ff%2FnTDVLfXloEyPLf1h7EiIlN5OhHipuX9hCSv3syU%3D&reserved=0 >> > >> >> > >>>>>>> >> > >>>>>>>> On Jan 20, 2020, at 3:33 PM, Andrew Wetmore < >> > cottag...@gmail.com <mailto:cottag...@gmail.com>> >> > >>>>> wrote: >> > >>>>>>>> >> > >>>>>>>> Thanks for this. In what way is this different from deep >> > linking in >> > >>>>> Flex, >> > >>>>>>>> apart from the name? >> > >>>>>>>> >> > >>>>>>>> On Mon, Jan 20, 2020 at 8:30 AM Harbs < >> harbs.li...@gmail.com >> > <mailto:harbs.li...@gmail.com> <mailto: >> > >>>>>>> harbs.li...@gmail.com <mailto:harbs.li...@gmail.com>>> >> wrote: >> > >>>>>>>> >> > >>>>>>>>> Not sure what you’re looking for. I tried to document the >> > class as >> > >>>>> best >> > >>>>>>> as >> > >>>>>>>>> I could: >> > >>>>>>>>> >> > >>>>>>>>> >> > >>>>>>> >> > >>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2F6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91%2Fframeworks%2Fprojects%2FBasic%2Fsrc%2Fmain%2Froyale%2Forg%2Fapache%2Froyale%2Frouting%2FRouter.as&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141804308&sdata=xbT0sHSmLT3mNHRkA2RHi%2FTnctwg7GbV66oRdPrm1X8%3D&reserved=0 >> > < >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2F6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91%2Fframeworks%2Fprojects%2FBasic%2Fsrc%2Fmain%2Froyale%2Forg%2Fapache%2Froyale%2Frouting%2FRouter.as&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141804308&sdata=xbT0sHSmLT3mNHRkA2RHi%2FTnctwg7GbV66oRdPrm1X8%3D&reserved=0 >> > > >> > >>>>>>> < >> > >>>>>>> >> > >>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2F6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91%2Fframeworks%2Fprojects%2FBasic%2Fsrc%2Fmain%2Froyale%2Forg%2Fapache%2Froyale%2Frouting%2FRouter.as&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141804308&sdata=xbT0sHSmLT3mNHRkA2RHi%2FTnctwg7GbV66oRdPrm1X8%3D&reserved=0 >> > >>>>>>>> >> > >>>>>>>>> < >> > >>>>>>>>> >> > >>>>>>> >> > >>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2F6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91%2Fframeworks%2Fprojects%2FBasic%2Fsrc%2Fmain%2Froyale%2Forg%2Fapache%2Froyale%2Frouting%2FRouter.as&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141814302&sdata=2IQN87eU9BkqkA%2FNuymcSnyRR3hX7w7w4jZF79Vb23Q%3D&reserved=0 >> > >>>>>>> < >> > >>>>>>> >> > >>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2F6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91%2Fframeworks%2Fprojects%2FBasic%2Fsrc%2Fmain%2Froyale%2Forg%2Fapache%2Froyale%2Frouting%2FRouter.as&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141814302&sdata=2IQN87eU9BkqkA%2FNuymcSnyRR3hX7w7w4jZF79Vb23Q%3D&reserved=0 >> > >>>>>>>> >> > >>>>>>>>>> >> > >>>>>>>>> >> > >>>>>>>>> * “Routing” uses the browser history APIs to allow forward >> > and back >> > >>>>>>>>> navigation. >> > >>>>>>>>> * When the hash of a URL is changed, the router dispatches >> > an event >> > >>>>>>>>> * The state of the strand component can be automatically >> > synced to the >> > >>>>>>>>> Router routeState.state value. >> > >>>>>>>>> * The application can call either setState() to add a >> point >> > to the >> > >>>>>>> browser >> > >>>>>>>>> history, or: >> > >>>>>>>>> * call renderState() to add a point and trigger a state >> > change in the >> > >>>>>>> app >> > >>>>>>>>> (i.e. diapatch an event fro the browser) >> > >>>>>>>>> >> > >>>>>>>>> Helpful? >> > >>>>>>>>> >> > >>>>>>>>> Some JS frameworks let you declaratively declare routes >> for >> > a router, >> > >>>>>>> that >> > >>>>>>>>> might be something worth looking into, but I was not sure >> > what that >> > >>>>>>> would >> > >>>>>>>>> look like in Royale. >> > >>>>>>>>> >> > >>>>>>>>>> On Jan 20, 2020, at 3:22 PM, Andrew Wetmore < >> > cottag...@gmail.com> >> > >>>>>>> wrote: >> > >>>>>>>>>> >> > >>>>>>>>>> @harbs, would you have a chance to blurt out some text >> about >> > >>>>> "routing", >> > >>>>>>>>> and >> > >>>>>>>>>> especially how and where it differs from "deep linking" >> in >> > Flex? We >> > >>>>>>> need >> > >>>>>>>>>> some documentation about this and I thought I knew where >> I >> > was going >> > >>>>> to >> > >>>>>>>>> go >> > >>>>>>>>>> with it until I saw this as an example of routing. >> > >>>>>>>>>> >> > >>>>>>>>>> Does not have to be finished text....bullet points and >> > pointers would >> > >>>>>>> be >> > >>>>>>>>>> fine. I can then rework it for the help docs. >> > >>>>>>>>>> >> > >>>>>>>>>> Thanks! >> > >>>>>>>>>> >> > >>>>>>>>>> On Mon, Jan 20, 2020 at 8:09 AM Harbs < >> > harbs.li...@gmail.com> wrote: >> > >>>>>>>>>> >> > >>>>>>>>>>> It’s declared here: >> > >>>>>>>>>>> >> > >>>>>>>>>>> >> > >>>>>>>>> >> > >>>>>>> >> > >>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funhurdle%2Fspectrum-royale%2Fblob%2Fmaster%2FSpectrumBrowser%2Fsrc%2Fview%2FMainView.mxml%23L213&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141814302&sdata=UREthX3cpbQ56ivk%2BNLhDCjYQb%2BMbJFf%2BeXvZdjJjX4%3D&reserved=0 >> > >>>>>>>>>>> >> > >>>>>>>>>>> And used here: >> > >>>>>>>>>>> >> > >>>>>>>>>>> >> > >>>>>>>>> >> > >>>>>>> >> > >>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funhurdle%2Fspectrum-royale%2Fblob%2Fmaster%2FSpectrumBrowser%2Fsrc%2Fview%2FMainView.mxml%23L131&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141814302&sdata=kOp9ckHOQbTr9YRstvuVWNqiZ2%2FhlfjUSpulDUjlOYw%3D&reserved=0 >> > >>>>>>>>>>> >> > >>>>>>>>>>> here: >> > >>>>>>>>>>> >> > >>>>>>>>>>> >> > >>>>>>>>> >> > >>>>>>> >> > >>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funhurdle%2Fspectrum-royale%2Fblob%2Fmaster%2FSpectrumBrowser%2Fsrc%2Fview%2FMainView.mxml%23L167&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141814302&sdata=IuMkxKuz6WFlRCurCZIdGsfQOp7YWlWn%2FBZlBeTyqrY%3D&reserved=0 >> > >>>>>>>>>>> >> > >>>>>>>>>>> and here: >> > >>>>>>>>>>> >> > >>>>>>>>>>> >> > >>>>>>>>> >> > >>>>>>> >> > >>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funhurdle%2Fspectrum-royale%2Fblob%2Fmaster%2FSpectrumBrowser%2Fsrc%2Fmodels%2FTheme.as%23L20&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141814302&sdata=Yj0CpC%2BOob5%2Bv3yYvejSbThS1E5H6LfcgeDr36F5pl8%3D&reserved=0 >> > >>>>>>>>>>> >> > >>>>>>>>>>>> On Jan 20, 2020, at 3:03 PM, Harbs < >> harbs.li...@gmail.com> >> > wrote: >> > >>>>>>>>>>>> >> > >>>>>>>>>>>> I created a Router bead which I’m now using in the demo >> > app. >> > >>>>>>>>>>>> >> > >>>>>>>>>>>> Here’s two very different states: >> > >>>>>>>>>>>> >> > >>>>>>>>>>>> >> > >>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Funhurdle.github.io%2Fspectrum-royale%2F%23!combobox%3Fcolorstop%3Ddark&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141824294&sdata=%2FTEXrwwGdiem9gFnyjzkAKZ5%2Fk6NfoRTotqB3P8Ytjo%3D&reserved=0 >> > >>>>>>>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Funhurdle.github.io%2Fspectrum-royale%2F%23!asset_list&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141824294&sdata=lBy0b4PVbuQH%2FQhVEamhThHrMaqzpx2csAO6F24rFC8%3D&reserved=0 >> > >>>>>>>>>>>> >> > >>>>>>>>>>>> Router supports”state”, paths and parameters. >> > >>>>>>>>>>>> >> > >>>>>>>>>>>> The demo app is using state and parameters. >> > >>>>>>>>>>>> >> > >>>>>>>>>>>> Harbs >> > >>>>>>>>>>>> >> > >>>>>>>>>>>>> On Jan 20, 2020, at 10:54 AM, Carlos Rovira < >> > >>>>>>> carlosrov...@apache.org> >> > >>>>>>>>>>> wrote: >> > >>>>>>>>>>>>> >> > >>>>>>>>>>>>> Hi Harbs, >> > >>>>>>>>>>>>> >> > >>>>>>>>>>>>> about routing, I expect urls will be more like >> > permalinks without >> > >>>>>>> the >> > >>>>>>>>>>> need >> > >>>>>>>>>>>>> of !# chars. Is this possible? >> > >>>>>>>>>>>>> >> > >>>>>>>>>>>>> This: >> > >>>>>>>>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Funhurdle.github.io%2Fspectrum-royale%2Fbar_loader&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141824294&sdata=g%2F7viwuz3i8rYbS5edMp7MbtaoyzDRIyqa2RzvygMFc%3D&reserved=0 >> > >>>>>>>>>>>>> >> > >>>>>>>>>>>>> instead of this: >> > >>>>>>>>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Funhurdle.github.io%2Fspectrum-royale%2F%23!bar_loader&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141824294&sdata=spntc9iglOq2haYPM2iKexYzHvQqmFOCGrPFQtPrqIw%3D&reserved=0 >> > >>>>>>>>>>>>> >> > >>>>>>>>>>>>> And have it as a library "Routing" that we could use. >> > >>>>>>>>>>>>> As any other framework out there, is something that >> they >> > support >> > >>>>>>> with >> > >>>>>>>>>>> some >> > >>>>>>>>>>>>> API, and I think is one of the things we already don't >> > offer. >> > >>>>>>>>>>>>> Would be great to have for 1.0, since is something >> > people will >> > >>>>> want >> > >>>>>>>>> very >> > >>>>>>>>>>>>> soon in their tests for sure. >> > >>>>>>>>>>>>> >> > >>>>>>>>>>>>> What do you think? >> > >>>>>>>>>>>>> >> > >>>>>>>>>>>>> Carlos >> > >>>>>>>>>>>>> >> > >>>>>>>>>>>>> >> > >>>>>>>>>>>>> >> > >>>>>>>>>>>>> El lun., 20 ene. 2020 a las 7:31, Harbs (< >> > harbs.li...@gmail.com>) >> > >>>>>>>>>>> escribió: >> > >>>>>>>>>>>>> >> > >>>>>>>>>>>>>> Good catch. Thanks! >> > >>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>> On Jan 20, 2020, at 1:52 AM, Andrew Wetmore < >> > >>>>> cottag...@gmail.com> >> > >>>>>>>>>>> wrote: >> > >>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>> Small thing, but I think the code example for >> "Avatar" >> > is >> > >>>>>>> reversed, >> > >>>>>>>>>>>>>>> implying that the first of the two images is >> disabled >> > rather >> > >>>>> than >> > >>>>>>>>> the >> > >>>>>>>>>>>>>>> second. >> > >>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>> On Sun, Jan 19, 2020 at 6:42 PM Harbs < >> > harbs.li...@gmail.com> >> > >>>>>>>>> wrote: >> > >>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>>> FYI, I just added routing to the demo app. It was >> > pretty >> > >>>>>>> painless, >> > >>>>>>>>>>>>>>>> although I’d like to make it even simpler… >> > >>>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Funhurdle.github.io%2Fspectrum-royale%2F%23!bar_loader&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141824294&sdata=spntc9iglOq2haYPM2iKexYzHvQqmFOCGrPFQtPrqIw%3D&reserved=0 >> > < >> > >>>>>>>>>>>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Funhurdle.github.io%2Fspectrum-royale%2F%23!bar_loader&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141824294&sdata=spntc9iglOq2haYPM2iKexYzHvQqmFOCGrPFQtPrqIw%3D&reserved=0 >> > > >> > >>>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>>>> On Jan 15, 2020, at 7:08 PM, Harbs < >> > harbs.li...@gmail.com> >> > >>>>>>> wrote: >> > >>>>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>>>> FYI, I just updated the project readme with a link >> > to the demo >> > >>>>>>> and >> > >>>>>>>>>>> some >> > >>>>>>>>>>>>>>>> markup to show what a full Royale app looks like: >> > >>>>>>>>>>>>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funhurdle%2Fspectrum-royale&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141824294&sdata=xsPhwRRqMhGzYFBoGF7zg%2Ft4imnAc%2FgTTU8ch%2BqpBLE%3D&reserved=0 >> > < >> > >>>>>>>>>>>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funhurdle%2Fspectrum-royale&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141824294&sdata=xsPhwRRqMhGzYFBoGF7zg%2Ft4imnAc%2FgTTU8ch%2BqpBLE%3D&reserved=0 >> > > >> > >>>>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>>>>> On Jan 13, 2020, at 1:30 AM, Harbs < >> > harbs.li...@gmail.com >> > >>>>>>>>> <mailto: >> > >>>>>>>>>>>>>>>> harbs.li...@gmail.com>> wrote: >> > >>>>>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>>>>> FYI, I’ve been working on filling out a demo the >> > Spectrum >> > >>>>>>> Royale >> > >>>>>>>>>>>>>>>> components: >> > >>>>>>>>>>>>>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Funhurdle.github.io%2Fspectrum-royale%2F&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141824294&sdata=zQ6k7KIbDHL4aV%2B1cfLJMRmzISSI9AwxeQ3MacEBK4c%3D&reserved=0 >> > < >> > >>>>>>>>>>>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Funhurdle.github.io%2Fspectrum-royale%2F&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141824294&sdata=zQ6k7KIbDHL4aV%2B1cfLJMRmzISSI9AwxeQ3MacEBK4c%3D&reserved=0 >> > > >> > >>>>>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>>>>> I’m going to be filling them out over the next >> week… >> > >>>>>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>>>>> Harbs >> > >>>>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>> -- >> > >>>>>>>>>>>>>>> Andrew Wetmore >> > >>>>>>>>>>>>>>> >> > >>>>>>>>>>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcottage14.blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141834290&sdata=Ynofd7K6mpePGhDGnJYdaYeh4UazmjUdy1AVOPt090E%3D&reserved=0 >> > >>>>>>>>>>>>>> >> > >>>>>>>>>>>>>> >> > >>>>>>>>>>>>> >> > >>>>>>>>>>>>> -- >> > >>>>>>>>>>>>> Carlos Rovira >> > >>>>>>>>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141834290&sdata=RWBGNizEtM2mC%2FZNOe4hvOZzz61SGLTinTkHwwtyQv0%3D&reserved=0 >> > >>>>>>>>>>>> >> > >>>>>>>>>>> >> > >>>>>>>>>>> >> > >>>>>>>>>> >> > >>>>>>>>>> -- >> > >>>>>>>>>> Andrew Wetmore >> > >>>>>>>>>> >> > >>>>>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcottage14.blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141834290&sdata=Ynofd7K6mpePGhDGnJYdaYeh4UazmjUdy1AVOPt090E%3D&reserved=0 >> > >>>>>>>>> >> > >>>>>>>>> >> > >>>>>>>> >> > >>>>>>>> -- >> > >>>>>>>> Andrew Wetmore >> > >>>>>>>> >> > >>>>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcottage14.blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141834290&sdata=Ynofd7K6mpePGhDGnJYdaYeh4UazmjUdy1AVOPt090E%3D&reserved=0 >> > < >> > >> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcottage14.blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141834290&sdata=Ynofd7K6mpePGhDGnJYdaYeh4UazmjUdy1AVOPt090E%3D&reserved=0 >> > > >> > >>>>>>> >> > >>>>>> >> > >>>>>> >> > >>>>>> -- >> > >>>>>> Carlos Rovira >> > >>>>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141834290&sdata=RWBGNizEtM2mC%2FZNOe4hvOZzz61SGLTinTkHwwtyQv0%3D&reserved=0 >> > >>>>> >> > >>>>> >> > >>>> >> > >>>> -- >> > >>>> Carlos Rovira >> > >>>> >> > >> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141834290&sdata=RWBGNizEtM2mC%2FZNOe4hvOZzz61SGLTinTkHwwtyQv0%3D&reserved=0 >> > < >> > >> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141834290&sdata=RWBGNizEtM2mC%2FZNOe4hvOZzz61SGLTinTkHwwtyQv0%3D&reserved=0 >> > > >> > >>> >> > >> >> > > >> > >> > >> > >> > >> >> -- >> Carlos Rovira >> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141834290&sdata=RWBGNizEtM2mC%2FZNOe4hvOZzz61SGLTinTkHwwtyQv0%3D&reserved=0 >> > > > -- > > Piotr Zarzycki > > Patreon: *https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141834290&sdata=KSi8JcEL0kp3%2BnF3XNlQzb7ObJP5zLel9rN%2B4zmut3o%3D&reserved=0 > <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141834290&sdata=KSi8JcEL0kp3%2BnF3XNlQzb7ObJP5zLel9rN%2B4zmut3o%3D&reserved=0>* > -- Piotr Zarzycki Patreon: *https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141834290&sdata=KSi8JcEL0kp3%2BnF3XNlQzb7ObJP5zLel9rN%2B4zmut3o%3D&reserved=0 <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C9c2cf4e0d00b4580633708d7e29ed603%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227044141844286&sdata=nBHdSafX3wyVHSbiBYG%2Bc8ZASG%2FaR%2FmC89zB1YqkfCQ%3D&reserved=0>*