* 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
USO has always produced 6-digit #rrggbb so some styles rely on it
and use /*[[color]]*/11 notation to specify the transparency.
Now we will try to preserve the opacity customized by the user
via colorpicker unless the style specifies it inline.
as it wasn't necessary and turns out it causes problems with event routing when the parent <label> includes a <button> which we use now instead of dummy links