Skip to content

Excessively long link warning - #229

Open
davmillar wants to merge 4 commits into
swaroopg92:devfrom
davmillar:link-warning
Open

Excessively long link warning#229
davmillar wants to merge 4 commits into
swaroopg92:devfrom
davmillar:link-warning

Conversation

@davmillar

Copy link
Copy Markdown
Contributor
  • Adds a warning popup when exporting a link and it's very long -- likely to trigger the "URI too long" error.
  • Adds a setting to the Settings popup and the export popup allowing the warning to be turned off.
  • Cleanup of a few settings-related handlers.
  • Cleanup/fix load method to parse URLs that don't contain "penpa-edit" to allow local dev URLs to load more easily.

Added new user setting to disable the warning if desired.
Added helper to settings area to clean up parsing behavior.
Warning includes translations done by Duck Duck Go.

Includes new io.js file for future abstraction of save
and load code.
Change to the load functionality allows local development to load
URLs without penpa-edit in the URL.
@davmillar

Copy link
Copy Markdown
Contributor Author

Resolves #227.

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