Skip to content

Commit

Permalink
Revert "Start shipping documentation bump 0.15.1"
Browse files Browse the repository at this point in the history
This reverts commit 80c0d99.
  • Loading branch information
rcmenno committed Nov 4, 2024
1 parent 80c0d99 commit 8088fb0
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 127 deletions.
2 changes: 1 addition & 1 deletion PWA/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ReliefBox",
"version": "0.15.1",
"version": "0.12.0",
"description": "A tool for managing the distribution of relief items during humanitarian emergencies.",
"main": "index.js",
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion PWA/public/RouteEvents.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ RouteEvents.codeInputUsingCamera = "/input_video.html";
RouteEvents.codeinputUsingTextField = "/input.html";
RouteEvents.codeInputNotFound = "/entry_not_found.html";
RouteEvents.codeInputFound = "/entry.html";
RouteEvents.documentation = "/documentation.html";
//Non page route events
RouteEvents.postCreateDistribution = "/create_distrib";
RouteEvents.postSelectDistribution = "/select_distrib";
Expand Down
7 changes: 2 additions & 5 deletions PWA/public/Services/CacheFilePathService.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import { DownloadSpreadsheetTemplateHandler } from "./FetchEventHandlers/Downloa
import { DeleteDistributionsConfirmHandler } from "./FetchEventHandlers/DeleteDistributionsConfirmHandler.js";
import { DistributionResponseProvider } from "./DistributionResponseProvider.js";
import { DistributionsHandler } from "./FetchEventHandlers/DistributionsHandler.js";
import { DocumentationPageHandler } from "./FetchEventHandlers/DocumentationPagehandler.js";
// Provides all the files that have to be cached for offline use
export class CacheFilePathService {
pathsOfFilesToCache() {
Expand Down Expand Up @@ -68,8 +67,7 @@ export class CacheFilePathService {
RouteEvents.codeInputNotFound,
RouteEvents.viewData,
RouteEvents.noBeneficiariesFound,
RouteEvents.confirmDistributionDeletion,
RouteEvents.documentation
RouteEvents.confirmDistributionDeletion
];
}
toplevelScriptsPaths() {
Expand Down Expand Up @@ -141,8 +139,7 @@ export class CacheFilePathService {
DownloadDataHandler.name,
DownloadSpreadsheetTemplateHandler.name,
DeleteDistributionsConfirmHandler.name,
DistributionsHandler.name,
DocumentationPageHandler.name
DistributionsHandler.name
]);
}
interfacesPaths() {
Expand Down
10 changes: 0 additions & 10 deletions PWA/public/Services/FetchEventHandlers/DocumentationPagehandler.js

This file was deleted.

4 changes: 1 addition & 3 deletions PWA/public/Services/FetchEventHandlers/FetchEventHandlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { DownloadDataHandler } from "./DownloadDataHandler.js";
import { DownloadSpreadsheetTemplateHandler } from "./DownloadSpreadsheetTemplateHandler.js";
import { DeleteDistributionsConfirmHandler } from "./DeleteDistributionsConfirmHandler.js";
import { DistributionsHandler } from "./DistributionsHandler.js";
import { DocumentationPageHandler } from "./DocumentationPagehandler.js";
export class FetchEventHandlers extends ActiveSessionContainer {
constructor() {
super(...arguments);
Expand All @@ -43,8 +42,7 @@ export class FetchEventHandlers extends ActiveSessionContainer {
new DownloadDataHandler(this.activeSession),
new DownloadSpreadsheetTemplateHandler(),
new DeleteDistributionsConfirmHandler(),
new DistributionsHandler(),
new DocumentationPageHandler()
new DistributionsHandler()
];
}
handlersForEvent(event) {
Expand Down
17 changes: 0 additions & 17 deletions PWA/public/Services/FetchEventHandlers/HomepageHandler copy.js

This file was deleted.

64 changes: 0 additions & 64 deletions PWA/public/documentation.html

This file was deleted.

4 changes: 2 additions & 2 deletions PWA/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<!-- <a class="navbar-item">-->
<img src="images/ReliefBox-horizontal-nobackground.png" width="220" height="30">
<!-- </a>-->
<div class="navbar-item">Alpha 0.15.1</div>
<div class="navbar-item">Alpha 0.12.0</div>
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
Expand All @@ -55,7 +55,7 @@
<a href="/distributions" class="navbar-item">
Distributions
</a>
<a href="/documentation.html" class="navbar-item">
<a href="https://reliefbox.readthedocs.io/" class="navbar-item" target="_blank" rel="noopener noreferrer">
Documentation
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion PWA/public/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<a href="/distributions" class="navbar-item">
Distributions
</a>
<a href="/documentation.html" class="navbar-item">
<a href="https://reliefbox.readthedocs.io/" class="navbar-item" target="_blank" rel="noopener noreferrer">
Documentation
</a>
</div>
Expand Down
1 change: 0 additions & 1 deletion PWA/src/RouteEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export class RouteEvents {
static codeinputUsingTextField = "/input.html"
static codeInputNotFound = "/entry_not_found.html"
static codeInputFound = "/entry.html"
static documentation = "/documentation.html"

//Non page route events
static postCreateDistribution = "/create_distrib"
Expand Down
7 changes: 2 additions & 5 deletions PWA/src/Services/CacheFilePathService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import { DownloadSpreadsheetTemplateHandler } from "./FetchEventHandlers/Downloa
import { DeleteDistributionsConfirmHandler } from "./FetchEventHandlers/DeleteDistributionsConfirmHandler.js";
import { DistributionResponseProvider } from "./DistributionResponseProvider.js";
import { DistributionsHandler } from "./FetchEventHandlers/DistributionsHandler.js";
import { DocumentationPageHandler } from "./FetchEventHandlers/DocumentationPagehandler.js";

// Provides all the files that have to be cached for offline use
export class CacheFilePathService {
Expand Down Expand Up @@ -70,8 +69,7 @@ export class CacheFilePathService {
RouteEvents.codeInputNotFound,
RouteEvents.viewData,
RouteEvents.noBeneficiariesFound,
RouteEvents.confirmDistributionDeletion,
RouteEvents.documentation
RouteEvents.confirmDistributionDeletion
];
}

Expand Down Expand Up @@ -154,8 +152,7 @@ export class CacheFilePathService {
DownloadDataHandler.name,
DownloadSpreadsheetTemplateHandler.name,
DeleteDistributionsConfirmHandler.name,
DistributionsHandler.name,
DocumentationPageHandler.name
DistributionsHandler.name
]);
}

Expand Down
14 changes: 0 additions & 14 deletions PWA/src/Services/FetchEventHandlers/DocumentationPagehandler.ts

This file was deleted.

4 changes: 1 addition & 3 deletions PWA/src/Services/FetchEventHandlers/FetchEventHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import { DownloadDataHandler } from "./DownloadDataHandler.js";
import { DownloadSpreadsheetTemplateHandler } from "./DownloadSpreadsheetTemplateHandler.js";
import { DeleteDistributionsConfirmHandler } from "./DeleteDistributionsConfirmHandler.js";
import { DistributionsHandler } from "./DistributionsHandler.js";
import { DocumentationPageHandler } from "./DocumentationPagehandler.js";

export class FetchEventHandlers extends ActiveSessionContainer implements FetchEventHandler {
all: FetchEventHandler[] = [
Expand All @@ -44,8 +43,7 @@ export class FetchEventHandlers extends ActiveSessionContainer implements FetchE
new DownloadDataHandler(this.activeSession),
new DownloadSpreadsheetTemplateHandler(),
new DeleteDistributionsConfirmHandler(),
new DistributionsHandler(),
new DocumentationPageHandler()
new DistributionsHandler()
];

handlersForEvent(event: FetchEvent): FetchEventHandler[] {
Expand Down

0 comments on commit 8088fb0

Please sign in to comment.