Skip to content
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

Full Micron markdown and field support, dark mode #20

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

RFnexus
Copy link
Contributor

@RFnexus RFnexus commented Dec 10, 2024

This PR includes a rewrite of micron-parser.js to provide complete Micron markdown support, including input fields for submitting data to nodes hosting Micron pages. micron-parser.js is now a 1:1 reference implementation of MicronParser.py from NomadNet.

Additionally dark mode support has been added for all TailwindCSS classes
image

image

@markqvist
Copy link
Contributor

This is looking so good!

@liamcottle liamcottle merged commit a6ebf73 into liamcottle:master Dec 10, 2024
@liamcottle
Copy link
Owner

Thank you very much for your work on this :) Merged in!

I will need to look into reworking how the internal links for nomad network page downloads are handled in MeshChat, as some sites are using the link id to determine if a user is logged in.

For example, the etux node app template files:
https://codeberg.org/etux/Node_App_Template/src/branch/main/login.mu#L23
f166946957ffb27d92b196df868cc20c:/page/index.mu

However, since MeshChat establishes a new link for every page that loads, the link id changes, which breaks that functionality.

Just a side note on dark mode, I personally use light mode 😂, so you will likely notice as new features are added, dark mode support might be lacking. I'll try to extract any new UI into separate component files, but it's possible I will forget some dark mode classes here and there...

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants