Skip to content

Commit

Permalink
spell fix and version update
Browse files Browse the repository at this point in the history
  • Loading branch information
bandinopla committed Jan 11, 2025
1 parent d572fd3 commit 7d5cbdf
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 7 deletions.
7 changes: 7 additions & 0 deletions public/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
- 2.35.1 : 2025-01-11
* Reported by @jromero : Hevy imports are broken in Hevy v2.0.15 on Android... right now I don't have the energy to recode the improter to solve this :(
* @jromero reported that I misspelled CSV writing it as CVS... fixed.
* Moved the Achievements badges to the user card to make them more visible, I don't think anyone was taking the time to click the "achievements" button and to be fair not even me...
* Added a compresison plugin on build time to compress images to hopefully reduce the bandwith taken...
* Removed the rive animated banner, it was too heavy for what it was adding. (this I did yesterday)

- 2.35.0 : 2025-01-08
+ added the posibility to set and track "goals". More info: https://www.youtube.com/watch?v=A9a_AJ_sZuk

Expand Down
6 changes: 3 additions & 3 deletions src/componentes/importer/import-from-csv.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const formatCVS = async (config, file, informStatus) => {
}
}

informStatus("Prepearing to parse cvs");
informStatus("Prepearing to parse .csv");

const Papa = await import(/* webpackChunkName: "papaparse" */"papaparse");

Expand Down Expand Up @@ -149,12 +149,12 @@ const formatCVS = async (config, file, informStatus) => {

if( errorsIgnored>0 )
{
alert(`The cvs was parsed! But we skipped (${errorsIgnored}) rows with errors.\n %${ ((rowsDone-errorsIgnored)/rowsDone*100).toFixed(1) } of the cvs was parsed successfully.\n\n${disclaimer}`);
alert(`The .csv was parsed! But we skipped (${errorsIgnored}) rows with errors.\n %${ ((rowsDone-errorsIgnored)/rowsDone*100).toFixed(1) } of the cvs was parsed successfully.\n\n${disclaimer}`);
}

resolve( log );
},
error: err => reject(`Error parsing cvs --> ${err.message}`)
error: err => reject(`Error parsing csv --> ${err.message}`)
});

});
Expand Down
8 changes: 7 additions & 1 deletion src/componentes/importer/import-from-heavyapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { fixRPE } from "./fixRPE";
import { enameToEtag } from "./import-from-strongapp";
import { TYPES } from "../../user-tags/data-types";
import { SET_TYPES } from "../../data/set-types";
import { Alert } from "@material-ui/lab";

//
// the Hevyapp time string format
Expand Down Expand Up @@ -208,5 +209,10 @@ const config = {
}

export const ImportFromHevyapp = ()=>{
return <ImportFromCVS config={config} fileInputLabel="Select hevyapp backup file .cvs" />
return <div>
<ImportFromCVS config={config} fileInputLabel="Select hevyapp backup file .csv" />
<Alert severity="warning">
Hevy imports seem to be broken in Hevy v2.0.15 on Android...
</Alert>
</div>
}
2 changes: 1 addition & 1 deletion src/componentes/importer/import-from-strongapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,5 +215,5 @@ export const enameToEtag = ( ename )=>{
}

export const ImportFromWStrongapp = ()=>{
return <ImportFromCVS config={config} fileInputLabel="Select strongapp backup file .cvs" />
return <ImportFromCVS config={config} fileInputLabel="Select strongapp backup file .csv" />
}
2 changes: 1 addition & 1 deletion src/pages/setting-rpetable.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const RPETableWidget = ({setting})=>{
<ImportCSVWidget sid={setting.id}/>

<Typography variant="subtitle2" gutterBottom>
<UnameRef uid={1080} uname="Skullengaged"/> made a <a href="https://docs.google.com/spreadsheets/d/1BmUzqruLxg98rKsi6ocneIUnKMwzndhigo8yUg15_0g/edit#gid=0" target="_blank"><strong>CVS template</strong> you can download</a> from Google Docs.
<UnameRef uid={1080} uname="Skullengaged"/> made a <a href="https://docs.google.com/spreadsheets/d/1BmUzqruLxg98rKsi6ocneIUnKMwzndhigo8yUg15_0g/edit#gid=0" target="_blank"><strong>CSV template</strong> you can download</a> from Google Docs.
<br/>
<br/>
Click on the % you want to change. You can <strong>hold mouse + drag</strong> to scroll the table horizontally when/if needed.
Expand Down
2 changes: 1 addition & 1 deletion src/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"buildMajor":"2","buildMinor":35,"buildRevision":0,"buildTag":"RELEASE","when":"Wed, 08 Jan 2025 16:11:30 GMT"}
{"buildMajor":"2","buildMinor":35,"buildRevision":1,"buildTag":"RELEASE","when":"Sat, 11 Jan 2025 15:08:55 GMT"}

0 comments on commit 7d5cbdf

Please sign in to comment.