Exerro, on 26 November 2017 - 07:07 PM, said:
'NFC' capabilities
Imagine walking into a shop on a server, opening your browser, and seeing a little "Shop wants to show this page" message. You open it and are redirected to the store's page.
Also, imagine placing an order from home, then going into a collection booth where it takes you to a page allowing you log in and get your items.
Hmm. That does sound interesting.
Exerro, on 26 November 2017 - 07:07 PM, said:
Animations, animations everywhere!
Animations are awesome. They make a simple UI look good and make it far cleaner looking and more intuitive to use. I'd go CSS-like with `x-transition` and stuff.
I
could add some half-baked animation support with some sort of CSS, also I could allow scripts to be loaded as the page is rendered. I'll think about that.
Exerro, on 26 November 2017 - 07:07 PM, said:
RGB colour support
New versions of CC support palette changing, which means you can now use full RGB colour (as long as you limit it to 16 distinct colours before rendering). Why not go even further and add in RGBA? (I've done this, it works surprisingly well)
Sure! I'll have to do some hacky things, like having only 4 or so colors available to add custom values (luckily the browser only uses a gray/white theme, so it might work out well)
Exerro, on 26 November 2017 - 07:07 PM, said:
Web support
No more `pastebin run X` installers... just navigate to `http://someurl.domain/installer.markup` and have a web page that asks to install the program and shows some info about it too.
I was doing a thing a while ago with OneOS and pkg to install apps, so I might possibly be able to add that.
Exerro, on 26 November 2017 - 07:07 PM, said:
Really powerful layout elements
Lists, flows, layouts, and grids - these are the 4 core layout components for me. Lists just sequentially show their children (potentially with reverse order, alignment, etc), flows do the same but wrap when the content goes past the boundary (e.g. the width of the container), layouts position children with absolute positions, but still support things like `50%` for an X value, and grids... are grids.
You should also be able to use constant sizes, relative (X%) sizes, something like "use up this ratio of the remaining space", and "use as little space as possible" (e.g. for text, images, or nested containers).
That was something I plan to add. In some things, I have the align variable so I could use something with that.
Exerro, on 26 November 2017 - 07:07 PM, said:
Scrolling support
> There is also no scrolling support, either.
Add it! Scrolling is important, and **way** easier to do with the backend (the browser).
Probably could do that with messing with Y. I'll think about it.
Exerro, on 26 November 2017 - 07:07 PM, said:
Styles
Being able to apply a particular style to a multitude of similar elements at once is really important. I think CSS does it quite well, but it's also kinda limited (no variables and somewhat limited selectors).
I was thinking about adding some lua-table configuration or something halfway through writing this post, so I could probably add something like a "lst" (lua style table) tag or something.
I also noticed you had mentioned protocols. I do have protocols in Mercury, with local:/// (the extra / is not a typo, there is just no host), and rdnt://, and pages built into the browser as mercury:// domains, like mercury://home.
Wilma456, on 26 November 2017 - 07:40 PM, said:
Does it works mit normal HTML Websites (I know, that CSS and JS are not suported)?
No, it doesn't. It uses its own subset of XML with HTML like tags, as much as I can.
Edited by Haddock, 27 November 2017 - 12:44 AM.