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

Follow-up PR to allow for meta setting from Chrome Extension #737

Merged
merged 13 commits into from
Jan 9, 2024

Conversation

maximized
Copy link
Contributor

No description provided.

@maximized maximized marked this pull request as draft January 7, 2024 21:35
@maximized maximized changed the title Max set meta on upload chrome Follow-up PR to allow for meta setting from Chrome Extension Jan 7, 2024
@maximized maximized requested a review from rgossiaux January 9, 2024 15:18
@maximized maximized marked this pull request as ready for review January 9, 2024 16:54
// TODO: Make this configurable
const HUNT_NUMBER = 10;

let URL = DEV_URL;
Copy link
Contributor

Choose a reason for hiding this comment

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

URL already exists as a global, we shouldn't shadow it https://developer.mozilla.org/en-US/docs/Web/API/URL/URL

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed to TARGET_URL

chrome_extension/cardboard/popup.js Show resolved Hide resolved
chrome_extension/cardboard/popup.js Show resolved Hide resolved
chrome_extension/cardboard/popup.js Show resolved Hide resolved
Change URL to TARGET_URL
Add TODO about deploymet
@maximized maximized requested a review from rgossiaux January 9, 2024 22:06
Copy link
Contributor

@rgossiaux rgossiaux left a comment

Choose a reason for hiding this comment

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

cool, sounds good

@maximized maximized merged commit 7b75e5c into main Jan 9, 2024
2 checks passed
@maximized maximized deleted the max_set_meta_on_upload_chrome branch January 9, 2024 22:23
npinsker pushed a commit that referenced this pull request Jan 10, 2024
* Assign a single meta at puzzle creation time

* pre-commit

* Remove comment

* Modify host_permissions to match suggests from https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns

* Chrome Extension changes to support assigning the meta in the extension

* update version number

* Chrome extension changes to match meta assignment functionality

* Undo debugging

* update

* update

* Update popup.js

Change URL to TARGET_URL

* Update popup.js

Add TODO about deploymet
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.

Web extension for adding new puzzles Meta and Tag Assignment in "Add Puzzle" dialog
2 participants