* 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>
- Resolves#1276
- Just pass the parameter which is either undefined or an number. No need to get it from a object, while we can just pass the property already.
* 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
* Allow dragging the message box
- Allows the message box to be dragged to any position on the screen, so the user can set it to their wishes.
- Something as discussed in #1270.
* Use CSS to prevent user select
* Remove whitespace
* Imagine wasted new lines
* Make it more niece
* Remove unnecessary check
* Fix calculation code
* cursor: move;
* fixup
* Don't declare variable here
* Cap the move to 30px in each side
* I should pay attention to my english lessons
Co-authored-by: tophf <tophf@gmx.com>
* Use flex to center #message-box
- Resolves#1270
- See details on the issue mentioned.
* Use existing .center
* Remove center rule at non-center selector
* 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