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

feat(publish): add confirm option #262

Merged
merged 3 commits into from
Sep 24, 2024
Merged

feat(publish): add confirm option #262

merged 3 commits into from
Sep 24, 2024

Conversation

rofe
Copy link
Contributor

@rofe rofe commented Sep 14, 2024

Fix #260
Fix #261

loadPage(url) {
window.location.href = url;
if (url === window.location.href) {
window.location.reload();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

URLs with hashes in them aren't refreshed otherwise.

@@ -118,10 +118,10 @@
* @prop {string} id The plugin ID (mandatory)
* @prop {PluginButton} [button] A button configuration object (optional)
* @prop {string} [container] The ID of a dropdown to add this plugin to (optional)
* @prop {boolean} [override] Replace an existing plugin (optional)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I decided to drop this unused legacy property. It has no more effect in the new sidekick.

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.89%. Comparing base (d7cc55c) to head (d57ab04).
Report is 6 commits behind head on release-20240924.

Additional details and impacted files
@@                Coverage Diff                @@
##           release-20240924     #262   +/-   ##
=================================================
  Coverage             99.89%   99.89%           
=================================================
  Files                    51       51           
  Lines                  1975     1981    +6     
=================================================
+ Hits                   1973     1979    +6     
  Misses                    2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rofe rofe marked this pull request as ready for review September 23, 2024 13:31
@rofe rofe changed the base branch from main to release-20240924 September 24, 2024 08:59
@rofe rofe merged commit 7e8e1fc into release-20240924 Sep 24, 2024
6 checks passed
@rofe rofe deleted the issue-260 branch September 24, 2024 08:59
rofe pushed a commit that referenced this pull request Sep 24, 2024
# [1.32.0](v1.31.4...v1.32.0) (2024-09-24)

### Bug Fixes

* dynamically load in ui.js ([a4fc57d](a4fc57d))
* remove dynamic import from background script ([58cc888](58cc888))

### Features

* extensible source support ([#245](#245)) ([#268](#268)) ([a834be2](a834be2))
* **publish:** add confirm option ([#262](#262)) ([7e8e1fc](7e8e1fc))
* support transient site token ([#272](#272)) ([2aeb56a](2aeb56a))
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.

2 participants