Renamed application

This commit is contained in:
Igor Zinken
2020-12-23 14:42:59 +01:00
parent 559170f884
commit 34945ce027
10 changed files with 13 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
# PhotoMound
# BitMappery
## So you are rebuilding Photoshop in the browser ?
@@ -11,7 +11,7 @@ related to Photoshop-esque features aren't welcomed.
Yep, though it helps having worked five years in the photo software industry and having
tackled problems before.
PhotoMound does however make use of the following excellent libraries to speed up its development:
BitMappery does however make use of the following excellent libraries to speed up its development:
* [Vue](https://github.com/vuejs/vue) with [Vuex](https://github.com/vuejs/vuex) and [VueI18n](https://github.com/kazupon/vue-i18n)
* [Pickr](https://github.com/Simonwep/pickr) by Simonwep

2
package-lock.json generated
View File

@@ -1,5 +1,5 @@
{
"name": "photomound",
"name": "bitmappery",
"version": "0.1.0",
"lockfileVersion": 1,
"requires": true,

View File

@@ -1,5 +1,5 @@
{
"name": "photomound",
"name": "bitmappery",
"version": "0.1.0",
"private": true,
"scripts": {

View File

@@ -1,8 +1,8 @@
<html>
<body>
<h1>oAuth result for PhotoMound</h1>
<h1>oAuth result for BitMappery</h1>
<p>
You should return to PhotoMound shortly. If not, an authentication
You should return to BitMappery shortly. If not, an authentication
error has occurred with the external API.
</p>
</body>

View File

@@ -28,7 +28,7 @@
<span>&#9776;</span>
</div>
<h1>
Photo<span class="emphasis">Mound</span>
Bit<span class="emphasis">Mappery</span>
</h1>
<ul class="menu-list">
<!-- file menu -->

View File

@@ -1,5 +1,5 @@
import Vue from "vue";
import PhotoMound from "./photomound.vue";
import BitMappery from "./bitmappery.vue";
// igorski.nl maintains its own service worker registration, if your
// custom app requires PWA support, uncomment the following line
//import "./registerServiceWorker"
@@ -7,5 +7,5 @@ import PhotoMound from "./photomound.vue";
Vue.config.productionTip = false;
new Vue({
render: h => h( PhotoMound )
render: h => h( BitMappery )
}).$mount( "#app" );

View File

@@ -1,6 +1,6 @@
{
"en-US": {
"photomound": "PhotoMound",
"bitmappery": "BitMappery",
"areYouSure": "Are you sure?",
"newDocumentNum": "New document #{num}",
"closeDocumentWarning": "Closing the document cannot be undone, are you sure?",

View File

@@ -30,7 +30,7 @@ import toolModule from "./modules/tool-module";
import { saveBlobAsFile, selectFile, readFile } from "@/utils/file-util";
import { truncate } from "@/utils/string-util";
const PROJECT_FILE_EXTENSION = ".pmp";
export const PROJECT_FILE_EXTENSION = ".bpy";
// cheat a little by exposing the vue-i18n translations directly to the
// store so we can commit translated error/success messages from actions

View File

@@ -1,4 +1,4 @@
import store from "@/store";
import store, { PROJECT_FILE_EXTENSION } from "@/store";
const { mutations, actions } = store;
@@ -215,7 +215,7 @@ describe( "Vuex store", () => {
// assert the DocumentFactory saved result is stringified and compressed
expect( mockUpdateFn ).toHaveBeenNthCalledWith( 2, "compressToUTF16", JSON.stringify( mockSavedDocument ));
// assert the resulting Blob will be saved to a File
expect( mockUpdateFn ).toHaveBeenNthCalledWith( 3, "saveBlobAsFile", expect.any( Object ), "foo.pmp" );
expect( mockUpdateFn ).toHaveBeenNthCalledWith( 3, "saveBlobAsFile", expect.any( Object ), `foo${PROJECT_FILE_EXTENSION}` );
expect( commit ).toHaveBeenCalledWith( "showNotification", expect.any( Object ));
});
});