From 0ce6c4708608a89351f52f001ce7032d3ce5065f Mon Sep 17 00:00:00 2001 From: Daeraxa <58074586+Daeraxa@users.noreply.github.com> Date: Sat, 31 Dec 2022 20:07:22 +0000 Subject: [PATCH] rebrand and relinking to new site --- dot-atom/init.js | 4 ++++ dot-atom/keymap.cson | 10 +++++----- dot-atom/snippets.cson | 4 ++-- dot-atom/styles.less | 4 ++-- packages/about/lib/update-manager.js | 2 +- packages/settings-view/lib/error-view.js | 6 ++---- packages/settings-view/lib/general-panel.js | 2 +- packages/settings-view/lib/install-panel.js | 2 +- packages/settings-view/lib/package-card.js | 10 +++++----- packages/settings-view/lib/package-detail-view.js | 2 +- packages/settings-view/lib/themes-panel.js | 4 ++-- packages/settings-view/lib/uri-handler-panel.js | 6 +++--- packages/welcome/lib/guide-view.js | 3 +-- src/config-file.js | 4 ++-- src/config-schema.js | 14 +++++++------- src/config.js | 12 ++++++------ src/keymap-extensions.js | 2 +- src/main-process/atom-application.js | 2 +- src/main-process/atom-window.js | 2 +- src/scope-descriptor.js | 2 +- src/theme-manager.js | 4 ++-- 21 files changed, 51 insertions(+), 50 deletions(-) diff --git a/dot-atom/init.js b/dot-atom/init.js index 3465e69d2..4c190b2c2 100644 --- a/dot-atom/init.js +++ b/dot-atom/init.js @@ -11,3 +11,7 @@ // console.log(`Saved! ${editor.getPath()}`) // ) // ); +// +// See the Pulsar Launch manual for more information on this file and how to +// customize it. +// https://pulsar-edit.dev/docs/launch-manual/sections/core-hacking/#the-init-file diff --git a/dot-atom/keymap.cson b/dot-atom/keymap.cson index a785f6717..9930c2935 100644 --- a/dot-atom/keymap.cson +++ b/dot-atom/keymap.cson @@ -18,15 +18,15 @@ # 'ctrl-p': 'core:move-down' # # You can find more information about keymaps in these guides: -# * http://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-keybindings -# * http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/ +# * https://pulsar-edit.dev/docs/launch-manual/sections/using-pulsar/#customizing-keybindings +# * https://pulsar-edit.dev/docs/launch-manual/sections/behind-pulsar#keymaps-in-depth # # If you're having trouble with your keybindings not working, try the # Keybinding Resolver: `Cmd+.` on macOS and `Ctrl+.` on other platforms. See the # Debugging Guide for more information: -# * http://flight-manual.atom.io/hacking-atom/sections/debugging/#check-the-keybindings +# * https://pulsar-edit.dev/docs/launch-manual/sections/core-hacking/#check-your-keybindings # # This file uses CoffeeScript Object Notation (CSON). # If you are unfamiliar with CSON, you can read more about it in the -# Pulsar Flight Manual: -# http://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson +# Pulsar Launch Manual: +# https://pulsar-edit.dev/docs/launch-manual/sections/using-pulsar/#configuring-with-cson diff --git a/dot-atom/snippets.cson b/dot-atom/snippets.cson index 879dd2ad4..644ca58b6 100644 --- a/dot-atom/snippets.cson +++ b/dot-atom/snippets.cson @@ -17,5 +17,5 @@ # # This file uses CoffeeScript Object Notation (CSON). # If you are unfamiliar with CSON, you can read more about it in the -# Pulsar Flight Manual: -# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson +# Pulsar Launch Manual: +# https://pulsar-edit.dev/docs/launch-manual/sections/using-pulsar/#configuring-with-cson diff --git a/dot-atom/styles.less b/dot-atom/styles.less index e4fad4f31..6a451554f 100644 --- a/dot-atom/styles.less +++ b/dot-atom/styles.less @@ -1,10 +1,10 @@ /* * Your Stylesheet * - * This stylesheet is loaded when Atom starts up and is reloaded automatically + * This stylesheet is loaded when Pulsar starts up and is reloaded automatically * when it is changed and saved. * - * Add your own CSS or Less to fully customize Atom. + * Add your own CSS or Less to fully customize Pulsar. * If you are unfamiliar with Less, you can read more about it here: * http://lesscss.org */ diff --git a/packages/about/lib/update-manager.js b/packages/about/lib/update-manager.js index db4744dc0..5873e5e9a 100644 --- a/packages/about/lib/update-manager.js +++ b/packages/about/lib/update-manager.js @@ -125,7 +125,7 @@ let UpdateManager = class UpdateManager { getReleaseNotesURLForVersion(appVersion) { // Dev versions will not have a releases page if (appVersion.indexOf('dev') > -1) { - return 'https://atom.io/releases'; + return 'https://pulsar-edit.dev/download.html'; } if (!appVersion.startsWith('v')) { diff --git a/packages/settings-view/lib/error-view.js b/packages/settings-view/lib/error-view.js index 66bfaeac2..3a7f1248e 100644 --- a/packages/settings-view/lib/error-view.js +++ b/packages/settings-view/lib/error-view.js @@ -67,13 +67,11 @@ class CompileToolsErrorView {
Compiler tools not found
Packages that depend on modules that contain C/C++ code will fail to install.
- Read - here - for instructions on installing Python and Visual Studio. + Please install Python and Visual Studio to continue.
Run - apm install --check + pulsar -p install --check after installing to test compiling a native module.
diff --git a/packages/settings-view/lib/general-panel.js b/packages/settings-view/lib/general-panel.js index a4350b849..29702d806 100644 --- a/packages/settings-view/lib/general-panel.js +++ b/packages/settings-view/lib/general-panel.js @@ -33,7 +33,7 @@ export default class GeneralPanel { ref='panel' namespace='core' icon='settings' - note={`
These are Atom's core settings which affect behavior unrelated to text editing. Individual packages may have their own additional settings found within their package card in the Packages list.
`} /> + note={`
These are Pulsar's core settings which affect behavior unrelated to text editing. Individual packages may have their own additional settings found within their package card in the Packages list.
`} /> ) } diff --git a/packages/settings-view/lib/install-panel.js b/packages/settings-view/lib/install-panel.js index 224c26c92..b0c5bd5c0 100644 --- a/packages/settings-view/lib/install-panel.js +++ b/packages/settings-view/lib/install-panel.js @@ -19,7 +19,7 @@ export default class InstallPanel { this.packageManager = packageManager this.disposables = new CompositeDisposable() this.client = this.packageManager.getClient() - this.atomIoURL = 'https://pulsar-edit.dev/packages' + this.atomIoURL = 'https://web.pulsar-edit.dev/' etch.initialize(this) diff --git a/packages/settings-view/lib/package-card.js b/packages/settings-view/lib/package-card.js index 38f2c9b5e..19fd8e9ef 100644 --- a/packages/settings-view/lib/package-card.js +++ b/packages/settings-view/lib/package-card.js @@ -143,7 +143,7 @@ export default class PackageCard { if (packageVersion !== this.pack.version) { this.refs.versionValue.classList.add('text-warning') this.refs.packageMessage.classList.add('text-warning') - this.refs.packageMessage.textContent = `Version ${packageVersion} is not the latest version available for this package, but it's the latest that is compatible with your version of Atom.` + this.refs.packageMessage.textContent = `Version ${packageVersion} is not the latest version available for this package, but it's the latest that is compatible with your version of Pulsar.` } this.installablePack = pack @@ -154,9 +154,9 @@ export default class PackageCard { this.refs.packageMessage.classList.add('text-error') this.refs.packageMessage.insertAdjacentText( 'beforeend', - `There's no version of this package that is compatible with your Atom version. The version must satisfy ${this.pack.engines.atom}.` + `There's no version of this package that is compatible with your Pulsar version. The version must satisfy ${this.pack.engines.atom}.` ) - console.error(`No available version compatible with the installed Atom version: ${atom.getVersion()}`) + console.error(`No available version compatible with the installed Pulsar version: ${atom.getVersion()}`) } callback() @@ -212,7 +212,7 @@ export default class PackageCard { detail = `${oldVersion} -> ${newVersion}` } - const notification = atom.notifications.addSuccess(`Restart Atom to complete the update of \`${this.pack.name}\`.`, { + const notification = atom.notifications.addSuccess(`Restart Pulsar to complete the update of \`${this.pack.name}\`.`, { dismissable: true, buttons: [{ text: 'Restart now', @@ -238,7 +238,7 @@ export default class PackageCard { const packageAuthorClickHandler = (event) => { event.stopPropagation() - shell.openExternal(`https://pulsar-edit.dev/users/${ownerFromRepository(this.pack.repository)}`) + shell.openExternal(`https://web.pulsar-edit.dev/users/${ownerFromRepository(this.pack.repository)}`) //TODO: Fix - This does not current exist but this will at least be more accurate } this.refs.loginLink.addEventListener('click', packageAuthorClickHandler) this.disposables.add(new Disposable(() => { this.refs.loginLink.removeEventListener('click', packageAuthorClickHandler) })) diff --git a/packages/settings-view/lib/package-detail-view.js b/packages/settings-view/lib/package-detail-view.js index 7fe4dfcd8..d8dc85b1a 100644 --- a/packages/settings-view/lib/package-detail-view.js +++ b/packages/settings-view/lib/package-detail-view.js @@ -42,7 +42,7 @@ export default class PackageDetailView { event.preventDefault() const repoUrl = this.packageManager.getRepositoryUrl(this.pack) if (typeof repoUrl === 'string') { - if (url.parse(repoUrl).pathname === '/atom/atom') { + if (url.parse(repoUrl).pathname === '/pulsar-edit/pulsar') { shell.openExternal(`${repoUrl}/tree/master/packages/${this.pack.name}`) } else { shell.openExternal(repoUrl) diff --git a/packages/settings-view/lib/themes-panel.js b/packages/settings-view/lib/themes-panel.js index b55ae9472..43f20d658 100644 --- a/packages/settings-view/lib/themes-panel.js +++ b/packages/settings-view/lib/themes-panel.js @@ -97,7 +97,7 @@ export default class ThemesPanel extends CollapsibleSectionPanel {
Choose a Theme
- You can also style Atom by editing + You can also style Pulsar by editing your stylesheet
@@ -202,7 +202,7 @@ export default class ThemesPanel extends CollapsibleSectionPanel { for (let pack of packages.core) { if (pack.repository == null) { - pack.repository = `https://github.com/atom/${pack.name}` + pack.repository = `https://github.com/pulsar-edit/${pack.name}` } } diff --git a/packages/settings-view/lib/uri-handler-panel.js b/packages/settings-view/lib/uri-handler-panel.js index d7e4d6871..757dc5482 100644 --- a/packages/settings-view/lib/uri-handler-panel.js +++ b/packages/settings-view/lib/uri-handler-panel.js @@ -59,7 +59,7 @@ export default class UriHandlerPanel {
URI Handling
-
These settings determine how Atom handles atom:// URIs.
+
These settings determine how Pulsar handles atom:// URIs.
@@ -154,9 +154,9 @@ export default class UriHandlerPanel { renderRegistrationDescription () { if (this.isDefaultProtocolClient) { - return 'Atom is already the default handler for atom:// URIs.' + return 'Pulsar is already the default handler for atom:// URIs.' } else if (isSupported()) { - return 'Register Atom as the default handler for atom:// URIs.' + return 'Register Pulsar as the default handler for atom:// URIs.' } else { return 'Registration as the default handler for atom:// URIs is only supported on Windows and macOS.' } diff --git a/packages/welcome/lib/guide-view.js b/packages/welcome/lib/guide-view.js index 610b0ad59..2995d80fc 100644 --- a/packages/welcome/lib/guide-view.js +++ b/packages/welcome/lib/guide-view.js @@ -254,8 +254,7 @@ export default class GuideView {

The init script is a bit of JavaScript or CoffeeScript run at - startup. You can use it to quickly change the behaviour of - {this.brand}. + startup. You can use it to quickly change the behaviour of {this.brand}.