Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Updated to latest bootstrap, jquery, filesaver. #238

Merged
merged 4 commits into from
Dec 20, 2021

Conversation

jasoncoon
Copy link
Owner

@jasoncoon jasoncoon commented Dec 19, 2021

  • Updated to latest bootstrap, jquery, filesaver.
  • Switched from glyphicons to bootstrap icons.
  • This will allow us to switch to "vanilla" JS & remove jquery.
  • Hide the import/export accordion until the app is loaded.
  • Use enableCORS, remove individual CORS headers.

The look of the web app didn't change drastically.

Before:

image

After:

image

Switched from glyphicons to bootstrap icons.
This will allow us to switch to "vanilla" JS & remove jquery.
Hide the import/export accordion until the app is loaded.
Use enableCORS, remove individual CORS headers.
which were trying to load local css & js,
which does not currently work.
Removed isotope library, used bootstrap grid instead.
Query product for info & simple page titles.
Removed target="_blank" from navbar links.
@henrygab
Copy link
Collaborator

Hi Jason,

The UI looks much cleaner. Well done!

Q: Is there any reason not to just use the version that is on the local file system? I also put my LEDs on an isolated network, and in many places, people pay for all data transferred (no flat rate internet).

Copy link
Collaborator

@henrygab henrygab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to expose my ignorance about HTML/JS coding....

  1. See comment ... debugging data left in accidentally?
  2. Are all five versions of the glyphicons file required?

esp8266-fastled-webserver/data/js/simple.js Outdated Show resolved Hide resolved
@jasoncoon
Copy link
Owner Author

The UI looks much cleaner. Well done!

Thanks!

Q: Is there any reason not to just use the version that is on the local file system? I also put my LEDs on an isolated network, and in many places, people pay for all data transferred (no flat rate internet).

Yes, the local file system static files are not currently being served correctly. See #231 (comment)

Inlined a few styles to compensate for local static file problem.
Fixed info softAPMacAddress label.
@jasoncoon jasoncoon requested a review from henrygab December 20, 2021 01:37
Copy link
Collaborator

@henrygab henrygab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: my review is cursory at best, due to my limited expertise in the HTML/JS.

@jasoncoon jasoncoon merged commit bd60e9e into main Dec 20, 2021
@jasoncoon jasoncoon deleted the jcoon/update-bootstrap branch December 20, 2021 01:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants