Compare commits
5 Commits
split_buil
...
0.4.4
| Author | SHA1 | Date | |
|---|---|---|---|
| eabe2b9448 | |||
| 5eaaf32043 | |||
| 1e9c3f3101 | |||
| 2e60e2bba9 | |||
| 78d7f38aa3 |
27
BUILDING.md
27
BUILDING.md
@@ -259,13 +259,23 @@ See `.env.*` files for configuration.
|
||||
|
||||
## Deployment
|
||||
|
||||
### Version Management
|
||||
1. Update CHANGELOG.md with new changes
|
||||
2. Update version in package.json
|
||||
3. Commit changes and tag release:
|
||||
```bash
|
||||
git tag <VERSION_TAG>
|
||||
git push origin <VERSION_TAG>
|
||||
```
|
||||
4. After deployment, update package.json with next version + "-beta"
|
||||
|
||||
### Test Server
|
||||
```bash
|
||||
# Build using staging environment
|
||||
npm run build -- --mode staging
|
||||
|
||||
# Deploy to test server
|
||||
rsync -azvu -e "ssh -i ~/.ssh/your_key" dist ubuntutest@test.timesafari.app:time-safari/
|
||||
rsync -azvu -e "ssh -i ~/.ssh/<YOUR_KEY>" dist ubuntutest@test.timesafari.app:time-safari/
|
||||
```
|
||||
|
||||
### Production Server
|
||||
@@ -274,26 +284,15 @@ rsync -azvu -e "ssh -i ~/.ssh/your_key" dist ubuntutest@test.timesafari.app:time
|
||||
pkgx +npm sh
|
||||
cd crowd-funder-for-time-pwa
|
||||
git checkout master && git pull
|
||||
git checkout <version_tag>
|
||||
git checkout <VERSION_TAG>
|
||||
npm install
|
||||
npm run build
|
||||
cd -
|
||||
|
||||
# Backup and deploy
|
||||
mv time-safari/dist time-safari-dist-prev.0
|
||||
mv crowd-funder-for-time-pwa/dist time-safari/
|
||||
mv time-safari/dist time-safari-dist-prev.0 && mv crowd-funder-for-time-pwa/dist time-safari/
|
||||
```
|
||||
|
||||
### Version Management
|
||||
1. Update CHANGELOG.md with new changes
|
||||
2. Update version in package.json
|
||||
3. Commit changes and tag release:
|
||||
```bash
|
||||
git tag <version>
|
||||
git push origin <version>
|
||||
```
|
||||
4. After deployment, update package.json with next version + "-beta"
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Common Build Issues
|
||||
|
||||
24
CHANGELOG.md
24
CHANGELOG.md
@@ -6,12 +6,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
|
||||
== [0.4.2] - 2025.02.17
|
||||
### Merged
|
||||
- Master to split_process_build
|
||||
- fixed path issues
|
||||
- all tests passing
|
||||
- capacitor build to Android working
|
||||
|
||||
## [0.4.4] - 2025.02.17
|
||||
### Fixed
|
||||
- On production (due to data?) the search results would disappear after scrolling down. Now we don't show any results when going to the people map with a shortcut.
|
||||
|
||||
|
||||
## [0.4.3] - 2025.02.17
|
||||
### Added
|
||||
- Discover query parameter searchPeople to go directly to the people map
|
||||
|
||||
|
||||
## [0.4.2] - 2025.02.17
|
||||
### Added
|
||||
- Capacitor build to Android
|
||||
### Fixed
|
||||
- Path issues
|
||||
|
||||
|
||||
## [0.4.1] - 2025.02.16
|
||||
### Fixed
|
||||
@@ -23,7 +34,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Changed
|
||||
- Images in the home feed now take up the full width of the card.
|
||||
- Clicking the image previously, would open the image in a new tab. Now, clicking the image opens the image in a lightbox view.
|
||||
|
||||
### Added
|
||||
- Clicking an image also now displays an in-app lightbox view of the image.
|
||||
- The lightbox view includes a download button for the image in mobile view.
|
||||
|
||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "TimeSafari",
|
||||
"version": "0.4.1",
|
||||
"name": "timesafari",
|
||||
"version": "0.4.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "TimeSafari",
|
||||
"version": "0.4.1",
|
||||
"name": "timesafari",
|
||||
"version": "0.4.4",
|
||||
"dependencies": {
|
||||
"@capacitor/android": "^6.2.0",
|
||||
"@capacitor/cli": "^6.2.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "timesafari",
|
||||
"version": "0.4.2",
|
||||
"version": "0.4.4",
|
||||
"description": "TimeSafari Desktop Application",
|
||||
"author": {
|
||||
"name": "TimeSafari Team"
|
||||
|
||||
@@ -352,9 +352,9 @@ export default class DiscoverView extends Vue {
|
||||
allMyDids: Array<string> = [];
|
||||
apiServer = "";
|
||||
isLoading = false;
|
||||
isLocalActive = true;
|
||||
isLocalActive = false;
|
||||
isMappedActive = false;
|
||||
isAnywhereActive = false;
|
||||
isAnywhereActive = true;
|
||||
isProjectsActive = true;
|
||||
isPeopleActive = false;
|
||||
isSearchVisible = true;
|
||||
@@ -375,6 +375,11 @@ export default class DiscoverView extends Vue {
|
||||
didInfo = didInfo;
|
||||
|
||||
async mounted() {
|
||||
|
||||
this.searchTerms = this.$route.query["searchText"]?.toString() || "";
|
||||
|
||||
const searchPeople = !!this.$route.query["searchPeople"];
|
||||
|
||||
const settings = await retrieveSettingsForActiveAccount();
|
||||
this.activeDid = (settings.activeDid as string) || "";
|
||||
this.apiServer = (settings.apiServer as string) || "";
|
||||
@@ -386,25 +391,35 @@ export default class DiscoverView extends Vue {
|
||||
|
||||
this.allMyDids = await retrieveAccountDids();
|
||||
|
||||
this.searchTerms = this.$route.query["searchText"]?.toString() || "";
|
||||
|
||||
if (!settings.finishedOnboarding) {
|
||||
(this.$refs.onboardingDialog as OnboardingDialog).open(
|
||||
OnboardPage.Discover,
|
||||
);
|
||||
}
|
||||
|
||||
if (this.searchBox) {
|
||||
await this.searchLocal();
|
||||
// Someday we'll have enough people that we can default to their local area.
|
||||
// if (this.searchBox) {
|
||||
// this.isLocalActive = true;
|
||||
// this.isAnywhereActive = false;
|
||||
// await this.searchLocal();
|
||||
//
|
||||
// const bbox = this.searchBox.bbox;
|
||||
// this.localCenterLat = (bbox.maxLat + bbox.minLat) / 2;
|
||||
// this.localCenterLong = (bbox.eastLong + bbox.westLong) / 2;
|
||||
// } else {
|
||||
|
||||
const bbox = this.searchBox.bbox;
|
||||
this.localCenterLat = (bbox.maxLat + bbox.minLat) / 2;
|
||||
this.localCenterLong = (bbox.eastLong + bbox.westLong) / 2;
|
||||
if (searchPeople) {
|
||||
this.isPeopleActive = true;
|
||||
this.isProjectsActive = false;
|
||||
this.isMappedActive = true;
|
||||
this.isAnywhereActive = false;
|
||||
}
|
||||
|
||||
if (this.isMappedActive) {
|
||||
// The map will be loaded when it's ready
|
||||
// and if we try to do it here before the map is ready then we get errors.
|
||||
} else {
|
||||
this.isLocalActive = false;
|
||||
this.isMappedActive = false;
|
||||
this.isAnywhereActive = true;
|
||||
await this.searchAll();
|
||||
await this.searchSelected();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -466,7 +481,7 @@ export default class DiscoverView extends Vue {
|
||||
} else {
|
||||
throw JSON.stringify(results);
|
||||
}
|
||||
} else {
|
||||
} else { // people search must be active
|
||||
this.projects = [];
|
||||
const profiles: UserProfile[] = results.data;
|
||||
if (profiles) {
|
||||
|
||||
Reference in New Issue
Block a user