You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Browser component will provide web browser capabilities within a card, allowing users to view websites while working within Synectic. The initial set of features are:
Navigation
Browser component should include an address that displays the currently loaded URL.
Browser component should allow users to load websites through manually entered URLs in adherence to the behavior of the URL API. This should be asynchronous (i.e. non-blocking of other UI interactions).
Browser component should allow users to reload the currently loaded website.
Browser component should allow users to click on links in a loaded website and:
When a link contains a target tag of _blank, open the link URL in a new Browser card.
For all other target tags (_self, _parent, _top, and framename), or when no target value has been set, open the link URL in the same Browser card.
History
Browser component should allow users to navigate back in the browser session history in adherence to the behavior of the History.back API.
Browser component should allow users to navigate forward in the browser session history in adherence to the behavior of the History.forward API.
Browser component should allow users to use the go command in the browser session history in adherence to the behavior of the History.go API.
Bookmarks
Browser component should allow users to set the currently loaded URL as a bookmark.
Browser component should visually indicate that the currently loaded URL has been bookmarked.
Browser component should allow users to remove the currently loaded URL from bookmarks.
Browser component should display a list of currently bookmarked URLs, and allow URLs to be directly removed from the list.
Scroll Navigation
Browser component should allow the scroll position within a website to be set externally (i.e. other elements within Synectic should be able to update the scroll position; see Ben Carp's response to the StackOverflow question ReactJS how to scroll to an element).
Error Handling
Browser should be able to validate URLs entered into the address bar and provide visual indicators until the entered URL has been corrected. The TypeScript base library includes a URL class that adheres to the WhatWG URL specification.
Browser should offer suggestions for adding/correcting bad URLs that cannot be validated (i.e. suggesting to add a .com to the end of the URL https://github).
The
Browsercomponent will provide web browser capabilities within a card, allowing users to view websites while working within Synectic. The initial set of features are:Navigation
Browsercomponent should include an address that displays the currently loaded URL.Browsercomponent should allow users to load websites through manually entered URLs in adherence to the behavior of the URL API. This should be asynchronous (i.e. non-blocking of other UI interactions).Browsercomponent should allow users to reload the currently loaded website.Browsercomponent should allow users to click on links in a loaded website and:targettag of_blank, open the link URL in a newBrowsercard.targettags (_self,_parent,_top, andframename), or when notargetvalue has been set, open the link URL in the sameBrowsercard.History
Browsercomponent should allow users to navigate back in the browser session history in adherence to the behavior of theHistory.backAPI.Browsercomponent should allow users to navigate forward in the browser session history in adherence to the behavior of theHistory.forwardAPI.Browsercomponent should allow users to use the go command in the browser session history in adherence to the behavior of theHistory.goAPI.Bookmarks
Browsercomponent should allow users to set the currently loaded URL as a bookmark.Browsercomponent should visually indicate that the currently loaded URL has been bookmarked.Browsercomponent should allow users to remove the currently loaded URL from bookmarks.Browsercomponent should display a list of currently bookmarked URLs, and allow URLs to be directly removed from the list.Scroll Navigation
Browsercomponent should allow the scroll position within a website to be set externally (i.e. other elements within Synectic should be able to update the scroll position; see Ben Carp's response to the StackOverflow question ReactJS how to scroll to an element).Error Handling
Browsershould be able to validate URLs entered into the address bar and provide visual indicators until the entered URL has been corrected. The TypeScript base library includes a URL class that adheres to the WhatWG URL specification.Browsershould offer suggestions for adding/correcting bad URLs that cannot be validated (i.e. suggesting to add a.comto the end of the URLhttps://github).Browsershould provide visual indicators for HTTP status codes, especially errors such as 404 Not Found and 400 Bad Request.