* shortened the title to "Publish" and fixed the compact mode
* made collapsed <details> share the same line in compact mode
* made hard-coded strings localizable
* IIFE modules instead of generically named globals
* unified and sorted the names of localized messages
* adjusted spacing of header items
* center auth popup to current window
Co-authored-by: Gusted <williamzijl7@hotmail.com>
* Fix integration
- Don't use sourceCode as "temporary" value as it's being used as legit value(consider that we delete it after it's non longer needed).
- Wrap the metadata into a `try {}` as some styles doesn't have any metadata.
* Typos adios magios and bonjour gutentag
* Prototype
Just able to log the token for the requested style.
* Store USw Token
* Fix linting
* Add revoke capabilities
* Add upload capabilities + UI?
* Add credentials for production server
* Patch up several things
* Send styleInfo
We will be adding the feature to add style based of the currentStyle, see paring commit 31813da300
* Fix clientSecret
* Pass styleInfo trough usw's hook
Related commit on USW: 461ddb03c7
* Adjusted behavior
Applied suggestions from Narco.
* Wait for `usw-ready`before sending style
* don't use `window.`
* Ensure correct style is pre-filled
* Send over metadata
Related USW commit: 7d8c4c1248
* Title Case => Title case
* _linking => _isUswLinked