Harbs, What please describe what are you going to change exactly. Since I need to move forward with my feature in application I will probably implement adhoc solution with Router in app only, but I would like to avoid some big changes when you commit your code.
Thanks, Piotr pon., 20 kwi 2020 o 09:52 Harbs <harbs.li...@gmail.com> napisał(a): > There are beads which handle the following: > > 1. Paths — in a hash router, this would be the part of the url between the > hash and the question mark or a second hash. In a “browser router” this > would be the section between the base and and the question mark or a hash > 2. Parameters — handles between the question mark and subsequent hash. > (yes RouteToParameter works) > 3. I started work on dealing with trailing hash links for scrolling to > anchor (or rather id) behavior, but that’s not yet done. (Something like > this: > https://github.com/vuejs/vue-router/tree/dev/examples/scroll-behavior < > https://github.com/vuejs/vue-router/tree/dev/examples/scroll-behavior>) > > Ideally all of these beads should work in either kind of router. This is > already PAYG, but it’s going to take some work to get this working and PAYG > for both kinds of routers. > > I’ll try to work on this today… > > Harbs > > > On Apr 20, 2020, at 10:01 AM, Carlos Rovira <carlosrov...@apache.org> > wrote: > > > > Hi Piotr, > > > > I used hashes with params, so that's completely fine and we should have > it. > > In fact, I think we already should have it since I'm seeing > > "RoutToParameter" class right? Maybe Harbs should confirm this since he > > implemented, and I just saw the class but still not use it. > > > > > > El dom., 19 abr. 2020 a las 16:23, Piotr Zarzycki (< > > piotrzarzyck...@gmail.com>) escribió: > > > >> Harbs, > >> > >> Agreed with that. We can rename them, but even in case of HashRouter - > does > >> exclude it ability to have parameters ? Does those parameters not > exists in > >> HasRouter as well. Is it not a common stuff no matter what kind of url > it > >> is ? > >> > >> niedz., 19 kwi 2020 o 15:52 Harbs <harbs.li...@gmail.com> napisał(a): > >> > >>> After thinking about this some more, I’m thinking that Router should be > >>> named and we should add another type of router for standard path > routing. > >>> > >>> React calls them HashRouter and BrowserRouter. Maybe we should use the > >>> same names… > >>> > >>> > https://stackoverflow.com/questions/51974369/hashrouter-vs-browserrouter > >> < > >>> > https://stackoverflow.com/questions/51974369/hashrouter-vs-browserrouter > >>> > >>> > >>>> On Apr 19, 2020, at 3:32 PM, Piotr Zarzycki < > piotrzarzyck...@gmail.com > >>> > >>> wrote: > >>>> > >>>> Hi Harbs, > >>>> > >>>> It sounds like you are asking me to check in onInit whether > >>>> if(location.hash) exists then do something, but if doesn't exists > check > >>> url > >>>> params. - I may understand it in a wrong way, but I think > location.hash > >>> may > >>>> exists and location.search - where parameters are stored could exists > >>>> equally. > >>>> > >>>> if(location.hash) > >>>> { > >>>> hashChangeHandler(); > >>>> } > >>>> > >>>> if (location.search) > >>>> { > >>>> parseParameters(); > >>>> } > >>>> > >>>> Am I missing something ? > >>>> > >>>> Thanks, > >>>> Piotr > >>>> > >>>> pt., 17 kwi 2020 o 12:09 Harbs <harbs.li...@gmail.com> napisał(a): > >>>> > >>>>> Whatever you think is fine by me. > >>>>> > >>>>> I don’t remember why I have "if(location.hash)”. It’s possible you > can > >>> get > >>>>> rid of that conditional. > >>>>> > >>>>> It could be you can get rid of that and handle hashRecieved in a > bead. > >>> If > >>>>> the hashReceived event has no hash you can then check the URL.You do > >>> need > >>>>> to make sure that you always get a stateChange event and don’t > >> dispatch > >>> it > >>>>> twice. > >>>>> > >>>>> Feel free to play around with the code… ;-) > >>>>> > >>>>> Harbs > >>>>> > >>>>>> On Apr 17, 2020, at 11:37 AM, Piotr Zarzycki < > >>> piotrzarzyck...@gmail.com> > >>>>> wrote: > >>>>>> > >>>>>> I think it would be better to have it here in Router. > >>>>>> > >>>>>> pt., 17 kwi 2020 o 09:37 Harbs <harbs.li...@gmail.com> napisał(a): > >>>>>> > >>>>>>> Alternatively, you can subclass Router to support setting the > >>> parameters > >>>>>>> in the onInit method. > >>>>>>> > >>>>>>> Not sure which of these is best. > >>>>>>> > >>>>>>>> On Apr 17, 2020, at 10:35 AM, Harbs <harbs.li...@gmail.com> > wrote: > >>>>>>>> > >>>>>>>> Actually, it’s not going to work because the > >>>>>>> router.routeState.parameters will not be set. > >>>>>>>> > >>>>>>>> You will likely need to add code to set the > >>>>> router.routeState.parameters > >>>>>>> using the part of the location after the question mark. > >>>>>>>> > >>>>>>>> The easiest way to do that would be to either: > >>>>>>>> 1. Modify RouteToParameters.stateChanged to first check that there > >>> is a > >>>>>>> parameters value and then set it if not. > >>>>>>>> 2. Subclass RouteToParameters and override stateChanged to make > >> that > >>>>>>> check first. > >>>>>>>> > >>>>>>>>> On Apr 17, 2020, at 10:29 AM, Harbs <harbs.li...@gmail.com > >> <mailto: > >>>>>>> harbs.li...@gmail.com>> wrote: > >>>>>>>>> > >>>>>>>>> I’m pretty sure it’ll work without the hash as well. > >>>>>>>>> > >>>>>>>>> Give it a try. > >>>>>>>>> > >>>>>>>>>> On Apr 17, 2020, at 10:23 AM, Piotr Zarzycki < > >>>>>>> piotrzarzyck...@gmail.com <mailto:piotrzarzyck...@gmail.com>> > >> wrote: > >>>>>>>>>> > >>>>>>>>>> Hi Harbs, > >>>>>>>>>> > >>>>>>>>>> Thanks for pointing me out, but this is still that Routing > >> expects > >>> me > >>>>>>> to > >>>>>>>>>> use in url hashes - The question is - What if I can't use > hashes, > >>> but > >>>>>>> url > >>>>>>>>>> looks like I have presented in previous email ? > >>>>>>>>>> > >>>>>>>>>> Thanks, > >>>>>>>>>> Piotr > >>>>>>>>>> > >>>>>>>>>> pt., 17 kwi 2020 o 09:20 Harbs <harbs.li...@gmail.com <mailto: > >>>>>>> harbs.li...@gmail.com>> napisał(a): > >>>>>>>>>> > >>>>>>>>>>> This app uses both path based and query based routing: > >>>>>>>>>>> > >>>>>>>>>>> > >> https://unhurdle.github.io/spectrum-royale/#!asset?colorstop=dark > >>> < > >>>>>>> https://unhurdle.github.io/spectrum-royale/#!asset?colorstop=dark> > >> < > >>>>>>>>>>> > >> https://unhurdle.github.io/spectrum-royale/#!asset?colorstop=dark > >>> < > >>>>>>> https://unhurdle.github.io/spectrum-royale/#!asset?colorstop=dark > >> > >>>>>>>>>>> > >>>>>>>>>>> You can see how it’s done here: > >>>>>>>>>>> > >>>>>>> > >>>>> > >>> > >> > https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/BrowserRouter.mxml > >>>>>>> < > >>>>>>> > >>>>> > >>> > >> > https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/BrowserRouter.mxml > >>>>>>>> > >>>>>>>>>>> < > >>>>>>>>>>> > >>>>>>> > >>>>> > >>> > >> > https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/BrowserRouter.mxml > >>>>>>> < > >>>>>>> > >>>>> > >>> > >> > https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/BrowserRouter.mxml > >>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>>> On Apr 17, 2020, at 10:13 AM, Piotr Zarzycki < > >>>>>>> piotrzarzyck...@gmail.com <mailto: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 > >>>>>>> <mailto: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://mydomain.com/somefolder/index.html?target=somevalue&account= > >>> < > >>>>>>> > >> https://mydomain.com/somefolder/index.html?target=somevalue&account=> > >>>>>>>>>>>>> < > >>>>>>>>>>> > >>>>>>> > >>>>> > >>> > >> > https://localdev.prominic.net/prominic/bin/js-debug/index.html?target=UpdateCreditCard&account=A55XXX > >>>>>>> < > >>>>>>> > >>>>> > >>> > >> > https://localdev.prominic.net/prominic/bin/js-debug/index.html?target=UpdateCreditCard&account=A55XXX > >>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>>> somevalue > >>>>>>>>>>>>> > >>>>>>>>>>>>> How should I do that using Routing in Royale ? :) > >>>>>>>>>>>>> > >>>>>>>>>>>>> [1] https://apache.github.io/royale-docs/features/routing < > >>>>>>> https://apache.github.io/royale-docs/features/routing> > >>>>>>>>>>>>> [2] > >>>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>> > >>>>> > >>> > >> > https://github.com/apache/royale-asjs/tree/develop/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing > >>>>>>> < > >>>>>>> > >>>>> > >>> > >> > https://github.com/apache/royale-asjs/tree/develop/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing > >>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> 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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862520246&sdata=j0E5U49VHJMKuW7u1fMxfKJ85tC2LyPr8ZTAR2yz3%2Fo%3D&reserved=0 > >>>>>>>>>>>>>>> < > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>> > >>>>> > >>> > >> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fez6aq&data=02%7C01%7Caharui%40adobe.com%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=o%2BV4TiPe5P73KQZBghLkKH70jQ2SbR0V3i0E5tnSVHA%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=ogNXBK54ix3NvZ%2BxdjV9bbLJYtLnv4U6fJqulNC7FyA%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=ogNXBK54ix3NvZ%2BxdjV9bbLJYtLnv4U6fJqulNC7FyA%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=ogNXBK54ix3NvZ%2BxdjV9bbLJYtLnv4U6fJqulNC7FyA%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=ogNXBK54ix3NvZ%2BxdjV9bbLJYtLnv4U6fJqulNC7FyA%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=dPSelsZiizo0zb1DEVbBt3ze2QWjbVSKjfmWd8sV3X8%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=dPSelsZiizo0zb1DEVbBt3ze2QWjbVSKjfmWd8sV3X8%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=dPSelsZiizo0zb1DEVbBt3ze2QWjbVSKjfmWd8sV3X8%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=dPSelsZiizo0zb1DEVbBt3ze2QWjbVSKjfmWd8sV3X8%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=dPSelsZiizo0zb1DEVbBt3ze2QWjbVSKjfmWd8sV3X8%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=K1j0QWg2r1qa6dR%2BJEQRrGlP1Zh0rlDf0nS1uL%2BN8mY%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=z35uTfCvNyGYsmW8ffkylpoK5%2F9FQT93gK9EQAWaAEs%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=Hd3KV18Nm1tQVkP9rqExPI141P5FFyYQdnHS75QFo7U%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246&sdata=bPJJ3OLXUnDQq%2BEuBTce3ynfa%2F5c7ZzsbCNnRMQmY84%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=JHcLBa33qFZ7esdhX5VU2YWqD%2BuSJ0GQziAffjpHFtI%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=5N2hS1Ya9MNMhw8mB6kyAHw5pes77WCdXDZwHSLGVmE%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=hAw%2BaoA3myYsZ6WjzaXt8YgUJXJgRaAltBufAkysLmE%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=tZNQXnyrCRJhdQoPgfD8EkiauFwDGLp0INBtl3F70rA%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=tZNQXnyrCRJhdQoPgfD8EkiauFwDGLp0INBtl3F70rA%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=tZNQXnyrCRJhdQoPgfD8EkiauFwDGLp0INBtl3F70rA%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=UVpBzhSbAiw2N6KGJTPb3YT3xYr455UbUFceWq7F2kE%3D&reserved=0 > >>>>>>>>>>>>>>> < > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>> > >>>>> > >>> > >> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funhurdle%2Fspectrum-royale&data=02%7C01%7Caharui%40adobe.com%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=UVpBzhSbAiw2N6KGJTPb3YT3xYr455UbUFceWq7F2kE%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=zvzr%2BfLBesIBxNhHwVvK04SxFHaAeGUirN%2BUQmsZz6k%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=zvzr%2BfLBesIBxNhHwVvK04SxFHaAeGUirN%2BUQmsZz6k%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=h2LVbKGbF4ta2jfyVtBi7DzzVmgRCKdYuw%2BZ%2FOM44Ho%3D&reserved=0 > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>> -- > >>>>>>>>>>>>>>>>>>>>>>>>>>>> Carlos Rovira > >>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>> > >>>>> > >>> > >> > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=PNJ3JJbef47ofgFw9GyFgh1XuZJN4QxYpB3y7o%2FVP%2BQ%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=h2LVbKGbF4ta2jfyVtBi7DzzVmgRCKdYuw%2BZ%2FOM44Ho%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%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=h2LVbKGbF4ta2jfyVtBi7DzzVmgRCKdYuw%2BZ%2FOM44Ho%3D&reserved=0 > >>>>>>>>>>>>>>> < > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>> > >>>>> > >>> > >> > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcottage14.blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=h2LVbKGbF4ta2jfyVtBi7DzzVmgRCKdYuw%2BZ%2FOM44Ho%3D&reserved=0 > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> -- > >>>>>>>>>>>>>>>>>>>>> Carlos Rovira > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>> > >>>>> > >>> > >> > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862540237&sdata=PNJ3JJbef47ofgFw9GyFgh1XuZJN4QxYpB3y7o%2FVP%2BQ%3D&reserved=0 > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> -- > >>>>>>>>>>>>>>>>>>> Carlos Rovira > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>> > >>>>> > >>> > >> > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862550229&sdata=mjRDoomG2pNluYJeEdW%2BO5LNkJU9Sfrv1umAtouuvwQ%3D&reserved=0 > >>>>>>>>>>>>>>> < > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>> > >>>>> > >>> > >> > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862550229&sdata=mjRDoomG2pNluYJeEdW%2BO5LNkJU9Sfrv1umAtouuvwQ%3D&reserved=0 > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> -- > >>>>>>>>>>>>>> Carlos Rovira > >>>>>>>>>>>>>> http://about.me/carlosrovira > >>>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> -- > >>>>>>>>>>>>> > >>>>>>>>>>>>> Piotr Zarzycki > >>>>>>>>>>>>> > >>>>>>>>>>>>> Patreon: *https://www.patreon.com/piotrzarzycki > >>>>>>>>>>>>> <https://www.patreon.com/piotrzarzycki>* > >>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> -- > >>>>>>>>>>>> > >>>>>>>>>>>> Piotr Zarzycki > >>>>>>>>>>>> > >>>>>>>>>>>> Patreon: *https://www.patreon.com/piotrzarzycki > >>>>>>>>>>>> <https://www.patreon.com/piotrzarzycki>* > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> -- > >>>>>>>>>> > >>>>>>>>>> Piotr Zarzycki > >>>>>>>>>> > >>>>>>>>>> Patreon: *https://www.patreon.com/piotrzarzycki < > >>>>>>> https://www.patreon.com/piotrzarzycki> > >>>>>>>>>> <https://www.patreon.com/piotrzarzycki < > >>>>>>> https://www.patreon.com/piotrzarzycki>>* > >>>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>>> -- > >>>>>> > >>>>>> Piotr Zarzycki > >>>>>> > >>>>>> Patreon: *https://www.patreon.com/piotrzarzycki > >>>>>> <https://www.patreon.com/piotrzarzycki>* > >>>>> > >>>>> > >>>>> > >>>> > >>>> -- > >>>> > >>>> Piotr Zarzycki > >>>> > >>>> Patreon: *https://www.patreon.com/piotrzarzycki > >>>> <https://www.patreon.com/piotrzarzycki>* > >>> > >>> > >> > >> -- > >> > >> Piotr Zarzycki > >> > >> Patreon: *https://www.patreon.com/piotrzarzycki > >> <https://www.patreon.com/piotrzarzycki>* > >> > > > > > > -- > > Carlos Rovira > > http://about.me/carlosrovira > > -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*