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

Add fullscreen error message in browser for compiler errors #458

Merged
merged 7 commits into from
Feb 21, 2019

Conversation

mathisonian
Copy link
Member

Related to #31, this PR adds a fullscreen overlay that displays any errors thrown by the Idyll CLI tool.

Example below:

screen shot 2019-01-31 at 12 53 46 pm

@mathisonian
Copy link
Member Author

The other option is something more like this:

screen shot 2019-01-31 at 1 05 11 pm

* master: (23 commits)
  Publish
  remove unused function
  clean up comments
  add test for get datasets
  update test for getting components
  make dataset format same as component
  add note for avoiding index.js
  slight minor update
  add exception for index.js
  don't include .js in component names
  remove unneeded idyll var
  use data directory for getting datasets
  add initial (redundant as component) logic for adding datasets
  update comments
  correct upon directory checking for adding component
  add initial addComponent functionality
  clean up test
  update components test
  use directory info from ComponentResolver
  add name of default data for datasets method
  ...
@mathisonian
Copy link
Member Author

It seems there is a bug in browsersync (BrowserSync/browser-sync#538) that will prevent us from using the second option, so we'll need to stick to the first for now.

@mathisonian
Copy link
Member Author

/cc @joshuahhh

@mathisonian
Copy link
Member Author

Now I just need to figure out why the tests are failing...

* master:
  docs updates
  Publish
  more robust property access check
  fix bug in expression regarding refs and prop access
  put output extra space after is
  Publish
  handle errors in the JS parser
  add missing dep:
  update tests
  fix dev mode
  fix refs
  remove reference to deleted module
  pass userViewComponent from props
  remove placeholder file
  Update CHANGELOG.md
  add initial update to take in optional user defined view component
  add initial choice between AuthorTool and user defined component
  change style to use single ticks instead of quotes
  change tooltip placement to bottom (still TODO)
  initial add shadow to debug components
@mathisonian mathisonian merged commit fa423e1 into master Feb 21, 2019
@mathisonian mathisonian deleted the browser-errors branch February 21, 2019 02:18
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.

None yet

1 participant