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

New changes to the example menu #506

Merged
merged 6 commits into from
Oct 11, 2023

Conversation

SergioCasCeb
Copy link
Contributor

For this pull request, I have:

  • Modified the examples path generator file to only utilize txt, json and jsonld files and ignore everything else
  • Added a quick access button to import the examples into the editor
  • Slightlly redesigned the filter section for the menus to hopefully make it more comprehensive and easy to use

Small fix in the path generation for the examples, to make sure that when the script is run only txt files are used for category descriptions and json/jsonld files for the TD and TM. Everything with a different extension should not be taken into account
A new button for users to import an example without the need to open or read the description of the example
The filter section for the examples menu has been slightly modified to simplified the filtering process as well as being more intuitive and comprehensive
@egekorkan
Copy link
Member

The failing tests can be ignored for now, it is not a problem of this PR. I have tested it locally and it is fine and addresses some of the issues raised by @danielpeintner and @FadySalama about the examples page. A screenshot is below:

image

Something to fix is that the TD TM toggle is not showing the unselected type so it is not clear why one would want to click on it.

The text td and tm as been added to better show the user the usability of the button
@netlify
Copy link

netlify bot commented Oct 10, 2023

Deploy Preview for playground-new-prreview ready!

Name Link
🔨 Latest commit 047535d
🔍 Latest deploy log https://app.netlify.com/sites/playground-new-prreview/deploys/6525ab579bd213000823ff85
😎 Deploy Preview https://deploy-preview-506--playground-new-prreview.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

A new icon was created and added to the examples cards to better show the usage of Thing Descriptions
@egekorkan
Copy link
Member

It looks good to me now. Merging

@egekorkan egekorkan merged commit db553e9 into eclipse-thingweb:master Oct 11, 2023
9 of 11 checks passed
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.

2 participants