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

Sidebar #188

Merged
merged 5 commits into from
Jul 30, 2018
Merged

Sidebar #188

merged 5 commits into from
Jul 30, 2018

Conversation

matatk
Copy link
Owner

@matatk matatk commented Jul 30, 2018

Allow landmarks to be displayed in a sidebar on Firefox and Opera.

This almost completely addresses #180 but needs refinement which will come when #189 is done.

* Added a sidebar (just the same popup).
* Add option to use the popup (default) or sidebar.
* Problems with activating popup/sidebar; needs work.
* Allow sidebar to react when the user moves between tabs.
* Allow sidebar to react when the content script has finished loading.
  Currently this still involves the "popup" asking for landmarks and, if
  it is running as a sidebar, encountering an error, as the sidebar loads
  before the content script runs, but this is imperceptible to the user
  and so-far appears the best solution.
* Style: wrap inline object literals with inner spaces (need to find an
  ESLint rule for this...)
* It mostly works. Opera does not have open() nor close() as well as
  isOpen(). This will need refactoring when moving to rollup or similar as
  it will be much cleaner then.
* Move the sidebar_action keys in the manifests to next to the
  browser_action keys for readability.
* Remove the HTML for the UI options from !Firefox !Opera.
* Fix output of error messages from build script.
@matatk matatk merged commit 20672ff into master Jul 30, 2018
@matatk matatk deleted the sidebar branch July 30, 2018 19:23
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.

1 participant