Skip to content

Commit

Permalink
Updated PUBLISH.md and fixed a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hudec117 committed Dec 14, 2023
1 parent 225501e commit 9076064
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
11 changes: 6 additions & 5 deletions PUBLISHING.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Publishing

## General
- Ensure the version in `manifest.json`, `package.json` and `src/components/PopoutCardFooter.vue` are updated.
- Ensure the version in `public/manifest.json`, `package.json` and `src/components/PopoutCardFooter.vue` are updated.

## Chrome
1. Build production version by running `npm run build-prod`
2. Side load the `dist` folder into Chrome and test it works correctly.
3. Zip up all the files inside the `dist` folder and name it `sf-niknax-VERSION-chrome.zip`
4. Upload new version to Chrome Developer Dashboard
1. Delete the contents of the `dist` folder. (if it has any)
2. Build a production version by running `npm run build-prod`
3. Side load the `dist` folder into Chrome and test it works correctly.
4. Zip up all the files inside the `dist` folder and name it `sf-niknax-VERSION-chrome.zip`
5. Upload new version to Chrome Developer Dashboard
7 changes: 5 additions & 2 deletions src/components/GroupMemberships.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const assignedGroups = ref<Array<Group>>([]);
let originalAssignedGroups: Array<Group>;
const title = ref('');
const primaryButtonError = ref('');
const primaryButtonError = ref<string | undefined>();
const showAPINames = ref(false);
const loading = ref(true);
const working = ref(false);
Expand Down Expand Up @@ -317,7 +317,10 @@ async function unassignGroups(groups: Array<Group>): Promise<boolean> {
</button>

<!-- Error popover -->
<ErrorPopover :message="primaryButtonError" :right="44" :top="55" />
<ErrorPopover :message="primaryButtonError"
:right="44"
:top="55"
@close="primaryButtonError = undefined" />
</div>
</header>
</div>
Expand Down
10 changes: 8 additions & 2 deletions src/components/QuickCreateUser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -507,10 +507,16 @@ async function closeWindow() {
</button>

<!-- Primary button popover -->
<ErrorPopover :message="primaryButtonError" :right="51" :top="55" @close="primaryButtonError = undefined" />
<ErrorPopover :message="primaryButtonError"
:right="51"
:top="55"
@close="primaryButtonError = undefined" />

<!-- Clone button popover -->
<ErrorPopover :message="cloneButtonError" :right="175" :top="55" @close="cloneButtonError = undefined" />
<ErrorPopover :message="cloneButtonError"
:right="175"
:top="55"
@close="cloneButtonError = undefined" />
</div>
</header>
</div>
Expand Down

0 comments on commit 9076064

Please sign in to comment.