Skip to content

Comments

Prepare for using the extensions on Nordcraft#14

Merged
marija04 merged 4 commits intomainfrom
prepare-for-nordcraft
May 6, 2025
Merged

Prepare for using the extensions on Nordcraft#14
marija04 merged 4 commits intomainfrom
prepare-for-nordcraft

Conversation

@marija04
Copy link
Contributor

No description provided.

@marija04 marija04 requested a review from erik-beus April 29, 2025 09:50
Copy link
Contributor

@erik-beus erik-beus left a comment

Choose a reason for hiding this comment

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

Looks good. Just a few suggestions

"description": "Browser extension for the toddle editor.",
"version": "2.3.3",
"name": "Nordcraft",
"description": "Browser extension for the nordcraft editor.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"description": "Browser extension for the nordcraft editor.",
"description": "Browser extension for the Nordcraft editor.",

LICENSE Outdated
MIT License

Copyright (c) 2024 toddledev
Copyright (c) 2024 nordcraft
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Copyright (c) 2024 nordcraft
Copyright (c) 2025 Nordcraft

import { updateSessionRules } from './helpers.js'

console.log('toddle extension loaded')
console.log('nordcraft extension loaded')
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
console.log('nordcraft extension loaded')
console.log('Nordcraft extension loaded')

"type": "module"
},
"homepage_url": "https://toddle.dev",
"homepage_url": "https://editor.nordcraft.com/",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"homepage_url": "https://editor.nordcraft.com/",
"homepage_url": "https://nordcraft.com",

"name": "Nordcraft",
"version": "2.3.2",
"description": "Browser extension for the toddle editor.",
"description": "Browser extension for the nordcraft editor.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"description": "Browser extension for the nordcraft editor.",
"description": "Browser extension for the Nordcraft editor.",

"homepage_url": "https://toddle.dev",
"permissions": ["cookies", "webRequest", "webRequestBlocking"],
"host_permissions": ["https://*.toddle.site/*"],
"homepage_url": "https://editor.nordcraft.com/",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"homepage_url": "https://editor.nordcraft.com/",
"homepage_url": "https://nordcraft.com",

import('../../shared/setCookies.js').SetCookiesArguments

console.info('toddle extension loaded')
console.info('nordcraft extension loaded')
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
console.info('nordcraft extension loaded')
console.info('Nordcraft extension loaded')


/**
* Used to send notifications to the toddle editor about which cookies are set
* Used to send notifications to the nordcraft editor about which cookies are set
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Used to send notifications to the nordcraft editor about which cookies are set
* Used to send notifications to the Nordcraft editor about which cookies are set

erik-beus
erik-beus previously approved these changes Apr 29, 2025
LICENSE Outdated
MIT License

Copyright (c) 2024 nordcraft
Copyright (c) 2024 Nordcraft
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Copyright (c) 2024 Nordcraft
Copyright (c) 2025 Nordcraft

@marija04 marija04 changed the title prepare for usin the extensions on nordcraft Prepare for using the extensions on Nordcraft May 5, 2025
@cullophid
Copy link

We should launch this as a separate plugin right?

So that people can have both installed at the same time.

@marija04 marija04 marked this pull request as ready for review May 5, 2025 10:27
@marija04
Copy link
Contributor Author

marija04 commented May 5, 2025

We should launch this as a separate plugin right?

So that people can have both installed at the same time.

With this change we support both domains in the same extension.

@marija04 marija04 requested a review from cullophid May 5, 2025 10:28
@marija04 marija04 merged commit 48b8aba into main May 6, 2025
1 check passed
@marija04 marija04 deleted the prepare-for-nordcraft branch May 6, 2025 08:00
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.

3 participants